Просмотр исходного кода

微浦MES,增加飞达校验,等飞达相关修改

xiaost 4 недель назад
Родитель
Сommit
ec4c3c7806
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/com/uas/mes/pda/service/impl/PdaSMTServiceImpl.java

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

@@ -2625,8 +2625,8 @@ public class PdaSMTServiceImpl implements PdaSMTService {
 					fecode,map.get("FE_ID"),type,"站位:"+location,SystemSession.getUser().getEm_name(),location);
 		}
 		//如果站位是在线的devsmtlocation 表里面并且dsl_status=0,并且线别非虚拟线别 未校验不可以接料
-		baseDao.execute("update devsmtlocation set dsl_iffeedcheck=0,DSL_FECODE=null where dsl_id in (select dsl_id from devsmtlocation left join line on dsl_linecode=li_code " +
-				"where dsl_location=? and dsl_fecode=?)",location,fecode); //and nvl(li_isvirtual,0)=0 虚拟非虚拟线解绑都更新
+		baseDao.execute("update devsmtlocation set dsl_iffeedcheck=0,DSL_FECODE=null " +
+				" where dsl_location=? and dsl_fecode=? ",location,fecode); //and nvl(li_isvirtual,0)=0 虚拟非虚拟线解绑都更新
 		Map<String, Object> rmap = new HashMap<>();
 		rmap.put("location",location);
 		rmap.put("fecode",fecode);