| | |
| | | Object o2 = item.get("responsibilityType"); |
| | | if(o2!=null){ |
| | | if(Integer.valueOf(o2.toString())>2){ |
| | | TAbnormalPayOrder tAbnormalPayOrder = tAbnormalPayOrderService.selectOne(new EntityWrapper<TAbnormalPayOrder>().eq("type", 1).eq("orderNum", item.get("orderNum"))); |
| | | TAbnormalPayOrder tAbnormalPayOrder = tAbnormalPayOrderService.selectOne(new EntityWrapper<TAbnormalPayOrder>().eq("type", 1).eq("orderNum",tOrderPrivateCarId)); |
| | | model.addAttribute("money",tAbnormalPayOrder.getPayMoney()); |
| | | } |
| | | } |
| | |
| | | model.addAttribute("show",0); |
| | | if(o2!=null){ |
| | | if(Integer.valueOf(o2.toString())>2){ |
| | | TAbnormalPayOrder tAbnormalPayOrder = tAbnormalPayOrderService.selectOne(new EntityWrapper<TAbnormalPayOrder>().eq("type", 2).eq("orderNum", item.get("orderNum"))); |
| | | TAbnormalPayOrder tAbnormalPayOrder = tAbnormalPayOrderService.selectOne(new EntityWrapper<TAbnormalPayOrder>().eq("type", 2).eq("orderNum",tOrderPrivateCarId)); |
| | | model.addAttribute("money",tAbnormalPayOrder.getPayMoney()); |
| | | } |
| | | } |
| | |
| | | Object o2 = item.get("responsibilityType"); |
| | | if(o2!=null){ |
| | | if(Integer.valueOf(o2.toString())>2){ |
| | | TAbnormalPayOrder tAbnormalPayOrder = tAbnormalPayOrderService.selectOne(new EntityWrapper<TAbnormalPayOrder>().eq("type", 3).eq("orderNum", item.get("orderNum"))); |
| | | TAbnormalPayOrder tAbnormalPayOrder = tAbnormalPayOrderService.selectOne(new EntityWrapper<TAbnormalPayOrder>().eq("type", 3).eq("orderNum",tOrderPrivateCarId)); |
| | | model.addAttribute("money",tAbnormalPayOrder.getPayMoney()); |
| | | } |
| | | } |
| | |
| | | Object o2 = item.get("responsibilityType"); |
| | | if(o2!=null){ |
| | | if(Integer.valueOf(o2.toString())>2){ |
| | | TAbnormalPayOrder tAbnormalPayOrder = tAbnormalPayOrderService.selectOne(new EntityWrapper<TAbnormalPayOrder>().eq("type", 1).eq("orderNum", item.get("orderNum"))); |
| | | TAbnormalPayOrder tAbnormalPayOrder = tAbnormalPayOrderService.selectOne(new EntityWrapper<TAbnormalPayOrder>().eq("type", 1).eq("orderNum", tOrderPrivateCarId)); |
| | | model.addAttribute("money",tAbnormalPayOrder.getPayMoney()); |
| | | } |
| | | } |
| | |
| | | model.addAttribute("show",1); |
| | | if(o2!=null){ |
| | | if(Integer.valueOf(o2.toString())>2){ |
| | | TAbnormalPayOrder tAbnormalPayOrder = tAbnormalPayOrderService.selectOne(new EntityWrapper<TAbnormalPayOrder>().eq("type", 2).eq("orderNum", item.get("orderNum"))); |
| | | TAbnormalPayOrder tAbnormalPayOrder = tAbnormalPayOrderService.selectOne(new EntityWrapper<TAbnormalPayOrder>().eq("type", 2).eq("orderNum", tOrderPrivateCarId)); |
| | | model.addAttribute("money",tAbnormalPayOrder.getPayMoney()); |
| | | } |
| | | } |
| | |
| | | Object o2 = item.get("responsibilityType"); |
| | | if(o2!=null){ |
| | | if(Integer.valueOf(o2.toString())>2){ |
| | | TAbnormalPayOrder tAbnormalPayOrder = tAbnormalPayOrderService.selectOne(new EntityWrapper<TAbnormalPayOrder>().eq("type", 3).eq("orderNum", item.get("orderNum"))); |
| | | TAbnormalPayOrder tAbnormalPayOrder = tAbnormalPayOrderService.selectOne(new EntityWrapper<TAbnormalPayOrder>().eq("type", 3).eq("orderNum", tOrderPrivateCarId)); |
| | | model.addAttribute("money",tAbnormalPayOrder.getPayMoney()); |
| | | } |
| | | } |
| | |
| | | tOrderPrivateCar.setResponsibilityType(responsibilityTypeVal); |
| | | tOrderPrivateCar.setAbnormalStatus(2); |
| | | if(responsibilityTypeVal>3){ |
| | | tOrderPrivateCar.setResponsibilityMoney(tOrderPrivateCar.getPayMoney()); |
| | | tOrderPrivateCar.setResponsibilityMoney(tOrderPrivateCar.getOrderMoney()); |
| | | tOrderPrivateCar.setOrderMoney(new BigDecimal(money)); |
| | | } |
| | | if(responsibilityTypeVal>2){ |
| | |
| | | |
| | | if(responsibilityTypeVal<3){ |
| | | tOrderPrivateCar.setState(9); |
| | | tOrderPrivateCar.setPayType(5); |
| | | } |
| | | tOrderPrivateCar.setAbnormalRemark(remark); |
| | | tOrderPrivateCarService.updateById(tOrderPrivateCar); |
| | |
| | | tOrderCrossCity.setResponsibilityType(responsibilityTypeVal); |
| | | tOrderCrossCity.setAbnormalStatus(2); |
| | | if(responsibilityTypeVal>3) { |
| | | tOrderCrossCity.setResponsibilityMoney(tOrderCrossCity.getPayMoney()); |
| | | tOrderCrossCity.setResponsibilityMoney(tOrderCrossCity.getOrderMoney()); |
| | | tOrderCrossCity.setOrderMoney(new BigDecimal(money)); |
| | | } |
| | | if(responsibilityTypeVal>2){ |
| | |
| | | tOrderTaxi.setResponsibilityType(responsibilityTypeVal); |
| | | tOrderTaxi.setAbnormalStatus(2); |
| | | if(responsibilityTypeVal>3) { |
| | | tOrderTaxi.setResponsibilityMoney(tOrderTaxi.getPayMoney()); |
| | | tOrderTaxi.setResponsibilityMoney(tOrderTaxi.getOrderMoney()); |
| | | tOrderTaxi.setOrderMoney(new BigDecimal(money)); |
| | | } |
| | | if(responsibilityTypeVal>2){ |