代码更新

This commit is contained in:
2022-12-09 13:17:40 +08:00
parent f4faa60d40
commit 9a4e78a555

View File

@@ -80,7 +80,7 @@ public class ProductInstorServiceImpl implements ProductInstorService {
@Transactional(rollbackFor = Exception.class)
public JSONObject confirm(JSONObject whereJson) {
String box_no = whereJson.getString("box_no");
//1-报废入库2-生产入库3-退货入库
//1-报废入库2-生产入库3-退货入库4-拆分入库
String option = whereJson.getString("option");
String material_code = whereJson.getString("material_code");
String is_virtual = whereJson.getString("is_virtual");
@@ -112,6 +112,9 @@ public class ProductInstorServiceImpl implements ProductInstorService {
if (option.equals("3")) {
mst_jo.put("bill_type", "0002");
}
if (option.equals("4")) {
mst_jo.put("bill_type", "0005");
}
//查询成品库仓库
JSONObject stor = WQLObject.getWQLObject("st_ivt_bsrealstorattr").query("is_delete = '0' AND is_used = '1' AND is_productstore = '1'").uniqueResult(0);
mst_jo.put("stor_id", stor.getString("stor_id"));