Commit 1285e49d authored by hanfeng's avatar hanfeng

修改租车订单

parent f30adf44
...@@ -130,7 +130,7 @@ public class OrderVehicleCrosstownBiz extends BaseBiz<OrderVehicaleCrosstownMapp ...@@ -130,7 +130,7 @@ public class OrderVehicleCrosstownBiz extends BaseBiz<OrderVehicaleCrosstownMapp
if (value.getType()!=1){ if (value.getType()!=1){
Example example = new Example(OrderAccount.class); Example example = new Example(OrderAccount.class);
//获取退还部分押金和剩余押金的记录 //获取退还部分押金和剩余押金的记录
example.createCriteria().andEqualTo("order_id",value.getOrderId()).andIn("accountType",Lists.newArrayList(AccountTypeEnum.OUT_PART_DEPOSIT.getCode(),AccountTypeEnum.OUT_RESIDUE_DEPOSIT.getCode()) ); example.createCriteria().andEqualTo("orderId",value.getOrderId()).andIn("accountType",Lists.newArrayList(AccountTypeEnum.OUT_PART_DEPOSIT.getCode(),AccountTypeEnum.OUT_RESIDUE_DEPOSIT.getCode()) );
List<OrderAccount> orderAccounts = orderAccountBiz.selectByExample(example); List<OrderAccount> orderAccounts = orderAccountBiz.selectByExample(example);
if (CollectionUtil.isEmpty(orderAccounts)) { if (CollectionUtil.isEmpty(orderAccounts)) {
value.setActualDeposit("定损中"); value.setActualDeposit("定损中");
......
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