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
3f5eb7c4
Commit
3f5eb7c4
authored
Jul 22, 2021
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加前线联络,以及战评总结
parent
b7932911
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
576 additions
and
0 deletions
+576
-0
AlertSummaryDto.java
...oin/amos/boot/module/command/api/dto/AlertSummaryDto.java
+34
-0
FrontlineLiaisonDto.java
...amos/boot/module/command/api/dto/FrontlineLiaisonDto.java
+39
-0
AlertSummary.java
...oin/amos/boot/module/command/api/entity/AlertSummary.java
+42
-0
BasEntity.java
...eejoin/amos/boot/module/command/api/entity/BasEntity.java
+45
-0
FrontlineLiaison.java
...amos/boot/module/command/api/entity/FrontlineLiaison.java
+54
-0
AlertSummaryMapper.java
...os/boot/module/command/api/mapper/AlertSummaryMapper.java
+14
-0
FrontlineLiaisonMapper.java
...oot/module/command/api/mapper/FrontlineLiaisonMapper.java
+14
-0
IAlertSummaryService.java
...boot/module/command/api/service/IAlertSummaryService.java
+12
-0
IFrontlineLiaisonService.java
.../module/command/api/service/IFrontlineLiaisonService.java
+12
-0
AlertSummaryMapper.xml
...mand-api/src/main/resources/mapper/AlertSummaryMapper.xml
+5
-0
FrontlineLiaisonMapper.xml
...-api/src/main/resources/mapper/FrontlineLiaisonMapper.xml
+5
-0
AlertSummaryController.java
...module/command/biz/controller/AlertSummaryController.java
+116
-0
FrontlineLiaisonController.java
...le/command/biz/controller/FrontlineLiaisonController.java
+116
-0
AlertSummaryServiceImpl.java
...ule/command/biz/service/impl/AlertSummaryServiceImpl.java
+34
-0
FrontlineLiaisonServiceImpl.java
...command/biz/service/impl/FrontlineLiaisonServiceImpl.java
+34
-0
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-command-api/src/main/java/com/yeejoin/amos/boot/module/command/api/dto/AlertSummaryDto.java
0 → 100644
View file @
3f5eb7c4
package
com
.
yeejoin
.
amos
.
boot
.
module
.
command
.
api
.
dto
;
import
com.yeejoin.amos.boot.module.command.api.entity.BasEntity
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.util.Date
;
/**
*
*
* @author system_generator
* @date 2021-07-22
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"AlertSummaryDto"
,
description
=
""
)
public
class
AlertSummaryDto
extends
BasEntity
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"警情id"
)
private
Long
alertCalledId
;
@ApiModelProperty
(
value
=
"文件名称"
)
private
String
name
;
@ApiModelProperty
(
value
=
"文件地址"
)
private
String
url
;
}
amos-boot-module/amos-boot-module-api/amos-boot-module-command-api/src/main/java/com/yeejoin/amos/boot/module/command/api/dto/FrontlineLiaisonDto.java
0 → 100644
View file @
3f5eb7c4
package
com
.
yeejoin
.
amos
.
boot
.
module
.
command
.
api
.
dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.util.Date
;
import
com.yeejoin.amos.boot.module.command.api.entity.BasEntity
;
/**
* 前线联络员
*
* @author system_generator
* @date 2021-07-22
*/
@Data
@ApiModel
(
value
=
"FrontlineLiaisonDto"
,
description
=
"前线联络员"
)
public
class
FrontlineLiaisonDto
extends
BasEntity
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"姓名"
)
private
String
name
;
@ApiModelProperty
(
value
=
"联系电话"
)
private
String
phone
;
@ApiModelProperty
(
value
=
"岗位名称"
)
private
String
jobTitle
;
@ApiModelProperty
(
value
=
"岗位数据字典code"
)
private
String
jobTitleCode
;
@ApiModelProperty
(
value
=
"灾情信息id"
)
private
Long
alertCalledId
;
}
amos-boot-module/amos-boot-module-api/amos-boot-module-command-api/src/main/java/com/yeejoin/amos/boot/module/command/api/entity/AlertSummary.java
0 → 100644
View file @
3f5eb7c4
package
com
.
yeejoin
.
amos
.
boot
.
module
.
command
.
api
.
entity
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
/**
*
*
* @author system_generator
* @date 2021-07-22
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@Accessors
(
chain
=
true
)
@TableName
(
"jc_alert_summary"
)
public
class
AlertSummary
extends
BasEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 警情id
*/
@TableField
(
"alert_called_id"
)
private
Long
alertCalledId
;
/**
* 文件名称
*/
@TableField
(
"name"
)
private
String
name
;
/**
* 文件地址
*/
@TableField
(
"url"
)
private
String
url
;
}
amos-boot-module/amos-boot-module-api/amos-boot-module-command-api/src/main/java/com/yeejoin/amos/boot/module/command/api/entity/BasEntity.java
0 → 100644
View file @
3f5eb7c4
package
com
.
yeejoin
.
amos
.
boot
.
module
.
command
.
api
.
entity
;
/**
* @description:
* @author: tw
* @createDate: 2021/7/22
*/
import
com.baomidou.mybatisplus.annotation.FieldFill
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* 公共实体类
*
* @author DELL
*/
@Data
public
class
BasEntity
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@TableId
(
value
=
"sequence_nbr"
,
type
=
IdType
.
ID_WORKER
)
protected
Long
sequenceNbr
;
@TableField
(
value
=
"rec_date"
,
fill
=
FieldFill
.
INSERT_UPDATE
)
protected
Date
recDate
;
@TableField
(
value
=
"rec_user_id"
,
fill
=
FieldFill
.
INSERT_UPDATE
)
protected
String
recUserId
;
@TableField
(
value
=
"rec_user_name"
,
fill
=
FieldFill
.
INSERT_UPDATE
)
protected
String
recUserName
;
/**
* 是否删除
*/
@TableField
(
value
=
"is_delete"
)
private
Boolean
isDelete
;
}
amos-boot-module/amos-boot-module-api/amos-boot-module-command-api/src/main/java/com/yeejoin/amos/boot/module/command/api/entity/FrontlineLiaison.java
0 → 100644
View file @
3f5eb7c4
package
com
.
yeejoin
.
amos
.
boot
.
module
.
command
.
api
.
entity
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
/**
* 前线联络员
*
* @author system_generator
* @date 2021-07-22
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@Accessors
(
chain
=
true
)
@TableName
(
"jc_frontline_liaison"
)
public
class
FrontlineLiaison
extends
BasEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 姓名
*/
@TableField
(
"name"
)
private
String
name
;
/**
* 联系电话
*/
@TableField
(
"phone"
)
private
String
phone
;
/**
* 岗位名称
*/
@TableField
(
"job_title"
)
private
String
jobTitle
;
/**
* 岗位数据字典code
*/
@TableField
(
"job_title_code"
)
private
String
jobTitleCode
;
/**
* 灾情信息id
*/
@TableField
(
"alert_called_id"
)
private
Long
alertCalledId
;
}
amos-boot-module/amos-boot-module-api/amos-boot-module-command-api/src/main/java/com/yeejoin/amos/boot/module/command/api/mapper/AlertSummaryMapper.java
0 → 100644
View file @
3f5eb7c4
package
com
.
yeejoin
.
amos
.
boot
.
module
.
command
.
api
.
mapper
;
import
com.yeejoin.amos.boot.module.command.api.entity.AlertSummary
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* Mapper 接口
*
* @author system_generator
* @date 2021-07-22
*/
public
interface
AlertSummaryMapper
extends
BaseMapper
<
AlertSummary
>
{
}
amos-boot-module/amos-boot-module-api/amos-boot-module-command-api/src/main/java/com/yeejoin/amos/boot/module/command/api/mapper/FrontlineLiaisonMapper.java
0 → 100644
View file @
3f5eb7c4
package
com
.
yeejoin
.
amos
.
boot
.
module
.
command
.
api
.
mapper
;
import
com.yeejoin.amos.boot.module.command.api.entity.FrontlineLiaison
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* 前线联络员 Mapper 接口
*
* @author system_generator
* @date 2021-07-22
*/
public
interface
FrontlineLiaisonMapper
extends
BaseMapper
<
FrontlineLiaison
>
{
}
amos-boot-module/amos-boot-module-api/amos-boot-module-command-api/src/main/java/com/yeejoin/amos/boot/module/command/api/service/IAlertSummaryService.java
0 → 100644
View file @
3f5eb7c4
package
com
.
yeejoin
.
amos
.
boot
.
module
.
command
.
api
.
service
;
/**
* 接口类
*
* @author system_generator
* @date 2021-07-22
*/
public
interface
IAlertSummaryService
{
}
amos-boot-module/amos-boot-module-api/amos-boot-module-command-api/src/main/java/com/yeejoin/amos/boot/module/command/api/service/IFrontlineLiaisonService.java
0 → 100644
View file @
3f5eb7c4
package
com
.
yeejoin
.
amos
.
boot
.
module
.
command
.
api
.
service
;
/**
* 前线联络员接口类
*
* @author system_generator
* @date 2021-07-22
*/
public
interface
IFrontlineLiaisonService
{
}
amos-boot-module/amos-boot-module-api/amos-boot-module-command-api/src/main/resources/mapper/AlertSummaryMapper.xml
0 → 100644
View file @
3f5eb7c4
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yeejoin.amos.boot.module.command.api.mapper.AlertSummaryMapper"
>
</mapper>
amos-boot-module/amos-boot-module-api/amos-boot-module-command-api/src/main/resources/mapper/FrontlineLiaisonMapper.xml
0 → 100644
View file @
3f5eb7c4
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yeejoin.amos.boot.module.command.api.mapper.FrontlineLiaisonMapper"
>
</mapper>
amos-boot-module/amos-boot-module-biz/amos-boot-module-command-biz/src/main/java/com/yeejoin/amos/boot/module/command/biz/controller/AlertSummaryController.java
0 → 100644
View file @
3f5eb7c4
package
com
.
yeejoin
.
amos
.
boot
.
module
.
command
.
biz
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.Api
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
java.util.List
;
import
com.yeejoin.amos.boot.module.command.biz.service.impl.AlertSummaryServiceImpl
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
javax.servlet.http.HttpServletRequest
;
import
org.springframework.web.bind.annotation.*
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.command.api.dto.AlertSummaryDto
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
/**
*
*
* @author system_generator
* @date 2021-07-22
*/
@RestController
@Api
(
tags
=
"Api"
)
@RequestMapping
(
value
=
"/command/alert-summary"
)
public
class
AlertSummaryController
extends
BaseController
{
@Autowired
AlertSummaryServiceImpl
alertSummaryServiceImpl
;
/**
* 新增
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/save"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增"
,
notes
=
"新增"
)
public
ResponseModel
<
AlertSummaryDto
>
save
(
@RequestBody
AlertSummaryDto
model
)
{
model
=
alertSummaryServiceImpl
.
createWithModel
(
model
);
return
ResponseHelper
.
buildResponse
(
model
);
}
/**
* 根据sequenceNbr更新
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PutMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"根据sequenceNbr更新"
,
notes
=
"根据sequenceNbr更新"
)
public
ResponseModel
<
AlertSummaryDto
>
updateBySequenceNbrAlertSummary
(
@RequestBody
AlertSummaryDto
model
,
@PathVariable
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
)
{
model
.
setSequenceNbr
(
sequenceNbr
);
return
ResponseHelper
.
buildResponse
(
alertSummaryServiceImpl
.
updateWithModel
(
model
));
}
/**
* 根据sequenceNbr删除
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@DeleteMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据sequenceNbr删除"
,
notes
=
"根据sequenceNbr删除"
)
public
ResponseModel
<
Boolean
>
deleteBySequenceNbr
(
HttpServletRequest
request
,
@PathVariable
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
){
return
ResponseHelper
.
buildResponse
(
alertSummaryServiceImpl
.
removeById
(
sequenceNbr
));
}
/**
* 根据sequenceNbr查询
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据sequenceNbr查询单个"
,
notes
=
"根据sequenceNbr查询单个"
)
public
ResponseModel
<
AlertSummaryDto
>
selectOne
(
@PathVariable
Long
sequenceNbr
)
{
return
ResponseHelper
.
buildResponse
(
alertSummaryServiceImpl
.
queryBySeq
(
sequenceNbr
));
}
/**
* 列表分页查询
*
* @param current 当前页
* @param current 每页大小
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/page"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"分页查询"
,
notes
=
"分页查询"
)
public
ResponseModel
<
Page
<
AlertSummaryDto
>>
queryForPage
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"size"
)
int
size
)
{
Page
<
AlertSummaryDto
>
page
=
new
Page
<
AlertSummaryDto
>();
page
.
setCurrent
(
current
);
page
.
setSize
(
size
);
return
ResponseHelper
.
buildResponse
(
alertSummaryServiceImpl
.
queryForAlertSummaryPage
(
page
));
}
/**
* 列表全部数据查询
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表全部数据查询"
,
notes
=
"列表全部数据查询"
)
@GetMapping
(
value
=
"/list"
)
public
ResponseModel
<
List
<
AlertSummaryDto
>>
selectForList
()
{
return
ResponseHelper
.
buildResponse
(
alertSummaryServiceImpl
.
queryForAlertSummaryList
());
}
}
amos-boot-module/amos-boot-module-biz/amos-boot-module-command-biz/src/main/java/com/yeejoin/amos/boot/module/command/biz/controller/FrontlineLiaisonController.java
0 → 100644
View file @
3f5eb7c4
package
com
.
yeejoin
.
amos
.
boot
.
module
.
command
.
biz
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.Api
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.yeejoin.amos.boot.biz.common.controller.BaseController
;
import
java.util.List
;
import
com.yeejoin.amos.boot.module.command.biz.service.impl.FrontlineLiaisonServiceImpl
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
javax.servlet.http.HttpServletRequest
;
import
org.springframework.web.bind.annotation.*
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yeejoin.amos.boot.module.command.api.dto.FrontlineLiaisonDto
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
/**
* 前线联络员
*
* @author system_generator
* @date 2021-07-22
*/
@RestController
@Api
(
tags
=
"前线联络员Api"
)
@RequestMapping
(
value
=
"/command/frontline-liaison"
)
public
class
FrontlineLiaisonController
extends
BaseController
{
@Autowired
FrontlineLiaisonServiceImpl
frontlineLiaisonServiceImpl
;
/**
* 新增前线联络员
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/save"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增前线联络员"
,
notes
=
"新增前线联络员"
)
public
ResponseModel
<
FrontlineLiaisonDto
>
save
(
@RequestBody
FrontlineLiaisonDto
model
)
{
model
=
frontlineLiaisonServiceImpl
.
createWithModel
(
model
);
return
ResponseHelper
.
buildResponse
(
model
);
}
/**
* 根据sequenceNbr更新
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PutMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"PUT"
,
value
=
"根据sequenceNbr更新前线联络员"
,
notes
=
"根据sequenceNbr更新前线联络员"
)
public
ResponseModel
<
FrontlineLiaisonDto
>
updateBySequenceNbrFrontlineLiaison
(
@RequestBody
FrontlineLiaisonDto
model
,
@PathVariable
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
)
{
model
.
setSequenceNbr
(
sequenceNbr
);
return
ResponseHelper
.
buildResponse
(
frontlineLiaisonServiceImpl
.
updateWithModel
(
model
));
}
/**
* 根据sequenceNbr删除
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@DeleteMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"DELETE"
,
value
=
"根据sequenceNbr删除前线联络员"
,
notes
=
"根据sequenceNbr删除前线联络员"
)
public
ResponseModel
<
Boolean
>
deleteBySequenceNbr
(
HttpServletRequest
request
,
@PathVariable
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
){
return
ResponseHelper
.
buildResponse
(
frontlineLiaisonServiceImpl
.
removeById
(
sequenceNbr
));
}
/**
* 根据sequenceNbr查询
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据sequenceNbr查询单个前线联络员"
,
notes
=
"根据sequenceNbr查询单个前线联络员"
)
public
ResponseModel
<
FrontlineLiaisonDto
>
selectOne
(
@PathVariable
Long
sequenceNbr
)
{
return
ResponseHelper
.
buildResponse
(
frontlineLiaisonServiceImpl
.
queryBySeq
(
sequenceNbr
));
}
/**
* 列表分页查询
*
* @param current 当前页
* @param current 每页大小
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/page"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"前线联络员分页查询"
,
notes
=
"前线联络员分页查询"
)
public
ResponseModel
<
Page
<
FrontlineLiaisonDto
>>
queryForPage
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"size"
)
int
size
)
{
Page
<
FrontlineLiaisonDto
>
page
=
new
Page
<
FrontlineLiaisonDto
>();
page
.
setCurrent
(
current
);
page
.
setSize
(
size
);
return
ResponseHelper
.
buildResponse
(
frontlineLiaisonServiceImpl
.
queryForFrontlineLiaisonPage
(
page
));
}
/**
* 列表全部数据查询
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"前线联络员列表全部数据查询"
,
notes
=
"前线联络员列表全部数据查询"
)
@GetMapping
(
value
=
"/list"
)
public
ResponseModel
<
List
<
FrontlineLiaisonDto
>>
selectForList
()
{
return
ResponseHelper
.
buildResponse
(
frontlineLiaisonServiceImpl
.
queryForFrontlineLiaisonList
());
}
}
amos-boot-module/amos-boot-module-biz/amos-boot-module-command-biz/src/main/java/com/yeejoin/amos/boot/module/command/biz/service/impl/AlertSummaryServiceImpl.java
0 → 100644
View file @
3f5eb7c4
package
com
.
yeejoin
.
amos
.
boot
.
module
.
command
.
biz
.
service
.
impl
;
import
com.yeejoin.amos.boot.module.command.api.entity.AlertSummary
;
import
com.yeejoin.amos.boot.module.command.api.mapper.AlertSummaryMapper
;
import
com.yeejoin.amos.boot.module.command.api.service.IAlertSummaryService
;
import
com.yeejoin.amos.boot.module.command.api.dto.AlertSummaryDto
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.springframework.stereotype.Service
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
java.util.List
;
/**
* 服务实现类
*
* @author system_generator
* @date 2021-07-22
*/
@Service
public
class
AlertSummaryServiceImpl
extends
BaseService
<
AlertSummaryDto
,
AlertSummary
,
AlertSummaryMapper
>
implements
IAlertSummaryService
{
/**
* 分页查询
*/
public
Page
<
AlertSummaryDto
>
queryForAlertSummaryPage
(
Page
<
AlertSummaryDto
>
page
)
{
return
this
.
queryForPage
(
page
,
null
,
false
);
}
/**
* 列表查询 示例
*/
public
List
<
AlertSummaryDto
>
queryForAlertSummaryList
()
{
return
this
.
queryForList
(
""
,
false
);
}
}
\ No newline at end of file
amos-boot-module/amos-boot-module-biz/amos-boot-module-command-biz/src/main/java/com/yeejoin/amos/boot/module/command/biz/service/impl/FrontlineLiaisonServiceImpl.java
0 → 100644
View file @
3f5eb7c4
package
com
.
yeejoin
.
amos
.
boot
.
module
.
command
.
biz
.
service
.
impl
;
import
com.yeejoin.amos.boot.module.command.api.entity.FrontlineLiaison
;
import
com.yeejoin.amos.boot.module.command.api.mapper.FrontlineLiaisonMapper
;
import
com.yeejoin.amos.boot.module.command.api.service.IFrontlineLiaisonService
;
import
com.yeejoin.amos.boot.module.command.api.dto.FrontlineLiaisonDto
;
import
org.typroject.tyboot.core.rdbms.service.BaseService
;
import
org.springframework.stereotype.Service
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
java.util.List
;
/**
* 前线联络员服务实现类
*
* @author system_generator
* @date 2021-07-22
*/
@Service
public
class
FrontlineLiaisonServiceImpl
extends
BaseService
<
FrontlineLiaisonDto
,
FrontlineLiaison
,
FrontlineLiaisonMapper
>
implements
IFrontlineLiaisonService
{
/**
* 分页查询
*/
public
Page
<
FrontlineLiaisonDto
>
queryForFrontlineLiaisonPage
(
Page
<
FrontlineLiaisonDto
>
page
)
{
return
this
.
queryForPage
(
page
,
null
,
false
);
}
/**
* 列表查询 示例
*/
public
List
<
FrontlineLiaisonDto
>
queryForFrontlineLiaisonList
()
{
return
this
.
queryForList
(
""
,
false
);
}
}
\ 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