select ID, C1_TJ_LL, C1_TJ_LL_TIME, C2_TJ_LL, C2_TJ_LL_TIME, ACTIVE from T_tb_du
insert into T_tb_du
ID,
C1_TJ_LL,
C1_TJ_LL_TIME,
C2_TJ_LL,
C2_TJ_LL_TIME,
ACTIVE,
#{ID},
#{c1TjLl},
#{c1TjLlTime},
#{c2TjLl},
#{c2TjLlTime},
#{ACTIVE},
update T_tb_du
C1_TJ_LL = #{c1TjLl},
C1_TJ_LL_TIME = #{c1TjLlTime},
C2_TJ_LL = #{c2TjLl},
C2_TJ_LL_TIME = #{c2TjLlTime},
ACTIVE = #{ACTIVE},
,revision = revision + 1
where ID = #{ID}
update T_tb_du set del_flag = 2,revision = revision + 1 where del_flag = 0 and ID = #{ID}
update T_tb_du set del_flag = 2,revision = revision + 1 where del_flag = 0 and ID in
#{ID}