Browse Source

【微浦MES】湿敏条码修改
(cherry picked from commit 523692c)

caosy 4 years ago
parent
commit
70f8015557
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/com/uas/mes/pda/service/impl/PdaSMTServiceImpl.java

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

@@ -1552,7 +1552,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"
 		    		+" 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) "
-		    		+" group by psl_location order by psl_id asc)) where rownum<=20 ",linecode,ps_prodcode,table,linecode,macode,table);
+		    		+" group by psl_location order by psl_detno asc)) where rownum<=20 ",linecode,ps_prodcode,table,linecode,macode,table);
 				if(rs.next()){
 					mapR.put("NotFeedLocation", rs.getResultList());
 				}else{