Commit abb19d47 by 陶光胜

修改

parent 95960007
...@@ -57,6 +57,9 @@ public class StoreController { ...@@ -57,6 +57,9 @@ public class StoreController {
storeSearchDTO.setEnterpriseId(enterpriseId); storeSearchDTO.setEnterpriseId(enterpriseId);
storeSearchDTO.setStoreGroupId(storeGroupId); storeSearchDTO.setStoreGroupId(storeGroupId);
storeSearchDTO.setSearch(search); storeSearchDTO.setSearch(search);
if(UserDetailUtils.getUserDetail().getUserResourceInfo() != null){
storeSearchDTO.setStoreResource(UserDetailUtils.getUserDetail().getUserResourceInfo().getStoreResource());
}
String returnFields = StoreESFieldsEnum.STOREID.getField()+","+StoreESFieldsEnum.STORECODE.getField()+","+StoreESFieldsEnum.STORENAME.getField(); String returnFields = StoreESFieldsEnum.STOREID.getField()+","+StoreESFieldsEnum.STORECODE.getField()+","+StoreESFieldsEnum.STORENAME.getField();
ServiceResponse serviceResponse = storeApiService.listStore(storeSearchDTO, ServiceResponse serviceResponse = storeApiService.listStore(storeSearchDTO,
1, 100, returnFields); 1, 100, returnFields);
......
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