diff --git a/ruoyi-admin/src/main/java/com/ruoyi/programManagement/controller/SzsEnterpriseInformationController.java b/ruoyi-admin/src/main/java/com/ruoyi/programManagement/controller/SzsEnterpriseInformationController.java index 5efd8c2..7b4487a 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/programManagement/controller/SzsEnterpriseInformationController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/programManagement/controller/SzsEnterpriseInformationController.java @@ -53,9 +53,10 @@ public class SzsEnterpriseInformationController extends BaseController { * 获取省-企业基本信息详细信息 */ - @GetMapping(value = "/{ID}") - public AjaxResult getInfo(@PathVariable("ID") String ID) { - return success(szsEnterpriseInformationService.selectSzsEnterpriseInformationByID(ID)); + @GetMapping(value = "/getByUuto") + @ApiOperation("根据信用代码查询省-企业基本信息列表") + public AjaxResult getInfo(@RequestParam ("uuto")String uuto) { + return success(szsEnterpriseInformationService.selectSzsEnterpriseInformationByID(uuto)); } /** diff --git a/ruoyi-admin/src/main/java/com/ruoyi/programManagement/mapper/SzsEnterpriseInformationMapper.java b/ruoyi-admin/src/main/java/com/ruoyi/programManagement/mapper/SzsEnterpriseInformationMapper.java index 404361d..2b4b356 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/programManagement/mapper/SzsEnterpriseInformationMapper.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/programManagement/mapper/SzsEnterpriseInformationMapper.java @@ -20,7 +20,7 @@ public interface SzsEnterpriseInformationMapper * @param ID 省-企业基本信息主键 * @return 省-企业基本信息 */ - public SzsEnterpriseInformation selectSzsEnterpriseInformationByID(String ID); + public SzsEnterpriseInformation selectSzsEnterpriseInformationByID(String uuto); /** * 查询省-企业基本信息列表 diff --git a/ruoyi-admin/src/main/java/com/ruoyi/programManagement/service/ISzsEnterpriseInformationService.java b/ruoyi-admin/src/main/java/com/ruoyi/programManagement/service/ISzsEnterpriseInformationService.java index c24b207..a4b3f78 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/programManagement/service/ISzsEnterpriseInformationService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/programManagement/service/ISzsEnterpriseInformationService.java @@ -19,7 +19,7 @@ public interface ISzsEnterpriseInformationService * @param ID 省-企业基本信息主键 * @return 省-企业基本信息 */ - public SzsEnterpriseInformation selectSzsEnterpriseInformationByID(String ID); + public SzsEnterpriseInformation selectSzsEnterpriseInformationByID(String uuto); /** * 查询省-企业基本信息列表 diff --git a/ruoyi-admin/src/main/java/com/ruoyi/programManagement/service/impl/SzsEnterpriseInformationServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/programManagement/service/impl/SzsEnterpriseInformationServiceImpl.java index 99c3d73..2860ce9 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/programManagement/service/impl/SzsEnterpriseInformationServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/programManagement/service/impl/SzsEnterpriseInformationServiceImpl.java @@ -27,8 +27,8 @@ public class SzsEnterpriseInformationServiceImpl implements ISzsEnterpriseInform * @return 省-企业基本信息 */ @Override - public SzsEnterpriseInformation selectSzsEnterpriseInformationByID(String ID) { - return szsEnterpriseInformationMapper.selectSzsEnterpriseInformationByID(ID); + public SzsEnterpriseInformation selectSzsEnterpriseInformationByID(String uuto) { + return szsEnterpriseInformationMapper.selectSzsEnterpriseInformationByID(uuto); } /** diff --git a/ruoyi-system/src/main/resources/mapper/yingji/SzsEnterpriseInformationMapper.xml b/ruoyi-system/src/main/resources/mapper/yingji/SzsEnterpriseInformationMapper.xml index f2fc4b1..9d66b35 100644 --- a/ruoyi-system/src/main/resources/mapper/yingji/SzsEnterpriseInformationMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/yingji/SzsEnterpriseInformationMapper.xml @@ -159,7 +159,7 @@