Commit 26d915ea authored by hanfeng's avatar hanfeng

总业绩统计

parent a01315b4
...@@ -53,6 +53,9 @@ public class ReturnOrderAmount implements Serializable { ...@@ -53,6 +53,9 @@ public class ReturnOrderAmount implements Serializable {
public String getType() { public String getType() {
return orderTypeMap.get(type); return orderTypeMap.get(type);
} }
public Integer getTypeInt() {
return this.type;
}
public String getTime() { public String getTime() {
Date date = new Date(this.time); Date date = new Date(this.time);
......
...@@ -128,9 +128,8 @@ public class TotalPerformanceBiz { ...@@ -128,9 +128,8 @@ public class TotalPerformanceBiz {
//判断押金退还是否大于0 //判断押金退还是否大于0
if ( depositAmount.compareTo(BigDecimal.ZERO)>0) { if ( depositAmount.compareTo(BigDecimal.ZERO)>0) {
ReturnOrderAmount returnOrderAmountClone = ObjectUtil.clone(returnOrderAmount); ReturnOrderAmount returnOrderAmountClone = ObjectUtil.clone(returnOrderAmount);
//判断是违章还是租车 //判断是违章还是租车
if (OrderTypeEnum.RENT_VEHICLE.equals(returnOrderAmount.getType())) { if (OrderTypeEnum.RENT_VEHICLE.equals(returnOrderAmount.getTypeInt())) {
if (AccountTypeEnum.OUT_RESIDUE_DEPOSIT.getCode().equals(returnOrderAmount.getAccountType())) { if (AccountTypeEnum.OUT_RESIDUE_DEPOSIT.getCode().equals(returnOrderAmount.getAccountType())) {
returnOrderAmountClone.setRefundInstruction("违章押金"); returnOrderAmountClone.setRefundInstruction("违章押金");
returnOrderAmountClone.setRefundAmount(accountDetailStr.getDepositAmount()); returnOrderAmountClone.setRefundAmount(accountDetailStr.getDepositAmount());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment