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
e5db668a
Commit
e5db668a
authored
Jul 08, 2021
by
KeYong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
岗位枚举
parent
57e829ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
DutyPersonShiftController.java
...dule/common/biz/controller/DutyPersonShiftController.java
+24
-0
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/controller/DutyPersonShiftController.java
View file @
e5db668a
package
com
.
yeejoin
.
amos
.
boot
.
module
.
common
.
biz
.
controller
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.yeejoin.amos.boot.biz.common.feign.AmosFeignService
;
import
com.yeejoin.amos.boot.module.common.api.entity.DutyPersonShift
;
import
com.yeejoin.amos.feign.systemctl.model.DictionarieValueModel
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.Api
;
...
...
@@ -35,6 +38,8 @@ public class DutyPersonShiftController extends BaseController {
@Autowired
DutyPersonShiftServiceImpl
dutyPersonShiftServiceImpl
;
@Autowired
AmosFeignService
amosFeignService
;
/**
* 新增值班人员日期关联关系表
...
...
@@ -120,4 +125,23 @@ public class DutyPersonShiftController extends BaseController {
{
return
ResponseHelper
.
buildResponse
(
dutyPersonShiftServiceImpl
.
queryForDutyPersonShiftList
());
}
/**
* <pre>
* @Description:
* </pre>
*
* @MethodName:
* @Param:
* @Return:
* @Throws
* @Author keyong
* @Date 2021/7/7 19:34
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"岗位枚举数据查询"
,
notes
=
"岗位枚举数据查询"
)
@GetMapping
(
value
=
"/list/station"
)
public
ResponseModel
<
List
<
DictionarieValueModel
>>
selectStationList
()
throws
Exception
{
return
ResponseHelper
.
buildResponse
(
amosFeignService
.
listDictionaryByDictCode
(
"POST_TYPE"
));
}
}
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