|
|
@@ -43,7 +43,7 @@ public class WorkflowImplService implements WorkflowService {
|
|
|
if (workflows != null){
|
|
|
workflows.forEach(workflow -> {
|
|
|
List<FileInfo> fileInfoList;
|
|
|
- if (workflow.getStatus() == 2 && workflow.getType() == 1){
|
|
|
+ if (workflow.getStatus() == 2 && workflow.getType() == 1 || workflow.getType() == 2){
|
|
|
fileInfoList = fileDao.queryList("and link_id = '"+workflow.getLinkId()+"'");
|
|
|
}else {
|
|
|
fileInfoList = fileDao.queryList("and link_id = '"+workflow.getId()+"'");
|