Browse Source

[微浦MES]允许强制启动

caosy 1 month ago
parent
commit
575c33ba20
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/com/uas/mes/pda/service/impl/PdaSMTServiceImpl.java

+ 3 - 3
src/com/uas/mes/pda/service/impl/PdaSMTServiceImpl.java

@@ -1212,9 +1212,9 @@ public class PdaSMTServiceImpl implements PdaSMTService {
 				map.get("DL_MACODE"),map.get("DL_TABLE"));
 		if(rs0.next() && rs0.getInt("cn") > 0){
 			unloadLocation = rs0.getString("psl_location");
-			if(!("强制启动").equals(op)){
-			throw new APIErrorException(APIErrorCode.BUSINESS_SMTFORCE,"站位["+unloadLocation+"]没有上料料卷不允许启动");
-		    }
+//			if(!("强制启动").equals(op)){
+//			throw new APIErrorException(APIErrorCode.BUSINESS_SMTFORCE,"站位["+unloadLocation+"]没有上料料卷不允许启动");
+//		    }
 		}
 //		rs0 = baseDao.queryForRowSet("select wm_concat(distinct dsl_location) dsl_location,count(1) cn from devsmtlocation where dsl_linecode=? and dsl_makecode=? and dsl_table=?"
 //				+" and dsl_status=0 and (dsl_prodcode,dsl_location) not in (select psl_repcode,psl_location from productsmt left join productsmtlocation on ps_id=psl_psid"