fix:位置校验

This commit is contained in:
zhouz
2024-05-22 11:23:32 +08:00
parent 46541d0c50
commit c9a45ea457

View File

@@ -1503,6 +1503,9 @@ public class MesToLmsServiceImpl implements MesToLmsService {
String up_scroll = device_jo.getString("up_scroll");
//查询母卷所在点位
JSONObject jsonCoolIvt = coolIvtTab.query("container_name = '" + containerName + "' and full_point_status = '02' and cool_ivt_status <> '04'").uniqueResult(0);
if(ObjectUtil.isEmpty(jsonCoolIvt)) {
throw new BadRequestException("未查询到母卷【"+containerName+"】所在的半成品暂存点!");
}
JSONObject form = new JSONObject();
if (StrUtil.isEmpty(up_scroll)) {
//取满放满