rev:回传

This commit is contained in:
2024-07-20 13:28:02 +08:00
parent d21648c6e9
commit 2b3f0f251b

View File

@@ -407,25 +407,6 @@ public class StIvtIostorinvServiceImpl extends ServiceImpl<StIvtIostorinvMapper,
}
}
public static void main(String[] args) {
String heightLevel1 = "650";
String heightLevel2 = "800";
String box_high = "900";
String height = "";
if (Integer.parseInt(box_high) <= Integer.parseInt(heightLevel1)) {
height = "('1','2','3')";
} else if (Integer.parseInt(box_high) > Integer.parseInt(heightLevel1) && Integer.parseInt(box_high) <= Integer.parseInt(heightLevel2)) {
height = "('2','3')";
} else {
height = "('3')";
}
System.out.println(height);
}
private BstIvtBoxinfo getBstIvtBoxinfo(Map whereJson) {
//查询木箱信息
String containerName;
@@ -978,8 +959,13 @@ public class StIvtIostorinvServiceImpl extends ServiceImpl<StIvtIostorinvMapper,
param.put("rows", rows);
try {
bean.uploadMES(param);
mstDao.setIs_upload(IOSEnum.IS_NOTANDYES.code(""));
mstDao.setUpload_mes(IOSEnum.IS_NOTANDYES.code(""));
mstDao.setUpload_optid(Long.parseLong(SecurityUtils.getCurrentUserId()));
mstDao.setUpload_time(DateUtil.now());
this.updateById(mstDao);
} catch (Exception e) {
log.info(e.getMessage());
log.info("回传mes失败:"+e.getMessage());
this.updateById(mstDao);
}
}