|
|
@@ -391,7 +391,7 @@ public class ERPServiceImpl implements ERPService {
|
|
|
"from CatlDocDetail left join CatlDoc on ca_id = cd_caid left join customer on cu_code = CA_CUSTCODE left join product on pr_code = CD_PRCODE left join PRODUCTCUSTOMER on pc_custid= cu_id and pc_prodid=pr_id " +
|
|
|
"where cd_caid = ? and nvl(pc_zbzsmount_user,0)>0 " +
|
|
|
" and CD_PANID is null "+
|
|
|
- " group by CD_CPN,pc_zbzsmount_user,pc_zzxsmount_user,pc_zzbsmount_user,d_wflag,cd_remark,cd_newboxcode,ca_code||'_'||cd_newboxcode order by min(cd_detno)" +
|
|
|
+ " group by CD_CPN,pc_zbzsmount_user,pc_zzxsmount_user,pc_zzbsmount_user,cd_wflag,cd_remark,cd_newboxcode,ca_code||'_'||cd_newboxcode order by min(cd_detno)" +
|
|
|
" ) order by to_number(cd_newboxcode)",id);
|
|
|
if(!docList.hasNext()){
|
|
|
retMap.put("success",false);
|