Commit 2dc48632 authored by tangwei's avatar tangwei

修改包

parent ce45f2ab
package com.yeejoin.amos.boot.module.jxiop.api.util;
package com.yeejoin.amos.boot.module.hygf.api.util;
import com.alibaba.fastjson.JSON;
......
package com.yeejoin.amos.boot.module.jxiop.api.util;
package com.yeejoin.amos.boot.module.hygf.api.util;
import com.yeejoin.amos.boot.module.jxiop.api.util.Constants;
import org.springframework.http.HttpStatus;
public class CommonResponseUtil
......
package com.yeejoin.amos.boot.module.jxiop.api.util;
package com.yeejoin.amos.boot.module.hygf.api.util;
......
package com.yeejoin.precontrol.common.utils;
package com.yeejoin.amos.boot.module.hygf.api.util;
import java.util.ArrayList;
......
package com.yeejoin.amos.boot.module.jxiop.api.util;
package com.yeejoin.amos.boot.module.hygf.api.util;
import java.io.DataInputStream;
import java.io.IOException;
......
package com.yeejoin.amos.boot.module.jxiop.api.util;
package com.yeejoin.amos.boot.module.hygf.api.util;
import org.apache.http.HttpEntity;
import org.apache.http.HttpStatus;
......
......@@ -564,7 +564,7 @@ public class UnitInfoController extends BaseController {
Collection<GroupModel> children = feignClientResult.getResult();
Collection<GroupModel> chil =new ArrayList<>();
for (GroupModel child : children) {
if("户用光伏-经销商".equals(child.getGroupName())||"用户光伏-微信农户".equals(child.getGroupName())){
if("户用光伏-经销商".equals(child.getGroupName())||"用户光伏-农户".equals(child.getGroupName())){
//排除其余角色
}else{
chil.add(child);
......@@ -574,9 +574,27 @@ public class UnitInfoController extends BaseController {
}
//根据角色获取区域公司
@TycloudOperation(ApiLevel = UserType.AGENCY)
@GetMapping(value = "/getRegionalCompanies")
@ApiOperation(httpMethod = "GET", value = "根据角色获取区域公司", notes = "根据角色获取区域公司")
public ResponseModel<Collection<GroupModel>> getRegionalCompanies() {
String userid= getUserInfo().getUserId();
//如果是管理端
//如果是经销商管理员
//如果是经销商普通员工
}
}
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