|
|
|
|
+ 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 "
|
|
+" where ps_linecode = ? and ps_prodcode = ? and psl_table = ? and psl_location not in (select distinct dsl_location from devsmtlocation where "
|
|
|
+" group by psl_location order by psl_detno)) where rownum<=20 ",linecode,ps_prodcode,table,linecode,macode,table);
|
|
+" group by psl_location order by psl_detno)) where rownum<=20 ",linecode,ps_prodcode,table,linecode,macode,table);
|