|
@@ -1103,6 +1103,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(!baseDao.configFactory.get("","sys","smtstart").contains("1")){
|
|
|
+ throw new APIErrorException(APIErrorCode.BUSINESS_FAILED,"站位["+unloadLocation+"]没有上料料卷不允许启动");
|
|
|
+ }
|
|
|
if(!("强制启动").equals(op)){
|
|
|
throw new APIErrorException(APIErrorCode.BUSINESS_SMTFORCE,"站位["+unloadLocation+"]没有上料料卷不允许启动");
|
|
|
}
|