|
@@ -637,7 +637,8 @@ public class PdaSMTServiceImpl implements PdaSMTService {
|
|
|
showSmtError(APIErrorCode.BUSINESS_FAILED,"料卷["+bar_code+"]已被单据["+rs1.getString("bar_place")+"]使用",handleType,linecode,location,ps_prodcode,"料卷"+bar_code,bool,table);
|
|
showSmtError(APIErrorCode.BUSINESS_FAILED,"料卷["+bar_code+"]已被单据["+rs1.getString("bar_place")+"]使用",handleType,linecode,location,ps_prodcode,"料卷"+bar_code,bool,table);
|
|
|
}
|
|
}
|
|
|
}else{
|
|
}else{
|
|
|
- rs = baseDao.queryForRowSet("select psl_baseqty,psl_prodcode,psl_repcode,psl_feeder,psl_id from productsmtlocation"
|
|
|
|
|
|
|
+ showSmtError(APIErrorCode.DATA_NOT_FOUND,"条码["+bar_code+"]不存在",handleType,linecode,location,ps_prodcode,"料号"+bar_code,bool,table);
|
|
|
|
|
+ /*rs = baseDao.queryForRowSet("select psl_baseqty,psl_prodcode,psl_repcode,psl_feeder,psl_id from productsmtlocation"
|
|
|
+" where psl_psid =? and psl_location=? and psl_table=? and (psl_prodcode=? or psl_repcode=?)",map.get("PS_ID"),location,map.get("DL_TABLE"),bar_code,bar_code);
|
|
+" where psl_psid =? and psl_location=? and psl_table=? and (psl_prodcode=? or psl_repcode=?)",map.get("PS_ID"),location,map.get("DL_TABLE"),bar_code,bar_code);
|
|
|
if(rs.next()){
|
|
if(rs.next()){
|
|
|
pr_code = (String)bar_code;
|
|
pr_code = (String)bar_code;
|
|
@@ -665,7 +666,7 @@ public class PdaSMTServiceImpl implements PdaSMTService {
|
|
|
}else{
|
|
}else{
|
|
|
showSmtError(APIErrorCode.DATA_NOT_FOUND,"物料["+bar_code+"]不是该站位需要上料的物料",handleType,linecode,location,ps_prodcode,"料号"+bar_code,bool,table);
|
|
showSmtError(APIErrorCode.DATA_NOT_FOUND,"物料["+bar_code+"]不是该站位需要上料的物料",handleType,linecode,location,ps_prodcode,"料号"+bar_code,bool,table);
|
|
|
}
|
|
}
|
|
|
- }
|
|
|
|
|
|
|
+ }*/
|
|
|
}
|
|
}
|
|
|
/**
|
|
/**
|
|
|
* @author wuyx
|
|
* @author wuyx
|