Browse Source

校驗添加料號

callm 5 tháng trước cách đây
mục cha
commit
2adf6de0f7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/com/uas/mes/pda/service/impl/PdaSMTServiceImpl.java

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

@@ -1639,7 +1639,7 @@ public class PdaSMTServiceImpl implements PdaSMTService {
 			}
 			 
 			 //未校验站位前二十条
-			 rs=baseDao.queryForRowSet("select * from (select psl_location from(select min(psl_detno)psl_detno,psl_location from productsmtlocation left join productsmt on ps_id=psl_psid "
+			 rs=baseDao.queryForRowSet("select * from (select psl_location,PSL_PRODCODE from(select min(psl_detno)psl_detno,psl_location,wm_concat(PSL_PRODCODE)PSL_PRODCODE from productsmtlocation left join productsmt on ps_id=psl_psid "
 			    		+" where ps_linecode = ? and ps_prodcode = ? and psl_table = ? and  psl_location not in (select distinct dsl_location from devsmtlocation where "
 			    		+" dsl_linecode=? and dsl_makecode=? and dsl_table=? and dsl_status=0 and dsl_ifcheck = -1) "
 			    		+" group by psl_location order by psl_detno)) where rownum<=20 ",linecode,ps_prodcode,table,linecode,macode,table);