fix:B1母卷上料优化
This commit is contained in:
@@ -233,7 +233,7 @@ public class FeedingServiceImpl implements FeedingService {
|
|||||||
|
|
||||||
JSONObject cool_jo = WQLObject.getWQLObject("st_ivt_coolpointivt").query("full_point_code = '" + point_code + "'").uniqueResult(0);
|
JSONObject cool_jo = WQLObject.getWQLObject("st_ivt_coolpointivt").query("full_point_code = '" + point_code + "'").uniqueResult(0);
|
||||||
if (ObjectUtil.isEmpty(cool_jo)) {
|
if (ObjectUtil.isEmpty(cool_jo)) {
|
||||||
cool_jo = WQLObject.getWQLObject("st_ivt_coolpointivt").query("point_code = '" + point_code + "'").uniqueResult(0);
|
cool_jo = WQLObject.getWQLObject("st_ivt_coolpointivt").query("full_point_code = '" + point_code + "'").uniqueResult(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ObjectUtil.isEmpty(cool_jo)) {
|
if (ObjectUtil.isEmpty(cool_jo)) {
|
||||||
@@ -268,7 +268,9 @@ public class FeedingServiceImpl implements FeedingService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
JSONObject cool_jo = WQLObject.getWQLObject("st_ivt_coolpointivt").query("full_point_code = '" + point_code + "'").uniqueResult(0);
|
JSONObject cool_jo = WQLObject.getWQLObject("st_ivt_coolpointivt").query("full_point_code = '" + point_code + "'").uniqueResult(0);
|
||||||
|
if (ObjectUtil.isEmpty(cool_jo)) {
|
||||||
|
cool_jo = WQLObject.getWQLObject("st_ivt_coolpointivt").query("full_point_code = '" + point_code + "'").uniqueResult(0);
|
||||||
|
}
|
||||||
if (ObjectUtil.isEmpty(cool_jo)) {
|
if (ObjectUtil.isEmpty(cool_jo)) {
|
||||||
throw new BadRequestException("请输入或者扫描冷却区满轴位的点位做为起点!");
|
throw new BadRequestException("请输入或者扫描冷却区满轴位的点位做为起点!");
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user