Commit 1d7ebe36 by yuanlin

审核驳回微型无线设备修复

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@26689 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 839e1c46
......@@ -205,6 +205,9 @@ public interface BizConstants {
//不需要加装
public static final int ORDER_ADD_DEVICE_NOT = 1;
//微型加装服务项目
public static final String ORDER_ADD_DEVICE_CODE = "DSC0010";
/**
* 大搜车服务项目
*/
......
......@@ -288,7 +288,11 @@ public class DaSouCheOrderServiceImpl implements DaSouCheOrderService {
logger.info("审核驳回单完成"+orderSn);
if (num == 1) {
recordOrderStatus(order, 4);
addRepairRecord(order.getId(), orderList, 5);
if(BizConstants.ORDER_ADD_DEVICE_CODE.equals(order.getServiceCode())){
addRepairRecord(order.getId(), orderList, 4);
}else{
addRepairRecord(order.getId(), orderList, 5);
}
Integer originalOrderId = orderList.get(i).getId();
if(tempOrder.getOrderType()==BizConstants.ORDER_TYPE_INSTALL){
originalOrderId = tempOrder.getId();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!