Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
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
fangxinjiang
yifu-mvp
Commits
3e9b3830
Commit
3e9b3830
authored
Jul 15, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
社保公积金调整
parent
751fe473
Show whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
127 additions
and
128 deletions
+127
-128
pom.xml
yifu-social/pom.xml
+0
-1
pom.xml
yifu-social/yifu-social-biz/pom.xml
+2
-12
SysHouseHoldInfoController.java
...v1/yifu/social/controller/SysHouseHoldInfoController.java
+2
-3
SysPayProportionController.java
...v1/yifu/social/controller/SysPayProportionController.java
+0
-2
TAgentConfigController.java
...lus/v1/yifu/social/controller/TAgentConfigController.java
+1
-2
TAuditInfoController.java
.../plus/v1/yifu/social/controller/TAuditInfoController.java
+15
-10
TDispatchDayConfController.java
...v1/yifu/social/controller/TDispatchDayConfController.java
+12
-8
TDispatchInfoController.java
...us/v1/yifu/social/controller/TDispatchInfoController.java
+15
-10
TProvidentFundController.java
...s/v1/yifu/social/controller/TProvidentFundController.java
+15
-10
TSocialFundHistoryController.java
.../yifu/social/controller/TSocialFundHistoryController.java
+15
-10
TSocialFundInfoController.java
.../v1/yifu/social/controller/TSocialFundInfoController.java
+15
-10
TSocialInfoController.java
...plus/v1/yifu/social/controller/TSocialInfoController.java
+15
-10
package-info.java
...fu/cloud/plus/v1/yifu/social/controller/package-info.java
+0
-1
SysBaseSetInfoMapper.java
...loud/plus/v1/yifu/social/mapper/SysBaseSetInfoMapper.java
+0
-4
SysPayProportionMapper.java
...ud/plus/v1/yifu/social/mapper/SysPayProportionMapper.java
+1
-4
TProvidentFundService.java
...ud/plus/v1/yifu/social/service/TProvidentFundService.java
+1
-1
TSocialFundInfoService.java
...d/plus/v1/yifu/social/service/TSocialFundInfoService.java
+1
-1
SysHouseHoldInfoServiceImpl.java
...yifu/social/service/impl/SysHouseHoldInfoServiceImpl.java
+0
-2
TDispatchInfoServiceImpl.java
...v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
+11
-23
TProvidentFundServiceImpl.java
...1/yifu/social/service/impl/TProvidentFundServiceImpl.java
+1
-1
TSocialFundInfoServiceImpl.java
.../yifu/social/service/impl/TSocialFundInfoServiceImpl.java
+1
-1
Controller.java.vm
...fu-codegen/src/main/resources/template/Controller.java.vm
+4
-2
No files found.
yifu-social/pom.xml
View file @
3e9b3830
...
...
@@ -9,7 +9,6 @@
<artifactId>
yifu
</artifactId>
<version>
1.0.0
</version>
</parent>
<artifactId>
yifu-social
</artifactId>
<packaging>
pom
</packaging>
...
...
yifu-social/yifu-social-biz/pom.xml
View file @
3e9b3830
...
...
@@ -8,6 +8,7 @@
<groupId>
com.yifu.cloud.plus.v1
</groupId>
<artifactId>
yifu
</artifactId>
<version>
1.0.0
</version>
<relativePath>
../../pom.xml
</relativePath>
</parent>
<artifactId>
yifu-social-biz
</artifactId>
...
...
@@ -26,12 +27,7 @@
<groupId>
com.yifu.cloud.plus.v1
</groupId>
<artifactId>
yifu-social-api
</artifactId>
<version>
1.0.0
</version>
</dependency>
<!--必备: 依赖api模块-->
<dependency>
<groupId>
com.yifu.cloud.plus.v1
</groupId>
<artifactId>
yifu-archives-api
</artifactId>
<version>
1.0.0
</version>
<scope>
compile
</scope>
</dependency>
<!--选配: orm 模块-->
<dependency>
...
...
@@ -67,12 +63,6 @@
<version>
5.8.0
</version>
<artifactId>
hutool-all
</artifactId>
</dependency>
<dependency>
<groupId>
com.yifu.cloud.plus.v1
</groupId>
<artifactId>
yifu-social-api
</artifactId>
<version>
1.0.0
</version>
<scope>
compile
</scope>
</dependency>
</dependencies>
<build>
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/SysHouseHoldInfoController.java
View file @
3e9b3830
...
...
@@ -23,14 +23,14 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.SysHouseHoldInfo
;
import
com.yifu.cloud.plus.v1.yifu.social.service.SysHouseHoldInfoService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.security.SecurityRequirement
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.web.bind.annotation.*
;
import
com.yifu.cloud.plus.v1.yifu.social.service.SysHouseHoldInfoService
;
import
java.util.List
;
...
...
@@ -45,7 +45,6 @@ import java.util.List;
@RequiredArgsConstructor
@RequestMapping
(
"/syshouseholdinfo"
)
@Tag
(
name
=
"社保户公积金户数据管理"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
SysHouseHoldInfoController
{
private
final
SysHouseHoldInfoService
sysHouseHoldInfoService
;
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/SysPayProportionController.java
View file @
3e9b3830
...
...
@@ -26,10 +26,8 @@ import com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog;
import
com.yifu.cloud.plus.v1.yifu.social.entity.SysPayProportion
;
import
com.yifu.cloud.plus.v1.yifu.social.service.SysPayProportionService
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.security.SecurityRequirement
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.web.bind.annotation.*
;
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TAgentConfigController.java
View file @
3e9b3830
...
...
@@ -24,12 +24,12 @@ import com.yifu.cloud.plus.v1.yifu.common.core.util.R;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TAgentConfig
;
import
com.yifu.cloud.plus.v1.yifu.social.service.TAgentConfigService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.security.SecurityRequirement
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
...
...
@@ -45,7 +45,6 @@ import java.util.List;
@RequiredArgsConstructor
@RequestMapping
(
"/tagentconfig"
)
@Tag
(
name
=
"预估临时政策配置表管理"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
TAgentConfigController
{
private
final
TAgentConfigService
tAgentConfigService
;
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TAuditInfoController.java
View file @
3e9b3830
...
...
@@ -18,19 +18,25 @@
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.
demo
.entity.TAuditInfo
;
import
com.yifu.cloud.plus.v1.yifu.
demo
.service.TAuditInfoService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
com.yifu.cloud.plus.v1.yifu.
social
.entity.TAuditInfo
;
import
com.yifu.cloud.plus.v1.yifu.
social
.service.TAuditInfoService
;
import
com.yifu.cloud.plus.v1.yifu.social.vo.TAuditInfoSearchVo
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.security.SecurityRequirement
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
lombok.SneakyThrows
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.multipart.MultipartFile
;
import
javax.servlet.http.HttpServletResponse
;
import
java.util.List
;
/**
...
...
@@ -43,7 +49,6 @@ import org.springframework.web.bind.annotation.*;
@RequiredArgsConstructor
@RequestMapping
(
"/tauditinfo"
)
@Tag
(
name
=
"审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)管理"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
TAuditInfoController
{
private
final
TAuditInfoService
tAuditInfoService
;
...
...
@@ -55,9 +60,9 @@ public class TAuditInfoController {
* @param tAuditInfo 审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)
* @return
*/
@
ApiOperation
(
value
=
"简单分页查询"
)
@
Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TAuditInfo
>>
getTAuditInfoPage
(
Page
<
TAuditInfo
>
page
,
TAuditInfo
tAuditInfo
)
{
public
R
<
IPage
<
TAuditInfo
>>
getTAuditInfoPage
(
Page
<
TAuditInfo
>
page
,
TAuditInfo
SearchVo
tAuditInfo
)
{
return
new
R
<>(
tAuditInfoService
.
getTAuditInfoPage
(
page
,
tAuditInfo
));
}
/**
...
...
@@ -68,8 +73,8 @@ public class TAuditInfoController {
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
//@PreAuthorize("@pms.hasPermission('demo_tauditinfo_get')" )
public
R
<
List
<
TAuditInfo
>>
getTAuditInfoNoPage
(
@RequestBody
TAuditInfo
tAuditInfo
)
{
return
R
.
ok
(
tAuditInfoService
.
list
(
Wrappers
.
query
(
tAuditInfo
)
));
public
R
<
List
<
TAuditInfo
>>
getTAuditInfoNoPage
(
@RequestBody
TAuditInfo
SearchVo
tAuditInfo
)
{
return
R
.
ok
(
tAuditInfoService
.
noPageDiy
(
tAuditInfo
));
}
/**
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TDispatchDayConfController.java
View file @
3e9b3830
...
...
@@ -20,17 +20,22 @@ package com.yifu.cloud.plus.v1.yifu.social.controller;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.
demo
.entity.TDispatchDayConf
;
import
com.yifu.cloud.plus.v1.yifu.
demo
.service.TDispatchDayConfService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
com.yifu.cloud.plus.v1.yifu.
social
.entity.TDispatchDayConf
;
import
com.yifu.cloud.plus.v1.yifu.
social
.service.TDispatchDayConfService
;
import
com.yifu.cloud.plus.v1.yifu.social.vo.TDispatchDayConfSearchVo
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.security.SecurityRequirement
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.http.HttpHeaders
;
import
lombok.SneakyThrows
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.multipart.MultipartFile
;
import
javax.servlet.http.HttpServletResponse
;
import
java.util.List
;
/**
...
...
@@ -43,7 +48,6 @@ import org.springframework.web.bind.annotation.*;
@RequiredArgsConstructor
@RequestMapping
(
"/tdispatchdayconf"
)
@Tag
(
name
=
"各个地市派单日期管理"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
TDispatchDayConfController
{
private
final
TDispatchDayConfService
tDispatchDayConfService
;
...
...
@@ -55,7 +59,7 @@ public class TDispatchDayConfController {
* @param tDispatchDayConf 各个地市派单日期
* @return
*/
@
ApiOperation
(
value
=
"简单分页查询"
)
@
Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TDispatchDayConf
>>
getTDispatchDayConfPage
(
Page
<
TDispatchDayConf
>
page
,
TDispatchDayConf
tDispatchDayConf
)
{
return
new
R
<>(
tDispatchDayConfService
.
getTDispatchDayConfPage
(
page
,
tDispatchDayConf
));
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TDispatchInfoController.java
View file @
3e9b3830
...
...
@@ -18,19 +18,25 @@
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.
demo
.entity.TDispatchInfo
;
import
com.yifu.cloud.plus.v1.yifu.
demo
.service.TDispatchInfoService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
com.yifu.cloud.plus.v1.yifu.
social
.entity.TDispatchInfo
;
import
com.yifu.cloud.plus.v1.yifu.
social
.service.TDispatchInfoService
;
import
com.yifu.cloud.plus.v1.yifu.social.vo.TDispatchInfoSearchVo
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.security.SecurityRequirement
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
lombok.SneakyThrows
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.multipart.MultipartFile
;
import
javax.servlet.http.HttpServletResponse
;
import
java.util.List
;
/**
...
...
@@ -43,7 +49,6 @@ import org.springframework.web.bind.annotation.*;
@RequiredArgsConstructor
@RequestMapping
(
"/tdispatchinfo"
)
@Tag
(
name
=
"派单信息记录表管理"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
TDispatchInfoController
{
private
final
TDispatchInfoService
tDispatchInfoService
;
...
...
@@ -55,9 +60,9 @@ public class TDispatchInfoController {
* @param tDispatchInfo 派单信息记录表
* @return
*/
@
ApiOperation
(
value
=
"简单分页查询"
)
@
Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TDispatchInfo
>>
getTDispatchInfoPage
(
Page
<
TDispatchInfo
>
page
,
TDispatchInfo
tDispatchInfo
)
{
public
R
<
IPage
<
TDispatchInfo
>>
getTDispatchInfoPage
(
Page
<
TDispatchInfo
>
page
,
TDispatchInfo
SearchVo
tDispatchInfo
)
{
return
new
R
<>(
tDispatchInfoService
.
getTDispatchInfoPage
(
page
,
tDispatchInfo
));
}
/**
...
...
@@ -68,8 +73,8 @@ public class TDispatchInfoController {
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
//@PreAuthorize("@pms.hasPermission('demo_tdispatchinfo_get')" )
public
R
<
List
<
TDispatchInfo
>>
getTDispatchInfoNoPage
(
@RequestBody
TDispatchInfo
tDispatchInfo
)
{
return
R
.
ok
(
tDispatchInfoService
.
list
(
Wrappers
.
query
(
tDispatchInfo
)
));
public
R
<
List
<
TDispatchInfo
>>
getTDispatchInfoNoPage
(
@RequestBody
TDispatchInfo
SearchVo
tDispatchInfo
)
{
return
R
.
ok
(
tDispatchInfoService
.
noPageDiy
(
tDispatchInfo
));
}
/**
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TProvidentFundController.java
View file @
3e9b3830
...
...
@@ -18,19 +18,25 @@
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.
demo
.entity.TProvidentFund
;
import
com.yifu.cloud.plus.v1.yifu.
demo
.service.TProvidentFundService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
com.yifu.cloud.plus.v1.yifu.
social
.entity.TProvidentFund
;
import
com.yifu.cloud.plus.v1.yifu.
social
.service.TProvidentFundService
;
import
com.yifu.cloud.plus.v1.yifu.social.vo.TProvidentFundSearchVo
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.security.SecurityRequirement
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
lombok.SneakyThrows
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.multipart.MultipartFile
;
import
javax.servlet.http.HttpServletResponse
;
import
java.util.List
;
/**
...
...
@@ -43,7 +49,6 @@ import org.springframework.web.bind.annotation.*;
@RequiredArgsConstructor
@RequestMapping
(
"/tprovidentfund"
)
@Tag
(
name
=
"公积金信息管理"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
TProvidentFundController
{
private
final
TProvidentFundService
tProvidentFundService
;
...
...
@@ -55,9 +60,9 @@ public class TProvidentFundController {
* @param tProvidentFund 公积金信息
* @return
*/
@
ApiOperation
(
value
=
"简单分页查询"
)
@
Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TProvidentFund
>>
getTProvidentFundPage
(
Page
<
TProvidentFund
>
page
,
TProvidentFund
tProvidentFund
)
{
public
R
<
IPage
<
TProvidentFund
>>
getTProvidentFundPage
(
Page
<
TProvidentFund
>
page
,
TProvidentFund
SearchVo
tProvidentFund
)
{
return
new
R
<>(
tProvidentFundService
.
getTProvidentFundPage
(
page
,
tProvidentFund
));
}
/**
...
...
@@ -68,8 +73,8 @@ public class TProvidentFundController {
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
//@PreAuthorize("@pms.hasPermission('demo_tprovidentfund_get')" )
public
R
<
List
<
TProvidentFund
>>
getTProvidentFundNoPage
(
@RequestBody
TProvidentFund
tProvidentFund
)
{
return
R
.
ok
(
tProvidentFundService
.
list
(
Wrappers
.
query
(
tProvidentFund
)
));
public
R
<
List
<
TProvidentFund
>>
getTProvidentFundNoPage
(
@RequestBody
TProvidentFund
SearchVo
tProvidentFund
)
{
return
R
.
ok
(
tProvidentFundService
.
noPageDiy
(
tProvidentFund
));
}
/**
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TSocialFundHistoryController.java
View file @
3e9b3830
...
...
@@ -18,19 +18,25 @@
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.
demo
.entity.TSocialFundHistory
;
import
com.yifu.cloud.plus.v1.yifu.
demo
.service.TSocialFundHistoryService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
com.yifu.cloud.plus.v1.yifu.
social
.entity.TSocialFundHistory
;
import
com.yifu.cloud.plus.v1.yifu.
social
.service.TSocialFundHistoryService
;
import
com.yifu.cloud.plus.v1.yifu.social.vo.TSocialFundHistorySearchVo
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.security.SecurityRequirement
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
lombok.SneakyThrows
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.multipart.MultipartFile
;
import
javax.servlet.http.HttpServletResponse
;
import
java.util.List
;
/**
...
...
@@ -43,7 +49,6 @@ import org.springframework.web.bind.annotation.*;
@RequiredArgsConstructor
@RequestMapping
(
"/tsocialfundhistory"
)
@Tag
(
name
=
"社保公积金调基历史记录表管理"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
TSocialFundHistoryController
{
private
final
TSocialFundHistoryService
tSocialFundHistoryService
;
...
...
@@ -55,9 +60,9 @@ public class TSocialFundHistoryController {
* @param tSocialFundHistory 社保公积金调基历史记录表
* @return
*/
@
ApiOperation
(
value
=
"简单分页查询"
)
@
Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TSocialFundHistory
>>
getTSocialFundHistoryPage
(
Page
<
TSocialFundHistory
>
page
,
TSocialFundHistory
tSocialFundHistory
)
{
public
R
<
IPage
<
TSocialFundHistory
>>
getTSocialFundHistoryPage
(
Page
<
TSocialFundHistory
>
page
,
TSocialFundHistory
SearchVo
tSocialFundHistory
)
{
return
new
R
<>(
tSocialFundHistoryService
.
getTSocialFundHistoryPage
(
page
,
tSocialFundHistory
));
}
/**
...
...
@@ -68,8 +73,8 @@ public class TSocialFundHistoryController {
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
//@PreAuthorize("@pms.hasPermission('demo_tsocialfundhistory_get')" )
public
R
<
List
<
TSocialFundHistory
>>
getTSocialFundHistoryNoPage
(
@RequestBody
TSocialFundHistory
tSocialFundHistory
)
{
return
R
.
ok
(
tSocialFundHistoryService
.
list
(
Wrappers
.
query
(
tSocialFundHistory
)
));
public
R
<
List
<
TSocialFundHistory
>>
getTSocialFundHistoryNoPage
(
@RequestBody
TSocialFundHistory
SearchVo
tSocialFundHistory
)
{
return
R
.
ok
(
tSocialFundHistoryService
.
noPageDiy
(
tSocialFundHistory
));
}
/**
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TSocialFundInfoController.java
View file @
3e9b3830
...
...
@@ -18,19 +18,25 @@
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.
demo
.entity.TSocialFundInfo
;
import
com.yifu.cloud.plus.v1.yifu.
demo
.service.TSocialFundInfoService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
com.yifu.cloud.plus.v1.yifu.
social
.entity.TSocialFundInfo
;
import
com.yifu.cloud.plus.v1.yifu.
social
.service.TSocialFundInfoService
;
import
com.yifu.cloud.plus.v1.yifu.social.vo.TSocialFundInfoSearchVo
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.security.SecurityRequirement
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
lombok.SneakyThrows
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.multipart.MultipartFile
;
import
javax.servlet.http.HttpServletResponse
;
import
java.util.List
;
/**
...
...
@@ -43,7 +49,6 @@ import org.springframework.web.bind.annotation.*;
@RequiredArgsConstructor
@RequestMapping
(
"/tsocialfundinfo"
)
@Tag
(
name
=
"社保公积金查询表管理"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
TSocialFundInfoController
{
private
final
TSocialFundInfoService
tSocialFundInfoService
;
...
...
@@ -55,9 +60,9 @@ public class TSocialFundInfoController {
* @param tSocialFundInfo 社保公积金查询表
* @return
*/
@
ApiOperation
(
value
=
"简单分页查询"
)
@
Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TSocialFundInfo
>>
getTSocialFundInfoPage
(
Page
<
TSocialFundInfo
>
page
,
TSocialFundInfo
tSocialFundInfo
)
{
public
R
<
IPage
<
TSocialFundInfo
>>
getTSocialFundInfoPage
(
Page
<
TSocialFundInfo
>
page
,
TSocialFundInfo
SearchVo
tSocialFundInfo
)
{
return
new
R
<>(
tSocialFundInfoService
.
getTSocialFundInfoPage
(
page
,
tSocialFundInfo
));
}
/**
...
...
@@ -68,8 +73,8 @@ public class TSocialFundInfoController {
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
//@PreAuthorize("@pms.hasPermission('demo_tsocialfundinfo_get')" )
public
R
<
List
<
TSocialFundInfo
>>
getTSocialFundInfoNoPage
(
@RequestBody
TSocialFundInfo
tSocialFundInfo
)
{
return
R
.
ok
(
tSocialFundInfoService
.
list
(
Wrappers
.
query
(
tSocialFundInfo
)
));
public
R
<
List
<
TSocialFundInfo
>>
getTSocialFundInfoNoPage
(
@RequestBody
TSocialFundInfo
SearchVo
tSocialFundInfo
)
{
return
R
.
ok
(
tSocialFundInfoService
.
noPageDiy
(
tSocialFundInfo
));
}
/**
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TSocialInfoController.java
View file @
3e9b3830
...
...
@@ -18,19 +18,25 @@
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.
demo
.entity.TSocialInfo
;
import
com.yifu.cloud.plus.v1.yifu.
demo
.service.TSocialInfoService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
com.yifu.cloud.plus.v1.yifu.
social
.entity.TSocialInfo
;
import
com.yifu.cloud.plus.v1.yifu.
social
.service.TSocialInfoService
;
import
com.yifu.cloud.plus.v1.yifu.social.vo.TSocialInfoSearchVo
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.security.SecurityRequirement
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
lombok.SneakyThrows
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.multipart.MultipartFile
;
import
javax.servlet.http.HttpServletResponse
;
import
java.util.List
;
/**
...
...
@@ -43,7 +49,6 @@ import org.springframework.web.bind.annotation.*;
@RequiredArgsConstructor
@RequestMapping
(
"/tsocialinfo"
)
@Tag
(
name
=
"社保明细表管理"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
TSocialInfoController
{
private
final
TSocialInfoService
tSocialInfoService
;
...
...
@@ -55,9 +60,9 @@ public class TSocialInfoController {
* @param tSocialInfo 社保明细表
* @return
*/
@
ApiOperation
(
value
=
"简单分页查询"
)
@
Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TSocialInfo
>>
getTSocialInfoPage
(
Page
<
TSocialInfo
>
page
,
TSocialInfo
tSocialInfo
)
{
public
R
<
IPage
<
TSocialInfo
>>
getTSocialInfoPage
(
Page
<
TSocialInfo
>
page
,
TSocialInfo
SearchVo
tSocialInfo
)
{
return
new
R
<>(
tSocialInfoService
.
getTSocialInfoPage
(
page
,
tSocialInfo
));
}
/**
...
...
@@ -68,8 +73,8 @@ public class TSocialInfoController {
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
//@PreAuthorize("@pms.hasPermission('demo_tsocialinfo_get')" )
public
R
<
List
<
TSocialInfo
>>
getTSocialInfoNoPage
(
@RequestBody
TSocialInfo
tSocialInfo
)
{
return
R
.
ok
(
tSocialInfoService
.
list
(
Wrappers
.
query
(
tSocialInfo
)
));
public
R
<
List
<
TSocialInfo
>>
getTSocialInfoNoPage
(
@RequestBody
TSocialInfo
SearchVo
tSocialInfo
)
{
return
R
.
ok
(
tSocialInfoService
.
noPageDiy
(
tSocialInfo
));
}
/**
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/package-info.java
deleted
100644 → 0
View file @
751fe473
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
controller
;
\ No newline at end of file
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/mapper/SysBaseSetInfoMapper.java
View file @
3e9b3830
...
...
@@ -17,10 +17,6 @@
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.SysBaseSetInfo
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/mapper/SysPayProportionMapper.java
View file @
3e9b3830
...
...
@@ -17,12 +17,9 @@
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.SysPayProportion
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.SysPayProportion
;
/**
* 公积金政策对应的缴费比例表
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/TProvidentFundService.java
View file @
3e9b3830
...
...
@@ -39,7 +39,7 @@ public interface TProvidentFundService extends IService<TProvidentFund> {
* @param tProvidentFund 公积金信息
* @return
*/
IPage
<
TProvidentFund
>
getTProvidentFundPage
(
Page
<
TProvidentFund
>
page
,
TProvidentFund
tProvidentFund
);
IPage
<
TProvidentFund
>
getTProvidentFundPage
(
Page
<
TProvidentFund
>
page
,
TProvidentFund
SearchVo
tProvidentFund
);
R
<
List
<
ErrorMessage
>>
importDiy
(
InputStream
inputStream
);
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/TSocialFundInfoService.java
View file @
3e9b3830
...
...
@@ -41,7 +41,7 @@ public interface TSocialFundInfoService extends IService<TSocialFundInfo> {
* @param tSocialFundInfo 社保公积金查询表
* @return
*/
IPage
<
TSocialFundInfo
>
getTSocialFundInfoPage
(
Page
<
TSocialFundInfo
>
page
,
TSocialFundInfo
tSocialFundInfo
);
IPage
<
TSocialFundInfo
>
getTSocialFundInfoPage
(
Page
<
TSocialFundInfo
>
page
,
TSocialFundInfo
SearchVo
tSocialFundInfo
);
R
<
List
<
ErrorMessage
>>
importDiy
(
InputStream
inputStream
);
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/SysHouseHoldInfoServiceImpl.java
View file @
3e9b3830
...
...
@@ -19,11 +19,9 @@ package com.yifu.cloud.plus.v1.yifu.social.service.impl;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.SysHouseHoldInfo
;
import
com.yifu.cloud.plus.v1.yifu.social.mapper.SysHouseHoldInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.social.service.SysHouseHoldInfoService
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.stereotype.Service
;
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
View file @
3e9b3830
...
...
@@ -16,11 +16,6 @@
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.demo.entity.TDispatchInfo
;
import
com.yifu.cloud.plus.v1.yifu.demo.mapper.TDispatchInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.demo.service.TDispatchInfoService
;
import
org.springframework.stereotype.Service
;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.util.ArrayUtil
;
import
com.alibaba.excel.EasyExcel
;
...
...
@@ -38,11 +33,11 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.*
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.T
Audit
Info
;
import
com.yifu.cloud.plus.v1.yifu.social.mapper.T
Audit
InfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.social.service.T
Audit
InfoService
;
import
com.yifu.cloud.plus.v1.yifu.social.vo.T
Audit
InfoSearchVo
;
import
com.yifu.cloud.plus.v1.yifu.social.vo.T
Audit
InfoVo
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.T
Dispatch
Info
;
import
com.yifu.cloud.plus.v1.yifu.social.mapper.T
Dispatch
InfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.social.service.T
Dispatch
InfoService
;
import
com.yifu.cloud.plus.v1.yifu.social.vo.T
Dispatch
InfoSearchVo
;
import
com.yifu.cloud.plus.v1.yifu.social.vo.T
Dispatch
InfoVo
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
...
...
@@ -59,6 +54,7 @@ import java.util.List;
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Log4j2
@Service
public
class
TDispatchInfoServiceImpl
extends
ServiceImpl
<
TDispatchInfoMapper
,
TDispatchInfo
>
implements
TDispatchInfoService
{
/**
...
...
@@ -70,21 +66,13 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
public
IPage
<
TDispatchInfo
>
getTDispatchInfoPage
(
Page
<
TDispatchInfo
>
page
,
TDispatchInfo
tDispatchInfo
){
return
baseMapper
.
getTDispatchInfoPage
(
page
,
tDispatchInfo
);
}
/**
* 派单信息记录表批量导入
*/
@Override
R
<
List
<
ErrorMessage
>>
importDiy
(
InputStream
inputStream
){
}
/**
* 派单信息记录表批量导出
* @param tDispatchInfo 派单信息记录表
* @return
*/
@Override
void
listExport
(
HttpServletResponse
response
,
TDispatchInfoSearchVo
searchVo
){
public
void
listExport
(
HttpServletResponse
response
,
TDispatchInfoSearchVo
searchVo
){
String
fileName
=
"不良记录批量导出"
+
DateUtil
.
getThisTime
()
+
".xlsx"
;
//获取要导出的列表
List
<
TDispatchInfo
>
list
=
new
ArrayList
<>();
...
...
@@ -112,7 +100,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
}
}
if
(
Common
.
isNotNull
(
list
)){
WriteSheet
writeSheet
=
EasyExcel
.
writerSheet
(
派单信息记录表
+
index
).
build
();
WriteSheet
writeSheet
=
EasyExcel
.
writerSheet
(
"派单信息记录表"
+
index
).
build
();
excelWriter
.
write
(
list
,
writeSheet
);
index
++;
}
...
...
@@ -122,7 +110,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
}
}
}
else
{
WriteSheet
writeSheet
=
EasyExcel
.
writerSheet
(
派单信息记录表
+
index
).
build
();
WriteSheet
writeSheet
=
EasyExcel
.
writerSheet
(
"派单信息记录表"
+
index
).
build
();
excelWriter
.
write
(
list
,
writeSheet
);
}
if
(
Common
.
isNotNull
(
list
)){
...
...
@@ -148,7 +136,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
LambdaQueryWrapper
<
TDispatchInfo
>
wrapper
=
buildQueryWrapper
(
searchVo
);
List
<
String
>
idList
=
Common
.
getList
(
searchVo
.
getIds
());
if
(
Common
.
isNotNull
(
idList
)){
wrapper
.
in
(
T
EmpBadRecord
:
:
getId
,
idList
);
wrapper
.
in
(
T
DispatchInfo
:
:
getId
,
idList
);
}
if
(
searchVo
.
getLimitStart
()
>=
0
&&
searchVo
.
getLimitEnd
()
>
0
){
wrapper
.
last
(
" limit "
+
searchVo
.
getLimitStart
()
+
","
+
searchVo
.
getLimitEnd
());
...
...
@@ -243,7 +231,7 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
// 数据合法情况 TODO
// 插入
insertExcel
(
excel
,
emp
);
insertExcel
(
excel
);
errorMessageList
.
add
(
new
ErrorMessage
(
excel
.
getRowIndex
(),
CommonConstants
.
SAVE_SUCCESS
));
}
}
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TProvidentFundServiceImpl.java
View file @
3e9b3830
...
...
@@ -63,7 +63,7 @@ public class TProvidentFundServiceImpl extends ServiceImpl<TProvidentFundMapper,
* @return
*/
@Override
public
IPage
<
TProvidentFund
>
getTProvidentFundPage
(
Page
<
TProvidentFund
>
page
,
TProvidentFund
tProvidentFund
){
public
IPage
<
TProvidentFund
>
getTProvidentFundPage
(
Page
<
TProvidentFund
>
page
,
TProvidentFund
SearchVo
tProvidentFund
){
return
baseMapper
.
getTProvidentFundPage
(
page
,
tProvidentFund
);
}
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TSocialFundInfoServiceImpl.java
View file @
3e9b3830
...
...
@@ -63,7 +63,7 @@ public class TSocialFundInfoServiceImpl extends ServiceImpl<TSocialFundInfoMappe
* @return
*/
@Override
public
IPage
<
TSocialFundInfo
>
getTSocialFundInfoPage
(
Page
<
TSocialFundInfo
>
page
,
TSocialFundInfo
tSocialFundInfo
){
public
IPage
<
TSocialFundInfo
>
getTSocialFundInfoPage
(
Page
<
TSocialFundInfo
>
page
,
TSocialFundInfo
SearchVo
tSocialFundInfo
){
return
baseMapper
.
getTSocialFundInfoPage
(
page
,
tSocialFundInfo
);
}
...
...
yifu-visual/yifu-codegen/src/main/resources/template/Controller.java.vm
View file @
3e9b3830
...
...
@@ -24,6 +24,8 @@ import com.yifu.cloud.plus.v1.yifu.common.core.util.R;
import
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
common
.
log
.
annotation
.
SysLog
;
import
${
package
}.${
moduleName
}.
entity
.${
className
};
import
${
package
}.${
moduleName
}.
service
.${
className
}
Service
;
import
${
package
}.${
moduleName
}.
vo
.${
className
}
Vo
;
import
${
package
}.${
moduleName
}.
vo
.${
className
}
SearchVo
;
import
org
.
springframework
.
security
.
access
.
prepost
.
PreAuthorize
;
import
io
.
swagger
.
v3
.
oas
.
annotations
.
Operation
;
import
io
.
swagger
.
v3
.
oas
.
annotations
.
security
.
SecurityRequirement
;
...
...
@@ -66,7 +68,7 @@ public class ${className}Controller {
*
@
param
${
classname
}
${
comments
}
*
@
return
*/
@
ApiOperation
(
value
=
"简单分页查询"
)
@
Operation
(
description
=
"简单分页查询"
)
@
GetMapping
(
"/page"
)
public
R
<
IPage
<${
className
}>>
get
${
className
}
Page
(
Page
<${
className
}>
page
,
${
className
}
SearchVo
${
classname
})
{
return
new
R
<>(${
classname
}
Service
.
get
${
className
}
Page
(
page
,${
classname
}));
...
...
@@ -80,7 +82,7 @@ public class ${className}Controller {
@
PostMapping
(
"/noPage"
)
//@
PreAuthorize
(
"@pms.hasPermission('${moduleName}_${pathName}_get')"
)
public
R
<
List
<${
className
}>>
get
${
className
}
NoPage
(@
RequestBody
${
className
}
SearchVo
${
classname
})
{
return
R
.
ok
(${
classname
}
Service
.
list
(
Wrappers
.
query
(${
classname
})
));
return
R
.
ok
(${
classname
}
Service
.
noPageDiy
(${
classname
}
));
}
/**
...
...
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