Commit 8051cf58 by 陶光胜

门店授权

parent 2bdf9782
......@@ -59,7 +59,7 @@ public class StoreAuthorizationApiServiceImpl implements StoreAuthorizationApiSe
return ServiceResponse.success();
}
StoreSearchDTO storeSearchDTO = new StoreSearchDTO();
storeSearchDTO.setEnterpriseId(storeSearchDTO.getEnterpriseId());
storeSearchDTO.setEnterpriseId(enterpriseId);
storeSearchDTO.setSearchJson(storeWidgetDTO.getSearchParam());
Long count = this.storeApiService.queryStoreCountFromES(storeSearchDTO).getResult();
if(count > 0){
......@@ -75,6 +75,7 @@ public class StoreAuthorizationApiServiceImpl implements StoreAuthorizationApiSe
@Override
public ServiceResponse<Void> authorizationSingleStore(String params){
log.info("authorizationSingleStore:{}", params);
JSONObject json = JSON.parseObject(params);
StoreDTO storeDTO = JSON.toJavaObject(json.getJSONObject("store"), StoreDTO.class);
Integer toEnterpriseId = json.getInteger("toEnterpriseId");
......
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