Commit e50e5952 by “zcwang”

add: 查询供应商信息

parent 16386ca7
...@@ -200,7 +200,7 @@ public class InteriorChangeConfigServiceImpl implements InteriorChangeConfigServ ...@@ -200,7 +200,7 @@ public class InteriorChangeConfigServiceImpl implements InteriorChangeConfigServ
*/ */
private GoodsResponseRpc queryChangeSupplier(ChangeCommanderEnum commanderEnum,String changeSupplierId,String commander){ private GoodsResponseRpc queryChangeSupplier(ChangeCommanderEnum commanderEnum,String changeSupplierId,String commander){
GoodsResponseRpc rpc = new GoodsResponseRpc(); GoodsResponseRpc rpc = new GoodsResponseRpc();
if (commanderEnum.getId() != ChangeCommanderEnum.SUPPLIERS_ASSOCIATED.getId() || changeSupplierId == null || commander == null){ if (!commanderEnum.getId().equals(ChangeCommanderEnum.SUPPLIERS_ASSOCIATED.getId()) || changeSupplierId == null || commander == null){
return null; return null;
} }
SupplierRelatedUserReq req = new SupplierRelatedUserReq(); SupplierRelatedUserReq req = new SupplierRelatedUserReq();
...@@ -217,7 +217,7 @@ public class InteriorChangeConfigServiceImpl implements InteriorChangeConfigServ ...@@ -217,7 +217,7 @@ public class InteriorChangeConfigServiceImpl implements InteriorChangeConfigServ
req.setSupplierIdList(supplierIdList); req.setSupplierIdList(supplierIdList);
//进行参数解析 //进行参数解析
List<SupplierUserRsp> listAjaxResponse = supplierInfoService.querySupplierRelatedUser(req); List<SupplierUserRsp> listAjaxResponse = supplierInfoService.querySupplierRelatedUser(req);
if (listAjaxResponse != null || listAjaxResponse.size() == 0){ if (CollectionUtils.isEmpty(listAjaxResponse)){
return null; return null;
} }
SupplierUserRsp supplierUserRsp = listAjaxResponse.get(0); SupplierUserRsp supplierUserRsp = listAjaxResponse.get(0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment