|
@@ -776,7 +776,9 @@ public class MeasurementSettlementServiceImpl implements MeasurementSettlementSe
|
|
Integer month = DateUtil.getMonth(billingPeriod);
|
|
Integer month = DateUtil.getMonth(billingPeriod);
|
|
Date startTime = measurementSettlementDto.getClearingStartDate();
|
|
Date startTime = measurementSettlementDto.getClearingStartDate();
|
|
Date endTime = measurementSettlementDto.getClearingEndDate();
|
|
Date endTime = measurementSettlementDto.getClearingEndDate();
|
|
|
|
+
|
|
measurementSettlementDto.setTenantId(UserUtil.getCurrentUser().getTenantId());
|
|
measurementSettlementDto.setTenantId(UserUtil.getCurrentUser().getTenantId());
|
|
|
|
+
|
|
//存储本期未结账数据
|
|
//存储本期未结账数据
|
|
this.insertAccountNumber(year,month,startTime,endTime,measurementSettlementDto);
|
|
this.insertAccountNumber(year,month,startTime,endTime,measurementSettlementDto);
|
|
//本期交易未结账数据
|
|
//本期交易未结账数据
|
|
@@ -1063,8 +1065,9 @@ public class MeasurementSettlementServiceImpl implements MeasurementSettlementSe
|
|
transactionSurver.setCreateDate(LocalDateTime.now());
|
|
transactionSurver.setCreateDate(LocalDateTime.now());
|
|
transactionSurver.setUpdateBy(loginUser.getUsername());
|
|
transactionSurver.setUpdateBy(loginUser.getUsername());
|
|
transactionSurver.setUpdateDate(LocalDateTime.now());
|
|
transactionSurver.setUpdateDate(LocalDateTime.now());
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+ transactionSurver.setTenantId(loginUser.getTenantId());
|
|
|
|
+ transactionSurver.setCompanyOrgId(measurementSettlementDto.getCompanyOrgId());
|
|
|
|
+ transactionSurver.setDeptOrgId(measurementSettlementDto.getDeptOrgId());
|
|
payChargeSurveyMapper.insertTransaction(transactionSurver);
|
|
payChargeSurveyMapper.insertTransaction(transactionSurver);
|
|
|
|
|
|
}catch (Exception e) {
|
|
}catch (Exception e) {
|
|
@@ -1136,7 +1139,9 @@ public class MeasurementSettlementServiceImpl implements MeasurementSettlementSe
|
|
account.setCreateDate(LocalDateTime.now());
|
|
account.setCreateDate(LocalDateTime.now());
|
|
account.setUpdateBy(loginUser.getUsername());
|
|
account.setUpdateBy(loginUser.getUsername());
|
|
account.setUpdateDate(LocalDateTime.now());
|
|
account.setUpdateDate(LocalDateTime.now());
|
|
-
|
|
|
|
|
|
+ account.setTenantId(loginUser.getTenantId());
|
|
|
|
+ account.setCompanyOrgId(measurementSettlementDto.getCompanyOrgId());
|
|
|
|
+ account.setDeptOrgId(measurementSettlementDto.getDeptOrgId());
|
|
//保存记录
|
|
//保存记录
|
|
payChargeSurveyMapper.insertAccountNumber(account);
|
|
payChargeSurveyMapper.insertAccountNumber(account);
|
|
}catch (Exception e) {
|
|
}catch (Exception e) {
|