Commit 63400c90 by chaizheng

大搜车工单需求

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@26651 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent f449ba70
......@@ -96,18 +96,18 @@ public class DscRepairOrderFeedBackTask implements Runnable{
DscRepairOrderBackDeviceDto deviceDTO = new DscRepairOrderBackDeviceDto();
deviceDTO.setDevNo(d.getDeviceNo());
// 检修类型 0:重新安装, 1:更换设备 2:仅维修 3:加装
logger.info("检修单,检修类型="+repairType);
logger.info("原设备号="+oldDeviceNo);
if(repairType==2){
deviceDTO.setRepairScheme(1); //1:仅维修 2:设备更换 3:重新安装
// deviceDTO.setReplacedDevNo(d.getDeviceNo());
}else if(repairType==1){
deviceDTO.setRepairScheme(2);
deviceDTO.setReplacedDevNo(d.getDeviceNo()); //替换前的设备号
deviceDTO.setReplacedDevNo(oldDeviceNo); //替换前的设备号
deviceDTO.setDevOwner(1);
}else if(repairType==0){
deviceDTO.setRepairScheme(3);
deviceDTO.setReplacedDevNo(d.getDeviceNo()); //有更换则传,只检修则不传
deviceDTO.setReplacedDevNo(oldDeviceNo); //有更换则传,只检修则不传
deviceDTO.setDevOwner(1);
}else if(repairType==3){
continue;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!