Merge branch 'version_performance_2.0' of http://gitlab.ldxinyong.com/enterpriseManagement/lz_management into version_performance_2.0
This commit is contained in:
commit
4d85c2bde7
@ -38,7 +38,7 @@ public interface FlowChartDetailRecordMapper extends BaseMapper<FlowChartDetailR
|
||||
|
||||
List<FlowChartDetailRecord> selectFlowChartDetailRecordByGroupId(Long groupId);
|
||||
|
||||
int insertFlowChartDetailRecords(List<FlowChartDetailRecord> inserts);
|
||||
int insertFlowChartDetailRecords(@Param("list") List<FlowChartDetailRecord> inserts);
|
||||
|
||||
int updateCoverFlowChartDetailRecordByIds(List<FlowChartDetailRecord> updaes);
|
||||
int updateCoverFlowChartDetailRecordByIds(@Param("list") List<FlowChartDetailRecord> updaes);
|
||||
}
|
||||
@ -84,19 +84,20 @@
|
||||
update lz_evaluation_start_staff set is_delete = 1 where id=#{id} limit 1
|
||||
</update>
|
||||
<insert id="insertEvaluationStartStaffs" parameterType="EvaluationStartStaff" useGeneratedKeys="true" keyProperty="id" >
|
||||
<foreach collection="list" item="item" separator=";">
|
||||
insert into lz_evaluation_start_staff(
|
||||
<if test="item.evaluationId != null">evaluation_id, </if>
|
||||
<if test="item.startId != null">start_id, </if>
|
||||
<if test="item.staffId != null">staff_id, </if>
|
||||
<if test="item.type != null">type, </if>
|
||||
is_delete
|
||||
)values
|
||||
<foreach collection="list" item="item" separator="," open="(" close=")">
|
||||
)values(
|
||||
<if test="item.evaluationId != null">#{ item.evaluationId}, </if>
|
||||
<if test="item.startId != null">#{ item.startId}, </if>
|
||||
<if test="item.staffId != null">#{ item.staffId}, </if>
|
||||
<if test="item.type != null">#{ item.type}, </if>
|
||||
0
|
||||
)
|
||||
</foreach>
|
||||
|
||||
</insert>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user