|
@@ -192,6 +192,8 @@ public class CwProjectReportService extends ServiceImpl<CwProjectReportMapper, C
|
|
|
infoData.setSealType(report.getSealType());
|
|
|
infoData.setServedUnitId(report.getServedUnitId());
|
|
|
infoData.setUpdateById(userDTO.getId());
|
|
|
+ infoData.setApprovedIncludingTax(report.getApprovedIncludingTax());
|
|
|
+ infoData.setApprovedNoIncludingTax(report.getApprovedNoIncludingTax());
|
|
|
// infoData.setUpdateById(UserUtils.getCurrentUserDTO().getId());
|
|
|
infoData.setUpdateTime(new Date());
|
|
|
infoMapper.updateCwProjectInfoDataById(infoData);
|
|
@@ -290,6 +292,8 @@ public class CwProjectReportService extends ServiceImpl<CwProjectReportMapper, C
|
|
|
infoData.setSealType(report.getSealType());
|
|
|
infoData.setServedUnitId(report.getServedUnitId());
|
|
|
infoData.setUpdateById(userDTO.getId());
|
|
|
+ infoData.setApprovedNoIncludingTax(report.getApprovedNoIncludingTax());
|
|
|
+ infoData.setApprovedIncludingTax(report.getApprovedIncludingTax());
|
|
|
// infoData.setUpdateById(UserUtils.getCurrentUserDTO().getId());
|
|
|
infoData.setUpdateTime(new Date());
|
|
|
infoMapper.updateCwProjectInfoDataById(infoData);
|
|
@@ -415,6 +419,8 @@ public class CwProjectReportService extends ServiceImpl<CwProjectReportMapper, C
|
|
|
infoData.setOpinionType(report.getOpinionType());
|
|
|
infoData.setSealType(report.getSealType());
|
|
|
infoData.setServedUnitId(report.getServedUnitId());
|
|
|
+ infoData.setApprovedIncludingTax(report.getApprovedIncludingTax());
|
|
|
+ infoData.setApprovedNoIncludingTax(report.getApprovedNoIncludingTax());
|
|
|
// //报告文号生成
|
|
|
// String documentNo = "";
|
|
|
// try {
|
|
@@ -675,6 +681,19 @@ public class CwProjectReportService extends ServiceImpl<CwProjectReportMapper, C
|
|
|
if (ArrayUtil.isNotEmpty(projectReportData.getCreateDates())) {
|
|
|
queryWrapper.between("a.create_time", projectReportData.getCreateDates()[0], projectReportData.getCreateDates()[1]);
|
|
|
}
|
|
|
+ //报告日期
|
|
|
+ if (ArrayUtil.isNotEmpty(projectReportData.getReportDates())) {
|
|
|
+ queryWrapper.between("new_line.report_date", projectReportData.getReportDates()[0], projectReportData.getReportDates()[1]);
|
|
|
+ }
|
|
|
+ //项目分类
|
|
|
+ if (StringUtils.isNotEmpty(projectReportData.getProjectClassification())) {
|
|
|
+ queryWrapper.eq("b.project_classification", projectReportData.getProjectClassification());
|
|
|
+ }
|
|
|
+ //报告类型
|
|
|
+ if (StringUtils.isNotEmpty(projectReportData.getReportType())) {
|
|
|
+ queryWrapper.eq("new_line.report_type", projectReportData.getReportType());
|
|
|
+ }
|
|
|
+
|
|
|
String isBmzr = "0";
|
|
|
StringBuilder officeIds = new StringBuilder();
|
|
|
//UserDTO userDTO = SpringUtil.getBean ( IUserApi.class ).getByToken(TokenProvider.getCurrentToken ( ));
|