|
@@ -28,6 +28,7 @@ import com.jeeplus.finance.projectReport.service.mapstruct.CwProjectReportFileWr
|
|
import com.jeeplus.finance.projectReportArchive.domain.CwProjectReportArchive;
|
|
import com.jeeplus.finance.projectReportArchive.domain.CwProjectReportArchive;
|
|
import com.jeeplus.finance.projectReportArchive.mapper.CwProjectReportArchiveMapper;
|
|
import com.jeeplus.finance.projectReportArchive.mapper.CwProjectReportArchiveMapper;
|
|
import com.jeeplus.finance.projectReportArchive.service.dto.CwProjectReportArchiveDTO;
|
|
import com.jeeplus.finance.projectReportArchive.service.dto.CwProjectReportArchiveDTO;
|
|
|
|
+import com.jeeplus.finance.reportCancellApply.service.dto.ReportInfoDto;
|
|
import com.jeeplus.finance.utils.Global;
|
|
import com.jeeplus.finance.utils.Global;
|
|
import com.jeeplus.finance.workClientInfo.domain.CwWorkClientBase;
|
|
import com.jeeplus.finance.workClientInfo.domain.CwWorkClientBase;
|
|
import com.jeeplus.finance.workClientInfo.service.dto.CwWorkClientBaseDTO;
|
|
import com.jeeplus.finance.workClientInfo.service.dto.CwWorkClientBaseDTO;
|
|
@@ -515,12 +516,16 @@ public class CwProjectReportService extends ServiceImpl<CwProjectReportMapper, C
|
|
}
|
|
}
|
|
String isBmzr = "0";
|
|
String isBmzr = "0";
|
|
StringBuilder officeIds = new StringBuilder();
|
|
StringBuilder officeIds = new StringBuilder();
|
|
- UserDTO userDTO = SpringUtil.getBean ( IUserApi.class ).getByToken(TokenProvider.getCurrentToken ( ));
|
|
|
|
|
|
+ //UserDTO userDTO = SpringUtil.getBean ( IUserApi.class ).getByToken(TokenProvider.getCurrentToken ( ));
|
|
// UserDTO userDTO = UserUtils.getCurrentUserDTO();
|
|
// UserDTO userDTO = UserUtils.getCurrentUserDTO();
|
|
List<String> manageOfficeIdList= Lists.newArrayList();
|
|
List<String> manageOfficeIdList= Lists.newArrayList();
|
|
|
|
|
|
|
|
|
|
- IPage<CwProjectReportData> list = reportMapper.findList(page,userDTO,isBmzr, officeIds.toString(), queryWrapper);
|
|
|
|
|
|
+
|
|
|
|
+ long l1 = System.currentTimeMillis();
|
|
|
|
+ IPage<CwProjectReportData> list = reportMapper.findList(page,isBmzr, officeIds.toString(), queryWrapper);
|
|
|
|
+ long l2 = System.currentTimeMillis();
|
|
|
|
+ System.out.println("报告列表查询service方法消耗时间:" + (l2-l1));
|
|
List<UserDTO> allUserInfo = SpringUtil.getBean(IUserApi.class).getAllUserInfo();
|
|
List<UserDTO> allUserInfo = SpringUtil.getBean(IUserApi.class).getAllUserInfo();
|
|
list.getRecords().forEach(li->{
|
|
list.getRecords().forEach(li->{
|
|
if (StringUtils.isBlank(li.getProjectMasterName())){
|
|
if (StringUtils.isBlank(li.getProjectMasterName())){
|