摘要:
批量删除 <!--根据ids批量删除 --> <delete id="deleteByBatch" parameterType="java.lang.String"> delete from xtgl_role where id IN <foreach collection="array" item 阅读全文
posted @ 2020-08-12 17:01
LQ_2017
阅读(83)
评论(0)
推荐(0)
摘要:
1、30分钟内的记录 SELECT * FROM toa_machine_restart t WHERE t.END_DATE IS NOT NULL AND t.END_DATE>DATE_ADD(NOW(), INTERVAL -30 MINUTE) 阅读全文
posted @ 2020-08-12 11:49
LQ_2017
阅读(140)
评论(0)
推荐(0)
摘要:
<!-- 调用存储过程 --> <select id="callCalendarInfo" statementType="CALLABLE" resultMap="BaseResultMap"> {call create_calendar( #{date1},#{date2},#{orgId} )} 阅读全文
posted @ 2020-08-12 11:23
LQ_2017
阅读(43)
评论(0)
推荐(0)
摘要:
<!--根据id数组批量修改 --> <update id="updateByIds" parameterType="com.mis.yxnz.entity.CalendarInfo"> update calendar_info <set> <if test="name != null and na 阅读全文
posted @ 2020-08-12 11:01
LQ_2017
阅读(1274)
评论(0)
推荐(0)
摘要:
<insert id="insertSelective" parameterType="com.mis.yxnz.entity.CrmClues" useGeneratedKeys="true" keyProperty="id"> keyProperty="id"传的是实体 阅读全文
posted @ 2020-08-12 10:52
LQ_2017
阅读(106)
评论(0)
推荐(0)
摘要:
foreach嵌套批量添加 <insert id="insertAll" parameterType="java.util.List"> insert into kpi_indicator_user_link (indicator_id,user_id,check_id,weight,ord,org 阅读全文
posted @ 2020-08-12 10:48
LQ_2017
阅读(831)
评论(0)
推荐(0)

浙公网安备 33010602011771号