|
@ -82,6 +82,7 @@ public class GoodsSkuServiceImpl extends ServiceImpl<GoodsSkuMapper,GoodsSku> im |
|
|
InventoryCusPriceQuery query = new InventoryCusPriceQuery(); |
|
|
InventoryCusPriceQuery query = new InventoryCusPriceQuery(); |
|
|
query.setCusCode(supplierCode); |
|
|
query.setCusCode(supplierCode); |
|
|
query.setInvCodes(codes); |
|
|
query.setInvCodes(codes); |
|
|
|
|
|
try { |
|
|
R<String> res = seeYonRequestBaseService.postBase(ERP_CUS_INV_PRICE,query,"查询客户特殊价"); |
|
|
R<String> res = seeYonRequestBaseService.postBase(ERP_CUS_INV_PRICE,query,"查询客户特殊价"); |
|
|
if(res.getStatus().equals(200)){ |
|
|
if(res.getStatus().equals(200)){ |
|
|
List<InventoryCusPrice> inventoryCusPrices = JsonUtil.jsonToList(res.getData(), InventoryCusPrice.class); |
|
|
List<InventoryCusPrice> inventoryCusPrices = JsonUtil.jsonToList(res.getData(), InventoryCusPrice.class); |
|
@ -95,6 +96,9 @@ public class GoodsSkuServiceImpl extends ServiceImpl<GoodsSkuMapper,GoodsSku> im |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
|
log.error("客户特殊价异常:{}",e.getMessage()); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -105,6 +109,7 @@ public class GoodsSkuServiceImpl extends ServiceImpl<GoodsSkuMapper,GoodsSku> im |
|
|
InventoryCusPriceQuery query = new InventoryCusPriceQuery(); |
|
|
InventoryCusPriceQuery query = new InventoryCusPriceQuery(); |
|
|
query.setCusCode(supplierCode); |
|
|
query.setCusCode(supplierCode); |
|
|
query.setInvCodes(codes); |
|
|
query.setInvCodes(codes); |
|
|
|
|
|
try { |
|
|
R<String> res = seeYonRequestBaseService.postBase(ERP_CUS_INV_PRICE,query,"查询客户特殊价"); |
|
|
R<String> res = seeYonRequestBaseService.postBase(ERP_CUS_INV_PRICE,query,"查询客户特殊价"); |
|
|
if(res.getStatus().equals(200)){ |
|
|
if(res.getStatus().equals(200)){ |
|
|
List<InventoryCusPrice> inventoryCusPrices = JsonUtil.jsonToList(res.getData(), InventoryCusPrice.class); |
|
|
List<InventoryCusPrice> inventoryCusPrices = JsonUtil.jsonToList(res.getData(), InventoryCusPrice.class); |
|
@ -118,6 +123,9 @@ public class GoodsSkuServiceImpl extends ServiceImpl<GoodsSkuMapper,GoodsSku> im |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} catch (Exception e) { |
|
|
|
|
|
log.error("客户特殊价异常:{}",e.getMessage()); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|