This commit is contained in:
杜建超 2020-11-06 09:23:23 +08:00
parent ad1f580ab6
commit 9946d69282
3 changed files with 3 additions and 2 deletions

View File

@ -76,5 +76,5 @@ public interface FlowRecordMapper extends BaseMapper<FlowRecord> {
FlowRecord selectFlowRecordByRecordIdMinIdStatus(@Param("resultRecordId") Long resultRecordId, @Param("id") Long id, @Param("status") int status); 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);
} }

View File

@ -90,7 +90,7 @@ public class AssessManagerServiceImpl implements AssessManagerService {
@Autowired @Autowired
private DingtalkBusiness dingtalkBusiness; private DingtalkBusiness dingtalkBusiness;
public static final Long processId = 1L; public static final int processId = 1;

View File

@ -269,6 +269,7 @@
,gmt_modified = now() ,gmt_modified = now()
where is_delete = 0 and status !=4 and flow_process = 2 and process_id = #{processId} where is_delete = 0 and status !=4 and flow_process = 2 and process_id = #{processId}
<if test="recordIds !=null and recordIds.size()!=0"> <if test="recordIds !=null and recordIds.size()!=0">
and record_id in (
<foreach collection="recordIds" item="record_id" separator=","> <foreach collection="recordIds" item="record_id" separator=",">
#{record_id} #{record_id}
</foreach> </foreach>