|
@@ -1001,10 +1001,10 @@ public class KwpGoodsService {
|
|
|
String accessSpecial = request.getHeader("Access-Special");
|
|
String accessSpecial = request.getHeader("Access-Special");
|
|
|
//是否主平台
|
|
//是否主平台
|
|
|
boolean mainPlatform = remoteSystemService.queryMainPlatform(accessSpecial);
|
|
boolean mainPlatform = remoteSystemService.queryMainPlatform(accessSpecial);
|
|
|
- if (!mainPlatform) {
|
|
|
|
|
|
|
+ //if (!mainPlatform) {
|
|
|
List<Long> entIds = remoteSystemService.queryEntIdsByCode(accessSpecial, String.valueOf(EntTypeEnum.SUPPLIER.getCode()));
|
|
List<Long> entIds = remoteSystemService.queryEntIdsByCode(accessSpecial, String.valueOf(EntTypeEnum.SUPPLIER.getCode()));
|
|
|
wrapper.in(KwpGoods::getEntId, entIds);
|
|
wrapper.in(KwpGoods::getEntId, entIds);
|
|
|
- }
|
|
|
|
|
|
|
+ //}
|
|
|
|
|
|
|
|
List<KwpGoods> list = kwpGoodsMapper.selectList(wrapper);
|
|
List<KwpGoods> list = kwpGoodsMapper.selectList(wrapper);
|
|
|
if (CollectionUtils.isEmpty(list)) {
|
|
if (CollectionUtils.isEmpty(list)) {
|