|
@@ -771,6 +771,12 @@ public class MESHelperServiceImpl implements MESHelperService {
|
|
|
if(map.get("iErrCode")!=null){
|
|
|
iErrCode=map.get("iErrCode").toString();
|
|
|
}
|
|
|
+ Object obj=baseDao.getFieldDataByCondition("source left join step on sc_stepcode=st_code","nvl(st_ifinput,0)","sc_code='"+iResCode+"'");
|
|
|
+ if(obj.toString().equals("-1")){
|
|
|
+ oErrMessage = "上料工序必须在客户端进行过站";
|
|
|
+ rmap.put("oErrMessage",oErrMessage);
|
|
|
+ return rmap;
|
|
|
+ }
|
|
|
JSONObject map3=new JSONObject();
|
|
|
map3.put("iSN",iSN);
|
|
|
Map<Object, Object> map2=GetRcardMOInfo(map3);
|