Commit bf15b178 by yuanlin

提交包活干检修安装拆除审核驳回 finished by yuanlin

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@26627 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent e84ce839
...@@ -39,11 +39,12 @@ public interface BizConstants { ...@@ -39,11 +39,12 @@ public interface BizConstants {
* 订单售后类型 * 订单售后类型
*/ */
/* /*
* 售后类型:1:更换车辆,2:设备维修,3:设备拆除 * 售后类型:1:更换车辆,2:设备维修,3:设备拆除 4 :设备加装
*/ */
public static final int ORDER_AFTER_SALE_TYPE_CHANGE_CAR = 1; public static final int ORDER_AFTER_SALE_TYPE_CHANGE_CAR = 1;
public static final int ORDER_AFTER_SALE_TYPE_REPAIR = 2; public static final int ORDER_AFTER_SALE_TYPE_REPAIR = 2;
public static final int ORDER_AFTER_SALE_TYPE_DISMANTLE = 3; public static final int ORDER_AFTER_SALE_TYPE_DISMANTLE = 3;
public static final int ORDER_ADD_DEVICE = 4;
/** /**
* 订单类型:1.安装单、2.拆除单、3.检修单,4:竞价单 * 订单类型:1.安装单、2.拆除单、3.检修单,4:竞价单
......
...@@ -1418,7 +1418,7 @@ public class OrderServiceImpl implements IOrderService { ...@@ -1418,7 +1418,7 @@ public class OrderServiceImpl implements IOrderService {
List<SysOrderRepair> subOrders = orderRepairDao.getOrderRepairList(sysOrderRepair); List<SysOrderRepair> subOrders = orderRepairDao.getOrderRepairList(sysOrderRepair);
if (subOrders != null) { if (subOrders != null) {
for(SysOrderRepair orderRepair : subOrders){ for(SysOrderRepair orderRepair : subOrders){
if((byte)BizConstants.ORDER_REPAIR_ADD == orderRepair.getAfterSaleType()){ if((byte)BizConstants.ORDER_ADD_DEVICE == orderRepair.getAfterSaleType()){
order.setIfAddDevice((byte)BizConstants.ORDER_ADD_DEVICE_IS); order.setIfAddDevice((byte)BizConstants.ORDER_ADD_DEVICE_IS);
}else{ }else{
order.setIfAddDevice((byte)BizConstants.ORDER_ADD_DEVICE_NOT); order.setIfAddDevice((byte)BizConstants.ORDER_ADD_DEVICE_NOT);
...@@ -1523,7 +1523,7 @@ public class OrderServiceImpl implements IOrderService { ...@@ -1523,7 +1523,7 @@ public class OrderServiceImpl implements IOrderService {
order.setIfAddDevice((byte)BizConstants.ORDER_ADD_DEVICE_NOT); order.setIfAddDevice((byte)BizConstants.ORDER_ADD_DEVICE_NOT);
}else{ }else{
for(SysOrderRepair orderRepair : temps){ for(SysOrderRepair orderRepair : temps){
if((byte)BizConstants.ORDER_REPAIR_ADD == orderRepair.getAfterSaleType()){ if((byte)BizConstants.ORDER_ADD_DEVICE == orderRepair.getAfterSaleType()){
order.setIfAddDevice((byte)BizConstants.ORDER_ADD_DEVICE_IS); order.setIfAddDevice((byte)BizConstants.ORDER_ADD_DEVICE_IS);
}else{ }else{
order.setIfAddDevice((byte)BizConstants.ORDER_ADD_DEVICE_NOT); order.setIfAddDevice((byte)BizConstants.ORDER_ADD_DEVICE_NOT);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!