本文整理了Java中org.apache.ibatis.annotations.Insert
类的一些代码示例,展示了Insert
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Insert
类的具体详情如下:
包路径:org.apache.ibatis.annotations.Insert
类名称:Insert
暂无
代码示例来源:origin: ityouknow/spring-boot-examples
@Insert("INSERT INTO users(userName,passWord,user_sex) VALUES(#{userName}, #{passWord}, #{userSex})")
void insert(UserEntity user);
代码示例来源:origin: ityouknow/spring-boot-examples
@Insert("INSERT INTO users(userName,passWord,user_sex) VALUES(#{userName}, #{passWord}, #{userSex})")
void insert(UserEntity user);
代码示例来源:origin: ityouknow/spring-boot-examples
@Insert("INSERT INTO users(userName,passWord,user_sex) VALUES(#{userName}, #{passWord}, #{userSex})")
void insert(UserEntity user);
代码示例来源:origin: qiurunze123/miaosha
@Insert("insert into miaosha_order (user_id, goods_id, order_id)values(#{userId}, #{goodsId}, #{orderId})")
public int insertMiaoshaOrder(MiaoshaOrder miaoshaOrder);
代码示例来源:origin: qiurunze123/miaosha
@Insert("insert into user (id, name) values(#{id}, #{name})")
public int insert(User user);
代码示例来源:origin: yu199195/hmily
/**
* 保存订单.
*
* @param order 订单对象
* @return rows
*/
@Insert(" insert into `order` (create_time,number,status,product_id,total_amount,count,user_id) "
+ " values ( #{createTime},#{number},#{status},#{productId},#{totalAmount},#{count},#{userId})")
int save(Order order);
代码示例来源:origin: yu199195/hmily
/**
* 保存订单
*
* @param order 订单对象
* @return rows
*/
@Insert(" insert into `order` (create_time,number,status,product_id,total_amount,count,user_id) " +
" values ( #{createTime},#{number},#{status},#{productId},#{totalAmount},#{count},#{userId})")
int save(Order order);
代码示例来源:origin: yu199195/Raincat
/**
* 保存
*
* @param wechat 实体对象
* @return rows
*/
@Insert("INSERT INTO wechat(name,amount,create_time) VALUES(#{name}, #{amount},#{createTime})")
int save(Wechat wechat);
代码示例来源:origin: yu199195/Raincat
/**
* 保存支付信息
*
* @param pay 实体
* @return row 条数
*/
@Insert("INSERT INTO pay(name,total_amount,create_time) VALUES(#{name}, #{totalAmount},#{createTime})")
int save(Pay pay);
代码示例来源:origin: yu199195/myth
/**
* Save int.
*
* @param order the order
* @return the int
*/
@Insert(" insert into `order` (create_time,number,status,product_id,total_amount,count,user_id) " +
" values ( #{createTime},#{number},#{status},#{productId},#{totalAmount},#{count},#{userId})")
int save(Order order);
代码示例来源:origin: yu199195/myth
/**
* 保存订单
*
* @param order 订单对象
* @return rows int
*/
@Insert(" insert into `order` (create_time,number,status,product_id,total_amount,count,user_id) " +
" values ( #{createTime},#{number},#{status},#{productId},#{totalAmount},#{count},#{userId})")
int save(Order order);
代码示例来源:origin: yu199195/Raincat
/**
* 数据库保存操作
*
* @param alipay 实体类
* @return rows
*/
@Insert("INSERT INTO alipay(name,amount,create_time) VALUES(#{name}, #{amount},#{createTime})")
int save(Alipay alipay);
代码示例来源:origin: yu199195/myth
/**
* 保存订单
*
* @param order 订单对象
* @return rows int
*/
@Insert(" insert into `order` (create_time,number,status,product_id,total_amount,count,user_id) " +
" values ( #{createTime},#{number},#{status},#{productId},#{totalAmount},#{count},#{userId})")
int save(Order order);
代码示例来源:origin: ChinaSilence/any-video
/**
* 添加
*/
@Insert("INSERT INTO any_friend_link(`name`, `domain`, `show`) values (#{name}, #{domain}, #{show})")
int insert(FriendLink friendLink);
代码示例来源:origin: cachecats/coderiver
@Insert("INSERT INTO " +
"project_info(project_id, project_name, project_avatar, project_difficulty," +
" category_type, category_name, project_progress, project_status, " +
"project_introduce, project_creator_id, team_id) " +
"VALUES(#{projectId}, #{projectName}, #{projectAvatar}, #{projectDifficulty}," +
"#{categoryType}, #{categoryName}, #{projectProgress}, #{projectStatus}," +
"#{projectIntroduce}, #{projectCreatorId}, #{teamId})")
int insertProject(ProjectInfo info);
代码示例来源:origin: codingapi/tx-lcn
@Insert("insert into t_tx_exception(group_id, unit_id, mod_id, transaction_state, registrar, ex_state, create_time) " +
"values(#{groupId}, #{unitId}, #{modId}, #{transactionState}, #{registrar}, #{exState}, #{createTime})")
void save(TxException txException);
代码示例来源:origin: roncoo/spring-boot-demo
@Insert(value = "insert into roncoo_user (name, create_time) values (#{name,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP})")
int insert(RoncooUser record);
代码示例来源:origin: ChinaSilence/any-video
@Insert("INSERT INTO any_hub(`user_id`, `avatar`, `name`, `description`, `md5`) VALUES (#{userId}, #{avatar}, #{name}, #{description}, #{md5})")
int insert(Hub hub);
代码示例来源:origin: ChinaSilence/any-video
@Insert("insert into any_attention(user_id, other_id) values(#{userId}, #{otherId})")
int insert(Attention attention);
代码示例来源:origin: ChinaSilence/any-video
@Insert("INSERT INTO any_hub_item(`user_id`, `hub_id`, `type`, `name`, `image`, `url`) VALUES (#{userId}, #{hubId}, #{type}, #{name}, #{image}, #{url})")
int insert(HubItem hubItem);
内容来源于网络,如有侵权,请联系作者删除!