结算管理功能开发
This commit is contained in:
parent
12921287b6
commit
0b91695637
|
|
@ -15,7 +15,7 @@ public class Inform {
|
||||||
|
|
||||||
private final int CAL_DAY = 6;
|
private final int CAL_DAY = 6;
|
||||||
|
|
||||||
@Scheduled(cron = "0 */1 * * * ? ") // 间隔5分钟执行
|
// @Scheduled(cron = "0 */1 * * * ? ") // 间隔5分钟执行
|
||||||
// @Scheduled(cron = "0 0 1 22 * ? ") // 每个月22日凌晨1点执行
|
// @Scheduled(cron = "0 0 1 22 * ? ") // 每个月22日凌晨1点执行
|
||||||
@Async
|
@Async
|
||||||
public void taskCycle() {
|
public void taskCycle() {
|
||||||
|
|
|
||||||
|
|
@ -425,7 +425,9 @@ public class SltAgreementInfoServiceImpl implements SltAgreementInfoService {
|
||||||
|
|
||||||
private List<SltAgreementInfo> getLeaseJobListMonth(AgreementInfo agreementInfo) {
|
private List<SltAgreementInfo> getLeaseJobListMonth(AgreementInfo agreementInfo) {
|
||||||
List<SltAgreementInfo> monthCosts = calMonthlyMapper.getMonthCosts(agreementInfo);
|
List<SltAgreementInfo> monthCosts = calMonthlyMapper.getMonthCosts(agreementInfo);
|
||||||
|
int num = 0;
|
||||||
for (SltAgreementInfo monthCost : monthCosts) {
|
for (SltAgreementInfo monthCost : monthCosts) {
|
||||||
|
monthCost.setCodeNum(num++);
|
||||||
List<SltAgreementInfo> monthDetails = calMonthlyMapper.getMonthDetails(monthCost);
|
List<SltAgreementInfo> monthDetails = calMonthlyMapper.getMonthDetails(monthCost);
|
||||||
monthCost.setNode(monthDetails);
|
monthCost.setNode(monthDetails);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue