代码更新
This commit is contained in:
@@ -619,8 +619,8 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
|
||||
/*
|
||||
* 判断确认类型,并进行相对应的操作
|
||||
*/
|
||||
// 投料确认: 1.1
|
||||
if (StrUtil.equals(type, "1.1")) {
|
||||
// 大称投料确认: 1.1;小称投料确认:1.3
|
||||
if (StrUtil.equals(type, "1.1") || StrUtil.equals(type, "1.3")) {
|
||||
// 更新称重记录表上报人
|
||||
JSONObject jsonDtl = dtlTab.query("formuladtl_id = '" + jsonObject.getString("formuladtl_id") + "'").uniqueResult(0);
|
||||
jsonWeight.put("record_optid", jsonDtl.get("start_id"));
|
||||
@@ -652,8 +652,8 @@ public class AcsToWmsServiceImpl implements AcsToWmsService {
|
||||
result.put("status", "400");
|
||||
result.put("message", "称重成功,自动确认失败");
|
||||
}
|
||||
// 投料强制确认: 1.2
|
||||
} else if (StrUtil.equals(type, "1.2")) {
|
||||
// 大称投料强制确认: 1.2;小称投料强制确认:1.4
|
||||
} else if (StrUtil.equals(type, "1.2") || StrUtil.equals(type, "1.4")) {
|
||||
// 更新称重记录表上报人
|
||||
JSONObject jsonDtl = dtlTab.query("formuladtl_id = '" + jsonObject.getString("formuladtl_id") + "'").uniqueResult(0);
|
||||
jsonWeight.put("record_optid", jsonDtl.get("start_id"));
|
||||
|
||||
Reference in New Issue
Block a user