Commit ecf07f05 by zhengxj

finish 对账详情-各服务项单量统计 20200113 by zhengxj

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@25809 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent e0d1cf16
...@@ -35,7 +35,7 @@ import java.math.BigDecimal; ...@@ -35,7 +35,7 @@ import java.math.BigDecimal;
*/ */
public class ReconciliationDetailCount { public class ReconciliationDetailCount {
private String serviceCCode; private String serviceCode;
private Integer feeType; private Integer feeType;
...@@ -43,12 +43,12 @@ public class ReconciliationDetailCount { ...@@ -43,12 +43,12 @@ public class ReconciliationDetailCount {
private Integer count; private Integer count;
public String getServiceCCode() { public String getserviceCode() {
return serviceCCode; return serviceCode;
} }
public void setServiceCCode(String serviceCCode) { public void setserviceCode(String serviceCode) {
this.serviceCCode = serviceCCode; this.serviceCode = serviceCode;
} }
public Integer getFeeType() { public Integer getFeeType() {
......
...@@ -38,6 +38,11 @@ import com.glsx.ordercenter.pojo.SysReconciliation; ...@@ -38,6 +38,11 @@ import com.glsx.ordercenter.pojo.SysReconciliation;
*/ */
public class ReconciliationInfo extends SysReconciliation { public class ReconciliationInfo extends SysReconciliation {
/**
*
*/
private static final long serialVersionUID = 378587531334949516L;
private List<ReconciliationDetailCount> reconciliationDetailCountList; private List<ReconciliationDetailCount> reconciliationDetailCountList;
private BigDecimal subsidyAmount; private BigDecimal subsidyAmount;
......
...@@ -369,7 +369,7 @@ ...@@ -369,7 +369,7 @@
<select id="countByServiceCode" resultType="com.glsx.ordercenter.dto.ReconciliationDetailCount"> <select id="countByServiceCode" resultType="com.glsx.ordercenter.dto.ReconciliationDetailCount">
SELECT COUNT(distinct(srd.id)) as SELECT COUNT(distinct(srd.id)) as
count,susfh.fee_type,so.service_code,susfh.service_fee,srd.order_sn count,susfh.fee_type as feeType,so.service_code as serviceCode,susfh.service_fee as serviceFee
FROM sys_reconciliation_detail srd FROM sys_reconciliation_detail srd
LEFT JOIN sys_order so on srd.order_sn=so.order_sn LEFT JOIN sys_order so on srd.order_sn=so.order_sn
LEFT JOIN sys_user_service_fee_history susfh LEFT JOIN sys_user_service_fee_history susfh
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!