//package com.nuvole.four.client;
|
//
|
//import com.nuvole.base.domain.BaseGlobalConfig;
|
//import com.nuvole.base.domain.SysArea;
|
//import com.nuvole.base.domain.SysOrg;
|
//import com.nuvole.base.domain.SysUser;
|
//import com.nuvole.common.domain.result.CommonResult;
|
//import com.nuvole.common.domain.result.PageBean;
|
//import org.springframework.cloud.openfeign.FeignClient;
|
//import org.springframework.stereotype.Component;
|
//import org.springframework.web.bind.annotation.GetMapping;
|
//import org.springframework.web.bind.annotation.PostMapping;
|
//import org.springframework.web.bind.annotation.RequestBody;
|
//import org.springframework.web.bind.annotation.RequestParam;
|
//
|
//import java.util.List;
|
//import java.util.Map;
|
//
|
///**
|
// * 调用base
|
// *
|
// * @Author: lc
|
// * @Date: 2019/5/22 10:18
|
// */
|
//@Component
|
//@FeignClient(value = "service-base", fallbackFactory = BaseClientFallbackFactory.class)
|
//public interface BaseServiceClient {
|
// /**
|
// * 根据机构编号查询机构信息
|
// *
|
// * @author zxc
|
// * @Date 2019/6/4 11:27
|
// **/
|
// @GetMapping("/v1/base/pc/org/getOrgByCode")
|
// CommonResult getOrgByCode(@RequestParam("code") String code);
|
//
|
// @GetMapping("/v1/base/pc/org/getOrgByCode2")
|
// CommonResult getOrgByCode2(@RequestParam("code") String code);
|
//
|
// @GetMapping("/v1/base/pc/org/getOrgAndParentByCode")
|
// CommonResult getOrgAndParentByCode(@RequestParam("code") String code);
|
//
|
// /**
|
// * Createed by PKZ
|
// * Date 2019/6/17 16:15
|
// * Description:根据user_org_code查询机构信息
|
// **/
|
// @GetMapping("/v1/base/pc/org/getOrgByUserCode")
|
// CommonResult getOrgByUserCode(@RequestParam("code") String code);
|
//
|
// @GetMapping("/v1/base/pc/sysUser/getAllManagerByOrgCode")
|
// CommonResult<String> getAllManagerByOrgCode(@RequestParam("orgCode") String orgCode);
|
//
|
// @GetMapping("/v1/base/pc/sysUser/getAllManagerInfoByOrgCode")
|
// CommonResult<List<Map>> getAllManagerInfoByOrgCode(@RequestParam("orgCode") String orgCode);
|
//
|
// /**
|
// * Createed by PKZ
|
// * Date 2019/6/17 16:15
|
// * Description:根据user_code查询客户经理信息
|
// **/
|
// @GetMapping("/v1/base/pc/sysUser/getUserByCode")
|
// CommonResult getUserByCode(@RequestParam("code") String code);
|
//
|
// @GetMapping("/v1/base/pc/sysUser/getManagerInfoByCode")
|
// CommonResult getManagerInfoByCode(@RequestParam("code") String code);
|
//
|
// @GetMapping("/v1/base/pc/sysUser/selectAllByOrgId")
|
// CommonResult<PageBean<SysUser>> selectAllByOrgId(@RequestParam("org_id") Long org_id,
|
// @RequestParam("user_type") Short user_type,
|
// @RequestParam("pageNumber") Integer pageNumber,
|
// @RequestParam("pageSize") Integer pageSize,
|
// @RequestParam("state") Integer state);
|
//
|
// /**
|
// * Createed by PKZ
|
// * Date 2019/6/17 16:15
|
// * Description:根据user_id查询客户经理信息
|
// **/
|
// @GetMapping("/v1/base/pc/sysUser/getUserById")
|
// CommonResult getUserById(@RequestParam("id") Long id);
|
//
|
// /**
|
// * @param id
|
// * @return
|
// * @Description 根据user_id查询客户经理信息
|
// */
|
// @GetMapping("/v1/base/pc/sysUser/getManagerInfoById")
|
// CommonResult<Map> getManagerInfoById(@RequestParam("id") Long id);
|
//
|
// /**
|
// * Createed by PKZ
|
// * Date 2019/6/17 16:15
|
// * Description:根据pid查询机构列表
|
// **/
|
// @GetMapping("/v1/base/pc/org/getOrgList")
|
// CommonResult<List<SysOrg>> getOrgList(@RequestParam("pid") Long pid, @RequestParam("state") Integer state);
|
//
|
// @GetMapping("/v1/base/pc/org/getFullOrgName")
|
// /**
|
// * 查询机构全名
|
// */
|
// CommonResult<String> getFullOrgName(@RequestParam("id") Long id, @RequestParam("orgCode") String orgCode, @RequestParam("userOrgCode") String userOrgCode);
|
//
|
// @GetMapping("/v1/base/pc/org/getBranchByOrgCode")
|
// CommonResult<PageBean<Map>> getBranchByOrgCode(
|
// @RequestParam("code") String code, @RequestParam("keyText") String keyText,
|
// @RequestParam("userType") Short userType,
|
// @RequestParam("pageNumber") Integer pageNumber,
|
// @RequestParam("pageSize") Integer pageSize);
|
//
|
// /**
|
// * 查询第二级区域列表
|
// *
|
// * @author zxc
|
// * @Date 2019/7/13 17:38
|
// **/
|
// @GetMapping("/v1/base/pc/area/getAreaZtreeList")
|
// CommonResult getCityList();
|
//
|
// /**
|
// * 根据机构id查询区域信息
|
// *
|
// * @author zxc
|
// * @Date 2019/6/4 11:27
|
// **/
|
// @GetMapping("/v1/base/pc/area/getAreaByOrgId")
|
// CommonResult getAreaByOrgId(@RequestParam("orgId") Long orgId);
|
//
|
// /**
|
// * 根据机构id查询机构信息
|
// *
|
// * @author tang
|
// */
|
// @GetMapping("/v1/base/pc/org/getOrgMapByLogin")
|
// List<SysOrg> getOrgMapByLogin(@RequestParam("orgId") Long orgId, @RequestParam("orgLv") Integer orgLv);
|
//
|
// @GetMapping("/v1/base/pc/sysUser/getUserInfoById")
|
// SysUser getUserInfoById(@RequestParam("id") Long id);
|
//
|
// @GetMapping("/v1/base/pc/sysUser/getUserInfoByName")
|
// SysUser getUserInfoByName(@RequestParam("name") String name);
|
//
|
// /**
|
// * 根据org——code获取机构等级
|
// *
|
// * @param orgCode
|
// * @return
|
// */
|
// @GetMapping("/v1/base/pc/org/getOrgLvByOrgCode")
|
// int getOrgLvByOrgCode(@RequestParam("orgCode") String orgCode);
|
//
|
// /**
|
// * 根据id获取机构
|
// *
|
// * @param orgId
|
// * @return
|
// */
|
// @GetMapping("/v1/base/pc/org/get")
|
// CommonResult getOrgById(@RequestParam("id") Long orgId);
|
//
|
//
|
// @GetMapping("/v1/base/pc/org/getSjOrgId")
|
// Long getSjOrgId(@RequestParam("orgId") Long orgId, @RequestParam("lv") Integer orgLv);
|
//
|
//
|
// /**
|
// * 查询省级机构信息
|
// *
|
// * @Author: lc
|
// * @Date: 2019/8/28 18:56
|
// */
|
// @GetMapping("/v1/base/pc/org/getSjOrgInfo")
|
// CommonResult<SysOrg> getSjOrgInfo();
|
//
|
// /**
|
// * 根据支局机构编号查询市级区域信息
|
// *
|
// * @param orgCode
|
// * @return
|
// */
|
// @GetMapping("/v1/base/pc/area/getAreaByOrgCode")
|
// SysArea getAreaByOrgCode(@RequestParam("orgCode") String orgCode);
|
//
|
// @GetMapping("/v1/base/pc/org/getInfoByOrgCode")
|
// CommonResult<List<SysOrg>> getInfoByOrgCode(@RequestParam("orgCode") String orgCode);
|
//
|
//
|
// /**
|
// * 查询所有市级机构编号 和 对应区域名称的 关联
|
// *
|
// * @author zxc
|
// * @date 2020/1/10 11:25
|
// **/
|
// @GetMapping("/v1/base/pc/org/getSjOrgCodeAreaNameRef")
|
// CommonResult<List<Map>> getSjOrgCodeAreaNameRef();
|
//
|
//
|
// /**
|
// * 获取县区机构信息
|
// *
|
// * @return
|
// */
|
// @GetMapping("/v1/base/pc/org/getXqOrg")
|
// CommonResult<List<Map>> getXjOrg();
|
//
|
//
|
// /**
|
// * 根据数据字典key和数据名 查询
|
// *
|
// * @author zxc
|
// * @date 2019/12/13 16:42
|
// **/
|
// @GetMapping("/v1/base/pc/dic/getByDicCodeAndDicKey")
|
// CommonResult<Map> getByDicCodeAndDicKey(@RequestParam("dicCode") String dicCode, @RequestParam("dicKey") String dicKey);
|
//
|
// @GetMapping("/v1/base/pc/dic/getDicTree")
|
// CommonResult<List<Map>> getDicTree(@RequestParam("dicCode") String dicCode, @RequestParam("state") Integer state);
|
//
|
//
|
// @GetMapping("/v1/base/pc/org/getOrgCodeCache")
|
// CommonResult<List<Map>> getOrgCodeCache();
|
//
|
// @GetMapping("/v1/base/pc/org/getAllOrgFullName")
|
// CommonResult<Map> getAllOrgFullName();
|
//
|
// /**
|
// * 判断查询的银行卡是否允许绑定
|
// *
|
// * @param cardNum
|
// * @return
|
// */
|
// @GetMapping("/v1/base/pc/bankCardPeriod/isContain")
|
// CommonResult<Boolean> cardIsContain(@RequestParam("cardNum") String cardNum);
|
//
|
// @GetMapping("/v1/base/pc/global/config/getConfigList")
|
// CommonResult<List<BaseGlobalConfig>> getConfigList(@RequestParam("globalCode") String globalCode, @RequestParam("matchModel") Short matchModel);
|
//
|
// @PostMapping("/v1/base/pc/global/config/save")
|
// CommonResult<List<BaseGlobalConfig>> save(@RequestBody String configList);
|
//
|
//
|
//}
|