rev:提交aps相关代码

This commit is contained in:
2023-09-19 13:13:18 +08:00
parent e8f6b19560
commit 9a6fdfe75c

View File

@@ -269,6 +269,8 @@ public class BomServiceImpl implements BomService{
Map<String,String> errorMap = new HashMap();
Map<String,String> material_code = new HashMap();
boolean isCreateBom = true;
wo_pdm_bi_bom.delete("1=1");
pdm_bi_bomdtl.delete("1=1");
// 循环获取的数据
row:
for(int i = 1; i < read.size(); i++) {
@@ -308,7 +310,7 @@ public class BomServiceImpl implements BomService{
}
if(j == 3) {
//数量计量单位名称
param.put("qty_unit_name", col);
param.put("qty_unit_name", "\\");
}
if(j == 4) {
//工艺路线代码
@@ -379,6 +381,9 @@ public class BomServiceImpl implements BomService{
}
if(j == 12) {
if(!StringUtils.isBlank(col)) {
//数量计量单位名称
param.put("qty_unit_name", "\\");
//工序顺序号
param.put("seq_no", col);
JSONObject bomDtlParam = new JSONObject();