|
@@ -151,6 +151,43 @@ public class OwnCompanyRelController extends BaseController
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
+ * 平台查询我的链属列表
|
|
|
+ * @param companyName 企业名称
|
|
|
+ * @param scrType 企业类型
|
|
|
+ * @param scrStatus 链属状态
|
|
|
+ * @param request
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @PreAuthorize(hasPermi = "service:rel:list")
|
|
|
+ @GetMapping("/getListRel")
|
|
|
+ public R getListRel(String scyId, String companyName, String scpStatus,
|
|
|
+ String scrType, String scrStatus, String scpContarct, QueryRequest request)
|
|
|
+ {
|
|
|
+ //获取当前操作员
|
|
|
+ LoginUser user = tokenService.getLoginUser();
|
|
|
+ String companyId = user.getSysUser().getCompanyId();
|
|
|
+ Map map = new HashMap();
|
|
|
+ map.put("companyId", companyId);
|
|
|
+ if (CommonUtil.isNotEmpty(companyName)) {
|
|
|
+ map.put("name", companyName);
|
|
|
+ }
|
|
|
+ if (CommonUtil.isNotEmpty(scrStatus)) {
|
|
|
+ map.put("scrStatus", scrStatus);
|
|
|
+ }
|
|
|
+ if (CommonUtil.isNotEmpty(scpStatus)) {
|
|
|
+ map.put("scpStatus", scpStatus);
|
|
|
+ }
|
|
|
+ if(CommonUtil.isNotEmpty(scpContarct)){
|
|
|
+ map.put("scpContarct",scpContarct);
|
|
|
+ }
|
|
|
+ if(CommonUtil.isNotEmpty(scrType)){
|
|
|
+ map.put("scrType",scrType);
|
|
|
+ }
|
|
|
+ IPage<Map> list = iOwnCompanyRelService.selectCompanyRelList(request,map);
|
|
|
+ return R.ok(list,companyId);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
* 查询链属未认证列表
|
|
|
* @param scySocialCode 社会统一信用代码
|
|
|
* @param companyName 企业名称
|
|
@@ -776,6 +813,7 @@ public class OwnCompanyRelController extends BaseController
|
|
|
Map map = new HashMap();
|
|
|
map.put("userId", userId);
|
|
|
map.put("scyType", type);
|
|
|
+ map.put("companyId",companyId);
|
|
|
return R.ok(map);
|
|
|
}
|
|
|
|