power_apply_act
id, prc_id, task_id, data_id, report_id, power, apply_reason, user_id, create_user_id, create_date, update_date, update_user_id, del_flag
AND del_flag = '${@com.adc.da.sys.constant.YesOrNoEnum@NO.value}'
AND prc_id LIKE CONCAT(CONCAT('%',#{pageVO.prcId}),'%')
AND task_id LIKE CONCAT(CONCAT('%',#{pageVO.taskId}),'%')
AND data_id LIKE CONCAT(CONCAT('%',#{pageVO.dataId}),'%')
AND report_id LIKE CONCAT(CONCAT('%',#{pageVO.reportId}),'%')
AND user_id LIKE CONCAT(CONCAT('%',#{pageVO.userId}),'%')
insert into power_apply_act (id, prc_id, task_id, data_id, report_id, power, apply_reason, user_id, create_user_id, create_date, update_date, update_user_id, del_flag)
values
(#{item.id}, #{item.prcId}, #{item.taskId}, #{item.dataId}, #{item.reportId}, #{item.power}, #{item.applyReason}, #{item.userId}, #{item.createUserId}, #{item.createDate}, #{item.updateDate}, #{item.updateUserId}, #{item.delFlag})
UPDATE power_apply_act set del_flag = 1
where id in
#{id}