diff --git a/src/main/resources/mapper/flow/EvaluationStartStaffMapper.xml b/src/main/resources/mapper/flow/EvaluationStartStaffMapper.xml index 1c8b734b..057ba160 100644 --- a/src/main/resources/mapper/flow/EvaluationStartStaffMapper.xml +++ b/src/main/resources/mapper/flow/EvaluationStartStaffMapper.xml @@ -84,22 +84,23 @@ 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, + evaluation_id, + start_id, + staff_id, + type, is_delete - )values( - #{ item.evaluationId}, - #{ item.startId}, - #{ item.staffId}, - #{ item.type}, + )values + ( + #{ item.evaluationId}, + #{ item.startId}, + #{ item.staffId}, + #{ item.type}, 0 ) - + ; diff --git a/src/main/resources/mapper/flow/FlowChartDetailRecordMapper.xml b/src/main/resources/mapper/flow/FlowChartDetailRecordMapper.xml index 45b13b85..6d1c567a 100644 --- a/src/main/resources/mapper/flow/FlowChartDetailRecordMapper.xml +++ b/src/main/resources/mapper/flow/FlowChartDetailRecordMapper.xml @@ -118,33 +118,34 @@ - - insert into lz_flow_chart_detail_record( - chart_id, - evaluation_group_id, - status, - opt_ids, - opt_type, - role_ids, - step_type, - step_index, - weight, - is_delete - )values( - #{ item.chartId}, - #{ item.evaluationGroupId}, - #{ item.status}, - #{ item.optIds}, - #{ item.optType}, - #{ item.roleIds}, - #{ item.stepType}, - #{ item.stepIndex}, - #{ item.weight}, + insert into lz_flow_chart_detail_record( + chart_id, + evaluation_group_id, + status, + opt_ids, + opt_type, + role_ids, + step_type, + step_index, + weight, + is_delete + )values + ( + + #{ item.chartId}, + #{ item.evaluationGroupId}, + #{ item.status}, + #{ item.optIds}, + #{ item.optType}, + #{ item.roleIds}, + #{ item.stepType}, + #{ item.stepIndex}, + #{ item.weight}, 0 ) - + ; diff --git a/src/main/resources/mapper/flow/ResultTagetLibMapper.xml b/src/main/resources/mapper/flow/ResultTagetLibMapper.xml index 525b46c7..2384cb6b 100644 --- a/src/main/resources/mapper/flow/ResultTagetLibMapper.xml +++ b/src/main/resources/mapper/flow/ResultTagetLibMapper.xml @@ -105,25 +105,26 @@ - - insert into lz_result_taget_lib( - name, - model_id, - weight, - key_result, - order_by, - is_delete - )values( - #{ item.name}, - #{ item.modelId}, - #{ item.weight}, - #{ item.keyResult}, - #{ item.orderBy}, + insert into lz_result_taget_lib( + name, + model_id, + weight, + key_result, + order_by, + is_delete + )values + ( + + #{ item.name}, + #{ item.modelId}, + #{ item.weight}, + #{ item.keyResult}, + #{ item.orderBy}, 0 ) - + ;