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
869641d5
Commit
869641d5
authored
Sep 04, 2023
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
经销商人员信息
parent
73658edf
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
640 additions
and
0 deletions
+640
-0
PersonnelBusinessDto.java
...n/amos/boot/module/hygf/api/dto/PersonnelBusinessDto.java
+54
-0
PersonnelQualificationsDto.java
.../boot/module/hygf/api/dto/PersonnelQualificationsDto.java
+54
-0
PersonnelBusiness.java
...n/amos/boot/module/hygf/api/entity/PersonnelBusiness.java
+85
-0
PersonnelQualifications.java
.../boot/module/hygf/api/entity/PersonnelQualifications.java
+85
-0
PersonnelBusinessMapper.java
.../boot/module/hygf/api/mapper/PersonnelBusinessMapper.java
+14
-0
PersonnelQualificationsMapper.java
...module/hygf/api/mapper/PersonnelQualificationsMapper.java
+14
-0
IPersonnelBusinessService.java
...ot/module/hygf/api/service/IPersonnelBusinessService.java
+12
-0
IPersonnelQualificationsService.java
...ule/hygf/api/service/IPersonnelQualificationsService.java
+12
-0
PersonnelBusinessMapper.xml
...api/src/main/resources/mapper/PersonnelBusinessMapper.xml
+5
-0
PersonnelQualificationsMapper.xml
...c/main/resources/mapper/PersonnelQualificationsMapper.xml
+5
-0
PersonnelBusinessController.java
...dule/hygf/biz/controller/PersonnelBusinessController.java
+116
-0
PersonnelQualificationsController.java
...ygf/biz/controller/PersonnelQualificationsController.java
+116
-0
PersonnelBusinessServiceImpl.java
...e/hygf/biz/service/impl/PersonnelBusinessServiceImpl.java
+34
-0
PersonnelQualificationsServiceImpl.java
.../biz/service/impl/PersonnelQualificationsServiceImpl.java
+34
-0
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/dto/PersonnelBusinessDto.java
0 → 100644
View file @
869641d5
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
com.yeejoin.amos.boot.biz.common.dto.BaseDto
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.util.Date
;
/**
* 人员业务信息表
*
* @author system_generator
* @date 2023-09-01
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"PersonnelBusinessDto"
,
description
=
"人员业务信息表"
)
public
class
PersonnelBusinessDto
extends
BaseDto
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"所属区域公司id"
)
private
Long
regionalCompaniesSeq
;
@ApiModelProperty
(
value
=
"所属区域公司名称"
)
private
String
regionalCompaniesName
;
@ApiModelProperty
(
value
=
"所属区域公司code"
)
private
String
regionalCompaniesCode
;
@ApiModelProperty
(
value
=
"证书"
)
private
String
certificate
;
@ApiModelProperty
(
value
=
"业务单位名称"
)
private
String
businessUnitName
;
@ApiModelProperty
(
value
=
"业务单位id"
)
private
Long
businessUnitId
;
@ApiModelProperty
(
value
=
"业务经销商id"
)
private
Long
dealerId
;
@ApiModelProperty
(
value
=
"平台经销商单位id"
)
private
Long
amosDealerId
;
@ApiModelProperty
(
value
=
"平台经销商code"
)
private
String
amosDealerCode
;
@ApiModelProperty
(
value
=
"用户基础表id"
)
private
Long
foundationId
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/dto/PersonnelQualificationsDto.java
0 → 100644
View file @
869641d5
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
dto
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
com.yeejoin.amos.boot.biz.common.dto.BaseDto
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.util.Date
;
/**
* 证书
*
* @author system_generator
* @date 2023-09-01
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"PersonnelQualificationsDto"
,
description
=
"证书"
)
public
class
PersonnelQualificationsDto
extends
BaseDto
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"证书类型"
)
private
String
certificateType
;
@ApiModelProperty
(
value
=
"证书名称"
)
private
String
certificateName
;
@ApiModelProperty
(
value
=
"取证项目"
)
private
String
obtainProject
;
@ApiModelProperty
(
value
=
" 发证单位"
)
private
String
certificateIssuanceUnit
;
@ApiModelProperty
(
value
=
"证书编号"
)
private
String
certificateNumber
;
@ApiModelProperty
(
value
=
"取证时间"
)
private
Date
obtainEvidenceTime
;
@ApiModelProperty
(
value
=
"有效期限"
)
private
Date
validPeriod
;
@ApiModelProperty
(
value
=
"证书等级"
)
private
String
certificateLevel
;
@ApiModelProperty
(
value
=
"附件"
)
private
String
annex
;
@ApiModelProperty
(
value
=
"经销商人员id"
)
private
Long
personnelId
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/entity/PersonnelBusiness.java
0 → 100644
View file @
869641d5
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
entity
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
/**
* 人员业务信息表
*
* @author system_generator
* @date 2023-09-01
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@Accessors
(
chain
=
true
)
@TableName
(
"hygf_personnel_business"
)
public
class
PersonnelBusiness
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 所属区域公司id
*/
@TableField
(
"regional_companies_seq"
)
private
Long
regionalCompaniesSeq
;
/**
* 所属区域公司名称
*/
@TableField
(
"regional_companies_name"
)
private
String
regionalCompaniesName
;
/**
* 所属区域公司code
*/
@TableField
(
"regional_companies_code"
)
private
String
regionalCompaniesCode
;
/**
* 证书
*/
@TableField
(
"certificate"
)
private
String
certificate
;
/**
* 业务单位名称
*/
@TableField
(
"business_unit_name"
)
private
String
businessUnitName
;
/**
* 业务单位id
*/
@TableField
(
"business_unit_id"
)
private
Long
businessUnitId
;
/**
* 业务经销商id
*/
@TableField
(
"dealer_id"
)
private
Long
dealerId
;
/**
* 平台经销商单位id
*/
@TableField
(
"amos_dealer_id"
)
private
Long
amosDealerId
;
/**
* 平台经销商code
*/
@TableField
(
"amos_dealer_code"
)
private
String
amosDealerCode
;
/**
* 用户基础表id
*/
@TableField
(
"foundation_id"
)
private
Long
foundationId
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/entity/PersonnelQualifications.java
0 → 100644
View file @
869641d5
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
entity
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yeejoin.amos.boot.biz.common.entity.BaseEntity
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
lombok.experimental.Accessors
;
import
java.util.Date
;
/**
* 证书
*
* @author system_generator
* @date 2023-09-01
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@Accessors
(
chain
=
true
)
@TableName
(
"hygf_personnel_qualifications"
)
public
class
PersonnelQualifications
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 证书类型
*/
@TableField
(
"certificate_type"
)
private
String
certificateType
;
/**
* 证书名称
*/
@TableField
(
"certificate_name"
)
private
String
certificateName
;
/**
* 取证项目
*/
@TableField
(
"obtain_project"
)
private
String
obtainProject
;
/**
* 发证单位
*/
@TableField
(
"certificate_issuance_unit"
)
private
String
certificateIssuanceUnit
;
/**
* 证书编号
*/
@TableField
(
"certificate_number"
)
private
String
certificateNumber
;
/**
* 取证时间
*/
@TableField
(
"obtain_evidence_time"
)
private
Date
obtainEvidenceTime
;
/**
* 有效期限
*/
@TableField
(
"valid_period"
)
private
Date
validPeriod
;
/**
* 证书等级
*/
@TableField
(
"certificate_level"
)
private
String
certificateLevel
;
/**
* 附件
*/
@TableField
(
"annex"
)
private
String
annex
;
/**
* 经销商人员id
*/
@TableField
(
"personnel_id"
)
private
Long
personnelId
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/mapper/PersonnelBusinessMapper.java
0 → 100644
View file @
869641d5
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
mapper
;
import
com.yeejoin.amos.boot.module.hygf.api.entity.PersonnelBusiness
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* 人员业务信息表 Mapper 接口
*
* @author system_generator
* @date 2023-09-01
*/
public
interface
PersonnelBusinessMapper
extends
BaseMapper
<
PersonnelBusiness
>
{
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/mapper/PersonnelQualificationsMapper.java
0 → 100644
View file @
869641d5
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
mapper
;
import
com.yeejoin.amos.boot.module.hygf.api.entity.PersonnelQualifications
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* 证书 Mapper 接口
*
* @author system_generator
* @date 2023-09-01
*/
public
interface
PersonnelQualificationsMapper
extends
BaseMapper
<
PersonnelQualifications
>
{
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/service/IPersonnelBusinessService.java
0 → 100644
View file @
869641d5
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
service
;
/**
* 人员业务信息表接口类
*
* @author system_generator
* @date 2023-09-01
*/
public
interface
IPersonnelBusinessService
{
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/service/IPersonnelQualificationsService.java
0 → 100644
View file @
869641d5
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
api
.
service
;
/**
* 证书接口类
*
* @author system_generator
* @date 2023-09-01
*/
public
interface
IPersonnelQualificationsService
{
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/PersonnelBusinessMapper.xml
0 → 100644
View file @
869641d5
<?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.jxiop.api.mapper.PersonnelBusinessMapper"
>
</mapper>
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/PersonnelQualificationsMapper.xml
0 → 100644
View file @
869641d5
<?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.jxiop.api.mapper.PersonnelQualificationsMapper"
>
</mapper>
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/PersonnelBusinessController.java
0 → 100644
View file @
869641d5
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
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.hygf.biz.service.impl.PersonnelBusinessServiceImpl
;
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.hygf.api.dto.PersonnelBusinessDto
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
/**
* 人员业务信息表
*
* @author system_generator
* @date 2023-09-01
*/
@RestController
@Api
(
tags
=
"人员业务信息表Api"
)
@RequestMapping
(
value
=
"/personnel-business"
)
public
class
PersonnelBusinessController
extends
BaseController
{
@Autowired
PersonnelBusinessServiceImpl
personnelBusinessServiceImpl
;
/**
* 新增人员业务信息表
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/save"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增人员业务信息表"
,
notes
=
"新增人员业务信息表"
)
public
ResponseModel
<
PersonnelBusinessDto
>
save
(
@RequestBody
PersonnelBusinessDto
model
)
{
model
=
personnelBusinessServiceImpl
.
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
<
PersonnelBusinessDto
>
updateBySequenceNbrPersonnelBusiness
(
@RequestBody
PersonnelBusinessDto
model
,
@PathVariable
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
)
{
model
.
setSequenceNbr
(
sequenceNbr
);
return
ResponseHelper
.
buildResponse
(
personnelBusinessServiceImpl
.
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
(
personnelBusinessServiceImpl
.
removeById
(
sequenceNbr
));
}
/**
* 根据sequenceNbr查询
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据sequenceNbr查询单个人员业务信息表"
,
notes
=
"根据sequenceNbr查询单个人员业务信息表"
)
public
ResponseModel
<
PersonnelBusinessDto
>
selectOne
(
@PathVariable
Long
sequenceNbr
)
{
return
ResponseHelper
.
buildResponse
(
personnelBusinessServiceImpl
.
queryBySeq
(
sequenceNbr
));
}
/**
* 列表分页查询
*
* @param current 当前页
* @param current 每页大小
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/page"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"人员业务信息表分页查询"
,
notes
=
"人员业务信息表分页查询"
)
public
ResponseModel
<
Page
<
PersonnelBusinessDto
>>
queryForPage
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"size"
)
int
size
)
{
Page
<
PersonnelBusinessDto
>
page
=
new
Page
<
PersonnelBusinessDto
>();
page
.
setCurrent
(
current
);
page
.
setSize
(
size
);
return
ResponseHelper
.
buildResponse
(
personnelBusinessServiceImpl
.
queryForPersonnelBusinessPage
(
page
));
}
/**
* 列表全部数据查询
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"人员业务信息表列表全部数据查询"
,
notes
=
"人员业务信息表列表全部数据查询"
)
@GetMapping
(
value
=
"/list"
)
public
ResponseModel
<
List
<
PersonnelBusinessDto
>>
selectForList
()
{
return
ResponseHelper
.
buildResponse
(
personnelBusinessServiceImpl
.
queryForPersonnelBusinessList
());
}
}
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/PersonnelQualificationsController.java
0 → 100644
View file @
869641d5
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
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.hygf.biz.service.impl.PersonnelQualificationsServiceImpl
;
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.hygf.api.dto.PersonnelQualificationsDto
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
/**
* 证书
*
* @author system_generator
* @date 2023-09-01
*/
@RestController
@Api
(
tags
=
"证书Api"
)
@RequestMapping
(
value
=
"/personnel-qualifications"
)
public
class
PersonnelQualificationsController
extends
BaseController
{
@Autowired
PersonnelQualificationsServiceImpl
personnelQualificationsServiceImpl
;
/**
* 新增证书
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/save"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增证书"
,
notes
=
"新增证书"
)
public
ResponseModel
<
PersonnelQualificationsDto
>
save
(
@RequestBody
PersonnelQualificationsDto
model
)
{
model
=
personnelQualificationsServiceImpl
.
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
<
PersonnelQualificationsDto
>
updateBySequenceNbrPersonnelQualifications
(
@RequestBody
PersonnelQualificationsDto
model
,
@PathVariable
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
)
{
model
.
setSequenceNbr
(
sequenceNbr
);
return
ResponseHelper
.
buildResponse
(
personnelQualificationsServiceImpl
.
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
(
personnelQualificationsServiceImpl
.
removeById
(
sequenceNbr
));
}
/**
* 根据sequenceNbr查询
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据sequenceNbr查询单个证书"
,
notes
=
"根据sequenceNbr查询单个证书"
)
public
ResponseModel
<
PersonnelQualificationsDto
>
selectOne
(
@PathVariable
Long
sequenceNbr
)
{
return
ResponseHelper
.
buildResponse
(
personnelQualificationsServiceImpl
.
queryBySeq
(
sequenceNbr
));
}
/**
* 列表分页查询
*
* @param current 当前页
* @param current 每页大小
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/page"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"证书分页查询"
,
notes
=
"证书分页查询"
)
public
ResponseModel
<
Page
<
PersonnelQualificationsDto
>>
queryForPage
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"size"
)
int
size
)
{
Page
<
PersonnelQualificationsDto
>
page
=
new
Page
<
PersonnelQualificationsDto
>();
page
.
setCurrent
(
current
);
page
.
setSize
(
size
);
return
ResponseHelper
.
buildResponse
(
personnelQualificationsServiceImpl
.
queryForPersonnelQualificationsPage
(
page
));
}
/**
* 列表全部数据查询
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"证书列表全部数据查询"
,
notes
=
"证书列表全部数据查询"
)
@GetMapping
(
value
=
"/list"
)
public
ResponseModel
<
List
<
PersonnelQualificationsDto
>>
selectForList
()
{
return
ResponseHelper
.
buildResponse
(
personnelQualificationsServiceImpl
.
queryForPersonnelQualificationsList
());
}
}
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/PersonnelBusinessServiceImpl.java
0 → 100644
View file @
869641d5
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
biz
.
service
.
impl
;
import
com.yeejoin.amos.boot.module.hygf.api.entity.PersonnelBusiness
;
import
com.yeejoin.amos.boot.module.hygf.api.mapper.PersonnelBusinessMapper
;
import
com.yeejoin.amos.boot.module.hygf.api.service.IPersonnelBusinessService
;
import
com.yeejoin.amos.boot.module.hygf.api.dto.PersonnelBusinessDto
;
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 2023-09-01
*/
@Service
public
class
PersonnelBusinessServiceImpl
extends
BaseService
<
PersonnelBusinessDto
,
PersonnelBusiness
,
PersonnelBusinessMapper
>
implements
IPersonnelBusinessService
{
/**
* 分页查询
*/
public
Page
<
PersonnelBusinessDto
>
queryForPersonnelBusinessPage
(
Page
<
PersonnelBusinessDto
>
page
)
{
return
this
.
queryForPage
(
page
,
null
,
false
);
}
/**
* 列表查询 示例
*/
public
List
<
PersonnelBusinessDto
>
queryForPersonnelBusinessList
()
{
return
this
.
queryForList
(
""
,
false
);
}
}
\ No newline at end of file
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/PersonnelQualificationsServiceImpl.java
0 → 100644
View file @
869641d5
package
com
.
yeejoin
.
amos
.
boot
.
module
.
hygf
.
biz
.
service
.
impl
;
import
com.yeejoin.amos.boot.module.hygf.api.entity.PersonnelQualifications
;
import
com.yeejoin.amos.boot.module.hygf.api.mapper.PersonnelQualificationsMapper
;
import
com.yeejoin.amos.boot.module.hygf.api.service.IPersonnelQualificationsService
;
import
com.yeejoin.amos.boot.module.hygf.api.dto.PersonnelQualificationsDto
;
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 2023-09-01
*/
@Service
public
class
PersonnelQualificationsServiceImpl
extends
BaseService
<
PersonnelQualificationsDto
,
PersonnelQualifications
,
PersonnelQualificationsMapper
>
implements
IPersonnelQualificationsService
{
/**
* 分页查询
*/
public
Page
<
PersonnelQualificationsDto
>
queryForPersonnelQualificationsPage
(
Page
<
PersonnelQualificationsDto
>
page
)
{
return
this
.
queryForPage
(
page
,
null
,
false
);
}
/**
* 列表查询 示例
*/
public
List
<
PersonnelQualificationsDto
>
queryForPersonnelQualificationsList
()
{
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