Procházet zdrojové kódy

校驗添加料號

callm před 4 měsíci
rodič
revize
c5ad657ae4

+ 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);