提交修改
This commit is contained in:
commit
58a4606a0d
@ -76,5 +76,5 @@ public interface FlowRecordMapper extends BaseMapper<FlowRecord> {
|
||||
|
||||
FlowRecord selectFlowRecordByRecordIdMinIdStatus(@Param("resultRecordId") Long resultRecordId, @Param("id") Long id, @Param("status") int status);
|
||||
|
||||
int batchUpdateExecution(@Param("recordIds")List<Long> recordIds,@Param("processId") Long processId);
|
||||
int batchUpdateExecution(@Param("recordIds")List<Long> recordIds,@Param("processId") int processId);
|
||||
}
|
||||
@ -157,10 +157,14 @@ public class FlowChartController {
|
||||
|
||||
flowChartDetailRecord.setEvaluationGroupId(flowChartDetailRecordListReq.getEvaluationGroupId());
|
||||
flowChartDetailRecord.setStepIndex(index);
|
||||
if(flowChartDetailRecord.getStepType() == null){//添加时默认没有设置步骤类型,那么设置成一次
|
||||
flowChartDetailRecord.setStepType(0);
|
||||
}
|
||||
flowChartDetailRecord.setStatus(flowChartDetailRecordListReq.getStatus());
|
||||
if(flowChartDetailRecord.getId() != null && flowChartDetailRecord.getId().intValue() > 0){
|
||||
updaes.add(flowChartDetailRecord);
|
||||
}else{
|
||||
|
||||
inserts.add(flowChartDetailRecord);
|
||||
}
|
||||
if(flowChartDetailRecord.getIsDelete() == null || flowChartDetailRecord.getIsDelete().intValue() == 0){
|
||||
|
||||
@ -90,7 +90,7 @@ public class AssessManagerServiceImpl implements AssessManagerService {
|
||||
@Autowired
|
||||
private DingtalkBusiness dingtalkBusiness;
|
||||
|
||||
public static final Long processId = 1L;
|
||||
public static final int processId = 1;
|
||||
|
||||
|
||||
|
||||
|
||||
@ -269,6 +269,7 @@
|
||||
,gmt_modified = now()
|
||||
where is_delete = 0 and status !=4 and flow_process = 2 and process_id = #{processId}
|
||||
<if test="recordIds !=null and recordIds.size()!=0">
|
||||
and record_id in (
|
||||
<foreach collection="recordIds" item="record_id" separator=",">
|
||||
#{record_id}
|
||||
</foreach>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user