A.hdanger_id,
A.oc_id,
A.goaf_id,
A.hdanger_title,
A.hdanger_level,
A.hdanger_type,
A.checklist_id,
A.hdanger_desc,
A.submit_group_id,
A.submit_group_name,
A.submit_position_id,
A.submit_position_name,
A.submit_account_id,
A.submit_account_name,
A.submit_time,
A.review_group_id,
A.review_group_name,
A.review_position_id,
A.review_position_name,
A.review_account_id,
A.review_account_name,
A.danger_deadline,
A.review_time,
A.review_remark,
A.rectify_group_id,
A.rectify_group_name,
A.rectify_position_id,
A.rectify_position_name,
A.rectify_account_id,
A.rectify_account_name,
A.rectify_time,
A.danger_reason,
A.rectify_measure,
A.rectify_remark,
A.accept_group_id,
A.accept_group_name,
A.accept_position_id,
A.accept_position_name,
A.accept_account_id,
A.accept_account_name,
A.accept_time,
A.accept_remark,
A.finish_time,
A.status,
B.wf_def_id,
B.wf_ins_id,
B.wf_ins_title,
B.cur_group_id,
B.cur_group_name,
B.cur_position_id,
B.cur_position_name,
B.cur_account_id,
B.cur_account_name,
B.cur_activity_ins_id,
B.cur_activity_code,
B.cur_activity_title,
B.cur_form_code,
B.cur_activity_begin_time
INSERT INTO goaf_hdanger
hdanger_id,
oc_id,
goaf_id,
goaf_dev_id,
goaf_data_id,
hdanger_title,
hdanger_level,
hdanger_type,
checklist_id,
hdanger_desc,
submit_group_id,
submit_group_name,
submit_position_id,
submit_position_name,
submit_account_id,
submit_account_name,
submit_time,
review_group_id,
review_group_name,
review_position_id,
review_position_name,
review_account_id,
review_account_name,
danger_deadline,
status,
#{hdangerId ,jdbcType=BIGINT},
#{ocId ,jdbcType=BIGINT},
#{goafId ,jdbcType=BIGINT},
#{goafDevId ,jdbcType=BIGINT},
#{goafDataId ,jdbcType=BIGINT},
#{hdangerTitle ,jdbcType=VARCHAR},
#{hdangerLevel ,jdbcType=BIGINT},
#{hdangerType ,jdbcType=BIGINT},
#{checklistId ,jdbcType=BIGINT},
#{hdangerDesc ,jdbcType=VARCHAR},
#{submitGroupId ,jdbcType=BIGINT},
#{submitGroupName ,jdbcType=VARCHAR},
#{submitPositionId ,jdbcType=BIGINT},
#{submitPositionName ,jdbcType=VARCHAR},
#{submitAccountId ,jdbcType=BIGINT},
#{submitAccountName ,jdbcType=VARCHAR},
#{submitTime ,jdbcType=TIMESTAMP},
#{reviewGroupId ,jdbcType=BIGINT},
#{reviewGroupName ,jdbcType=VARCHAR},
#{reviewPositionId ,jdbcType=BIGINT},
#{reviewPositionName ,jdbcType=VARCHAR},
#{reviewAccountId ,jdbcType=BIGINT},
#{reviewAccountName ,jdbcType=VARCHAR},
#{dangerDeadline ,jdbcType=TIMESTAMP},
#{status ,jdbcType=BIGINT},
UPDATE goaf_hdanger
hdanger_title = #{hdangerTitle, jdbcType=VARCHAR},
hdanger_level = #{hdangerLevel ,jdbcType=BIGINT},
hdanger_desc = #{hdangerDesc, jdbcType=VARCHAR},
submit_group_id = #{submitGroupId ,jdbcType=BIGINT},
submit_group_name = #{submitGroupName ,jdbcType=VARCHAR},
submit_position_id = #{submitPositionId ,jdbcType=BIGINT},
submit_position_name = #{submitPositionName ,jdbcType=VARCHAR},
submit_account_id = #{submitAccountId ,jdbcType=BIGINT},
submit_account_name = #{submitAccountName ,jdbcType=VARCHAR},
submit_time = #{submitTime ,jdbcType=TIMESTAMP},
review_group_id = #{reviewGroupId ,jdbcType=BIGINT},
review_group_name = #{reviewGroupName ,jdbcType=VARCHAR},
review_position_id = #{reviewPositionId ,jdbcType=BIGINT},
review_position_name = #{reviewPositionName ,jdbcType=VARCHAR},
review_account_id = #{reviewAccountId ,jdbcType=BIGINT},
review_account_name = #{reviewAccountName ,jdbcType=VARCHAR},
danger_deadline = #{dangerDeadline ,jdbcType=TIMESTAMP},
review_time = #{reviewTime ,jdbcType=TIMESTAMP},
review_remark = #{reviewRemark ,jdbcType=VARCHAR},
rectify_group_id = #{rectifyGroupId ,jdbcType=BIGINT},
rectify_group_name = #{rectifyGroupName ,jdbcType=VARCHAR},
rectify_position_id = #{rectifyPositionId ,jdbcType=BIGINT},
rectify_position_name = #{rectifyPositionName ,jdbcType=VARCHAR},
rectify_account_id = #{rectifyAccountId ,jdbcType=BIGINT},
rectify_account_name = #{rectifyAccountName ,jdbcType=VARCHAR},
rectify_time = #{rectifyTime ,jdbcType=TIMESTAMP},
danger_reason = #{dangerReason, jdbcType=VARCHAR},
rectify_measure = #{rectifyMeasure, jdbcType=VARCHAR},
rectify_remark = #{rectifyRemark, jdbcType=VARCHAR},
accept_group_id = #{acceptGroupId ,jdbcType=BIGINT},
accept_group_name = #{acceptGroupName ,jdbcType=VARCHAR},
accept_position_id = #{acceptPositionId ,jdbcType=BIGINT},
accept_position_name = #{acceptPositionName ,jdbcType=VARCHAR},
accept_account_id = #{acceptAccountId ,jdbcType=BIGINT},
accept_account_name = #{acceptAccountName ,jdbcType=VARCHAR},
accept_time = #{acceptTime ,jdbcType=TIMESTAMP},
accept_remark = #{acceptRemark ,jdbcType=VARCHAR},
finish_time = #{finishTime ,jdbcType=TIMESTAMP},
status = #{status ,jdbcType=BIGINT},
WHERE hdanger_id = #{hdangerId ,jdbcType=BIGINT}
DELETE FROM goaf_hdanger
WHERE hdanger_id = #{hdangerId ,jdbcType=BIGINT}