Merge branch 'refs/heads/b_lms' into master_merge
This commit is contained in:
@@ -33,9 +33,9 @@ public class SerfaceServiceImpl implements SerfaceService {
|
|||||||
if (ObjectUtil.isEmpty(raw_jo)) {
|
if (ObjectUtil.isEmpty(raw_jo)) {
|
||||||
throw new BadRequestException("未查询到该母卷号对应的生箔工单!");
|
throw new BadRequestException("未查询到该母卷号对应的生箔工单!");
|
||||||
}
|
}
|
||||||
if (raw_jo.getString("order_type").equals("2")) {
|
/*if (raw_jo.getString("order_type").equals("2")) {
|
||||||
throw new BadRequestException("当前工单为锂电工单,不允许表处!");
|
throw new BadRequestException("当前工单为锂电工单,不允许表处!");
|
||||||
}
|
}*/
|
||||||
JSONObject device_jo = WQLObject.getWQLObject("st_ivt_stpointivt").query("point_code = '" + device_code + "'").uniqueResult(0);
|
JSONObject device_jo = WQLObject.getWQLObject("st_ivt_stpointivt").query("point_code = '" + device_code + "'").uniqueResult(0);
|
||||||
if (ObjectUtil.isEmpty(device_jo)){
|
if (ObjectUtil.isEmpty(device_jo)){
|
||||||
throw new BadRequestException("未查询到设备号为["+device_code+"]的表处设备!");
|
throw new BadRequestException("未查询到设备号为["+device_code+"]的表处设备!");
|
||||||
|
|||||||
Reference in New Issue
Block a user