Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
bb95b11c
Commit
bb95b11c
authored
Mar 10, 2023
by
zhangyingbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改 根据企业名称查询许可信息接口
parent
762ae536
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
9 deletions
+7
-9
TzBaseUnitLicenceController.java
...odule/tzs/biz/controller/TzBaseUnitLicenceController.java
+5
-7
TzsServiceFeignClient.java
...amos/boot/module/ugp/biz/fegin/TzsServiceFeignClient.java
+2
-2
No files found.
amos-boot-system-tzs/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/biz/controller/TzBaseUnitLicenceController.java
View file @
bb95b11c
...
...
@@ -7,11 +7,9 @@ import com.yeejoin.amos.boot.module.tzs.biz.service.impl.TzBaseUnitLicenceServic
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.http.MediaType
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMethod
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.*
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
...
...
@@ -34,9 +32,9 @@ public class TzBaseUnitLicenceController {
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@RequestMapping
(
value
=
"/licences"
,
method
=
RequestMethod
.
GE
T
)
@ApiOperation
(
httpMethod
=
"
GE
T"
,
value
=
"根据企业名称查询许可信息"
,
notes
=
"根据企业名称查询许可信息"
)
public
ResponseModel
<
List
<
TzBaseUnitLicence
>>
getLicenceByCompanyName
(
List
<
String
>
companyNames
)
{
@RequestMapping
(
value
=
"/licences"
,
method
=
RequestMethod
.
POS
T
)
@ApiOperation
(
httpMethod
=
"
POS
T"
,
value
=
"根据企业名称查询许可信息"
,
notes
=
"根据企业名称查询许可信息"
)
public
ResponseModel
<
List
<
TzBaseUnitLicence
>>
getLicenceByCompanyName
(
@RequestBody
List
<
String
>
companyNames
)
{
return
ResponseHelper
.
buildResponse
(
baseUnitLicenceService
.
getLicenceByCompanyName
(
companyNames
));
}
}
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/fegin/TzsServiceFeignClient.java
View file @
bb95b11c
...
...
@@ -20,6 +20,6 @@ public interface TzsServiceFeignClient {
* @param companyNames 企业名称(多个)
* @return
*/
@RequestMapping
(
value
=
"/baseUnitLicence/licences"
,
method
=
RequestMethod
.
GE
T
)
ResponseModel
<
List
<
UnitLicence
>>
getLicenceByCompanyName
(
@Request
Param
List
<
String
>
companyNames
);
@RequestMapping
(
value
=
"/baseUnitLicence/licences"
,
method
=
RequestMethod
.
POS
T
)
ResponseModel
<
List
<
UnitLicence
>>
getLicenceByCompanyName
(
@Request
Body
List
<
String
>
companyNames
);
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment