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
291d3deb
Commit
291d3deb
authored
Jun 22, 2021
by
tangwei
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://172.16.10.76/moa/amos-boot-biz
into developer
parents
bd7bf1f3
2c4ae2d0
Hide whitespace changes
Inline
Side-by-side
Showing
33 changed files
with
372 additions
and
463 deletions
+372
-463
pom.xml
.../amos-boot-module-api/amos-boot-module-common-api/pom.xml
+18
-0
CbDemo.java
...a/com/yeejoin/amos/boot/module/jcs/api/entity/CbDemo.java
+0
-25
DemoMapper.java
...m/yeejoin/amos/boot/module/jcs/api/mapper/DemoMapper.java
+0
-13
IDemoService.java
...eejoin/amos/boot/module/jcs/api/service/IDemoService.java
+0
-15
pom.xml
amos-boot-module/amos-boot-module-api/pom.xml
+3
-1
pom.xml
.../amos-boot-module-biz/amos-boot-module-common-biz/pom.xml
+20
-0
AlertCalledController.java
...boot/module/jcs/biz/controller/AlertCalledController.java
+1
-1
AlertFormController.java
...s/boot/module/jcs/biz/controller/AlertFormController.java
+24
-21
AlertFormTypeController.java
...ot/module/jcs/biz/controller/AlertFormTypeController.java
+1
-1
AlertFormValueController.java
...t/module/jcs/biz/controller/AlertFormValueController.java
+1
-1
AlertSubmittedController.java
...t/module/jcs/biz/controller/AlertSubmittedController.java
+1
-1
AlertSubmittedObjectController.java
...le/jcs/biz/controller/AlertSubmittedObjectController.java
+1
-1
DataDictionaryController.java
...t/module/jcs/biz/controller/DataDictionaryController.java
+26
-22
DemoController.java
...n/amos/boot/module/jcs/biz/controller/DemoController.java
+0
-52
FireExpertsController.java
...boot/module/jcs/biz/controller/FireExpertsController.java
+1
-1
FireTeamController.java
...os/boot/module/jcs/biz/controller/FireTeamController.java
+142
-152
FirefightersContactsController.java
...le/jcs/biz/controller/FirefightersContactsController.java
+3
-3
FirefightersContractController.java
...le/jcs/biz/controller/FirefightersContractController.java
+21
-19
FirefightersController.java
...oot/module/jcs/biz/controller/FirefightersController.java
+1
-1
FirefightersEducationController.java
...e/jcs/biz/controller/FirefightersEducationController.java
+1
-1
FirefightersJacketController.java
...dule/jcs/biz/controller/FirefightersJacketController.java
+20
-17
FirefightersPostController.java
...module/jcs/biz/controller/FirefightersPostController.java
+26
-27
FirefightersThoughtController.java
...ule/jcs/biz/controller/FirefightersThoughtController.java
+21
-19
FirefightersWorkexperienceController.java
.../biz/controller/FirefightersWorkexperienceController.java
+1
-1
OrgUsrAuthController.java
.../boot/module/jcs/biz/controller/OrgUsrAuthController.java
+1
-1
OrgUsrController.java
...amos/boot/module/jcs/biz/controller/OrgUsrController.java
+1
-1
PowerTransferCompanyController.java
...le/jcs/biz/controller/PowerTransferCompanyController.java
+1
-1
PowerTransferCompanyResourcesController.java
...z/controller/PowerTransferCompanyResourcesController.java
+1
-1
PowerTransferController.java
...ot/module/jcs/biz/controller/PowerTransferController.java
+1
-1
TemplateController.java
...os/boot/module/jcs/biz/controller/TemplateController.java
+1
-1
UserController.java
...n/amos/boot/module/jcs/biz/controller/UserController.java
+30
-33
DemoServiceImpl.java
...mos/boot/module/jcs/biz/service/impl/DemoServiceImpl.java
+0
-28
pom.xml
amos-boot-module/amos-boot-module-biz/pom.xml
+3
-1
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-common-api/pom.xml
0 → 100644
View file @
291d3deb
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<artifactId>
amos-boot-module-api
</artifactId>
<groupId>
com.amosframework.boot
</groupId>
<version>
1.0.0
</version>
</parent>
<artifactId>
amos-boot-module-common-api
</artifactId>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<maven.compiler.source>
1.7
</maven.compiler.source>
<maven.compiler.target>
1.7
</maven.compiler.target>
</properties>
<dependencies>
</dependencies>
</project>
amos-boot-module/amos-boot-module-api/amos-boot-module-jcs-api/src/main/java/com/yeejoin/amos/boot/module/jcs/api/entity/CbDemo.java
deleted
100644 → 0
View file @
bd7bf1f3
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jcs
.
api
.
entity
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.typroject.tyboot.core.rdbms.orm.entity.BaseEntity
;
import
java.util.Date
;
/**
* @author DELL
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
@TableName
(
"tb_demo"
)
@ApiModel
(
value
=
"tb_demo对象"
,
description
=
"Demo示例"
)
public
class
CbDemo
extends
BaseEntity
{
@ApiModelProperty
(
value
=
"NAME"
)
private
String
name
;
}
amos-boot-module/amos-boot-module-api/amos-boot-module-jcs-api/src/main/java/com/yeejoin/amos/boot/module/jcs/api/mapper/DemoMapper.java
deleted
100644 → 0
View file @
bd7bf1f3
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jcs
.
api
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.CbDemo
;
/**
* @Description: 示例代码
* @Author: amos-boot-biz
* @Date: 2021-05-27
* @Version: V1.0
*/
public
interface
DemoMapper
extends
BaseMapper
<
CbDemo
>{
CbDemo
selectOneBySeqNbr
(
Long
seqNbr
);
}
amos-boot-module/amos-boot-module-api/amos-boot-module-jcs-api/src/main/java/com/yeejoin/amos/boot/module/jcs/api/service/IDemoService.java
deleted
100644 → 0
View file @
bd7bf1f3
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jcs
.
api
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.CbDemo
;
/**
* <p>
*示例 服务类
* </p>
*
* @Author lichenglong
* @since 2021-05-27
*/
public
interface
IDemoService
extends
IService
<
CbDemo
>
{
public
CbDemo
selectOneBySeqNbr
(
Long
seqNbr
);
}
amos-boot-module/amos-boot-module-api/pom.xml
View file @
291d3deb
...
@@ -18,5 +18,6 @@
...
@@ -18,5 +18,6 @@
<module>
amos-boot-module-tzs-api
</module>
<module>
amos-boot-module-tzs-api
</module>
<module>
amos-boot-module-jcs-api
</module>
<module>
amos-boot-module-jcs-api
</module>
<module>
amos-boot-module-demo-api
</module>
<module>
amos-boot-module-demo-api
</module>
<module>
amos-boot-module-common-api
</module>
</modules>
</modules>
</project>
</project>
\ No newline at end of file
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/pom.xml
0 → 100644
View file @
291d3deb
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<artifactId>
amos-boot-module-biz
</artifactId>
<groupId>
com.amosframework.boot
</groupId>
<version>
1.0.0
</version>
</parent>
<artifactId>
amos-boot-module-common-biz
</artifactId>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<maven.compiler.source>
1.7
</maven.compiler.source>
<maven.compiler.target>
1.7
</maven.compiler.target>
</properties>
<dependencies>
</dependencies>
</project>
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 @
291d3deb
...
@@ -47,7 +47,7 @@ import java.util.stream.Stream;
...
@@ -47,7 +47,7 @@ import java.util.stream.Stream;
*/
*/
@RestController
@RestController
@Api
(
tags
=
"警情接警记录Api"
)
@Api
(
tags
=
"警情接警记录Api"
)
@RequestMapping
(
value
=
"/
jcs/
alert-called"
)
@RequestMapping
(
value
=
"/alert-called"
)
public
class
AlertCalledController
extends
BaseController
{
public
class
AlertCalledController
extends
BaseController
{
@Autowired
@Autowired
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/AlertFormController.java
View file @
291d3deb
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jcs
.
biz
.
controller
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jcs
.
biz
.
controller
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisKey
;
import
java.util.ArrayList
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisUtils
;
import
java.util.Arrays
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
java.util.List
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.Api
;
import
javax.servlet.http.HttpServletRequest
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.PathVariable
;
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.RestController
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
com.yeejoin.amos.boot.module.jcs.api.service.IAlertFormService
;
import
com.yeejoin.amos.boot.module.jcs.api.vo.AlertFormVo
;
import
com.yeejoin.amos.boot.module.jcs.api.vo.FormList
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
javax.servlet.http.HttpServletRequest
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
org.springframework.web.bind.annotation.*
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.AlertForm
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.AlertFormValue
;
import
com.yeejoin.amos.boot.biz.common.utils.CommonResponseUtil
;
import
com.yeejoin.amos.boot.biz.common.utils.CommonResponseUtil
;
import
com.yeejoin.amos.boot.biz.common.utils.NameUtils
;
import
com.yeejoin.amos.boot.biz.common.utils.NameUtils
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisKey
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisUtils
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.AlertForm
;
import
com.yeejoin.amos.boot.module.jcs.api.service.IAlertFormService
;
import
com.yeejoin.amos.boot.module.jcs.api.vo.AlertFormVo
;
import
com.yeejoin.amos.boot.module.jcs.api.vo.FormList
;
import
java.util.ArrayList
;
import
io.swagger.annotations.Api
;
import
java.util.Arrays
;
import
io.swagger.annotations.ApiOperation
;
import
java.util.List
;
/**
/**
...
@@ -39,7 +42,7 @@ import java.util.List;
...
@@ -39,7 +42,7 @@ import java.util.List;
*/
*/
@RestController
@RestController
@Api
(
tags
=
"警情表单Api"
)
@Api
(
tags
=
"警情表单Api"
)
@RequestMapping
(
value
=
"/
jcs/
alert-Form"
)
@RequestMapping
(
value
=
"/alert-Form"
)
public
class
AlertFormController
extends
BaseController
{
public
class
AlertFormController
extends
BaseController
{
@Autowired
@Autowired
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/AlertFormTypeController.java
View file @
291d3deb
...
@@ -29,7 +29,7 @@ import java.util.Arrays;
...
@@ -29,7 +29,7 @@ import java.util.Arrays;
*/
*/
@RestController
@RestController
@Api
(
tags
=
"动态表单类型Api"
)
@Api
(
tags
=
"动态表单类型Api"
)
@RequestMapping
(
value
=
"/
jcs/
alert-Form-type"
)
@RequestMapping
(
value
=
"/alert-Form-type"
)
public
class
AlertFormTypeController
extends
BaseController
{
public
class
AlertFormTypeController
extends
BaseController
{
@Autowired
@Autowired
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/AlertFormValueController.java
View file @
291d3deb
...
@@ -29,7 +29,7 @@ import java.util.Arrays;
...
@@ -29,7 +29,7 @@ import java.util.Arrays;
*/
*/
@RestController
@RestController
@Api
(
tags
=
"Api"
)
@Api
(
tags
=
"Api"
)
@RequestMapping
(
value
=
"/
jcs/
alert-Form-value"
)
@RequestMapping
(
value
=
"/alert-Form-value"
)
public
class
AlertFormValueController
extends
BaseController
{
public
class
AlertFormValueController
extends
BaseController
{
@Autowired
@Autowired
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/AlertSubmittedController.java
View file @
291d3deb
...
@@ -35,7 +35,7 @@ import java.util.Arrays;
...
@@ -35,7 +35,7 @@ import java.util.Arrays;
*/
*/
@RestController
@RestController
@Api
(
tags
=
"警情报送记录Api"
)
@Api
(
tags
=
"警情报送记录Api"
)
@RequestMapping
(
value
=
"/
jcs/
alert-submitted"
)
@RequestMapping
(
value
=
"/alert-submitted"
)
public
class
AlertSubmittedController
extends
BaseController
{
public
class
AlertSubmittedController
extends
BaseController
{
@Autowired
@Autowired
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/AlertSubmittedObjectController.java
View file @
291d3deb
...
@@ -29,7 +29,7 @@ import java.util.Arrays;
...
@@ -29,7 +29,7 @@ import java.util.Arrays;
*/
*/
@RestController
@RestController
@Api
(
tags
=
"报送对象Api"
)
@Api
(
tags
=
"报送对象Api"
)
@RequestMapping
(
value
=
"/
jcs/
alert-submitted-object"
)
@RequestMapping
(
value
=
"/alert-submitted-object"
)
public
class
AlertSubmittedObjectController
extends
BaseController
{
public
class
AlertSubmittedObjectController
extends
BaseController
{
@Autowired
@Autowired
...
...
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 @
291d3deb
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jcs
.
biz
.
controller
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jcs
.
biz
.
controller
;
import
com.alibaba.fastjson.JSON
;
import
java.util.Arrays
;
import
com.yeejoin.amos.boot.biz.common.utils.*
;
import
java.util.Collection
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.AlertForm
;
import
java.util.List
;
import
com.yeejoin.amos.boot.module.jcs.api.vo.FormList
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
javax.servlet.http.HttpServletRequest
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.Api
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.PathVariable
;
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.RestController
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
com.yeejoin.amos.boot.module.jcs.api.service.IDataDictionaryService
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
com.alibaba.fastjson.JSON
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
javax.servlet.http.HttpServletRequest
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
org.springframework.web.bind.annotation.*
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.biz.common.utils.CommonResponseUtil
;
import
com.yeejoin.amos.boot.biz.common.utils.Menu
;
import
com.yeejoin.amos.boot.biz.common.utils.NameUtils
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisKey
;
import
com.yeejoin.amos.boot.biz.common.utils.RedisUtils
;
import
com.yeejoin.amos.boot.biz.common.utils.TreeParser
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.DataDictionary
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.DataDictionary
;
import
com.yeejoin.amos.boot.module.jcs.api.service.IDataDictionaryService
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
io.swagger.annotations.Api
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
io.swagger.annotations.ApiOperation
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
java.util.Arrays
;
import
java.util.Collection
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
/**
/**
...
@@ -38,7 +42,7 @@ import java.util.Map;
...
@@ -38,7 +42,7 @@ import java.util.Map;
*/
*/
@RestController
@RestController
@Api
(
tags
=
"数据字典Api"
)
@Api
(
tags
=
"数据字典Api"
)
@RequestMapping
(
value
=
"/
jcs/
data-dictionary"
)
@RequestMapping
(
value
=
"/data-dictionary"
)
public
class
DataDictionaryController
extends
BaseController
{
public
class
DataDictionaryController
extends
BaseController
{
@Autowired
@Autowired
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/DemoController.java
deleted
100644 → 0
View file @
bd7bf1f3
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jcs
.
biz
.
controller
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.biz.common.utils.CommonResponseUtil
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.CbDemo
;
import
com.yeejoin.amos.boot.module.jcs.api.service.IDemoService
;
import
java.util.List
;
/**
* 示例控制类
* @Author lichenglong
* @since 2021-05-27
*/
@RestController
@RequestMapping
(
"/demo"
)
@Api
(
tags
=
"示例"
)
@Slf4j
public
class
DemoController
extends
BaseController
{
@Autowired
private
IDemoService
demoService
;
@TycloudOperation
(
needAuth
=
true
,
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/user"
)
@ApiOperation
(
value
=
"cs1"
)
public
ResponseModel
<
Object
>
findUserList
()
{
List
<
CbDemo
>
lists
=
demoService
.
list
();
return
CommonResponseUtil
.
success
(
lists
);
}
@TycloudOperation
(
needAuth
=
true
,
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/demo/{seqNbr}"
)
@ApiOperation
(
value
=
"cs2"
)
public
ResponseModel
findOneBySeqNbr
(
@PathVariable
(
"seqNbr"
)
Long
seqNbr
)
{
CbDemo
demo
=
demoService
.
selectOneBySeqNbr
(
seqNbr
);
return
CommonResponseUtil
.
success
(
demo
);
}
}
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 @
291d3deb
...
@@ -29,7 +29,7 @@ import java.util.Arrays;
...
@@ -29,7 +29,7 @@ import java.util.Arrays;
*/
*/
@RestController
@RestController
@Api
(
tags
=
"Api"
)
@Api
(
tags
=
"Api"
)
@RequestMapping
(
value
=
"/
jcs/
fire-experts"
)
@RequestMapping
(
value
=
"/fire-experts"
)
public
class
FireExpertsController
extends
BaseController
{
public
class
FireExpertsController
extends
BaseController
{
@Autowired
@Autowired
...
...
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 @
291d3deb
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jcs
.
biz
.
controller
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jcs
.
biz
.
controller
;
import
com.yeejoin.amos.boot.biz.common.utils.Menu
;
import
com.yeejoin.amos.boot.biz.common.utils.Menu
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
...
@@ -31,160 +32,149 @@ import java.util.HashMap;
...
@@ -31,160 +32,149 @@ import java.util.HashMap;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
/**
/**
* 消防队伍
* 消防队伍
*
*
* @author tb
* @author tb
* @date 2021-06-07
* @date 2021-06-07
*/
*/
@RestController
@RestController
@Api
(
tags
=
"消防队伍Api"
)
@Api
(
tags
=
"消防队伍Api"
)
@RequestMapping
(
value
=
"/
jcs/
fire-team"
)
@RequestMapping
(
value
=
"/fire-team"
)
public
class
FireTeamController
extends
BaseController
{
public
class
FireTeamController
extends
BaseController
{
@Autowired
@Autowired
IFireTeamService
iFireTeamService
;
IFireTeamService
iFireTeamService
;
/**
/**
* 新增消防队伍
* 新增消防队伍
* @return
*
*/
* @return
@TycloudOperation
(
needAuth
=
true
,
ApiLevel
=
UserType
.
AGENCY
)
*/
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
@TycloudOperation
(
needAuth
=
true
,
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增消防队伍"
,
notes
=
"新增消防队伍"
)
@RequestMapping
(
value
=
"/save"
,
method
=
RequestMethod
.
POST
)
public
ResponseModel
saveFireTeam
(
HttpServletRequest
request
,
@RequestBody
FireTeam
fireTeam
){
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增消防队伍"
,
notes
=
"新增消防队伍"
)
iFireTeamService
.
save
(
fireTeam
);
public
ResponseModel
saveFireTeam
(
HttpServletRequest
request
,
@RequestBody
FireTeam
fireTeam
)
{
return
CommonResponseUtil
.
success
();
iFireTeamService
.
save
(
fireTeam
);
}
return
CommonResponseUtil
.
success
();
}
/**
* 根据id删除
/**
* @param id
* 根据id删除
* @return
*
*/
* @param id
@TycloudOperation
(
needAuth
=
true
,
ApiLevel
=
UserType
.
AGENCY
)
* @return
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
DELETE
)
*/
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据id删除"
,
notes
=
"根据id删除"
)
@TycloudOperation
(
needAuth
=
true
,
ApiLevel
=
UserType
.
AGENCY
)
public
ResponseModel
deleteById
(
HttpServletRequest
request
,
@PathVariable
Long
id
){
@RequestMapping
(
value
=
"/{id}"
,
method
=
RequestMethod
.
DELETE
)
iFireTeamService
.
update
(
new
UpdateWrapper
<
FireTeam
>().
eq
(
"sequence_nbr"
,
id
).
set
(
"is_delete"
,
1
));
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据id删除"
,
notes
=
"根据id删除"
)
return
CommonResponseUtil
.
success
();
public
ResponseModel
deleteById
(
HttpServletRequest
request
,
@PathVariable
Long
id
)
{
}
iFireTeamService
.
update
(
new
UpdateWrapper
<
FireTeam
>().
eq
(
"sequence_nbr"
,
id
).
set
(
"is_delete"
,
1
));
return
CommonResponseUtil
.
success
();
}
/**
/**
* 修改消防队伍
* 修改消防队伍
*
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
true
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
true
,
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
)
{
boolean
flag
=
iFireTeamService
.
updateById
(
fireTeam
);
boolean
flag
=
iFireTeamService
.
updateById
(
fireTeam
);
return
CommonResponseUtil
.
success
();
return
CommonResponseUtil
.
success
();
}
}
/**
* 根据id查询
/**
*
* 根据id查询
* @param id
* @param id
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
true
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
needAuth
=
true
,
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
){
return
CommonResponseUtil
.
success
(
iFireTeamService
.
getById
(
id
));
return
CommonResponseUtil
.
success
(
iFireTeamService
.
getById
(
id
));
}
}
@TycloudOperation
(
needAuth
=
true
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/getList"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"新列表分页查询"
,
notes
=
"新表分页查询"
)
@TycloudOperation
(
needAuth
=
true
,
ApiLevel
=
UserType
.
AGENCY
)
public
ResponseModel
getFirefighters
(
Integer
pageNum
,
Integer
pageSize
,
FireTeamListVo
fireTeamList
)
{
@RequestMapping
(
value
=
"/getList"
,
method
=
RequestMethod
.
GET
)
// 条件分页
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"新列表分页查询"
,
notes
=
"新表分页查询"
)
List
<
FireTeamVo
>
list
=
iFireTeamService
.
getFireTeam
(
pageNum
,
pageSize
,
fireTeamList
);
public
ResponseModel
getFirefighters
(
Integer
pageNum
,
Integer
pageSize
,
FireTeamListVo
fireTeamList
){
Map
<
String
,
Long
>
num
=
iFireTeamService
.
getFireTeamCount
(
pageNum
,
pageSize
,
fireTeamList
);
//条件分页
Page
<
FireTeamVo
>
pageBean
=
new
Page
<>(
pageNum
,
pageSize
,
num
.
get
(
"num"
));
List
<
FireTeamVo
>
list
=
iFireTeamService
.
getFireTeam
(
pageNum
,
pageSize
,
fireTeamList
);
pageBean
.
setRecords
(
list
);
Map
<
String
,
Long
>
num
=
iFireTeamService
.
getFireTeamCount
(
pageNum
,
pageSize
,
fireTeamList
);
return
CommonResponseUtil
.
success
(
pageBean
);
Page
<
FireTeamVo
>
pageBean
=
new
Page
<>(
pageNum
,
pageSize
,
num
.
get
(
"num"
));
}
pageBean
.
setRecords
(
list
);
return
CommonResponseUtil
.
success
(
pageBean
);
/**
}
* 列表分页查询
*
* @return
/**
* @throws Exception
* 列表分页查询
*/
* @return
@TycloudOperation
(
needAuth
=
true
,
ApiLevel
=
UserType
.
AGENCY
)
* @throws Exception
@RequestMapping
(
value
=
"/listTree"
,
method
=
RequestMethod
.
GET
)
*/
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"队伍树"
,
notes
=
"队伍树"
)
@TycloudOperation
(
needAuth
=
true
,
ApiLevel
=
UserType
.
AGENCY
)
public
ResponseModel
<?>
listTree
()
throws
Exception
{
@RequestMapping
(
value
=
"/listTree"
,
method
=
RequestMethod
.
GET
)
Map
<
String
,
Object
>
columnMap
=
new
HashMap
<>();
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"队伍树"
,
notes
=
"队伍树"
)
columnMap
.
put
(
"is_delete"
,
0
);
public
ResponseModel
listTree
()
throws
Exception
{
Collection
<
FireTeam
>
list
=
iFireTeamService
.
listByMap
(
columnMap
);
Map
<
String
,
Object
>
columnMap
=
new
HashMap
<>();
List
<
Menu
>
menus
=
TreeParser
.
getTree
(
null
,
list
,
FireTeam
.
class
.
getName
(),
"getSequenceNbr"
,
2
,
"getName"
,
columnMap
.
put
(
"is_delete"
,
0
);
"getParent"
);
Collection
<
FireTeam
>
list
=
iFireTeamService
.
listByMap
(
columnMap
);
return
CommonResponseUtil
.
success
(
menus
);
FireTeam
ll
=
new
FireTeam
();
}
//List<Menu> menus=TreeParser.getTree(null,list);
List
<
Menu
>
menus
=
TreeParser
.
getTree
(
null
,
list
,
FireTeam
.
class
.
getName
(),
"getSequenceNbr"
,
2
,
"getName"
,
"getParent"
);
/**
return
CommonResponseUtil
.
success
(
menus
);
* 列表分页查询
}
*
* @return
*/
@TycloudOperation
(
needAuth
=
true
,
ApiLevel
=
UserType
.
AGENCY
)
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
public
IPage
<
FireTeam
>
listPage
(
String
pageNum
,
String
pageSize
,
FireTeam
fireTeam
)
{
/**
Page
<
FireTeam
>
pageBean
;
* 列表分页查询
QueryWrapper
<
FireTeam
>
fireTeamQueryWrapper
=
new
QueryWrapper
<>();
* @return
Class
<?
extends
FireTeam
>
aClass
=
fireTeam
.
getClass
();
*/
Arrays
.
stream
(
aClass
.
getDeclaredFields
()).
forEach
(
field
->
{
@TycloudOperation
(
needAuth
=
true
,
ApiLevel
=
UserType
.
AGENCY
)
try
{
@RequestMapping
(
value
=
"/list"
,
method
=
RequestMethod
.
GET
)
field
.
setAccessible
(
true
);
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表分页查询"
,
notes
=
"列表分页查询"
)
Object
o
=
field
.
get
(
fireTeam
);
public
IPage
<
FireTeam
>
listPage
(
String
pageNum
,
String
pageSize
,
FireTeam
fireTeam
){
if
(
o
!=
null
)
{
Class
<?>
type
=
field
.
getType
();
Page
<
FireTeam
>
pageBean
;
String
name
=
NameUtils
.
camel2Underline
(
field
.
getName
());
QueryWrapper
<
FireTeam
>
fireTeamQueryWrapper
=
new
QueryWrapper
<>();
if
(
type
.
equals
(
Integer
.
class
))
{
Class
<?
extends
FireTeam
>
aClass
=
fireTeam
.
getClass
();
Integer
fileValue
=
(
Integer
)
field
.
get
(
fireTeam
);
Arrays
.
stream
(
aClass
.
getDeclaredFields
()).
forEach
(
field
->
{
fireTeamQueryWrapper
.
eq
(
name
,
fileValue
);
try
{
}
else
if
(
type
.
equals
(
Long
.
class
))
{
field
.
setAccessible
(
true
);
Long
fileValue
=
(
Long
)
field
.
get
(
fireTeam
);
Object
o
=
field
.
get
(
fireTeam
);
fireTeamQueryWrapper
.
eq
(
name
,
fileValue
);
if
(
o
!=
null
)
{
}
else
if
(
type
.
equals
(
String
.
class
))
{
Class
<?>
type
=
field
.
getType
();
String
fileValue
=
(
String
)
field
.
get
(
fireTeam
);
String
name
=
NameUtils
.
camel2Underline
(
field
.
getName
());
fireTeamQueryWrapper
.
eq
(
name
,
fileValue
);
if
(
type
.
equals
(
Integer
.
class
))
{
}
else
{
Integer
fileValue
=
(
Integer
)
field
.
get
(
fireTeam
);
String
fileValue
=
(
String
)
field
.
get
(
fireTeam
);
fireTeamQueryWrapper
.
eq
(
name
,
fileValue
);
fireTeamQueryWrapper
.
eq
(
name
,
fileValue
);
}
else
if
(
type
.
equals
(
Long
.
class
))
{
}
Long
fileValue
=
(
Long
)
field
.
get
(
fireTeam
);
}
fireTeamQueryWrapper
.
eq
(
name
,
fileValue
);
}
catch
(
Exception
e
)
{
}
else
if
(
type
.
equals
(
String
.
class
))
{
throw
new
RuntimeException
(
"系统异常"
);
String
fileValue
=
(
String
)
field
.
get
(
fireTeam
);
}
fireTeamQueryWrapper
.
eq
(
name
,
fileValue
);
});
}
else
{
IPage
<
FireTeam
>
page
;
String
fileValue
=
(
String
)
field
.
get
(
fireTeam
);
if
(
StringUtils
.
isBlank
(
pageNum
)
||
StringUtils
.
isBlank
(
pageSize
))
{
fireTeamQueryWrapper
.
eq
(
name
,
fileValue
);
pageBean
=
new
Page
<>(
0
,
Long
.
MAX_VALUE
);
}
}
else
{
}
pageBean
=
new
Page
<>(
Integer
.
parseInt
(
pageNum
),
Integer
.
parseInt
(
pageSize
));
}
catch
(
Exception
e
)
{
}
throw
new
RuntimeException
(
"系统异常"
);
page
=
iFireTeamService
.
page
(
pageBean
,
fireTeamQueryWrapper
);
}
return
page
;
});
}
IPage
<
FireTeam
>
page
;
}
if
(
StringUtils
.
isBlank
(
pageNum
)
||
StringUtils
.
isBlank
(
pageSize
))
{
pageBean
=
new
Page
<>(
0
,
Long
.
MAX_VALUE
);
}
else
{
pageBean
=
new
Page
<>(
Integer
.
parseInt
(
pageNum
),
Integer
.
parseInt
(
pageSize
));
}
page
=
iFireTeamService
.
page
(
pageBean
,
fireTeamQueryWrapper
);
return
page
;
}
}
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 @
291d3deb
...
@@ -22,14 +22,14 @@ import java.util.Arrays;
...
@@ -22,14 +22,14 @@ import java.util.Arrays;
/**
/**
*
l
联系人
* 联系人
*
*
* @author tb
* @author tb
* @date 2021-06-07
* @date 2021-06-07
*/
*/
@RestController
@RestController
@Api
(
tags
=
"
l
联系人Api"
)
@Api
(
tags
=
"联系人Api"
)
@RequestMapping
(
value
=
"/
jcs/
firefighters-contacts"
)
@RequestMapping
(
value
=
"/firefighters-contacts"
)
public
class
FirefightersContactsController
extends
BaseController
{
public
class
FirefightersContactsController
extends
BaseController
{
@Autowired
@Autowired
...
...
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 @
291d3deb
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jcs
.
biz
.
controller
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jcs
.
biz
.
controller
;
import
io.swagger.annotations.ApiOperation
;
import
java.util.Arrays
;
import
io.swagger.annotations.Api
;
import
java.util.Date
;
import
org.apache.commons.lang3.StringUtils
;
import
java.util.List
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
javax.servlet.http.HttpServletRequest
;
import
com.yeejoin.amos.boot.module.jcs.api.service.IFirefightersContractService
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.PathVariable
;
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.typroject.tyboot.core.foundation.enumeration.UserType
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper
;
import
com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
javax.servlet.http.HttpServletRequest
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
org.springframework.web.bind.annotation.*
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.FirefightersContacts
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.FirefightersContract
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.FirefightersThought
;
import
com.yeejoin.amos.boot.biz.common.utils.CommonResponseUtil
;
import
com.yeejoin.amos.boot.biz.common.utils.CommonResponseUtil
;
import
com.yeejoin.amos.boot.biz.common.utils.NameUtils
;
import
com.yeejoin.amos.boot.biz.common.utils.NameUtils
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.FirefightersContract
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
com.yeejoin.amos.boot.module.jcs.api.service.IFirefightersContractService
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
java.util.Arrays
;
import
io.swagger.annotations.Api
;
import
java.util.Date
;
import
io.swagger.annotations.ApiOperation
;
import
java.util.List
;
/**
/**
...
@@ -36,7 +38,7 @@ import java.util.List;
...
@@ -36,7 +38,7 @@ import java.util.List;
*/
*/
@RestController
@RestController
@Api
(
tags
=
"消防员合同Api"
)
@Api
(
tags
=
"消防员合同Api"
)
@RequestMapping
(
value
=
"/
jcs/
firefighters-contract"
)
@RequestMapping
(
value
=
"/firefighters-contract"
)
public
class
FirefightersContractController
extends
BaseController
{
public
class
FirefightersContractController
extends
BaseController
{
@Autowired
@Autowired
...
...
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 @
291d3deb
...
@@ -51,7 +51,7 @@ import java.util.Map;
...
@@ -51,7 +51,7 @@ import java.util.Map;
*/
*/
@RestController
@RestController
@Api
(
tags
=
"消防队员Api"
)
@Api
(
tags
=
"消防队员Api"
)
@RequestMapping
(
value
=
"/
jcs/
firefighters"
)
@RequestMapping
(
value
=
"/firefighters"
)
public
class
FirefightersController
extends
BaseController
{
public
class
FirefightersController
extends
BaseController
{
@Autowired
@Autowired
...
...
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 @
291d3deb
...
@@ -29,7 +29,7 @@ import java.util.Arrays;
...
@@ -29,7 +29,7 @@ import java.util.Arrays;
*/
*/
@RestController
@RestController
@Api
(
tags
=
"人员学历Api"
)
@Api
(
tags
=
"人员学历Api"
)
@RequestMapping
(
value
=
"/
jcs/
firefighters-education"
)
@RequestMapping
(
value
=
"/firefighters-education"
)
public
class
FirefightersEducationController
extends
BaseController
{
public
class
FirefightersEducationController
extends
BaseController
{
@Autowired
@Autowired
...
...
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 @
291d3deb
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jcs
.
biz
.
controller
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jcs
.
biz
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
java.util.Arrays
;
import
io.swagger.annotations.ApiOperation
;
import
java.util.Date
;
import
io.swagger.annotations.Api
;
import
javax.servlet.http.HttpServletRequest
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.PathVariable
;
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.RestController
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
com.yeejoin.amos.boot.module.jcs.api.service.IFirefightersJacketService
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
javax.servlet.http.HttpServletRequest
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
org.springframework.web.bind.annotation.*
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.FirefightersContract
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.FirefightersJacket
;
import
com.yeejoin.amos.boot.biz.common.utils.CommonResponseUtil
;
import
com.yeejoin.amos.boot.biz.common.utils.CommonResponseUtil
;
import
com.yeejoin.amos.boot.biz.common.utils.NameUtils
;
import
com.yeejoin.amos.boot.biz.common.utils.NameUtils
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.FirefightersJacket
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
com.yeejoin.amos.boot.module.jcs.api.service.IFirefightersJacketService
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
java.util.Arrays
;
import
io.swagger.annotations.Api
;
import
java.util.Date
;
import
io.swagger.annotations.ApiOperation
;
/**
/**
* 消防人员配装记录
* 消防人员配装记录
...
@@ -33,7 +36,7 @@ import java.util.Date;
...
@@ -33,7 +36,7 @@ import java.util.Date;
*/
*/
@RestController
@RestController
@Api
(
tags
=
"消防人员配装记录Api"
)
@Api
(
tags
=
"消防人员配装记录Api"
)
@RequestMapping
(
value
=
"/
jcs/
firefighters-jacket"
)
@RequestMapping
(
value
=
"/firefighters-jacket"
)
public
class
FirefightersJacketController
extends
BaseController
{
public
class
FirefightersJacketController
extends
BaseController
{
@Autowired
@Autowired
...
...
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 @
291d3deb
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jcs
.
biz
.
controller
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jcs
.
biz
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
java.util.Arrays
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.Api
;
import
javax.servlet.http.HttpServletRequest
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.module.jcs.api.service.IFirefightersContactsService
;
import
com.yeejoin.amos.boot.module.jcs.api.service.IFirefightersEducationService
;
import
com.yeejoin.amos.boot.module.jcs.api.service.IFirefightersPostService
;
import
com.yeejoin.amos.boot.module.jcs.api.service.IFirefightersWorkexperienceService
;
import
com.yeejoin.amos.boot.module.jcs.api.vo.FirefightersData
;
import
com.baomidou.mybatisplus.core.conditions.Wrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.web.bind.annotation.PathVariable
;
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.typroject.tyboot.core.foundation.enumeration.UserType
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
javax.servlet.http.HttpServletRequest
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
org.springframework.web.bind.annotation.*
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.FirefightersContacts
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.FirefightersContract
;
import
com.yeejoin.amos.boot.biz.common.utils.CommonResponseUtil
;
import
com.yeejoin.amos.boot.biz.common.utils.NameUtils
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.FirefightersEducation
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.FirefightersEducation
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.FirefightersJacket
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.FirefightersPost
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.FirefightersPost
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.FirefightersThought
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.FirefightersWorkexperience
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.FirefightersWorkexperience
;
import
com.yeejoin.amos.boot.biz.common.utils.CommonResponseUtil
;
import
com.yeejoin.amos.boot.module.jcs.api.service.IFirefightersContactsService
;
import
com.yeejoin.amos.boot.biz.common.utils.NameUtils
;
import
com.yeejoin.amos.boot.module.jcs.api.service.IFirefightersEducationService
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
com.yeejoin.amos.boot.module.jcs.api.service.IFirefightersPostService
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
com.yeejoin.amos.boot.module.jcs.api.service.IFirefightersWorkexperienceService
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
com.yeejoin.amos.boot.module.jcs.api.vo.FirefightersData
;
import
java.util.Arrays
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
/**
/**
...
@@ -44,7 +43,7 @@ import java.util.Arrays;
...
@@ -44,7 +43,7 @@ import java.util.Arrays;
*/
*/
@RestController
@RestController
@Api
(
tags
=
"岗位信息Api"
)
@Api
(
tags
=
"岗位信息Api"
)
@RequestMapping
(
value
=
"/
jcs/
firefighters-post"
)
@RequestMapping
(
value
=
"/firefighters-post"
)
public
class
FirefightersPostController
extends
BaseController
{
public
class
FirefightersPostController
extends
BaseController
{
@Autowired
@Autowired
...
...
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 @
291d3deb
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jcs
.
biz
.
controller
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jcs
.
biz
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
java.util.Arrays
;
import
io.swagger.annotations.ApiOperation
;
import
java.util.Date
;
import
io.swagger.annotations.Api
;
import
java.util.List
;
import
javax.servlet.http.HttpServletRequest
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.PathVariable
;
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.RestController
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
com.yeejoin.amos.boot.module.jcs.api.service.IFirefightersThoughtService
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper
;
import
com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
javax.servlet.http.HttpServletRequest
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
org.springframework.web.bind.annotation.*
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.FirefightersContract
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.FirefightersThought
;
import
com.yeejoin.amos.boot.biz.common.utils.CommonResponseUtil
;
import
com.yeejoin.amos.boot.biz.common.utils.CommonResponseUtil
;
import
com.yeejoin.amos.boot.biz.common.utils.NameUtils
;
import
com.yeejoin.amos.boot.biz.common.utils.NameUtils
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.FirefightersThought
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
com.yeejoin.amos.boot.module.jcs.api.service.IFirefightersThoughtService
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
import
java.util.Arrays
;
import
io.swagger.annotations.Api
;
import
java.util.Date
;
import
io.swagger.annotations.ApiOperation
;
import
java.util.List
;
/**
/**
...
@@ -36,7 +38,7 @@ import java.util.List;
...
@@ -36,7 +38,7 @@ import java.util.List;
*/
*/
@RestController
@RestController
@Api
(
tags
=
"消防员思想谈话记录Api"
)
@Api
(
tags
=
"消防员思想谈话记录Api"
)
@RequestMapping
(
value
=
"/
jcs/
firefighters-thought"
)
@RequestMapping
(
value
=
"/firefighters-thought"
)
public
class
FirefightersThoughtController
extends
BaseController
{
public
class
FirefightersThoughtController
extends
BaseController
{
@Autowired
@Autowired
...
...
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 @
291d3deb
...
@@ -29,7 +29,7 @@ import java.util.Arrays;
...
@@ -29,7 +29,7 @@ import java.util.Arrays;
*/
*/
@RestController
@RestController
@Api
(
tags
=
"工作经历Api"
)
@Api
(
tags
=
"工作经历Api"
)
@RequestMapping
(
value
=
"/
jcs/
firefighters-workexperience"
)
@RequestMapping
(
value
=
"/firefighters-workexperience"
)
public
class
FirefightersWorkexperienceController
extends
BaseController
{
public
class
FirefightersWorkexperienceController
extends
BaseController
{
@Autowired
@Autowired
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/OrgUsrAuthController.java
View file @
291d3deb
...
@@ -29,7 +29,7 @@ import java.util.Arrays;
...
@@ -29,7 +29,7 @@ import java.util.Arrays;
*/
*/
@RestController
@RestController
@Api
(
tags
=
"Api"
)
@Api
(
tags
=
"Api"
)
@RequestMapping
(
value
=
"/
jcs/
org-usr-auth"
)
@RequestMapping
(
value
=
"/org-usr-auth"
)
public
class
OrgUsrAuthController
extends
BaseController
{
public
class
OrgUsrAuthController
extends
BaseController
{
@Autowired
@Autowired
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/OrgUsrController.java
View file @
291d3deb
...
@@ -29,7 +29,7 @@ import java.util.Arrays;
...
@@ -29,7 +29,7 @@ import java.util.Arrays;
*/
*/
@RestController
@RestController
@Api
(
tags
=
"机构/部门/人员表Api"
)
@Api
(
tags
=
"机构/部门/人员表Api"
)
@RequestMapping
(
value
=
"/
jcs/
org-usr"
)
@RequestMapping
(
value
=
"/org-usr"
)
public
class
OrgUsrController
extends
BaseController
{
public
class
OrgUsrController
extends
BaseController
{
@Autowired
@Autowired
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/PowerTransferCompanyController.java
View file @
291d3deb
...
@@ -31,7 +31,7 @@ import java.util.Arrays;
...
@@ -31,7 +31,7 @@ import java.util.Arrays;
*/
*/
@RestController
@RestController
@Api
(
tags
=
"调派单位Api"
)
@Api
(
tags
=
"调派单位Api"
)
@RequestMapping
(
value
=
"/
jcs/
power-transfer-company"
)
@RequestMapping
(
value
=
"/power-transfer-company"
)
public
class
PowerTransferCompanyController
extends
BaseController
{
public
class
PowerTransferCompanyController
extends
BaseController
{
@Autowired
@Autowired
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/PowerTransferCompanyResourcesController.java
View file @
291d3deb
...
@@ -31,7 +31,7 @@ import java.util.Arrays;
...
@@ -31,7 +31,7 @@ import java.util.Arrays;
*/
*/
@RestController
@RestController
@Api
(
tags
=
"调派单位资源Api"
)
@Api
(
tags
=
"调派单位资源Api"
)
@RequestMapping
(
value
=
"/
jcs/
power-transfer-company-resources"
)
@RequestMapping
(
value
=
"/power-transfer-company-resources"
)
public
class
PowerTransferCompanyResourcesController
extends
BaseController
{
public
class
PowerTransferCompanyResourcesController
extends
BaseController
{
@Autowired
@Autowired
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/PowerTransferController.java
View file @
291d3deb
...
@@ -33,7 +33,7 @@ import java.util.List;
...
@@ -33,7 +33,7 @@ import java.util.List;
*/
*/
@RestController
@RestController
@Api
(
tags
=
"力量调派Api"
)
@Api
(
tags
=
"力量调派Api"
)
@RequestMapping
(
value
=
"/
jcs/
power-transfer"
)
@RequestMapping
(
value
=
"/power-transfer"
)
public
class
PowerTransferController
extends
BaseController
{
public
class
PowerTransferController
extends
BaseController
{
@Autowired
@Autowired
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/TemplateController.java
View file @
291d3deb
...
@@ -29,7 +29,7 @@ import java.util.Arrays;
...
@@ -29,7 +29,7 @@ import java.util.Arrays;
*/
*/
@RestController
@RestController
@Api
(
tags
=
"模板表Api"
)
@Api
(
tags
=
"模板表Api"
)
@RequestMapping
(
value
=
"/
jcs/
template"
)
@RequestMapping
(
value
=
"/template"
)
public
class
TemplateController
extends
BaseController
{
public
class
TemplateController
extends
BaseController
{
@Autowired
@Autowired
...
...
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 @
291d3deb
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jcs
.
biz
.
controller
;
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jcs
.
biz
.
controller
;
import
com.alibaba.fastjson.JSON
;
import
java.io.IOException
;
import
com.alibaba.fastjson.JSONArray
;
import
java.lang.reflect.Field
;
import
com.alibaba.fastjson.JSONObject
;
import
java.util.ArrayList
;
import
com.google.common.collect.Lists
;
import
java.util.HashMap
;
import
com.google.common.collect.Maps
;
import
java.util.Iterator
;
import
com.yeejoin.amos.boot.biz.common.bo.CompanyBo
;
import
java.util.List
;
import
com.yeejoin.amos.boot.biz.common.bo.DepartmentBo
;
import
java.util.Map
;
import
com.yeejoin.amos.boot.biz.common.bo.ReginParams
;
import
com.yeejoin.amos.boot.biz.common.bo.RoleBo
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
com.yeejoin.amos.boot.biz.common.utils.CommonResponseUtil
;
import
com.yeejoin.amos.boot.module.jcs.biz.service.impl.RemoteSecurityService
;
import
com.yeejoin.amos.component.feign.model.FeignClientResult
;
import
com.yeejoin.amos.feign.privilege.model.AgencyUserModel
;
import
com.yeejoin.amos.feign.privilege.model.CompanyModel
;
import
com.yeejoin.amos.feign.privilege.model.DepartmentModel
;
import
com.yeejoin.amos.feign.privilege.model.IdPasswordAuthModel
;
import
com.yeejoin.amos.feign.privilege.model.RoleModel
;
import
com.yeejoin.amos.feign.systemctl.model.DictionarieValueModel
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiParam
;
import
org.slf4j.Logger
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
@@ -51,16 +37,27 @@ import org.typroject.tyboot.core.foundation.utils.Bean;
...
@@ -51,16 +37,27 @@ import org.typroject.tyboot.core.foundation.utils.Bean;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
java.io.IOException
;
import
com.alibaba.fastjson.JSON
;
import
java.lang.reflect.Field
;
import
com.alibaba.fastjson.JSONArray
;
import
java.util.ArrayList
;
import
com.alibaba.fastjson.JSONObject
;
import
java.util.HashMap
;
import
com.google.common.collect.Maps
;
import
java.util.Iterator
;
import
com.yeejoin.amos.boot.biz.common.bo.CompanyBo
;
import
java.util.LinkedHashMap
;
import
com.yeejoin.amos.boot.biz.common.bo.DepartmentBo
;
import
java.util.List
;
import
com.yeejoin.amos.boot.biz.common.bo.ReginParams
;
import
java.util.Map
;
import
com.yeejoin.amos.boot.biz.common.bo.RoleBo
;
import
java.util.UUID
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
java.util.stream.Collectors
;
import
com.yeejoin.amos.boot.biz.common.utils.CommonResponseUtil
;
import
com.yeejoin.amos.boot.module.jcs.biz.service.impl.RemoteSecurityService
;
import
com.yeejoin.amos.component.feign.model.FeignClientResult
;
import
com.yeejoin.amos.feign.privilege.model.AgencyUserModel
;
import
com.yeejoin.amos.feign.privilege.model.CompanyModel
;
import
com.yeejoin.amos.feign.privilege.model.DepartmentModel
;
import
com.yeejoin.amos.feign.privilege.model.RoleModel
;
import
com.yeejoin.amos.feign.systemctl.model.DictionarieValueModel
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiParam
;
/**
/**
* 获取用户信息
* 获取用户信息
...
@@ -68,7 +65,7 @@ import java.util.stream.Collectors;
...
@@ -68,7 +65,7 @@ import java.util.stream.Collectors;
* @author gaodongdong
* @author gaodongdong
*/
*/
@RestController
@RestController
@RequestMapping
(
value
=
"/
api/
user"
)
@RequestMapping
(
value
=
"/user"
)
@Api
(
tags
=
"用户信息api"
)
@Api
(
tags
=
"用户信息api"
)
public
class
UserController
extends
BaseController
{
public
class
UserController
extends
BaseController
{
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/service/impl/DemoServiceImpl.java
deleted
100644 → 0
View file @
bd7bf1f3
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jcs
.
biz
.
service
.
impl
;
import
org.springframework.stereotype.Service
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yeejoin.amos.boot.module.jcs.api.entity.CbDemo
;
import
com.yeejoin.amos.boot.module.jcs.api.mapper.DemoMapper
;
import
com.yeejoin.amos.boot.module.jcs.api.service.IDemoService
;
import
lombok.extern.slf4j.Slf4j
;
/**
* <p>
* 示例 服务实现类
* </p>
*
* @Author: 李成龙
* @Date: 2021-5-27
*/
@Service
@Slf4j
public
class
DemoServiceImpl
extends
ServiceImpl
<
DemoMapper
,
CbDemo
>
implements
IDemoService
{
@Override
public
CbDemo
selectOneBySeqNbr
(
Long
seqNbr
)
{
CbDemo
demo
=
this
.
getBaseMapper
().
selectOneBySeqNbr
(
seqNbr
);
return
demo
;
}
}
amos-boot-module/amos-boot-module-biz/pom.xml
View file @
291d3deb
...
@@ -17,5 +17,6 @@
...
@@ -17,5 +17,6 @@
<module>
amos-boot-module-tzs-biz
</module>
<module>
amos-boot-module-tzs-biz
</module>
<module>
amos-boot-module-jcs-biz
</module>
<module>
amos-boot-module-jcs-biz
</module>
<module>
amos-boot-module-demo-biz
</module>
<module>
amos-boot-module-demo-biz
</module>
<module>
amos-boot-module-common-biz
</module>
</modules>
</modules>
</project>
</project>
\ No newline at end of file
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