From 91fa248be4583c1cf2fe7d780f5d768fa2a3659f Mon Sep 17 00:00:00 2001 From: wulin Date: Thu, 22 Oct 2020 09:51:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0param?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/lz/modules/flow/dao/FlowChartDetailRecordMapper.java | 4 ++-- .../resources/mapper/flow/EvaluationStartStaffMapper.xml | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) 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 + )