insert into asset_lc(task_idxf_timedwhc_timeshbh_timedwcxhc_timeshtg_timeueser_iddept_idcreate_idcreate_bycreate_timeupdate_idupdate_byupdate_timeversionremark)
values (#{taskId}#{xfTime}#{dwhcTime}#{shbhTime}#{dwcxhcTime}#{shtgTime}#{ueserId}#{deptId}#{createId}#{createBy}#{createTime}#{updateId}#{updateBy}#{updateTime}#{version}#{remark})
insert into
asset_lc(task_idxf_timedwhc_timeshbh_timedwcxhc_timeshtg_timeueser_iddept_idcreate_idcreate_bycreate_timeupdate_idupdate_byupdate_timeversionremark)
values
(#{entity.taskId}#{entity.xfTime}#{entity.dwhcTime}#{entity.shbhTime}#{entity.dwcxhcTime}#{entity.shtgTime}#{entity.ueserId}#{entity.deptId}#{entity.createId}#{entity.createBy}#{entity.createTime}#{entity.updateId}#{entity.updateBy}#{entity.updateTime}#{entity.version}#{entity.remark})
insert into
asset_lc(task_idxf_timedwhc_timeshbh_timedwcxhc_timeshtg_timeueser_iddept_idcreate_idcreate_bycreate_timeupdate_idupdate_byupdate_timeversionremark)
values
(#{entity.taskId}#{entity.xfTime}#{entity.dwhcTime}#{entity.shbhTime}#{entity.dwcxhcTime}#{entity.shtgTime}#{entity.ueserId}#{entity.deptId}#{entity.createId}#{entity.createBy}#{entity.createTime}#{entity.updateId}#{entity.updateBy}#{entity.updateTime}#{entity.version}#{entity.remark})
on duplicate key update
task_id = values(task_id)xf_time = values(xf_time)dwhc_time = values(dwhc_time)shbh_time =
values(shbh_time)dwcxhc_time = values(dwcxhc_time)shtg_time = values(shtg_time)ueser_id =
values(ueser_id)dept_id = values(dept_id)create_id = values(create_id)create_by = values(create_by)create_time =
values(create_time)update_id = values(update_id)update_by = values(update_by)update_time =
values(update_time)version = values(version)remark = values(remark)
update asset_lc
task_id = #{taskId},
xf_time = #{xfTime},
dwhc_time = #{dwhcTime},
shbh_time = #{shbhTime},
dwcxhc_time = #{dwcxhcTime},
shtg_time = #{shtgTime},
ueser_id = #{ueserId},
dept_id = #{deptId},
create_id = #{createId},
create_by = #{createBy},
create_time = #{createTime},
update_id = #{updateId},
update_by = #{updateBy},
update_time = #{updateTime},
version = #{version},
remark = #{remark},
where id = #{id}
delete
from asset_lc
where id = #{id}