md
This commit is contained in:
parent
36063058fe
commit
0dd20ccf64
@ -22,6 +22,12 @@ public class BillPayStatInfo implements Serializable {
|
|||||||
// 总已收金额/总未收金额
|
// 总已收金额/总未收金额
|
||||||
private BigDecimal totalRecdPayMoney;
|
private BigDecimal totalRecdPayMoney;
|
||||||
private BigDecimal totalNoRecdPayMoney;
|
private BigDecimal totalNoRecdPayMoney;
|
||||||
|
|
||||||
|
private BigDecimal totalSatisfyMoney;
|
||||||
|
private BigDecimal totalAllowanceMoney;
|
||||||
|
private BigDecimal totalDeductionMoney;
|
||||||
|
private BigDecimal totalOtherMoney;
|
||||||
|
|
||||||
// 账单总数量
|
// 账单总数量
|
||||||
private Integer totalBillCount;
|
private Integer totalBillCount;
|
||||||
// 已收款账单数量
|
// 已收款账单数量
|
||||||
|
|||||||
@ -74,12 +74,18 @@
|
|||||||
<result property="totalRecdPayMoney" column="totalRecdPayMoney" />
|
<result property="totalRecdPayMoney" column="totalRecdPayMoney" />
|
||||||
<result property="totalNoRecdPayMoney" column="totalNoRecdPayMoney" />
|
<result property="totalNoRecdPayMoney" column="totalNoRecdPayMoney" />
|
||||||
|
|
||||||
|
<result property="totalSatisfyMoney" column="totalSatisfyMoney" />
|
||||||
|
<result property="totalAllowanceMoney" column="totalAllowanceMoney" />
|
||||||
|
<result property="totalDeductionMoney" column="totalDeductionMoney" />
|
||||||
|
<result property="totalOtherMoney" column="totalOtherMoney" />
|
||||||
|
|
||||||
<result property="totalBillCount" column="totalBillCount" />
|
<result property="totalBillCount" column="totalBillCount" />
|
||||||
<result property="hasPayBillCount" column="hasPayBillCount" />
|
<result property="hasPayBillCount" column="hasPayBillCount" />
|
||||||
<result property="somePayBillCount" column="somePayBillCount" />
|
<result property="somePayBillCount" column="somePayBillCount" />
|
||||||
<result property="noPayBillCount" column="noPayBillCount" />
|
<result property="noPayBillCount" column="noPayBillCount" />
|
||||||
<result property="recdPayMoney" column="recdPayMoney" />
|
<result property="recdPayMoney" column="recdPayMoney" />
|
||||||
<result property="noRecdPayMoney" column="noRecdPayMoney" />
|
<result property="noRecdPayMoney" column="noRecdPayMoney" />
|
||||||
|
|
||||||
<result property="expiredRecdPayMoney" column="expiredRecdPayMoney" />
|
<result property="expiredRecdPayMoney" column="expiredRecdPayMoney" />
|
||||||
<result property="expiredNoRecdPayMoney" column="expiredNoRecdPayMoney" />
|
<result property="expiredNoRecdPayMoney" column="expiredNoRecdPayMoney" />
|
||||||
<result property="billPayRate" column="billPayRate" />
|
<result property="billPayRate" column="billPayRate" />
|
||||||
@ -112,6 +118,13 @@
|
|||||||
tba.totalBillCount,
|
tba.totalBillCount,
|
||||||
tba.totalRecdPayMoney,
|
tba.totalRecdPayMoney,
|
||||||
tba.totalNoRecdPayMoney,
|
tba.totalNoRecdPayMoney,
|
||||||
|
|
||||||
|
tba.totalSatisfyMoney,
|
||||||
|
tba.totalAllowanceMoney,
|
||||||
|
tba.totalDeductionMoney,
|
||||||
|
tba.totalOtherMoney,
|
||||||
|
|
||||||
|
|
||||||
tbb.hasPayBillCount,
|
tbb.hasPayBillCount,
|
||||||
tbb.somePayBillCount,
|
tbb.somePayBillCount,
|
||||||
tbb.noPayBillCount,
|
tbb.noPayBillCount,
|
||||||
@ -124,8 +137,12 @@
|
|||||||
ROUND(sum(rec_money),2) as recPayMoney,
|
ROUND(sum(rec_money),2) as recPayMoney,
|
||||||
count(1) as totalBillCount,
|
count(1) as totalBillCount,
|
||||||
ROUND(sum(reced_money),2) as totalRecdPayMoney,
|
ROUND(sum(reced_money),2) as totalRecdPayMoney,
|
||||||
ROUND(sum(rec_money-reced_money),2) as totalNoRecdPayMoney
|
ROUND(sum(rec_money-reced_money-satisfy_money-allowance_money-deduction_money-other_money),2) as totalNoRecdPayMoney,
|
||||||
from emis_settle_bill a
|
ROUND(sum(satisfy_money),2) as totalSatisfyMoney,
|
||||||
|
ROUND(sum(allowance_money),2) as totalAllowanceMoney,
|
||||||
|
ROUND(sum(deduction_money-other_money),2) as totalDeductionMoney,
|
||||||
|
ROUND(sum(other_money),2) as totalOtherMoney
|
||||||
|
from emis_settle_bill a
|
||||||
<where>
|
<where>
|
||||||
a.del_flag='0'
|
a.del_flag='0'
|
||||||
<if test="salesmen != null and salesmen!='' "> and a.salesmen = #{salesmen}</if>
|
<if test="salesmen != null and salesmen!='' "> and a.salesmen = #{salesmen}</if>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user