|
@@ -258,9 +258,27 @@ public class CwProjectReportService extends ServiceImpl<CwProjectReportMapper, C
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ return report.getId();
|
|
|
|
+ }
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 修改审定金额
|
|
|
|
+ * @param reportData
|
|
|
|
+ * @return
|
|
|
|
+ * @throws Exception
|
|
|
|
+ */
|
|
|
|
+ public String updateAmount(CwProjectReportData reportData) throws Exception {
|
|
|
|
+ //获取当前登录人信息
|
|
|
|
+ UserDTO userDTO = SpringUtil.getBean(IUserApi.class).getByToken(TokenProvider.getCurrentToken());
|
|
|
|
+ CwProjectReport report = new CwProjectReport();
|
|
|
|
+ BeanUtils.copyProperties(reportData, report);
|
|
|
|
+ CwProjectInfoData infoData = infoMapper.selectInfoByReportId(report.getId());
|
|
|
|
+ infoData.setUpdateById(userDTO.getId());
|
|
|
|
+ infoData.setApprovedIncludingTax(report.getApprovedIncludingTax());
|
|
|
|
+ infoData.setApprovedNoIncludingTax(report.getApprovedNoIncludingTax());
|
|
|
|
+ infoData.setUpdateTime(new Date());
|
|
|
|
+ infoMapper.updateCwProjectInfoDataById(infoData);
|
|
return report.getId();
|
|
return report.getId();
|
|
}
|
|
}
|
|
|
|
|