id AS id, is_delete AS isDelete, gmt_create AS gmtCreate, gmt_modified AS gmtModified, chart_id AS chartId, role_id AS roleId, type AS type
insert into lz_flow_chart_role(
chart_id,
role_id,
type,
is_delete,
gmt_create,
gmt_modified
)values(
#{ chartId},
#{ roleId},
#{ type},
0,
now(),
now()
)
update
lz_flow_chart_role
is_delete = #{isDelete},
gmt_create = #{gmtCreate},
chart_id = #{chartId},
role_id = #{roleId},
type = #{type}
,gmt_modified = now()
where id = #{id}
update
lz_flow_chart_role
set
is_delete = #{isDelete},
gmt_create = #{gmtCreate},
chart_id = #{chartId},
role_id = #{roleId},
type = #{type}
,gmt_modified = now()
where id = #{id}
update lz_flow_chart_role set is_delete = 1 where id=#{id} limit 1