@ -25,6 +25,7 @@ import org.activiti.engine.RuntimeService;
import org.activiti.engine.TaskService ;
import org.activiti.engine.TaskService ;
import org.activiti.engine.runtime.ProcessInstance ;
import org.activiti.engine.runtime.ProcessInstance ;
import org.activiti.engine.task.Task ;
import org.activiti.engine.task.Task ;
import org.apache.commons.lang3.StringUtils ;
import org.apache.poi.hssf.usermodel.HSSFWorkbook ;
import org.apache.poi.hssf.usermodel.HSSFWorkbook ;
import org.apache.poi.ss.usermodel.* ;
import org.apache.poi.ss.usermodel.* ;
import org.apache.poi.xssf.usermodel.XSSFWorkbook ;
import org.apache.poi.xssf.usermodel.XSSFWorkbook ;
@ -1205,20 +1206,17 @@ public class HuzhouProjectinfoServiceImpl extends ServiceImpl<HuzhouProjectinfoM
return fundByTypeResponse ;
return fundByTypeResponse ;
}
}
@Override
@Override
public IPage < HuzhouProjectinfoOV > getUnitedTechnicalReviewList ( HuzhouProjectinfo projectinfo , Integer pageNo , Integer pageSize ) {
public IPage < HuzhouProjectinfoOV > getUnitedTechnicalReviewList ( HuzhouProjectinfoOV projectinfo , Integer pageNo , Integer pageSize ) {
IPage < HuzhouProjectinfoOV > projectInfoAndChildPageList = getProjectInfoAndChildPageList ( projectinfo , pageNo , pageSize ) ;
projectInfoAndChildPageList . getRecords ( ) . stream ( ) . forEach ( x - > {
Page < HuzhouProjectinfoOV > projectInfoAndChildPageList = new Page < > ( pageNo , pageSize ) ;
String id = x . getId ( ) ;
LambdaQueryWrapper < HuzhouProcessinfo > queryWrapper = new LambdaQueryWrapper < > ( ) ;
ProjectInfoAuthSelect projectInfoAuthSelect = CommonUtils . setGetProjectInfoAuth ( projectinfo ) ;
queryWrapper . eq ( HuzhouProcessinfo : : getProjectid , id ) ;
if ( StringUtils . isNotBlank ( projectinfo . getUtrIsfinish ( ) ) ) {
queryWrapper . eq ( HuzhouProcessinfo : : getProcessName , "createURT" ) ;
String [ ] split = projectinfo . getUtrIsfinish ( ) . split ( "," ) ;
List < HuzhouProcessinfo > list = processinfoService . list ( queryWrapper ) ;
projectInfoAuthSelect . setUtrIsfinishList ( Arrays . asList ( split ) ) ;
if ( list . size ( ) > 0 ) {
}
x . setUtrIsfinish ( list . get ( 0 ) . getProcessstatus ( ) ) ;
Page < HuzhouProjectinfoOV > unitedTechnicalReviewList = projectinfoMapper . getUnitedTechnicalReviewList ( projectInfoAndChildPageList , projectInfoAuthSelect ) ;
} else {
return unitedTechnicalReviewList ;
x . setUtrIsfinish ( "0" ) ;
} } ) ;
return projectInfoAndChildPageList ;
}
}
}
}