t
.
id
, t.post_info_no
, t.post_info_name
, t.post_info_authority
, t.post_info_duty
, t.post_info_qualification
, t.post_id
, t.description
, t.forbidden_tag
, t.creator
, t.delete_type
, t.create_time
, t.update_time
update jcl_org_post_info
creator=#{creator},
update_time=#{updateTime},
post_info_no=#{postInfoNo},
post_info_name=#{postInfoName},
post_info_authority=#{postInfoAuthority},
post_info_duty=#{postInfoDuty},
post_info_qualification=#{postInfoQualification},
post_id=#{postId},
description=#{description},
WHERE id = #{id} AND delete_type = 0
INSERT INTO jcl_org_post_info
creator,
delete_type,
create_time,
update_time,
post_info_no,
post_info_name,
post_info_authority,
post_info_duty,
post_info_qualification,
post_id,
description,
forbidden_tag,
#{creator},
#{deleteType},
#{createTime},
#{updateTime},
#{postInfoNo},
#{postInfoName},
#{postInfoAuthority},
#{postInfoDuty},
#{postInfoQualification},
#{postId},
#{description},
0,
update jcl_org_post_info
forbidden_tag=#{forbiddenTag},
WHERE id = #{id} AND delete_type = 0
UPDATE jcl_org_post_info
SET delete_type = 1
WHERE delete_type = 0
AND id IN
#{id}