DCU_ID, DCT_ID, DCU_User, DCU_Recordor, DCU_Record_Time, DCU_IsDel
delete from dic_consulation_user
where DCU_ID = #{dcuId,jdbcType=INTEGER}
update dic_consulation_user set DCU_IsDel = -1
where DCT_ID = #{dctId,jdbcType=INTEGER}
insert into dic_consulation_user (DCU_ID, DCT_ID, DCU_User,
DCU_Recordor, DCU_Record_Time, DCU_IsDel
)
values (#{dcuId,jdbcType=INTEGER}, #{dctId,jdbcType=INTEGER}, #{dcuUser,jdbcType=VARCHAR},
#{dcuRecordor,jdbcType=VARCHAR}, #{dcuRecordTime,jdbcType=TIMESTAMP}, #{dcuIsdel,jdbcType=INTEGER}
)
insert into dic_consulation_user
DCU_ID,
DCT_ID,
DCU_User,
DCU_Recordor,
DCU_Record_Time,
DCU_IsDel,
#{dcuId,jdbcType=INTEGER},
#{dctId,jdbcType=INTEGER},
#{dcuUser,jdbcType=VARCHAR},
#{dcuRecordor,jdbcType=VARCHAR},
#{dcuRecordTime,jdbcType=TIMESTAMP},
#{dcuIsdel,jdbcType=INTEGER},
update dic_consulation_user
DCT_ID = #{dctId,jdbcType=INTEGER},
DCU_User = #{dcuUser,jdbcType=VARCHAR},
DCU_Recordor = #{dcuRecordor,jdbcType=VARCHAR},
DCU_Record_Time = #{dcuRecordTime,jdbcType=TIMESTAMP},
DCU_IsDel = #{dcuIsdel,jdbcType=INTEGER},
where DCU_ID = #{dcuId,jdbcType=INTEGER}
update dic_consulation_user
set DCT_ID = #{dctId,jdbcType=INTEGER},
DCU_User = #{dcuUser,jdbcType=VARCHAR},
DCU_Recordor = #{dcuRecordor,jdbcType=VARCHAR},
DCU_Record_Time = #{dcuRecordTime,jdbcType=TIMESTAMP},
DCU_IsDel = #{dcuIsdel,jdbcType=INTEGER}
where DCU_ID = #{dcuId,jdbcType=INTEGER}
update dic_consulation_user
set DCU_IsDel = -1
where DCU_ID = #{dcuId,jdbcType=INTEGER}
insert into dic_consulation_user (DCT_ID, DCU_User,
DCU_Recordor, DCU_Record_Time, DCU_IsDel)
values
(#{item.dctId,jdbcType=INTEGER}, #{item.dcuUser,jdbcType=VARCHAR},
#{item.dcuRecordor,jdbcType=VARCHAR}, now(), #{item.dcuIsdel,jdbcType=INTEGER})
update dic_consulation_user
set DCT_ID=#{item.dctId,jdbcType=INTEGER},
DCU_User= #{item.dcuUser,jdbcType=VARCHAR},
DCU_Recordor= #{item.dcuRecordor,jdbcType=VARCHAR},
DCU_Record_Time=now()
where DCU_ID = #{item.dcuId,jdbcType=INTEGER}
UPDATE dic_consulation_user
SET DCU_IsDel = -1
WHERE DCT_ID = #{dctId,jdbcType=INTEGER}