diff --git a/src/main/java/com/lz/modules/flow/dao/FlowChartDetailRecordMapper.java b/src/main/java/com/lz/modules/flow/dao/FlowChartDetailRecordMapper.java index 516a5809..dcec48ad 100644 --- a/src/main/java/com/lz/modules/flow/dao/FlowChartDetailRecordMapper.java +++ b/src/main/java/com/lz/modules/flow/dao/FlowChartDetailRecordMapper.java @@ -38,7 +38,7 @@ public interface FlowChartDetailRecordMapper extends BaseMapper selectFlowChartDetailRecordByGroupId(Long groupId); - int insertFlowChartDetailRecords(List inserts); + int insertFlowChartDetailRecords(@Param("list") List inserts); - int updateCoverFlowChartDetailRecordByIds(List updaes); + int updateCoverFlowChartDetailRecordByIds(@Param("list") List updaes); } \ No newline at end of file diff --git a/src/main/resources/mapper/flow/EvaluationStartStaffMapper.xml b/src/main/resources/mapper/flow/EvaluationStartStaffMapper.xml index 978a3c25..1c8b734b 100644 --- a/src/main/resources/mapper/flow/EvaluationStartStaffMapper.xml +++ b/src/main/resources/mapper/flow/EvaluationStartStaffMapper.xml @@ -84,19 +84,20 @@ 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 - + )values( #{ item.evaluationId}, #{ item.startId}, #{ item.staffId}, #{ item.type}, 0 + )