Commit 68fd06b5 by 何文超

fixbug

parent 07a8b5ea
...@@ -43,7 +43,8 @@ public class GoodsDomainController extends BaseGoodsController { ...@@ -43,7 +43,8 @@ public class GoodsDomainController extends BaseGoodsController {
*/ */
@RequestMapping("/get-all-goods-domain-list-for-rights") @RequestMapping("/get-all-goods-domain-list-for-rights")
public RestResponse getAllGoodsDomainListForRights() { public RestResponse getAllGoodsDomainListForRights() {
ServiceResponse<List<GoodsDomainDTO>> serviceResponse = goodsDomainApiService.listAll(getEnterpriseId(), null); ServiceResponse<List<GoodsDomainDTO>> serviceResponse = goodsDomainApiService
.listAll(getEnterpriseId(), (Integer) null);
if (!serviceResponse.isSuccess()) { if (!serviceResponse.isSuccess()) {
return RestResponse.failure(serviceResponse.getCode(), serviceResponse.getMessage()); return RestResponse.failure(serviceResponse.getCode(), serviceResponse.getMessage());
} }
...@@ -82,7 +83,7 @@ public class GoodsDomainController extends BaseGoodsController { ...@@ -82,7 +83,7 @@ public class GoodsDomainController extends BaseGoodsController {
goodsDomian = selectorDTOServiceResponse.getResult().getGoodsRightsDomains(); goodsDomian = selectorDTOServiceResponse.getResult().getGoodsRightsDomains();
hasRights = selectorDTOServiceResponse.getResult().getHasRights(); hasRights = selectorDTOServiceResponse.getResult().getHasRights();
} }
ServiceResponse<List<GoodsDomainDTO>> serviceResponse = goodsDomainApiService.listAll(getEnterpriseId(), null); ServiceResponse<List<GoodsDomainDTO>> serviceResponse = goodsDomainApiService.listAll(getEnterpriseId(), (Integer) null);
// 是否最高权限 // 是否最高权限
boolean isHighestRights = true; boolean isHighestRights = true;
JSONObject json = null; JSONObject json = null;
......
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