id AS id, is_delete AS isDelete, gmt_create AS gmtCreate, gmt_modified AS gmtModified, evaluation_id AS evaluationId, start_id AS startId, staff_id AS staffId, type AS type
insert into lz_evaluation_start_staff(
evaluation_id,
start_id,
staff_id,
type,
is_delete,
gmt_create,
gmt_modified
)values(
#{ evaluationId},
#{ startId},
#{ staffId},
#{ type},
0,
now(),
now()
)
update
lz_evaluation_start_staff
is_delete = #{isDelete},
gmt_create = #{gmtCreate},
evaluation_id = #{evaluationId},
start_id = #{startId},
staff_id = #{staffId},
type = #{type}
,gmt_modified = now()
where id = #{id}
update
lz_evaluation_start_staff
set
is_delete = #{isDelete},
gmt_create = #{gmtCreate},
evaluation_id = #{evaluationId},
start_id = #{startId},
staff_id = #{staffId},
type = #{type}
,gmt_modified = now()
where id = #{id}
update lz_evaluation_start_staff set is_delete = 1 where id=#{id} limit 1
insert into lz_evaluation_start_staff(
evaluation_id,
start_id,
staff_id,
type,
is_delete
)values(
#{ item.evaluationId},
#{ item.startId},
#{ item.staffId},
#{ item.type},
0
)