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
1424b63d
Commit
1424b63d
authored
Apr 01, 2024
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增投融管理
parent
b5cae41d
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
622 additions
and
0 deletions
+622
-0
FinancingAuditingDto.java
...n/amos/boot/module/hygf/api/dto/FinancingAuditingDto.java
+54
-0
FinancingInfoDto.java
...ejoin/amos/boot/module/hygf/api/dto/FinancingInfoDto.java
+48
-0
FinancingAuditing.java
...n/amos/boot/module/hygf/api/entity/FinancingAuditing.java
+85
-0
FinancingInfo.java
...ejoin/amos/boot/module/hygf/api/entity/FinancingInfo.java
+73
-0
FinancingAuditingMapper.java
.../boot/module/hygf/api/mapper/FinancingAuditingMapper.java
+14
-0
FinancingInfoMapper.java
...amos/boot/module/hygf/api/mapper/FinancingInfoMapper.java
+14
-0
IFinancingAuditingService.java
...ot/module/hygf/api/service/IFinancingAuditingService.java
+12
-0
IFinancingInfoService.java
...s/boot/module/hygf/api/service/IFinancingInfoService.java
+12
-0
FinancingAuditingMapper.xml
...api/src/main/resources/mapper/FinancingAuditingMapper.xml
+5
-0
FinancingInfoMapper.xml
...ygf-api/src/main/resources/mapper/FinancingInfoMapper.xml
+5
-0
FinancingAuditingController.java
...dule/hygf/biz/controller/FinancingAuditingController.java
+116
-0
FinancingInfoController.java
...t/module/hygf/biz/controller/FinancingInfoController.java
+116
-0
FinancingAuditingServiceImpl.java
...e/hygf/biz/service/impl/FinancingAuditingServiceImpl.java
+34
-0
FinancingInfoServiceImpl.java
...odule/hygf/biz/service/impl/FinancingInfoServiceImpl.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/FinancingAuditingDto.java
0 → 100644
View file @
1424b63d
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jxiop
.
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 2024-04-01
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"FinancingAuditingDto"
,
description
=
"投融审核表"
)
public
class
FinancingAuditingDto
extends
BaseDto
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"工作流实例ID"
)
private
String
instanceId
;
@ApiModelProperty
(
value
=
"下一个节点角色权限"
)
private
String
nextExecutorIds
;
@ApiModelProperty
(
value
=
"任务发起人id"
)
private
String
promoter
;
@ApiModelProperty
(
value
=
"流程下一节点id"
)
private
String
nextTaskId
;
@ApiModelProperty
(
value
=
"下一节点可执行人逗号分割"
)
private
String
nextExecuteUserIds
;
@ApiModelProperty
(
value
=
"工作流发起人id"
)
private
String
createUserId
;
@ApiModelProperty
(
value
=
"下个节点名称"
)
private
String
nextNodeName
;
@ApiModelProperty
(
value
=
"下个节点key"
)
private
String
nextNodeKey
;
@ApiModelProperty
(
value
=
"状态"
)
private
String
status
;
@ApiModelProperty
(
value
=
"农户id"
)
private
Long
peasantHouseholdId
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/dto/FinancingInfoDto.java
0 → 100644
View file @
1424b63d
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jxiop
.
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 2024-04-01
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@ApiModel
(
value
=
"FinancingInfoDto"
,
description
=
""
)
public
class
FinancingInfoDto
extends
BaseDto
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"所属融资公司id"
)
private
Long
financingCompaniesSeq
;
@ApiModelProperty
(
value
=
"所属融资公司名称"
)
private
String
financingCompaniesName
;
@ApiModelProperty
(
value
=
"所属融资公司code"
)
private
String
financingCompaniesCode
;
@ApiModelProperty
(
value
=
"农户id"
)
private
Long
peasantHouseholdId
;
@ApiModelProperty
(
value
=
"放款时间"
)
private
Date
disbursementTime
;
@ApiModelProperty
(
value
=
"元"
)
private
Double
disbursementMoney
;
@ApiModelProperty
(
value
=
"附件"
)
private
String
file
;
@ApiModelProperty
(
value
=
"状态"
)
private
String
status
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/entity/FinancingAuditing.java
0 → 100644
View file @
1424b63d
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jxiop
.
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 2024-04-01
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@Accessors
(
chain
=
true
)
@TableName
(
"hygf_financing_auditing"
)
public
class
FinancingAuditing
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 工作流实例ID
*/
@TableField
(
"instance_id"
)
private
String
instanceId
;
/**
* 下一个节点角色权限
*/
@TableField
(
"next_executor_ids"
)
private
String
nextExecutorIds
;
/**
* 任务发起人id
*/
@TableField
(
"promoter"
)
private
String
promoter
;
/**
* 流程下一节点id
*/
@TableField
(
"next_task_id"
)
private
String
nextTaskId
;
/**
* 下一节点可执行人逗号分割
*/
@TableField
(
"next_execute_user_ids"
)
private
String
nextExecuteUserIds
;
/**
* 工作流发起人id
*/
@TableField
(
"create_user_id"
)
private
String
createUserId
;
/**
* 下个节点名称
*/
@TableField
(
"next_node_name"
)
private
String
nextNodeName
;
/**
* 下个节点key
*/
@TableField
(
"next_node_key"
)
private
String
nextNodeKey
;
/**
* 状态
*/
@TableField
(
"status"
)
private
String
status
;
/**
* 农户id
*/
@TableField
(
"peasant_household_id"
)
private
Long
peasantHouseholdId
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/entity/FinancingInfo.java
0 → 100644
View file @
1424b63d
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jxiop
.
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 2024-04-01
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@Accessors
(
chain
=
true
)
@TableName
(
"hygf_financing_info"
)
public
class
FinancingInfo
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 所属融资公司id
*/
@TableField
(
"financing_companies_seq"
)
private
Long
financingCompaniesSeq
;
/**
* 所属融资公司名称
*/
@TableField
(
"financing_companies_name"
)
private
String
financingCompaniesName
;
/**
* 所属融资公司code
*/
@TableField
(
"financing_companies_code"
)
private
String
financingCompaniesCode
;
/**
* 农户id
*/
@TableField
(
"peasant_household_id"
)
private
Long
peasantHouseholdId
;
/**
* 放款时间
*/
@TableField
(
"disbursement_time"
)
private
Date
disbursementTime
;
/**
* 元
*/
@TableField
(
"disbursement_money"
)
private
Double
disbursementMoney
;
/**
* 附件
*/
@TableField
(
"file"
)
private
String
file
;
/**
* 状态
*/
@TableField
(
"status"
)
private
String
status
;
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/mapper/FinancingAuditingMapper.java
0 → 100644
View file @
1424b63d
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jxiop
.
api
.
mapper
;
import
com.yeejoin.amos.boot.module.jxiop.api.entity.FinancingAuditing
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* 投融审核表 Mapper 接口
*
* @author system_generator
* @date 2024-04-01
*/
public
interface
FinancingAuditingMapper
extends
BaseMapper
<
FinancingAuditing
>
{
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/mapper/FinancingInfoMapper.java
0 → 100644
View file @
1424b63d
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jxiop
.
api
.
mapper
;
import
com.yeejoin.amos.boot.module.jxiop.api.entity.FinancingInfo
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* Mapper 接口
*
* @author system_generator
* @date 2024-04-01
*/
public
interface
FinancingInfoMapper
extends
BaseMapper
<
FinancingInfo
>
{
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/service/IFinancingAuditingService.java
0 → 100644
View file @
1424b63d
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jxiop
.
api
.
service
;
/**
* 投融审核表接口类
*
* @author system_generator
* @date 2024-04-01
*/
public
interface
IFinancingAuditingService
{
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/java/com/yeejoin/amos/boot/module/hygf/api/service/IFinancingInfoService.java
0 → 100644
View file @
1424b63d
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jxiop
.
api
.
service
;
/**
* 接口类
*
* @author system_generator
* @date 2024-04-01
*/
public
interface
IFinancingInfoService
{
}
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/FinancingAuditingMapper.xml
0 → 100644
View file @
1424b63d
<?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.FinancingAuditingMapper"
>
</mapper>
amos-boot-system-jxiop/amos-boot-module-hygf-api/src/main/resources/mapper/FinancingInfoMapper.xml
0 → 100644
View file @
1424b63d
<?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.FinancingInfoMapper"
>
</mapper>
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/FinancingAuditingController.java
0 → 100644
View file @
1424b63d
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jxiop
.
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.jxiop.biz.service.impl.FinancingAuditingServiceImpl
;
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.jxiop.api.dto.FinancingAuditingDto
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
/**
* 投融审核表
*
* @author system_generator
* @date 2024-04-01
*/
@RestController
@Api
(
tags
=
"投融审核表Api"
)
@RequestMapping
(
value
=
"/financing-auditing"
)
public
class
FinancingAuditingController
extends
BaseController
{
@Autowired
FinancingAuditingServiceImpl
financingAuditingServiceImpl
;
/**
* 新增投融审核表
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/save"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增投融审核表"
,
notes
=
"新增投融审核表"
)
public
ResponseModel
<
FinancingAuditingDto
>
save
(
@RequestBody
FinancingAuditingDto
model
)
{
model
=
financingAuditingServiceImpl
.
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
<
FinancingAuditingDto
>
updateBySequenceNbrFinancingAuditing
(
@RequestBody
FinancingAuditingDto
model
,
@PathVariable
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
)
{
model
.
setSequenceNbr
(
sequenceNbr
);
return
ResponseHelper
.
buildResponse
(
financingAuditingServiceImpl
.
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
(
financingAuditingServiceImpl
.
removeById
(
sequenceNbr
));
}
/**
* 根据sequenceNbr查询
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据sequenceNbr查询单个投融审核表"
,
notes
=
"根据sequenceNbr查询单个投融审核表"
)
public
ResponseModel
<
FinancingAuditingDto
>
selectOne
(
@PathVariable
Long
sequenceNbr
)
{
return
ResponseHelper
.
buildResponse
(
financingAuditingServiceImpl
.
queryBySeq
(
sequenceNbr
));
}
/**
* 列表分页查询
*
* @param current 当前页
* @param current 每页大小
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/page"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"投融审核表分页查询"
,
notes
=
"投融审核表分页查询"
)
public
ResponseModel
<
Page
<
FinancingAuditingDto
>>
queryForPage
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"size"
)
int
size
)
{
Page
<
FinancingAuditingDto
>
page
=
new
Page
<
FinancingAuditingDto
>();
page
.
setCurrent
(
current
);
page
.
setSize
(
size
);
return
ResponseHelper
.
buildResponse
(
financingAuditingServiceImpl
.
queryForFinancingAuditingPage
(
page
));
}
/**
* 列表全部数据查询
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"投融审核表列表全部数据查询"
,
notes
=
"投融审核表列表全部数据查询"
)
@GetMapping
(
value
=
"/list"
)
public
ResponseModel
<
List
<
FinancingAuditingDto
>>
selectForList
()
{
return
ResponseHelper
.
buildResponse
(
financingAuditingServiceImpl
.
queryForFinancingAuditingList
());
}
}
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/controller/FinancingInfoController.java
0 → 100644
View file @
1424b63d
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jxiop
.
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.jxiop.biz.service.impl.FinancingInfoServiceImpl
;
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.jxiop.api.dto.FinancingInfoDto
;
import
org.typroject.tyboot.core.restful.doc.TycloudOperation
;
import
org.typroject.tyboot.core.foundation.enumeration.UserType
;
/**
*
*
* @author system_generator
* @date 2024-04-01
*/
@RestController
@Api
(
tags
=
"Api"
)
@RequestMapping
(
value
=
"/financing-info"
)
public
class
FinancingInfoController
extends
BaseController
{
@Autowired
FinancingInfoServiceImpl
financingInfoServiceImpl
;
/**
* 新增
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/save"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"新增"
,
notes
=
"新增"
)
public
ResponseModel
<
FinancingInfoDto
>
save
(
@RequestBody
FinancingInfoDto
model
)
{
model
=
financingInfoServiceImpl
.
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
<
FinancingInfoDto
>
updateBySequenceNbrFinancingInfo
(
@RequestBody
FinancingInfoDto
model
,
@PathVariable
(
value
=
"sequenceNbr"
)
Long
sequenceNbr
)
{
model
.
setSequenceNbr
(
sequenceNbr
);
return
ResponseHelper
.
buildResponse
(
financingInfoServiceImpl
.
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
(
financingInfoServiceImpl
.
removeById
(
sequenceNbr
));
}
/**
* 根据sequenceNbr查询
*
* @param sequenceNbr 主键
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/{sequenceNbr}"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"根据sequenceNbr查询单个"
,
notes
=
"根据sequenceNbr查询单个"
)
public
ResponseModel
<
FinancingInfoDto
>
selectOne
(
@PathVariable
Long
sequenceNbr
)
{
return
ResponseHelper
.
buildResponse
(
financingInfoServiceImpl
.
queryBySeq
(
sequenceNbr
));
}
/**
* 列表分页查询
*
* @param current 当前页
* @param current 每页大小
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/page"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"分页查询"
,
notes
=
"分页查询"
)
public
ResponseModel
<
Page
<
FinancingInfoDto
>>
queryForPage
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"size"
)
int
size
)
{
Page
<
FinancingInfoDto
>
page
=
new
Page
<
FinancingInfoDto
>();
page
.
setCurrent
(
current
);
page
.
setSize
(
size
);
return
ResponseHelper
.
buildResponse
(
financingInfoServiceImpl
.
queryForFinancingInfoPage
(
page
));
}
/**
* 列表全部数据查询
*
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"列表全部数据查询"
,
notes
=
"列表全部数据查询"
)
@GetMapping
(
value
=
"/list"
)
public
ResponseModel
<
List
<
FinancingInfoDto
>>
selectForList
()
{
return
ResponseHelper
.
buildResponse
(
financingInfoServiceImpl
.
queryForFinancingInfoList
());
}
}
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/java/com/yeejoin/amos/boot/module/hygf/biz/service/impl/FinancingAuditingServiceImpl.java
0 → 100644
View file @
1424b63d
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jxiop
.
biz
.
service
.
impl
;
import
com.yeejoin.amos.boot.module.jxiop.api.entity.FinancingAuditing
;
import
com.yeejoin.amos.boot.module.jxiop.api.mapper.FinancingAuditingMapper
;
import
com.yeejoin.amos.boot.module.jxiop.api.service.IFinancingAuditingService
;
import
com.yeejoin.amos.boot.module.jxiop.api.dto.FinancingAuditingDto
;
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 2024-04-01
*/
@Service
public
class
FinancingAuditingServiceImpl
extends
BaseService
<
FinancingAuditingDto
,
FinancingAuditing
,
FinancingAuditingMapper
>
implements
IFinancingAuditingService
{
/**
* 分页查询
*/
public
Page
<
FinancingAuditingDto
>
queryForFinancingAuditingPage
(
Page
<
FinancingAuditingDto
>
page
)
{
return
this
.
queryForPage
(
page
,
null
,
false
);
}
/**
* 列表查询 示例
*/
public
List
<
FinancingAuditingDto
>
queryForFinancingAuditingList
()
{
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/FinancingInfoServiceImpl.java
0 → 100644
View file @
1424b63d
package
com
.
yeejoin
.
amos
.
boot
.
module
.
jxiop
.
biz
.
service
.
impl
;
import
com.yeejoin.amos.boot.module.jxiop.api.entity.FinancingInfo
;
import
com.yeejoin.amos.boot.module.jxiop.api.mapper.FinancingInfoMapper
;
import
com.yeejoin.amos.boot.module.jxiop.api.service.IFinancingInfoService
;
import
com.yeejoin.amos.boot.module.jxiop.api.dto.FinancingInfoDto
;
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 2024-04-01
*/
@Service
public
class
FinancingInfoServiceImpl
extends
BaseService
<
FinancingInfoDto
,
FinancingInfo
,
FinancingInfoMapper
>
implements
IFinancingInfoService
{
/**
* 分页查询
*/
public
Page
<
FinancingInfoDto
>
queryForFinancingInfoPage
(
Page
<
FinancingInfoDto
>
page
)
{
return
this
.
queryForPage
(
page
,
null
,
false
);
}
/**
* 列表查询 示例
*/
public
List
<
FinancingInfoDto
>
queryForFinancingInfoList
()
{
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