소스 검색

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

xiaost 1 일 전
부모
커밋
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);