|
|
@@ -16,6 +16,7 @@ import com.jzg.commons.entity.vo.SysUserWalletVo;
|
|
|
import com.jzg.commons.entity.vo.UserAccountStatisVo;
|
|
|
import com.jzg.commons.util.BigDecimalUtil;
|
|
|
import com.jzg.organization.client.QuoteClient;
|
|
|
+import com.jzg.organization.mapper.SysAmountAuditingMapper;
|
|
|
import com.jzg.organization.mapper.SysUserAccountMapper;
|
|
|
import com.jzg.organization.service.*;
|
|
|
import org.slf4j.Logger;
|
|
|
@@ -59,7 +60,8 @@ public class SysUserAccountServiceImpl extends ServiceImpl<SysUserAccountMapper,
|
|
|
|
|
|
@Autowired
|
|
|
private SysDeptService sysDeptService;
|
|
|
-
|
|
|
+ @Autowired
|
|
|
+ private SysAmountAuditingMapper sysAmountAuditingMapper;
|
|
|
@Autowired
|
|
|
private QuoteClient quoteClient;
|
|
|
|
|
|
@@ -83,7 +85,10 @@ public class SysUserAccountServiceImpl extends ServiceImpl<SysUserAccountMapper,
|
|
|
@Override
|
|
|
public UserAccountStatisVo getPayableStatistics(SysUserAccountParam param) {
|
|
|
log.info("查询财务统计信息: param=[{}]", JSONUtil.toJsonStr(param));
|
|
|
- return this.baseMapper.getPayableStatistics(param);
|
|
|
+ UserAccountStatisVo payableStatistics = this.baseMapper.getPayableStatistics(param);
|
|
|
+ BigDecimal payingAmountSum = sysAmountAuditingMapper.queryPayingAmountSum();
|
|
|
+ payableStatistics.setPayingAmountSum(payingAmountSum== null? BigDecimal.ZERO:payingAmountSum);
|
|
|
+ return payableStatistics;
|
|
|
}
|
|
|
|
|
|
/**
|