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