rev:成品入库满入问题优化:增加巷道校验
This commit is contained in:
@@ -339,6 +339,9 @@ public class StIvtIostorinvServiceImpl extends ServiceImpl<StIvtIostorinvMapper,
|
||||
jsonAttr = attrTab.query("sect_id = '" + jsonObject.getString("sect_id") + "' AND lock_type = '1' AND is_delete = '0' AND IFNULL( storagevehicle_code, '' ) = ''").uniqueResult(0);
|
||||
} else {
|
||||
//TODO jsonAttr = inBussManageService.getOneStruct(attrParam);
|
||||
if (ObjectUtil.isNotEmpty(whereJson.get("in_buss"))) {
|
||||
attrParam.put("move_block_num", MapUtil.getStr(whereJson, "move_block_num"));
|
||||
}
|
||||
jsonAttr = twoInBussManageService.getOneStruct(attrParam);
|
||||
}
|
||||
} else {
|
||||
|
||||
@@ -379,6 +379,9 @@ public class InBussManageServiceImpl implements InBussManageService {
|
||||
.eq(StIvtIostorinvdtl::getIostorinvdtl_id, disList.get(0).get("iostorinvdtl_id"))
|
||||
).get(0);
|
||||
|
||||
// 获取当前巷道
|
||||
JSONObject jsonAttr = attrTab.query("struct_code = '" + taskDao.getPoint_code2() + "'").uniqueResult(0);
|
||||
|
||||
JSONObject jsonDiv = new JSONObject();
|
||||
jsonDiv.put("dtl_row", JSONObject.parseObject(JSON.toJSONString(dtlDao)));
|
||||
jsonDiv.put("tableMater", disList);
|
||||
@@ -386,6 +389,8 @@ public class InBussManageServiceImpl implements InBussManageService {
|
||||
jsonDiv.put("is_send", IOSEnum.IS_SEND.code("否"));
|
||||
jsonDiv.put("sect_id", IOSEnum.SECT_ID.code("二期主存区"));
|
||||
jsonDiv.put("stor_id", IOSEnum.STOR_ID.code("二期"));
|
||||
jsonDiv.put("move_block_num", jsonAttr.getString("block_num"));
|
||||
jsonDiv.put("in_buss", IOSEnum.IS_NOTANDYES.code("是"));
|
||||
|
||||
iStIvtIostorinvService.divStruct(jsonDiv);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user