|
@@ -290,6 +290,10 @@ public class YongyouServiceImpl implements YongyouService {
|
|
|
if (StringUtils.isNotBlank(record.getGgxh())) {
|
|
|
whereStr.append(" and cInvStd like '%" + record.getGgxh() + "%' ");
|
|
|
}
|
|
|
+ if(record.getPurchaseFlag() == null || record.getPurchaseFlag() == 2){
|
|
|
+ // 非采购请求数据
|
|
|
+ whereStr.append(" and iQuantity > 0 ");
|
|
|
+ }
|
|
|
req.setStrWhere(whereStr.toString());
|
|
|
handler.setRequest(req);
|
|
|
String responseStr = handler.handler();
|