Эх сурвалжийг харах

【英唐-CATL条码对接】【按DC顺序创建】

wuyx 7 сар өмнө
parent
commit
0320941e61

+ 1 - 1
src/main/java/com/uas/eis/service/Impl/ERPServiceImpl.java

@@ -217,7 +217,7 @@ public class ERPServiceImpl implements ERPService {
                 " from CatlDocDetail left join product on pr_code = CD_PRCODE " +
                 " where cd_caid = ? and CD_PANID is null and nvl(pr_capacity,0)>0 " +
                 " group by CD_CPN,CD_DC,pr_capacity,pr_zxbzs,cd_lotno,cd_wflag,cd_newboxcode||(case when cd_remark is not null then ' '||cd_remark else '' end)   " +
-                " ) order by ztcnno ",id);
+                " ) order by ztcnno,zremark ",id);
         if(!docLoist.hasNext()){
 //            System.out.println("no docLoist!");
             retMap.put("success",false);