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
6b3c0338
Commit
6b3c0338
authored
Jun 10, 2021
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加登录验证
parent
c25c465c
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
69 additions
and
65 deletions
+69
-65
AlertCalledController.java
...boot/module/jcs/biz/controller/AlertCalledController.java
+5
-5
DataDictionaryController.java
...t/module/jcs/biz/controller/DataDictionaryController.java
+6
-6
FireExpertsController.java
...boot/module/jcs/biz/controller/FireExpertsController.java
+5
-5
FireTeamController.java
...os/boot/module/jcs/biz/controller/FireTeamController.java
+7
-7
FirefightersContactsController.java
...le/jcs/biz/controller/FirefightersContactsController.java
+5
-5
FirefightersContractController.java
...le/jcs/biz/controller/FirefightersContractController.java
+5
-5
FirefightersController.java
...oot/module/jcs/biz/controller/FirefightersController.java
+7
-7
FirefightersEducationController.java
...e/jcs/biz/controller/FirefightersEducationController.java
+5
-5
FirefightersJacketController.java
...dule/jcs/biz/controller/FirefightersJacketController.java
+5
-5
FirefightersPostController.java
...module/jcs/biz/controller/FirefightersPostController.java
+5
-5
FirefightersThoughtController.java
...ule/jcs/biz/controller/FirefightersThoughtController.java
+5
-5
FirefightersWorkexperienceController.java
.../biz/controller/FirefightersWorkexperienceController.java
+5
-5
UserController.java
...n/amos/boot/module/jcs/biz/controller/UserController.java
+4
-0
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/AlertCalledController.java
View file @
6b3c0338
...
@@ -39,7 +39,7 @@ public class AlertCalledController extends BaseController {
...
@@ -39,7 +39,7 @@ public class AlertCalledController extends BaseController {
* 新增警情接警记录
* 新增警情接警记录
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增警情接警记录"
,
notes
=
"新增警情接警记录"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增警情接警记录"
,
notes
=
"新增警情接警记录"
)
public
boolean
saveAlertCalled
(
HttpServletRequest
request
,
@RequestBody
AlertCalled
alertCalled
){
public
boolean
saveAlertCalled
(
HttpServletRequest
request
,
@RequestBody
AlertCalled
alertCalled
){
...
@@ -51,7 +51,7 @@ public class AlertCalledController extends BaseController {
...
@@ -51,7 +51,7 @@ public class AlertCalledController extends BaseController {
* @param id
* @param id
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
DELETE
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
DELETE
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据id删除"
,
notes
=
"根据id删除"
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据id删除"
,
notes
=
"根据id删除"
)
public
boolean
deleteById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
public
boolean
deleteById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
...
@@ -65,7 +65,7 @@ public class AlertCalledController extends BaseController {
...
@@ -65,7 +65,7 @@ public class AlertCalledController extends BaseController {
* 修改警情接警记录
* 修改警情接警记录
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"修改警情接警记录"
,
notes
=
"修改警情接警记录"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"修改警情接警记录"
,
notes
=
"修改警情接警记录"
)
public
boolean
updateByIdAlertCalled
(
HttpServletRequest
request
,
@RequestBody
AlertCalled
alertCalled
){
public
boolean
updateByIdAlertCalled
(
HttpServletRequest
request
,
@RequestBody
AlertCalled
alertCalled
){
...
@@ -79,7 +79,7 @@ public class AlertCalledController extends BaseController {
...
@@ -79,7 +79,7 @@ public class AlertCalledController extends BaseController {
* @param id
* @param id
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id查询"
,
notes
=
"根据id查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id查询"
,
notes
=
"根据id查询"
)
public
AlertCalled
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
public
AlertCalled
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
...
@@ -92,7 +92,7 @@ public class AlertCalledController extends BaseController {
...
@@ -92,7 +92,7 @@ public class AlertCalledController extends BaseController {
* 列表分页查询
* 列表分页查询
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
public
IPage
<
AlertCalled
>
listPage
(
String
pageNum
,
String
pageSize
,
AlertCalled
alertCalled
){
public
IPage
<
AlertCalled
>
listPage
(
String
pageNum
,
String
pageSize
,
AlertCalled
alertCalled
){
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/DataDictionaryController.java
View file @
6b3c0338
...
@@ -42,7 +42,7 @@ public class DataDictionaryController extends BaseController {
...
@@ -42,7 +42,7 @@ public class DataDictionaryController extends BaseController {
* 新增数据字典
* 新增数据字典
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增数据字典"
,
notes
=
"新增数据字典"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增数据字典"
,
notes
=
"新增数据字典"
)
public
boolean
saveDataDictionary
(
HttpServletRequest
request
,
@RequestBody
DataDictionary
dataDictionary
){
public
boolean
saveDataDictionary
(
HttpServletRequest
request
,
@RequestBody
DataDictionary
dataDictionary
){
...
@@ -54,7 +54,7 @@ public class DataDictionaryController extends BaseController {
...
@@ -54,7 +54,7 @@ public class DataDictionaryController extends BaseController {
* @param id
* @param id
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
DELETE
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
DELETE
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据id删除"
,
notes
=
"根据id删除"
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据id删除"
,
notes
=
"根据id删除"
)
public
boolean
deleteById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
public
boolean
deleteById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
...
@@ -68,7 +68,7 @@ public class DataDictionaryController extends BaseController {
...
@@ -68,7 +68,7 @@ public class DataDictionaryController extends BaseController {
* 修改数据字典
* 修改数据字典
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"修改数据字典"
,
notes
=
"修改数据字典"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"修改数据字典"
,
notes
=
"修改数据字典"
)
public
boolean
updateByIdDataDictionary
(
HttpServletRequest
request
,
@RequestBody
DataDictionary
dataDictionary
){
public
boolean
updateByIdDataDictionary
(
HttpServletRequest
request
,
@RequestBody
DataDictionary
dataDictionary
){
...
@@ -82,7 +82,7 @@ public class DataDictionaryController extends BaseController {
...
@@ -82,7 +82,7 @@ public class DataDictionaryController extends BaseController {
* @param id
* @param id
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id查询"
,
notes
=
"根据id查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id查询"
,
notes
=
"根据id查询"
)
public
DataDictionary
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
public
DataDictionary
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
...
@@ -95,7 +95,7 @@ public class DataDictionaryController extends BaseController {
...
@@ -95,7 +95,7 @@ public class DataDictionaryController extends BaseController {
* 列表分页查询
* 列表分页查询
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
public
IPage
<
DataDictionary
>
listPage
(
String
pageNum
,
String
pageSize
,
DataDictionary
dataDictionary
){
public
IPage
<
DataDictionary
>
listPage
(
String
pageNum
,
String
pageSize
,
DataDictionary
dataDictionary
){
...
@@ -137,7 +137,7 @@ public class DataDictionaryController extends BaseController {
...
@@ -137,7 +137,7 @@ public class DataDictionaryController extends BaseController {
return
page
;
return
page
;
}
}
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/gwmcDataDictionary/{type}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/gwmcDataDictionary/{type}"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据字典类型查询字典"
,
notes
=
"根据字典类型查询字典"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据字典类型查询字典"
,
notes
=
"根据字典类型查询字典"
)
public
ResponseModel
gwmcDataDictionary
(
@PathVariable
String
type
)
throws
Exception
{
public
ResponseModel
gwmcDataDictionary
(
@PathVariable
String
type
)
throws
Exception
{
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/FireExpertsController.java
View file @
6b3c0338
...
@@ -39,7 +39,7 @@ public class FireExpertsController extends BaseController {
...
@@ -39,7 +39,7 @@ public class FireExpertsController extends BaseController {
* 新增
* 新增
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增"
,
notes
=
"新增"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增"
,
notes
=
"新增"
)
public
boolean
saveFireExperts
(
HttpServletRequest
request
,
@RequestBody
FireExperts
fireExperts
){
public
boolean
saveFireExperts
(
HttpServletRequest
request
,
@RequestBody
FireExperts
fireExperts
){
...
@@ -51,7 +51,7 @@ public class FireExpertsController extends BaseController {
...
@@ -51,7 +51,7 @@ public class FireExpertsController extends BaseController {
* @param id
* @param id
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
DELETE
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
DELETE
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据id删除"
,
notes
=
"根据id删除"
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据id删除"
,
notes
=
"根据id删除"
)
public
boolean
deleteById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
public
boolean
deleteById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
...
@@ -65,7 +65,7 @@ public class FireExpertsController extends BaseController {
...
@@ -65,7 +65,7 @@ public class FireExpertsController extends BaseController {
* 修改
* 修改
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"修改"
,
notes
=
"修改"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"修改"
,
notes
=
"修改"
)
public
boolean
updateByIdFireExperts
(
HttpServletRequest
request
,
@RequestBody
FireExperts
fireExperts
){
public
boolean
updateByIdFireExperts
(
HttpServletRequest
request
,
@RequestBody
FireExperts
fireExperts
){
...
@@ -79,7 +79,7 @@ public class FireExpertsController extends BaseController {
...
@@ -79,7 +79,7 @@ public class FireExpertsController extends BaseController {
* @param id
* @param id
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id查询"
,
notes
=
"根据id查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id查询"
,
notes
=
"根据id查询"
)
public
FireExperts
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
public
FireExperts
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
...
@@ -92,7 +92,7 @@ public class FireExpertsController extends BaseController {
...
@@ -92,7 +92,7 @@ public class FireExpertsController extends BaseController {
* 列表分页查询
* 列表分页查询
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
public
IPage
<
FireExperts
>
listPage
(
String
pageNum
,
String
pageSize
,
FireExperts
fireExperts
){
public
IPage
<
FireExperts
>
listPage
(
String
pageNum
,
String
pageSize
,
FireExperts
fireExperts
){
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/FireTeamController.java
View file @
6b3c0338
...
@@ -49,7 +49,7 @@ public class FireTeamController extends BaseController {
...
@@ -49,7 +49,7 @@ public class FireTeamController extends BaseController {
* 新增消防队伍
* 新增消防队伍
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增消防队伍"
,
notes
=
"新增消防队伍"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增消防队伍"
,
notes
=
"新增消防队伍"
)
public
boolean
saveFireTeam
(
HttpServletRequest
request
,
@RequestBody
FireTeam
fireTeam
){
public
boolean
saveFireTeam
(
HttpServletRequest
request
,
@RequestBody
FireTeam
fireTeam
){
...
@@ -61,7 +61,7 @@ public class FireTeamController extends BaseController {
...
@@ -61,7 +61,7 @@ public class FireTeamController extends BaseController {
* @param id
* @param id
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
DELETE
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
DELETE
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据id删除"
,
notes
=
"根据id删除"
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据id删除"
,
notes
=
"根据id删除"
)
public
ResponseModel
deleteById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
public
ResponseModel
deleteById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
...
@@ -76,7 +76,7 @@ public class FireTeamController extends BaseController {
...
@@ -76,7 +76,7 @@ public class FireTeamController extends BaseController {
* 修改消防队伍
* 修改消防队伍
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"修改消防队伍"
,
notes
=
"修改消防队伍"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"修改消防队伍"
,
notes
=
"修改消防队伍"
)
public
ResponseModel
updateByIdFireTeam
(
HttpServletRequest
request
,
@RequestBody
FireTeam
fireTeam
){
public
ResponseModel
updateByIdFireTeam
(
HttpServletRequest
request
,
@RequestBody
FireTeam
fireTeam
){
...
@@ -92,7 +92,7 @@ public class FireTeamController extends BaseController {
...
@@ -92,7 +92,7 @@ public class FireTeamController extends BaseController {
* @param id
* @param id
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id查询"
,
notes
=
"根据id查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id查询"
,
notes
=
"根据id查询"
)
public
FireTeam
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
public
FireTeam
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
...
@@ -101,7 +101,7 @@ public class FireTeamController extends BaseController {
...
@@ -101,7 +101,7 @@ public class FireTeamController extends BaseController {
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/getList"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/getList"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"新列表分页查询"
,
notes
=
"新表分页查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"新列表分页查询"
,
notes
=
"新表分页查询"
)
public
ResponseModel
getFirefighters
(
Integer
pageNum
,
Integer
pageSize
,
FireTeamListVo
fireTeamList
){
public
ResponseModel
getFirefighters
(
Integer
pageNum
,
Integer
pageSize
,
FireTeamListVo
fireTeamList
){
...
@@ -119,7 +119,7 @@ public class FireTeamController extends BaseController {
...
@@ -119,7 +119,7 @@ public class FireTeamController extends BaseController {
* @return
* @return
* @throws Exception
* @throws Exception
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/listTree"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/listTree"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"队伍树"
,
notes
=
"队伍树"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"队伍树"
,
notes
=
"队伍树"
)
public
ResponseModel
listTree
()
throws
Exception
{
public
ResponseModel
listTree
()
throws
Exception
{
...
@@ -142,7 +142,7 @@ public class FireTeamController extends BaseController {
...
@@ -142,7 +142,7 @@ public class FireTeamController extends BaseController {
* 列表分页查询
* 列表分页查询
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
public
IPage
<
FireTeam
>
listPage
(
String
pageNum
,
String
pageSize
,
FireTeam
fireTeam
){
public
IPage
<
FireTeam
>
listPage
(
String
pageNum
,
String
pageSize
,
FireTeam
fireTeam
){
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/FirefightersContactsController.java
View file @
6b3c0338
...
@@ -39,7 +39,7 @@ public class FirefightersContactsController extends BaseController {
...
@@ -39,7 +39,7 @@ public class FirefightersContactsController extends BaseController {
* 新增l联系人
* 新增l联系人
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增l联系人"
,
notes
=
"新增l联系人"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增l联系人"
,
notes
=
"新增l联系人"
)
public
boolean
saveFirefightersContacts
(
HttpServletRequest
request
,
@RequestBody
FirefightersContacts
firefightersContacts
){
public
boolean
saveFirefightersContacts
(
HttpServletRequest
request
,
@RequestBody
FirefightersContacts
firefightersContacts
){
...
@@ -51,7 +51,7 @@ public class FirefightersContactsController extends BaseController {
...
@@ -51,7 +51,7 @@ public class FirefightersContactsController extends BaseController {
* @param id
* @param id
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
DELETE
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
DELETE
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据id删除"
,
notes
=
"根据id删除"
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据id删除"
,
notes
=
"根据id删除"
)
public
boolean
deleteById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
public
boolean
deleteById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
...
@@ -65,7 +65,7 @@ public class FirefightersContactsController extends BaseController {
...
@@ -65,7 +65,7 @@ public class FirefightersContactsController extends BaseController {
* 修改l联系人
* 修改l联系人
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"修改l联系人"
,
notes
=
"修改l联系人"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"修改l联系人"
,
notes
=
"修改l联系人"
)
public
boolean
updateByIdFirefightersContacts
(
HttpServletRequest
request
,
@RequestBody
FirefightersContacts
firefightersContacts
){
public
boolean
updateByIdFirefightersContacts
(
HttpServletRequest
request
,
@RequestBody
FirefightersContacts
firefightersContacts
){
...
@@ -79,7 +79,7 @@ public class FirefightersContactsController extends BaseController {
...
@@ -79,7 +79,7 @@ public class FirefightersContactsController extends BaseController {
* @param id
* @param id
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id查询"
,
notes
=
"根据id查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id查询"
,
notes
=
"根据id查询"
)
public
FirefightersContacts
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
public
FirefightersContacts
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
...
@@ -92,7 +92,7 @@ public class FirefightersContactsController extends BaseController {
...
@@ -92,7 +92,7 @@ public class FirefightersContactsController extends BaseController {
* 列表分页查询
* 列表分页查询
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
public
IPage
<
FirefightersContacts
>
listPage
(
String
pageNum
,
String
pageSize
,
FirefightersContacts
firefightersContacts
){
public
IPage
<
FirefightersContacts
>
listPage
(
String
pageNum
,
String
pageSize
,
FirefightersContacts
firefightersContacts
){
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/FirefightersContractController.java
View file @
6b3c0338
...
@@ -42,7 +42,7 @@ public class FirefightersContractController extends BaseController {
...
@@ -42,7 +42,7 @@ public class FirefightersContractController extends BaseController {
* 新增消防员合同
* 新增消防员合同
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增消防员合同"
,
notes
=
"新增消防员合同"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增消防员合同"
,
notes
=
"新增消防员合同"
)
public
ResponseModel
saveFirefightersContract
(
HttpServletRequest
request
,
@RequestBody
FirefightersContract
firefightersContract
){
public
ResponseModel
saveFirefightersContract
(
HttpServletRequest
request
,
@RequestBody
FirefightersContract
firefightersContract
){
...
@@ -59,7 +59,7 @@ public class FirefightersContractController extends BaseController {
...
@@ -59,7 +59,7 @@ public class FirefightersContractController extends BaseController {
* @param id
* @param id
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
DELETE
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
DELETE
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据id删除"
,
notes
=
"根据id删除"
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据id删除"
,
notes
=
"根据id删除"
)
public
ResponseModel
deleteById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
public
ResponseModel
deleteById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
...
@@ -74,7 +74,7 @@ public class FirefightersContractController extends BaseController {
...
@@ -74,7 +74,7 @@ public class FirefightersContractController extends BaseController {
* 修改消防员合同
* 修改消防员合同
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"修改消防员合同"
,
notes
=
"修改消防员合同"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"修改消防员合同"
,
notes
=
"修改消防员合同"
)
public
ResponseModel
updateByIdFirefightersContract
(
HttpServletRequest
request
,
@RequestBody
FirefightersContract
firefightersContract
){
public
ResponseModel
updateByIdFirefightersContract
(
HttpServletRequest
request
,
@RequestBody
FirefightersContract
firefightersContract
){
...
@@ -93,7 +93,7 @@ public class FirefightersContractController extends BaseController {
...
@@ -93,7 +93,7 @@ public class FirefightersContractController extends BaseController {
* @param id
* @param id
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id查询"
,
notes
=
"根据id查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id查询"
,
notes
=
"根据id查询"
)
public
ResponseModel
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
public
ResponseModel
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
...
@@ -111,7 +111,7 @@ public class FirefightersContractController extends BaseController {
...
@@ -111,7 +111,7 @@ public class FirefightersContractController extends BaseController {
* 列表分页查询
* 列表分页查询
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
public
ResponseModel
listPage
(
String
pageNum
,
String
pageSize
,
FirefightersContract
firefightersContract
){
public
ResponseModel
listPage
(
String
pageNum
,
String
pageSize
,
FirefightersContract
firefightersContract
){
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/FirefightersController.java
View file @
6b3c0338
...
@@ -74,7 +74,7 @@ public class FirefightersController extends BaseController {
...
@@ -74,7 +74,7 @@ public class FirefightersController extends BaseController {
* 新增消防队员
* 新增消防队员
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增消防队员"
,
notes
=
"新增消防队员"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增消防队员"
,
notes
=
"新增消防队员"
)
public
ResponseModel
saveFirefighters
(
HttpServletRequest
request
,
@RequestBody
FirefightersVo
firefighters
){
public
ResponseModel
saveFirefighters
(
HttpServletRequest
request
,
@RequestBody
FirefightersVo
firefighters
){
...
@@ -88,7 +88,7 @@ public class FirefightersController extends BaseController {
...
@@ -88,7 +88,7 @@ public class FirefightersController extends BaseController {
* @param id
* @param id
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
DELETE
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
DELETE
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据id删除"
,
notes
=
"根据id删除"
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据id删除"
,
notes
=
"根据id删除"
)
@Transactional
@Transactional
...
@@ -124,7 +124,7 @@ public class FirefightersController extends BaseController {
...
@@ -124,7 +124,7 @@ public class FirefightersController extends BaseController {
* 修改消防队员
* 修改消防队员
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"修改消防队员"
,
notes
=
"修改消防队员"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"修改消防队员"
,
notes
=
"修改消防队员"
)
public
ResponseModel
updateByIdFirefighters
(
HttpServletRequest
request
,
@RequestBody
FirefightersVo
firefighters
){
public
ResponseModel
updateByIdFirefighters
(
HttpServletRequest
request
,
@RequestBody
FirefightersVo
firefighters
){
...
@@ -141,7 +141,7 @@ public class FirefightersController extends BaseController {
...
@@ -141,7 +141,7 @@ public class FirefightersController extends BaseController {
* @param id
* @param id
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id查询"
,
notes
=
"根据id查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id查询"
,
notes
=
"根据id查询"
)
public
ResponseModel
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
public
ResponseModel
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
...
@@ -160,7 +160,7 @@ public class FirefightersController extends BaseController {
...
@@ -160,7 +160,7 @@ public class FirefightersController extends BaseController {
*
*
* */
* */
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/list/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/list/{id}"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表详情根据id查询"
,
notes
=
"列表详情根据id查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表详情根据id查询"
,
notes
=
"列表详情根据id查询"
)
public
ResponseModel
listToSelectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
public
ResponseModel
listToSelectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
...
@@ -171,7 +171,7 @@ public class FirefightersController extends BaseController {
...
@@ -171,7 +171,7 @@ public class FirefightersController extends BaseController {
* 列表分页查询
* 列表分页查询
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
public
IPage
<
Firefighters
>
listPage
(
String
pageNum
,
String
pageSize
,
Firefighters
firefighters
){
public
IPage
<
Firefighters
>
listPage
(
String
pageNum
,
String
pageSize
,
Firefighters
firefighters
){
...
@@ -211,7 +211,7 @@ public class FirefightersController extends BaseController {
...
@@ -211,7 +211,7 @@ public class FirefightersController extends BaseController {
page
=
iFirefightersService
.
page
(
pageBean
,
firefightersQueryWrapper
);
page
=
iFirefightersService
.
page
(
pageBean
,
firefightersQueryWrapper
);
return
page
;
return
page
;
}
}
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/getFirefighters"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/getFirefighters"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"新列表分页查询"
,
notes
=
"新表分页查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"新列表分页查询"
,
notes
=
"新表分页查询"
)
public
ResponseModel
getFirefighters
(
Integer
pageNum
,
Integer
pageSize
,
FirefightersListVo
firefighters
){
public
ResponseModel
getFirefighters
(
Integer
pageNum
,
Integer
pageSize
,
FirefightersListVo
firefighters
){
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/FirefightersEducationController.java
View file @
6b3c0338
...
@@ -39,7 +39,7 @@ public class FirefightersEducationController extends BaseController {
...
@@ -39,7 +39,7 @@ public class FirefightersEducationController extends BaseController {
* 新增人员学历
* 新增人员学历
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增人员学历"
,
notes
=
"新增人员学历"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增人员学历"
,
notes
=
"新增人员学历"
)
public
boolean
saveFirefightersEducation
(
HttpServletRequest
request
,
@RequestBody
FirefightersEducation
firefightersEducation
){
public
boolean
saveFirefightersEducation
(
HttpServletRequest
request
,
@RequestBody
FirefightersEducation
firefightersEducation
){
...
@@ -51,7 +51,7 @@ public class FirefightersEducationController extends BaseController {
...
@@ -51,7 +51,7 @@ public class FirefightersEducationController extends BaseController {
* @param id
* @param id
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
DELETE
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
DELETE
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据id删除"
,
notes
=
"根据id删除"
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据id删除"
,
notes
=
"根据id删除"
)
public
boolean
deleteById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
public
boolean
deleteById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
...
@@ -65,7 +65,7 @@ public class FirefightersEducationController extends BaseController {
...
@@ -65,7 +65,7 @@ public class FirefightersEducationController extends BaseController {
* 修改人员学历
* 修改人员学历
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"修改人员学历"
,
notes
=
"修改人员学历"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"修改人员学历"
,
notes
=
"修改人员学历"
)
public
boolean
updateByIdFirefightersEducation
(
HttpServletRequest
request
,
@RequestBody
FirefightersEducation
firefightersEducation
){
public
boolean
updateByIdFirefightersEducation
(
HttpServletRequest
request
,
@RequestBody
FirefightersEducation
firefightersEducation
){
...
@@ -79,7 +79,7 @@ public class FirefightersEducationController extends BaseController {
...
@@ -79,7 +79,7 @@ public class FirefightersEducationController extends BaseController {
* @param id
* @param id
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id查询"
,
notes
=
"根据id查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id查询"
,
notes
=
"根据id查询"
)
public
FirefightersEducation
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
public
FirefightersEducation
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
...
@@ -92,7 +92,7 @@ public class FirefightersEducationController extends BaseController {
...
@@ -92,7 +92,7 @@ public class FirefightersEducationController extends BaseController {
* 列表分页查询
* 列表分页查询
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
public
IPage
<
FirefightersEducation
>
listPage
(
String
pageNum
,
String
pageSize
,
FirefightersEducation
firefightersEducation
){
public
IPage
<
FirefightersEducation
>
listPage
(
String
pageNum
,
String
pageSize
,
FirefightersEducation
firefightersEducation
){
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/FirefightersJacketController.java
View file @
6b3c0338
...
@@ -43,7 +43,7 @@ public class FirefightersJacketController extends BaseController {
...
@@ -43,7 +43,7 @@ public class FirefightersJacketController extends BaseController {
*
*
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增消防人员配装记录"
,
notes
=
"新增消防人员配装记录"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增消防人员配装记录"
,
notes
=
"新增消防人员配装记录"
)
public
ResponseModel
saveFirefightersJacket
(
HttpServletRequest
request
,
public
ResponseModel
saveFirefightersJacket
(
HttpServletRequest
request
,
...
@@ -58,7 +58,7 @@ public class FirefightersJacketController extends BaseController {
...
@@ -58,7 +58,7 @@ public class FirefightersJacketController extends BaseController {
* @param id
* @param id
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
DELETE
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
DELETE
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据id删除"
,
notes
=
"根据id删除"
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据id删除"
,
notes
=
"根据id删除"
)
public
ResponseModel
deleteById
(
HttpServletRequest
request
,
@PathVariable
Long
id
)
{
public
ResponseModel
deleteById
(
HttpServletRequest
request
,
@PathVariable
Long
id
)
{
...
@@ -73,7 +73,7 @@ public class FirefightersJacketController extends BaseController {
...
@@ -73,7 +73,7 @@ public class FirefightersJacketController extends BaseController {
*
*
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"修改消防人员配装记录"
,
notes
=
"修改消防人员配装记录"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"修改消防人员配装记录"
,
notes
=
"修改消防人员配装记录"
)
public
ResponseModel
updateByIdFirefightersJacket
(
HttpServletRequest
request
,
public
ResponseModel
updateByIdFirefightersJacket
(
HttpServletRequest
request
,
...
@@ -88,7 +88,7 @@ public class FirefightersJacketController extends BaseController {
...
@@ -88,7 +88,7 @@ public class FirefightersJacketController extends BaseController {
* @param id
* @param id
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id查询"
,
notes
=
"根据id查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id查询"
,
notes
=
"根据id查询"
)
public
ResponseModel
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
)
{
public
ResponseModel
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
)
{
...
@@ -104,7 +104,7 @@ public class FirefightersJacketController extends BaseController {
...
@@ -104,7 +104,7 @@ public class FirefightersJacketController extends BaseController {
*
*
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
public
ResponseModel
listPage
(
String
pageNum
,
String
pageSize
,
FirefightersJacket
firefightersJacket
)
{
public
ResponseModel
listPage
(
String
pageNum
,
String
pageSize
,
FirefightersJacket
firefightersJacket
)
{
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/FirefightersPostController.java
View file @
6b3c0338
...
@@ -53,7 +53,7 @@ public class FirefightersPostController extends BaseController {
...
@@ -53,7 +53,7 @@ public class FirefightersPostController extends BaseController {
* 新增岗位信息
* 新增岗位信息
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增岗位信息"
,
notes
=
"新增岗位信息"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增岗位信息"
,
notes
=
"新增岗位信息"
)
@Transactional
@Transactional
...
@@ -70,7 +70,7 @@ public class FirefightersPostController extends BaseController {
...
@@ -70,7 +70,7 @@ public class FirefightersPostController extends BaseController {
* @param id
* @param id
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
DELETE
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
DELETE
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据id删除"
,
notes
=
"根据 id删除"
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据id删除"
,
notes
=
"根据 id删除"
)
public
boolean
deleteById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
public
boolean
deleteById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
...
@@ -84,7 +84,7 @@ public class FirefightersPostController extends BaseController {
...
@@ -84,7 +84,7 @@ public class FirefightersPostController extends BaseController {
* 修改岗位信息
* 修改岗位信息
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"修改岗位信息"
,
notes
=
"修改岗位信息"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"修改岗位信息"
,
notes
=
"修改岗位信息"
)
public
ResponseModel
updateByIdFirefightersPost
(
HttpServletRequest
request
,
@RequestBody
FirefightersData
firefightersData
){
public
ResponseModel
updateByIdFirefightersPost
(
HttpServletRequest
request
,
@RequestBody
FirefightersData
firefightersData
){
...
@@ -104,7 +104,7 @@ public class FirefightersPostController extends BaseController {
...
@@ -104,7 +104,7 @@ public class FirefightersPostController extends BaseController {
* @return
* @return
*/
*/
@SuppressWarnings
(
"unchecked"
)
@SuppressWarnings
(
"unchecked"
)
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据消防员id查询"
,
notes
=
"根据消防员id查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据消防员id查询"
,
notes
=
"根据消防员id查询"
)
public
ResponseModel
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
public
ResponseModel
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
...
@@ -122,7 +122,7 @@ public class FirefightersPostController extends BaseController {
...
@@ -122,7 +122,7 @@ public class FirefightersPostController extends BaseController {
* 列表分页查询
* 列表分页查询
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
public
IPage
<
FirefightersPost
>
listPage
(
String
pageNum
,
String
pageSize
,
FirefightersPost
firefightersPost
){
public
IPage
<
FirefightersPost
>
listPage
(
String
pageNum
,
String
pageSize
,
FirefightersPost
firefightersPost
){
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/FirefightersThoughtController.java
View file @
6b3c0338
...
@@ -41,7 +41,7 @@ public class FirefightersThoughtController extends BaseController {
...
@@ -41,7 +41,7 @@ public class FirefightersThoughtController extends BaseController {
* 新增消防员思想谈话记录
* 新增消防员思想谈话记录
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增消防员思想谈话记录"
,
notes
=
"新增消防员思想谈话记录"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增消防员思想谈话记录"
,
notes
=
"新增消防员思想谈话记录"
)
public
ResponseModel
saveFirefightersThought
(
HttpServletRequest
request
,
@RequestBody
FirefightersThought
firefightersThought
){
public
ResponseModel
saveFirefightersThought
(
HttpServletRequest
request
,
@RequestBody
FirefightersThought
firefightersThought
){
...
@@ -55,7 +55,7 @@ public class FirefightersThoughtController extends BaseController {
...
@@ -55,7 +55,7 @@ public class FirefightersThoughtController extends BaseController {
* @param id
* @param id
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
DELETE
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
DELETE
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据id删除"
,
notes
=
"根据id删除"
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据id删除"
,
notes
=
"根据id删除"
)
public
ResponseModel
deleteById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
public
ResponseModel
deleteById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
...
@@ -70,7 +70,7 @@ public class FirefightersThoughtController extends BaseController {
...
@@ -70,7 +70,7 @@ public class FirefightersThoughtController extends BaseController {
/** 修改消防员思想谈话记录
/** 修改消防员思想谈话记录
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"修改消防员思想谈话记录"
,
notes
=
"修改消防员思想谈话记录"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"修改消防员思想谈话记录"
,
notes
=
"修改消防员思想谈话记录"
)
public
ResponseModel
updateByIdFirefightersThought
(
HttpServletRequest
request
,
@RequestBody
FirefightersThought
firefightersThought
){
public
ResponseModel
updateByIdFirefightersThought
(
HttpServletRequest
request
,
@RequestBody
FirefightersThought
firefightersThought
){
...
@@ -87,7 +87,7 @@ public class FirefightersThoughtController extends BaseController {
...
@@ -87,7 +87,7 @@ public class FirefightersThoughtController extends BaseController {
* @return
* @return
*/
*/
@SuppressWarnings
(
"unchecked"
)
@SuppressWarnings
(
"unchecked"
)
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据消防员id查询"
,
notes
=
"根据消防员id查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据消防员id查询"
,
notes
=
"根据消防员id查询"
)
public
ResponseModel
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
public
ResponseModel
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
...
@@ -105,7 +105,7 @@ public class FirefightersThoughtController extends BaseController {
...
@@ -105,7 +105,7 @@ public class FirefightersThoughtController extends BaseController {
* 列表分页查询
* 列表分页查询
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
public
ResponseModel
listPage
(
String
pageNum
,
String
pageSize
,
FirefightersThought
firefightersThought
){
public
ResponseModel
listPage
(
String
pageNum
,
String
pageSize
,
FirefightersThought
firefightersThought
){
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/FirefightersWorkexperienceController.java
View file @
6b3c0338
...
@@ -39,7 +39,7 @@ public class FirefightersWorkexperienceController extends BaseController {
...
@@ -39,7 +39,7 @@ public class FirefightersWorkexperienceController extends BaseController {
* 新增工作经历
* 新增工作经历
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增工作经历"
,
notes
=
"新增工作经历"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增工作经历"
,
notes
=
"新增工作经历"
)
public
boolean
saveFirefightersWorkexperience
(
HttpServletRequest
request
,
@RequestBody
FirefightersWorkexperience
firefightersWorkexperience
){
public
boolean
saveFirefightersWorkexperience
(
HttpServletRequest
request
,
@RequestBody
FirefightersWorkexperience
firefightersWorkexperience
){
...
@@ -51,7 +51,7 @@ public class FirefightersWorkexperienceController extends BaseController {
...
@@ -51,7 +51,7 @@ public class FirefightersWorkexperienceController extends BaseController {
* @param id
* @param id
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
DELETE
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
DELETE
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据id删除"
,
notes
=
"根据id删除"
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据id删除"
,
notes
=
"根据id删除"
)
public
boolean
deleteById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
public
boolean
deleteById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
...
@@ -65,7 +65,7 @@ public class FirefightersWorkexperienceController extends BaseController {
...
@@ -65,7 +65,7 @@ public class FirefightersWorkexperienceController extends BaseController {
* 修改工作经历
* 修改工作经历
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
@RequestMapping
(
value
=
"/updateById"
,
method
=
RequestMethod
.
PUT
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"修改工作经历"
,
notes
=
"修改工作经历"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"修改工作经历"
,
notes
=
"修改工作经历"
)
public
boolean
updateByIdFirefightersWorkexperience
(
HttpServletRequest
request
,
@RequestBody
FirefightersWorkexperience
firefightersWorkexperience
){
public
boolean
updateByIdFirefightersWorkexperience
(
HttpServletRequest
request
,
@RequestBody
FirefightersWorkexperience
firefightersWorkexperience
){
...
@@ -79,7 +79,7 @@ public class FirefightersWorkexperienceController extends BaseController {
...
@@ -79,7 +79,7 @@ public class FirefightersWorkexperienceController extends BaseController {
* @param id
* @param id
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id查询"
,
notes
=
"根据id查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据id查询"
,
notes
=
"根据id查询"
)
public
FirefightersWorkexperience
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
public
FirefightersWorkexperience
selectById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
...
@@ -92,7 +92,7 @@ public class FirefightersWorkexperienceController extends BaseController {
...
@@ -92,7 +92,7 @@ public class FirefightersWorkexperienceController extends BaseController {
* 列表分页查询
* 列表分页查询
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
fals
e
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
tru
e
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
public
IPage
<
FirefightersWorkexperience
>
listPage
(
String
pageNum
,
String
pageSize
,
FirefightersWorkexperience
firefightersWorkexperience
){
public
IPage
<
FirefightersWorkexperience
>
listPage
(
String
pageNum
,
String
pageSize
,
FirefightersWorkexperience
firefightersWorkexperience
){
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/UserController.java
View file @
6b3c0338
...
@@ -88,6 +88,7 @@ public class UserController extends BaseController {
...
@@ -88,6 +88,7 @@ public class UserController extends BaseController {
*/
*/
@ApiOperation
(
value
=
"获取公司选择信息"
,
notes
=
"获取公司选择信息"
)
@ApiOperation
(
value
=
"获取公司选择信息"
,
notes
=
"获取公司选择信息"
)
@GetMapping
(
value
=
"/selectInfo"
)
@GetMapping
(
value
=
"/selectInfo"
)
@TycloudOperation
(
needAuth
=
true
,
ApiLevel
=
UserType
.
AGENCY
)
public
JSONObject
selectInfo
()
{
public
JSONObject
selectInfo
()
{
try
{
try
{
JSONObject
result
=
new
JSONObject
();
JSONObject
result
=
new
JSONObject
();
...
@@ -169,6 +170,7 @@ public class UserController extends BaseController {
...
@@ -169,6 +170,7 @@ public class UserController extends BaseController {
*/
*/
@ApiOperation
(
value
=
"保存登陆用户选择公司信息"
,
notes
=
"保存登陆用户选择公司信息"
)
@ApiOperation
(
value
=
"保存登陆用户选择公司信息"
,
notes
=
"保存登陆用户选择公司信息"
)
@PostMapping
(
value
=
"/save/curCompany"
)
@PostMapping
(
value
=
"/save/curCompany"
)
@TycloudOperation
(
needAuth
=
true
,
ApiLevel
=
UserType
.
AGENCY
)
public
JSONObject
saveCurCompany
(
public
JSONObject
saveCurCompany
(
@ApiParam
(
value
=
"当前登陆用户所选单位机构编号"
,
required
=
true
)
@RequestBody
ReginParams
selectUserInfo
)
{
@ApiParam
(
value
=
"当前登陆用户所选单位机构编号"
,
required
=
true
)
@RequestBody
ReginParams
selectUserInfo
)
{
try
{
try
{
...
@@ -278,6 +280,7 @@ public class UserController extends BaseController {
...
@@ -278,6 +280,7 @@ public class UserController extends BaseController {
**/
**/
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"文件上传(<font color='blue'>release</font>)"
,
notes
=
"文件上传"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"文件上传(<font color='blue'>release</font>)"
,
notes
=
"文件上传"
)
@RequestMapping
(
value
=
"/upload-file"
,
method
=
RequestMethod
.
POST
,
produces
=
"application/json;charset=UTF-8"
)
@RequestMapping
(
value
=
"/upload-file"
,
method
=
RequestMethod
.
POST
,
produces
=
"application/json;charset=UTF-8"
)
@TycloudOperation
(
needAuth
=
true
,
ApiLevel
=
UserType
.
AGENCY
)
public
ResponseModel
uploadFile
(
@RequestParam
(
"file"
)
MultipartFile
file
)
{
public
ResponseModel
uploadFile
(
@RequestParam
(
"file"
)
MultipartFile
file
)
{
FeignClientResult
<
Map
<
String
,
String
>>
date
=
remoteSecurityService
.
fileImage
(
file
);
FeignClientResult
<
Map
<
String
,
String
>>
date
=
remoteSecurityService
.
fileImage
(
file
);
...
@@ -296,6 +299,7 @@ public class UserController extends BaseController {
...
@@ -296,6 +299,7 @@ public class UserController extends BaseController {
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"文件上传(<font color='blue'>release</font>)"
,
notes
=
"文件上传"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"文件上传(<font color='blue'>release</font>)"
,
notes
=
"文件上传"
)
@RequestMapping
(
value
=
"/upload-files"
,
method
=
RequestMethod
.
POST
,
produces
=
"application/json;charset=UTF-8"
)
@RequestMapping
(
value
=
"/upload-files"
,
method
=
RequestMethod
.
POST
,
produces
=
"application/json;charset=UTF-8"
)
@TycloudOperation
(
needAuth
=
true
,
ApiLevel
=
UserType
.
AGENCY
)
public
ResponseModel
uploadFile
(
@RequestParam
(
"files"
)
MultipartFile
[]
files
)
throws
IOException
{
public
ResponseModel
uploadFile
(
@RequestParam
(
"files"
)
MultipartFile
[]
files
)
throws
IOException
{
// 设置请求头
// 设置请求头
...
...
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