Commit 26645891 by levphon

工单标准接口

1 parent d2b46c32
...@@ -153,7 +153,7 @@ public class WorkOrderService { ...@@ -153,7 +153,7 @@ public class WorkOrderService {
} }
if ("Y".equalsIgnoreCase(orderReq.getNeedInstall())) { if ("Y".equalsIgnoreCase(orderReq.getNeedInstall())) {
Integer allCnt = wiredCnt + wirelessCnt; int allCnt = wiredCnt + wirelessCnt;
if (allCnt <= 0) { if (allCnt <= 0) {
throw new StdInterfaceException("214541", deviceCompose + "设备组合解析失败"); throw new StdInterfaceException("214541", deviceCompose + "设备组合解析失败");
} }
...@@ -166,6 +166,9 @@ public class WorkOrderService { ...@@ -166,6 +166,9 @@ public class WorkOrderService {
String serviceCode = getBhgServiceCode(orderReq.getOrderSource(), deviceSign); String serviceCode = getBhgServiceCode(orderReq.getOrderSource(), deviceSign);
if (StringUtils.isNullOrEmpty(serviceCode)) {
throw new StdInterfaceException("214541", deviceCompose + "设备组合转包活干服务项目失败");
}
return serviceCode; return serviceCode;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!