|
@@ -478,7 +478,7 @@ public class ProjectListService {
|
|
|
LocalDate currentDate = LocalDate.now();
|
|
|
// 获取当前年份
|
|
|
String currentYear = String.valueOf(currentDate.getYear());
|
|
|
- if (("false").equals(dto.getGenerateReportNumber()) && userDTO.getId().equals(dto.getProjectManager())) {
|
|
|
+ if (("false").equals(dto.getGenerateReportNumber()) && userDTO.getId().equals(dto.getProjectManager()) && dto.getStatus().equals("5")) {
|
|
|
ProgramProjectListInfo programProjectListInfo = projectListMapper.selectById(dto.getId());
|
|
|
ProgramReportNo programReportNo = programReportNoMapper.selectByProgramId(info.getId());
|
|
|
if (null == programReportNo) {
|