结算管理功能开发

This commit is contained in:
liang.chao 2024-08-06 16:45:03 +08:00
parent 12921287b6
commit 0b91695637
2 changed files with 3 additions and 1 deletions

View File

@ -15,7 +15,7 @@ public class Inform {
private final int CAL_DAY = 6;
@Scheduled(cron = "0 */1 * * * ? ") // 间隔5分钟执行
// @Scheduled(cron = "0 */1 * * * ? ") // 间隔5分钟执行
// @Scheduled(cron = "0 0 1 22 * ? ") // 每个月22日凌晨1点执行
@Async
public void taskCycle() {

View File

@ -425,7 +425,9 @@ public class SltAgreementInfoServiceImpl implements SltAgreementInfoService {
private List<SltAgreementInfo> getLeaseJobListMonth(AgreementInfo agreementInfo) {
List<SltAgreementInfo> monthCosts = calMonthlyMapper.getMonthCosts(agreementInfo);
int num = 0;
for (SltAgreementInfo monthCost : monthCosts) {
monthCost.setCodeNum(num++);
List<SltAgreementInfo> monthDetails = calMonthlyMapper.getMonthDetails(monthCost);
monthCost.setNode(monthDetails);
}