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
fd751b49
Commit
fd751b49
authored
Nov 02, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
parents
34aa0c21
9cbcab65
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
606 additions
and
144 deletions
+606
-144
TSocialfundHouseRes.java
...cloud/plus/v1/yifu/social/entity/TSocialfundHouseRes.java
+131
-0
TDispatchAuditExportVo.java
.../cloud/plus/v1/yifu/social/vo/TDispatchAuditExportVo.java
+30
-30
SysHouseHoldInfoController.java
...v1/yifu/social/controller/SysHouseHoldInfoController.java
+28
-0
TSocialfundHouseResController.java
...yifu/social/controller/TSocialfundHouseResController.java
+122
-0
TSocialfundHouseResMapper.java
...plus/v1/yifu/social/mapper/TSocialfundHouseResMapper.java
+50
-0
TSocialfundHouseResService.java
...us/v1/yifu/social/service/TSocialfundHouseResService.java
+48
-0
TSocialfundHouseResServiceImpl.java
...u/social/service/impl/TSocialfundHouseResServiceImpl.java
+85
-0
TPaymentInfoMapper.xml
...cial-biz/src/main/resources/mapper/TPaymentInfoMapper.xml
+13
-114
TSocialfundHouseResMapper.xml
...z/src/main/resources/mapper/TSocialfundHouseResMapper.xml
+99
-0
No files found.
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TSocialfundHouseRes.java
0 → 100644
View file @
fd751b49
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.*
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
import
java.time.LocalDateTime
;
import
java.util.List
;
/**
* 社保公积金户权限配置表
*
* @author huyc
* @date 2022-11-02 09:13:07
*/
@Data
@TableName
(
"t_socialfund_house_res"
)
@EqualsAndHashCode
()
@Schema
(
description
=
"社保公积金户权限配置表"
)
public
class
TSocialfundHouseRes
{
/**
* id
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ExcelProperty
(
"id"
)
@Schema
(
description
=
"id"
)
private
String
id
;
/**
* 多选导出或删除等操作
*/
@Schema
(
description
=
"选中ID,多个逗号分割"
)
@TableField
(
exist
=
false
)
private
List
<
String
>
idList
;
/**
* 登录人id
*/
@ExcelAttribute
(
name
=
"审核人id"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"审核人id不能超过32个字符"
)
@ExcelProperty
(
"审核人id"
)
@Schema
(
description
=
"审核人id"
)
private
String
userId
;
/**
* 社保户
*/
@ExcelAttribute
(
name
=
"社保户"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"社保户不能超过32个字符"
)
@ExcelProperty
(
"社保户"
)
@Schema
(
description
=
"社保户"
)
private
String
socialHousehold
;
/**
* 公积金户
*/
@ExcelAttribute
(
name
=
"公积金户"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"公积金户不能超过32个字符"
)
@ExcelProperty
(
"公积金户"
)
@Schema
(
description
=
"公积金户"
)
private
String
fundHousehold
;
/**
* 被授权时间
*/
@JsonFormat
(
shape
=
JsonFormat
.
Shape
.
STRING
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@Schema
(
description
=
"被授权时间"
)
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
LocalDateTime
createTime
;
/**
* 授权人
*/
@ExcelAttribute
(
name
=
"授权人"
,
maxLength
=
32
)
@ExcelProperty
(
"授权人"
)
@Schema
(
description
=
"授权人"
)
@TableField
(
fill
=
FieldFill
.
INSERT
)
private
String
createBy
;
/**
* 状态0启用1禁用
*/
@ExcelAttribute
(
name
=
"状态0启用1禁用"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"状态0启用1禁用不能超过1个字符"
)
@ExcelProperty
(
"状态0启用1禁用"
)
@Schema
(
description
=
"状态0启用1禁用"
)
private
String
status
;
/**
* 审核人姓名
*/
@ExcelAttribute
(
name
=
"审核人姓名"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"审核人姓名不能超过32个字符"
)
@ExcelProperty
(
"审核人姓名"
)
@Schema
(
description
=
"审核人姓名"
)
private
String
userName
;
/**
* 所在部门
*/
@ExcelAttribute
(
name
=
"所在部门"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"所在部门不能超过32个字符"
)
@ExcelProperty
(
"所在部门"
)
@Schema
(
description
=
"所在部门"
)
private
String
userDeptName
;
/**
* 户类型 0社保户1公积金户
*/
@ExcelAttribute
(
name
=
"户类型 0社保户1公积金户"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"户类型 0社保户1公积金户不能超过1个字符"
)
@ExcelProperty
(
"户类型 0社保户1公积金户"
)
@Schema
(
description
=
"户类型 0社保户1公积金户"
)
private
String
houseNameType
;
}
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TDispatchAuditExportVo.java
View file @
fd751b49
...
@@ -40,6 +40,18 @@ import java.util.Date;
...
@@ -40,6 +40,18 @@ import java.util.Date;
@Schema
(
description
=
"派单审核导出Vo"
)
@Schema
(
description
=
"派单审核导出Vo"
)
public
class
TDispatchAuditExportVo
{
public
class
TDispatchAuditExportVo
{
@ExcelAttribute
(
name
=
"派单类型"
,
readConverterExp
=
"0=增加派单,1=减少派单"
)
@Schema
(
description
=
"派单类型:0派增1派减"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"派单类型"
)
private
String
type
;
@Schema
(
description
=
"创建时间"
)
@JsonFormat
(
shape
=
JsonFormat
.
Shape
.
STRING
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"创建时间"
)
private
LocalDateTime
createTime
;
@ExcelAttribute
(
name
=
"员工姓名"
,
maxLength
=
50
)
@ExcelAttribute
(
name
=
"员工姓名"
,
maxLength
=
50
)
@Schema
(
description
=
"员工姓名"
)
@Schema
(
description
=
"员工姓名"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
...
@@ -64,12 +76,6 @@ public class TDispatchAuditExportVo {
...
@@ -64,12 +76,6 @@ public class TDispatchAuditExportVo {
@ExcelProperty
(
"项目名称"
)
@ExcelProperty
(
"项目名称"
)
private
String
settleDomainName
;
private
String
settleDomainName
;
@ExcelAttribute
(
name
=
"派单类型"
,
readConverterExp
=
"0=增加派单,1=减少派单"
)
@Schema
(
description
=
"派单类型:0派增1派减"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"派单类型"
)
private
String
type
;
@ExcelAttribute
(
name
=
"社保户"
,
maxLength
=
50
)
@ExcelAttribute
(
name
=
"社保户"
,
maxLength
=
50
)
@Schema
(
description
=
"社保户"
)
@Schema
(
description
=
"社保户"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
...
@@ -82,6 +88,14 @@ public class TDispatchAuditExportVo {
...
@@ -82,6 +88,14 @@ public class TDispatchAuditExportVo {
@ExcelProperty
(
"公积金户"
)
@ExcelProperty
(
"公积金户"
)
private
String
providentHouseholdName
;
private
String
providentHouseholdName
;
/**
* 合同类型(字典值)
*/
@ExcelAttribute
(
name
=
"合同类型"
,
maxLength
=
10
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
value
=
"合同类型"
)
private
String
contractName
;
/**
/**
* 合同起始时间
* 合同起始时间
*/
*/
...
@@ -92,14 +106,6 @@ public class TDispatchAuditExportVo {
...
@@ -92,14 +106,6 @@ public class TDispatchAuditExportVo {
@ExcelProperty
(
"合同起始时间"
)
@ExcelProperty
(
"合同起始时间"
)
private
Date
contractStart
;
private
Date
contractStart
;
/**
* 合同类型(字典值)
*/
@ExcelAttribute
(
name
=
"合同类型"
,
maxLength
=
10
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
value
=
"合同类型"
)
private
String
contractName
;
/**
/**
* 合同到期时间
* 合同到期时间
*/
*/
...
@@ -110,17 +116,21 @@ public class TDispatchAuditExportVo {
...
@@ -110,17 +116,21 @@ public class TDispatchAuditExportVo {
@ExcelProperty
(
"合同到期时间"
)
@ExcelProperty
(
"合同到期时间"
)
private
Date
contractEnd
;
private
Date
contractEnd
;
/**
* 工时制:1标准工时 2 综合工时 3不定时工时制
*/
@Length
(
max
=
1
,
message
=
"工时制 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"工时制"
,
maxLength
=
1
,
readConverterExp
=
"1=标准工时,2=综合工时,3=不定时工时制"
)
@Schema
(
description
=
"工时制:1标准工时 2 综合工时 3不定时工时制"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"工时制"
)
private
String
workingHours
;
@Schema
(
description
=
"创建人姓名"
)
@Schema
(
description
=
"创建人姓名"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"创建人姓名"
)
@ExcelProperty
(
"创建人姓名"
)
private
String
createName
;
private
String
createName
;
@Schema
(
description
=
"创建时间"
)
@JsonFormat
(
shape
=
JsonFormat
.
Shape
.
STRING
,
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"创建时间"
)
private
LocalDateTime
createTime
;
/**
/**
* 委托备注
* 委托备注
*/
*/
...
@@ -141,16 +151,6 @@ public class TDispatchAuditExportVo {
...
@@ -141,16 +151,6 @@ public class TDispatchAuditExportVo {
@ExcelProperty
(
"备案基数"
)
@ExcelProperty
(
"备案基数"
)
private
String
recordBase
;
private
String
recordBase
;
/**
* 工时制:1标准工时 2 综合工时 3不定时工时制
*/
@Length
(
max
=
1
,
message
=
"工时制 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"工时制"
,
maxLength
=
1
,
readConverterExp
=
"1=标准工时,2=综合工时,3=不定时工时制"
)
@Schema
(
description
=
"工时制:1标准工时 2 综合工时 3不定时工时制"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"工时制"
)
private
String
workingHours
;
@ExcelAttribute
(
name
=
"缴纳类型"
,
readConverterExp
=
"0=最低,1=自定义,2=最高"
)
@ExcelAttribute
(
name
=
"缴纳类型"
,
readConverterExp
=
"0=最低,1=自定义,2=最高"
)
@Schema
(
description
=
"缴纳类型(0最低、1自定义、2最高)"
)
@Schema
(
description
=
"缴纳类型(0最低、1自定义、2最高)"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/SysHouseHoldInfoController.java
View file @
fd751b49
...
@@ -17,12 +17,17 @@
...
@@ -17,12 +17,17 @@
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
controller
;
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
controller
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysUser
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.Common
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
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.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.SysHouseHoldInfo
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.SysHouseHoldInfo
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TSocialfundHouseRes
;
import
com.yifu.cloud.plus.v1.yifu.social.service.SysHouseHoldInfoService
;
import
com.yifu.cloud.plus.v1.yifu.social.service.SysHouseHoldInfoService
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
...
@@ -120,4 +125,27 @@ public class SysHouseHoldInfoController {
...
@@ -120,4 +125,27 @@ public class SysHouseHoldInfoController {
return
R
.
ok
(
sysHouseHoldInfoService
.
removeById
(
id
));
return
R
.
ok
(
sysHouseHoldInfoService
.
removeById
(
id
));
}
}
/**
* @param flag 0/1
* @param name 户名
* @return 上级部门用户列表
*/
@PostMapping
(
"/getHouseList"
)
@Operation
(
summary
=
"获取所有的户名"
,
description
=
"获取所有的户名"
)
public
R
<
List
<
SysHouseHoldInfo
>>
getSysUserList
(
@RequestParam
String
flag
,
@RequestParam
(
required
=
false
)
String
name
)
{
List
<
SysHouseHoldInfo
>
houseHoldList
;
LambdaQueryWrapper
<
SysHouseHoldInfo
>
wrapper
=
Wrappers
.
lambdaQuery
();
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
flag
))
{
wrapper
.
eq
(
SysHouseHoldInfo:
:
getType
,
CommonConstants
.
ZERO_STRING
);
if
(
Common
.
isNotNull
(
name
))
{
wrapper
.
eq
(
SysHouseHoldInfo:
:
getName
,
CommonConstants
.
ZERO_STRING
);
}
}
else
{
wrapper
.
eq
(
SysHouseHoldInfo:
:
getType
,
CommonConstants
.
ONE_STRING
);
}
houseHoldList
=
sysHouseHoldInfoService
.
list
(
wrapper
);
return
R
.
ok
(
houseHoldList
);
}
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TSocialfundHouseResController.java
0 → 100644
View file @
fd751b49
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
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.TSocialfundHouseRes
;
import
com.yifu.cloud.plus.v1.yifu.social.service.TSocialfundHouseResService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.web.bind.annotation.*
;
import
javax.servlet.http.HttpServletResponse
;
import
java.util.List
;
/**
* 社保公积金户权限配置表
*
* @author huyc
* @date 2022-11-02 09:13:07
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/tsocialfundhouseres"
)
@Tag
(
name
=
"社保公积金户权限配置表管理"
)
public
class
TSocialfundHouseResController
{
private
final
TSocialfundHouseResService
tSocialfundHouseResService
;
/**
* 简单分页查询
* @param page 分页对象
* @param tSocialfundHouseRes 社保公积金户权限配置表
* @return
*/
@Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TSocialfundHouseRes
>>
getTSocialfundHouseResPage
(
Page
<
TSocialfundHouseRes
>
page
,
TSocialfundHouseRes
tSocialfundHouseRes
)
{
return
new
R
<>(
tSocialfundHouseResService
.
getTSocialfundHouseResPage
(
page
,
tSocialfundHouseRes
));
}
/**
* 导出查询
* @param tSocialfundHouseRes 社保公积金户权限配置表
* @return
*/
@Operation
(
summary
=
"导出查询"
,
description
=
"导出查询"
)
@PostMapping
(
"/exportList"
)
public
R
<
List
<
TSocialfundHouseRes
>>
getexportList
(
@RequestBody
TSocialfundHouseRes
tSocialfundHouseRes
)
{
return
R
.
ok
(
tSocialfundHouseResService
.
getexportList
(
tSocialfundHouseRes
));
}
/**
* 通过id查询社保公积金户权限配置表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('social_tsocialfundhouseres_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('social_tsocialfundhouseres_get')"
)
public
R
<
TSocialfundHouseRes
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
tSocialfundHouseResService
.
getById
(
id
));
}
/**
* 新增社保公积金户权限配置表
* @param tSocialfundHouseRes 社保公积金户权限配置表
* @return R
*/
@Operation
(
summary
=
"新增社保公积金户权限配置表"
,
description
=
"新增社保公积金户权限配置表:hasPermission('social_tsocialfundhouseres_add')"
)
@SysLog
(
"新增社保公积金户权限配置表"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('social_tsocialfundhouseres_add')"
)
public
R
save
(
@RequestBody
TSocialfundHouseRes
tSocialfundHouseRes
)
{
return
tSocialfundHouseResService
.
saveSocialAuth
(
tSocialfundHouseRes
);
}
/**
* 修改社保公积金户权限配置表
* @param tSocialfundHouseRes 社保公积金户权限配置表
* @return R
*/
@Operation
(
summary
=
"修改社保公积金户权限配置表"
,
description
=
"修改社保公积金户权限配置表:hasPermission('social_tsocialfundhouseres_edit')"
)
@SysLog
(
"修改社保公积金户权限配置表"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('social_tsocialfundhouseres_edit')"
)
public
R
<
Boolean
>
updateById
(
@RequestBody
TSocialfundHouseRes
tSocialfundHouseRes
)
{
return
R
.
ok
(
tSocialfundHouseResService
.
updateById
(
tSocialfundHouseRes
));
}
/**
* 通过id删除社保公积金户权限配置表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除社保公积金户权限配置表"
,
description
=
"通过id删除社保公积金户权限配置表:hasPermission('social_tsocialfundhouseres_del')"
)
@SysLog
(
"通过id删除社保公积金户权限配置表"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('social_tsocialfundhouseres_del')"
)
public
R
<
Boolean
>
removeById
(
@PathVariable
String
id
)
{
return
R
.
ok
(
tSocialfundHouseResService
.
removeById
(
id
));
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/mapper/TSocialfundHouseResMapper.java
0 → 100644
View file @
fd751b49
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
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.TSocialfundHouseRes
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
/**
* 社保公积金户权限配置表
*
* @author huyc
* @date 2022-11-02 09:13:07
*/
@Mapper
public
interface
TSocialfundHouseResMapper
extends
BaseMapper
<
TSocialfundHouseRes
>
{
/**
* 社保公积金户权限配置表简单分页查询
* @param tSocialfundHouseRes 社保公积金户权限配置表
* @return
*/
IPage
<
TSocialfundHouseRes
>
getTSocialfundHouseResPage
(
Page
<
TSocialfundHouseRes
>
page
,
@Param
(
"tSocialfundHouseRes"
)
TSocialfundHouseRes
tSocialfundHouseRes
);
/**
* 社保公积金户权限配置表导出查询
* @param tSocialfundHouseRes 社保公积金户权限配置表
* @return
*/
List
<
TSocialfundHouseRes
>
getexportList
(
@Param
(
"tSocialfundHouseRes"
)
TSocialfundHouseRes
tSocialfundHouseRes
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/TSocialfundHouseResService.java
0 → 100644
View file @
fd751b49
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TSocialfundHouseRes
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
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
javax.servlet.http.HttpServletResponse
;
import
java.io.InputStream
;
import
java.util.List
;
/**
* 社保公积金户权限配置表
*
* @author huyc
* @date 2022-11-02 09:13:07
*/
public
interface
TSocialfundHouseResService
extends
IService
<
TSocialfundHouseRes
>
{
/**
* 社保公积金户权限配置表简单分页查询
* @param tSocialfundHouseRes 社保公积金户权限配置表
* @return
*/
IPage
<
TSocialfundHouseRes
>
getTSocialfundHouseResPage
(
Page
<
TSocialfundHouseRes
>
page
,
TSocialfundHouseRes
tSocialfundHouseRes
);
List
<
TSocialfundHouseRes
>
getexportList
(
TSocialfundHouseRes
searchVo
);
R
saveSocialAuth
(
TSocialfundHouseRes
searchVo
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TSocialfundHouseResServiceImpl.java
0 → 100644
View file @
fd751b49
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
service
.
impl
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.Common
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TSocialfundHouseRes
;
import
com.yifu.cloud.plus.v1.yifu.social.mapper.TSocialfundHouseResMapper
;
import
com.yifu.cloud.plus.v1.yifu.social.service.TSocialfundHouseResService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
java.util.List
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
/**
* 社保公积金户权限配置表
*
* @author huyc
* @date 2022-11-02 09:13:07
*/
@Log4j2
@Service
public
class
TSocialfundHouseResServiceImpl
extends
ServiceImpl
<
TSocialfundHouseResMapper
,
TSocialfundHouseRes
>
implements
TSocialfundHouseResService
{
/**
* 社保公积金户权限配置表简单分页查询
* @param tSocialfundHouseRes 社保公积金户权限配置表
* @return
*/
@Override
public
IPage
<
TSocialfundHouseRes
>
getTSocialfundHouseResPage
(
Page
<
TSocialfundHouseRes
>
page
,
TSocialfundHouseRes
tSocialfundHouseRes
){
return
baseMapper
.
getTSocialfundHouseResPage
(
page
,
tSocialfundHouseRes
);
}
/**
* 社保公积金户权限配置表批量导出
* @param searchVo 社保公积金户权限配置表
* @return
*/
@Override
public
List
<
TSocialfundHouseRes
>
getexportList
(
TSocialfundHouseRes
searchVo
)
{
return
baseMapper
.
getexportList
(
searchVo
);
}
@Override
public
R
saveSocialAuth
(
TSocialfundHouseRes
searchVo
)
{
LambdaQueryWrapper
<
TSocialfundHouseRes
>
wrapper
=
Wrappers
.
lambdaQuery
();
if
(
Common
.
isNotNull
(
searchVo
.
getSocialHousehold
()))
{
wrapper
.
eq
(
TSocialfundHouseRes:
:
getSocialHousehold
,
searchVo
.
getSocialHousehold
());
}
if
(
Common
.
isNotNull
(
searchVo
.
getFundHousehold
())){
wrapper
.
eq
(
TSocialfundHouseRes:
:
getFundHousehold
,
searchVo
.
getFundHousehold
());
}
if
(
Common
.
isNotNull
(
searchVo
.
getUserId
())){
wrapper
.
eq
(
TSocialfundHouseRes:
:
getUserId
,
searchVo
.
getUserId
());
}
TSocialfundHouseRes
socialfundHouseRes
=
baseMapper
.
selectOne
(
wrapper
);
if
(
Common
.
isNotNull
(
socialfundHouseRes
))
{
return
R
.
failed
(
"员工已存在审核权限"
);
}
else
{
baseMapper
.
insert
(
searchVo
);
return
R
.
ok
();
}
}
}
yifu-social/yifu-social-biz/src/main/resources/mapper/TPaymentInfoMapper.xml
View file @
fd751b49
...
@@ -668,6 +668,7 @@
...
@@ -668,6 +668,7 @@
SELECT
SELECT
w.keyGroup,
w.keyGroup,
w.EMP_IDCARD,
w.EMP_IDCARD,
w.EMP_NO,
w.EMP_NAME,
w.EMP_NAME,
w.UNIT_NAME,
w.UNIT_NAME,
w.SETTLE_DOMAIN_CODE,
w.SETTLE_DOMAIN_CODE,
...
@@ -678,13 +679,13 @@
...
@@ -678,13 +679,13 @@
w.SOCIAL_PAY_MONTH,
w.SOCIAL_PAY_MONTH,
w.SOCIAL_CREATE_MONTH,
w.SOCIAL_CREATE_MONTH,
SUM( w.SUM_ALL ) AS SUM_ALL,
SUM( w.SUM_ALL ) AS SUM_ALL,
SUM
( w.PROVIDENT_PAY_MONTH ) AS PROVIDENT_PAY_MONTH,
MAX
( w.PROVIDENT_PAY_MONTH ) AS PROVIDENT_PAY_MONTH,
SUM
( w.PROVIDENT_CREATE_MONTH ) AS PROVIDENT_CREATE_MONTH,
MAX
( w.PROVIDENT_CREATE_MONTH ) AS PROVIDENT_CREATE_MONTH,
SUM
( w.PROVIDENT_HOUSEHOLD ) AS PROVIDENT_HOUSEHOLD,
MAX
( w.PROVIDENT_HOUSEHOLD ) AS PROVIDENT_HOUSEHOLD,
SUM
( w.PROVIDENT_PAY_ADDR ) AS PROVIDENT_PAY_ADDR,
MAX
( w.PROVIDENT_PAY_ADDR ) AS PROVIDENT_PAY_ADDR,
SUM
( w.FUND_PROVINCE ) AS FUND_PROVINCE,
MAX
( w.FUND_PROVINCE ) AS FUND_PROVINCE,
SUM
( w.FUND_CITY ) AS FUND_CITY,
MAX
( w.FUND_CITY ) AS FUND_CITY,
SUM
( w.FUND_TOWN ) AS FUND_TOWN,
MAX
( w.FUND_TOWN ) AS FUND_TOWN,
w.SOCIAL_PROVINCE,
w.SOCIAL_PROVINCE,
w.SOCIAL_CITY,
w.SOCIAL_CITY,
w.SOCIAL_TOWN,
w.SOCIAL_TOWN,
...
@@ -710,7 +711,7 @@
...
@@ -710,7 +711,7 @@
w.PERSONAL_MEDICAL_MONEY,
w.PERSONAL_MEDICAL_MONEY,
w.PERSONAL_UNEMPLOYMENT_MONEY,
w.PERSONAL_UNEMPLOYMENT_MONEY,
w.PERSONAL_BIGMAILMENT_MONEY,
w.PERSONAL_BIGMAILMENT_MONEY,
SUM
( w.PROVIDENT_NO ) AS PROVIDENT_NO,
MAX
( w.PROVIDENT_NO ) AS PROVIDENT_NO,
SUM( w.UNIT_PROVIDENT_SET ) AS UNIT_PROVIDENT_SET,
SUM( w.UNIT_PROVIDENT_SET ) AS UNIT_PROVIDENT_SET,
SUM( w.PROVIDENT_PERCENT ) AS PROVIDENT_PERCENT,
SUM( w.PROVIDENT_PERCENT ) AS PROVIDENT_PERCENT,
w.SOCIAL_CREATE_NAME,
w.SOCIAL_CREATE_NAME,
...
@@ -722,6 +723,7 @@
...
@@ -722,6 +723,7 @@
(SELECT
(SELECT
CONCAT( a.EMP_IDCARD, '_', a.SOCIAL_PAY_MONTH, '_', a.SOCIAL_CREATE_MONTH ) AS keyGroup,
CONCAT( a.EMP_IDCARD, '_', a.SOCIAL_PAY_MONTH, '_', a.SOCIAL_CREATE_MONTH ) AS keyGroup,
a.EMP_NAME,
a.EMP_NAME,
a.EMP_NO,
a.EMP_IDCARD,
a.EMP_IDCARD,
a.UNIT_NAME,
a.UNIT_NAME,
a.SETTLE_DOMAIN_CODE,
a.SETTLE_DOMAIN_CODE,
...
@@ -784,6 +786,7 @@
...
@@ -784,6 +786,7 @@
(SELECT
(SELECT
CONCAT( a.EMP_IDCARD, '_', a.PROVIDENT_PAY_MONTH, '_', a.PROVIDENT_CREATE_MONTH ) AS keyGroup,
CONCAT( a.EMP_IDCARD, '_', a.PROVIDENT_PAY_MONTH, '_', a.PROVIDENT_CREATE_MONTH ) AS keyGroup,
a.EMP_NAME,
a.EMP_NAME,
a.EMP_NO,
a.EMP_IDCARD,
a.EMP_IDCARD,
a.UNIT_NAME,
a.UNIT_NAME,
a.SETTLE_DOMAIN_CODE,
a.SETTLE_DOMAIN_CODE,
...
@@ -855,59 +858,7 @@
...
@@ -855,59 +858,7 @@
FROM (
FROM (
select * from (
select * from (
(SELECT
(SELECT
CONCAT( a.EMP_IDCARD, '_', a.SOCIAL_PAY_MONTH, '_', a.SOCIAL_CREATE_MONTH ) AS keyGroup,
CONCAT( a.EMP_IDCARD, '_', a.SOCIAL_PAY_MONTH, '_', a.SOCIAL_CREATE_MONTH ) AS keyGroup
a.EMP_NAME,
a.EMP_IDCARD,
a.UNIT_NAME,
a.SETTLE_DOMAIN_CODE,
a.SETTLE_DOMAIN_NAME,
a.SOCIAL_HOUSEHOLD,
a.SOCIAL_SECURITY_NO,
a.SOCIAL_PAY_ADDR,
a.SOCIAL_PAY_MONTH,
a.SOCIAL_CREATE_MONTH,
SUM( a.SUM_ALL ) AS SUM_ALL,
a.PROVIDENT_PAY_MONTH,
a.PROVIDENT_CREATE_MONTH,
a.PROVIDENT_HOUSEHOLD,
a.PROVIDENT_PAY_ADDR,
a.FUND_PROVINCE,
a.FUND_CITY,
a.FUND_TOWN,
a.SOCIAL_PROVINCE,
a.SOCIAL_CITY,
a.SOCIAL_TOWN,
SUM( a.SOCIAL_SUM ) AS SOCIAL_SUM,
SUM( a.UNIT_SOCIAL_SUM ) AS UNIT_SOCIAL_SUM,
SUM( a.SOCIAL_SECURITY_PERSONAL_SUM ) AS SOCIAL_SECURITY_PERSONAL_SUM,
a.PROVIDENT_SUM,
a.INAUGURAL_TEAM,
SUM( a.COMPANY_ACCRUAL ) AS COMPANY_ACCRUAL,
SUM( a.PERSONAL_ACCRUAL ) AS PERSONAL_ACCRUAL,
a.UNIT_PENSION_SET,
a.UNIT_MEDICAL_SET,
a.UNIT_UNEMPLOYMENT_SET,
a.UNIT_INJURY_SET,
a.UNIT_BIRTH_SET,
SUM( a.UNIT_PENSION_MONEY ) AS UNIT_PENSION_MONEY,
SUM( a.UNIT_MEDICAL_MONEY ) AS UNIT_MEDICAL_MONEY,
SUM( a.UNIT_UNEMPLOYMENT_MONEY ) AS UNIT_UNEMPLOYMENT_MONEY,
SUM( a.UNIT_INJURY_MONEY ) AS UNIT_INJURY_MONEY,
SUM( a.UNIT_BIRTH_MONEY ) AS UNIT_BIRTH_MONEY,
SUM( a.UNIT_BIGMAILMENT_MONEY ) AS UNIT_BIGMAILMENT_MONEY,
SUM( a.PERSONAL_PENSION_MONEY ) AS PERSONAL_PENSION_MONEY,
SUM( a.PERSONAL_MEDICAL_MONEY ) AS PERSONAL_MEDICAL_MONEY,
SUM( a.PERSONAL_UNEMPLOYMENT_MONEY ) AS PERSONAL_UNEMPLOYMENT_MONEY,
SUM( a.PERSONAL_BIGMAILMENT_MONEY ) AS PERSONAL_BIGMAILMENT_MONEY,
a.PROVIDENT_NO,
a.UNIT_PROVIDENT_SET,
a.PROVIDENT_PERCENT,
a.PERSONAL_PROIDENT_SET,
a.CREATE_NAME AS SOCIAL_CREATE_NAME,
a.CREATE_TIME AS SOCIAL_CREATE_TIME,
NULL AS FUND_CREATE_NAME,
NULL AS FUND_CREATE_TIME,
a.UNIT_PROVIDENT_SUM
FROM t_payment_info a
FROM t_payment_info a
<where>
<where>
a.SOCIAL_ID is not null
a.SOCIAL_ID is not null
...
@@ -917,59 +868,7 @@
...
@@ -917,59 +868,7 @@
)
)
union all
union all
(SELECT
(SELECT
CONCAT( a.EMP_IDCARD, '_', a.PROVIDENT_PAY_MONTH, '_', a.PROVIDENT_CREATE_MONTH ) AS keyGroup,
CONCAT( a.EMP_IDCARD, '_', a.PROVIDENT_PAY_MONTH, '_', a.PROVIDENT_CREATE_MONTH ) AS keyGroup
a.EMP_NAME,
a.EMP_IDCARD,
a.UNIT_NAME,
a.SETTLE_DOMAIN_CODE,
a.SETTLE_DOMAIN_NAME,
a.SOCIAL_HOUSEHOLD,
a.SOCIAL_SECURITY_NO,
a.SOCIAL_PAY_ADDR,
a.SOCIAL_PAY_MONTH,
a.SOCIAL_CREATE_MONTH,
SUM( a.SUM_ALL ) AS SUM_ALL,
a.PROVIDENT_PAY_MONTH,
a.PROVIDENT_CREATE_MONTH,
a.PROVIDENT_HOUSEHOLD,
a.PROVIDENT_PAY_ADDR,
a.FUND_PROVINCE,
a.FUND_CITY,
a.FUND_TOWN,
a.SOCIAL_PROVINCE,
a.SOCIAL_CITY,
a.SOCIAL_TOWN,
a.SOCIAL_SUM,
a.UNIT_SOCIAL_SUM,
a.SOCIAL_SECURITY_PERSONAL_SUM,
SUM( a.PROVIDENT_SUM ) AS PROVIDENT_SUM,
a.INAUGURAL_TEAM,
a.COMPANY_ACCRUAL,
a.PERSONAL_ACCRUAL,
a.UNIT_PENSION_SET,
a.UNIT_MEDICAL_SET,
a.UNIT_UNEMPLOYMENT_SET,
a.UNIT_INJURY_SET,
a.UNIT_BIRTH_SET,
a.UNIT_PENSION_MONEY,
a.UNIT_MEDICAL_MONEY,
a.UNIT_UNEMPLOYMENT_MONEY,
a.UNIT_INJURY_MONEY,
a.UNIT_BIRTH_MONEY,
a.UNIT_BIGMAILMENT_MONEY,
a.PERSONAL_PENSION_MONEY,
a.PERSONAL_MEDICAL_MONEY,
a.PERSONAL_UNEMPLOYMENT_MONEY,
a.PERSONAL_BIGMAILMENT_MONEY,
a.PROVIDENT_NO,
a.UNIT_PROVIDENT_SET,
a.PROVIDENT_PERCENT,
a.PERSONAL_PROIDENT_SET,
NULL AS SOCIAL_CREATE_NAME,
NULL AS SOCIAL_CREATE_TIME,
a.CREATE_NAME AS FUND_CREATE_NAME,
a.CREATE_TIME AS FUND_CREATE_TIME,
a.UNIT_PROVIDENT_SUM
FROM t_payment_info a
FROM t_payment_info a
<where>
<where>
a.FUND_ID is not null
a.FUND_ID is not null
...
...
yifu-social/yifu-social-biz/src/main/resources/mapper/TSocialfundHouseResMapper.xml
0 → 100644
View file @
fd751b49
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ Copyright (c) 2018-2025, lengleng All rights reserved.
~
~ Redistribution and use in source and binary forms, with or without
~ modification, are permitted provided that the following conditions are met:
~
~ Redistributions of source code must retain the above copyright notice,
~ this list of conditions and the following disclaimer.
~ Redistributions in binary form must reproduce the above copyright
~ notice, this list of conditions and the following disclaimer in the
~ documentation and/or other materials provided with the distribution.
~ Neither the name of the yifu4cloud.com developer nor the names of its
~ contributors may be used to endorse or promote products derived from
~ this software without specific prior written permission.
~ Author: lengleng (wangiegie@gmail.com)
~
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yifu.cloud.plus.v1.yifu.social.mapper.TSocialfundHouseResMapper"
>
<resultMap
id=
"tSocialfundHouseResMap"
type=
"com.yifu.cloud.plus.v1.yifu.social.entity.TSocialfundHouseRes"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"userId"
column=
"USER_ID"
/>
<result
property=
"socialHousehold"
column=
"SOCIAL_HOUSEHOLD"
/>
<result
property=
"fundHousehold"
column=
"FUND_HOUSEHOLD"
/>
<result
property=
"createTime"
column=
"CREATE_TIME"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
/>
<result
property=
"status"
column=
"STATUS"
/>
<result
property=
"userName"
column=
"USER_NAME"
/>
<result
property=
"userDeptName"
column=
"USER_DEPT_NAME"
/>
<result
property=
"houseNameType"
column=
"HOUSE_NAME_TYPE"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.ID,
a.USER_ID,
a.SOCIAL_HOUSEHOLD,
a.FUND_HOUSEHOLD,
a.CREATE_TIME,
a.CREATE_BY,
a.STATUS,
a.USER_NAME,
a.USER_DEPT_NAME,
a.HOUSE_NAME_TYPE
</sql>
<sql
id=
"tSocialfundHouseRes_where"
>
<if
test=
"tSocialfundHouseRes != null"
>
<if
test=
"tSocialfundHouseRes.idList != null"
>
AND a.id in
<foreach
item=
"idStr"
index=
"index"
collection=
"tSocialfundHouseRes.idList"
open=
"("
separator=
","
close=
")"
>
#{idStr}
</foreach>
</if>
<if
test=
"tSocialfundHouseRes.idList == null"
>
<if
test=
"tSocialfundHouseRes.socialHousehold != null and tSocialfundHouseRes.socialHousehold.trim() != ''"
>
AND a.SOCIAL_HOUSEHOLD like concat('%',#{tSocialfundHouseRes.socialHousehold},'%')
</if>
<if
test=
"tSocialfundHouseRes.fundHousehold != null and tSocialfundHouseRes.fundHousehold.trim() != ''"
>
AND a.FUND_HOUSEHOLD like concat('%',#{tSocialfundHouseRes.fundHousehold},'%')
</if>
<if
test=
"tSocialfundHouseRes.status != null and tSocialfundHouseRes.status.trim() != ''"
>
AND a.STATUS = #{tSocialfundHouseRes.status}
</if>
<if
test=
"tSocialfundHouseRes.userName != null and tSocialfundHouseRes.userName.trim() != ''"
>
AND a.USER_NAME like concat('%',#{tSocialfundHouseRes.userName},'%')
</if>
<if
test=
"tSocialfundHouseRes.userDeptName != null and tSocialfundHouseRes.userDeptName.trim() != ''"
>
AND a.USER_DEPT_NAME like concat('%',#{tSocialfundHouseRes.userDeptName},'%')
</if>
</if>
</if>
</sql>
<!--tSocialfundHouseRes简单分页查询-->
<select
id=
"getTSocialfundHouseResPage"
resultMap=
"tSocialfundHouseResMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_socialfund_house_res a
<where>
1=1
<include
refid=
"tSocialfundHouseRes_where"
/>
</where>
</select>
<!--tSocialfundHouseResa导出查询-->
<select
id=
"getexportList"
resultMap=
"tSocialfundHouseResMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_socialfund_house_res a
<where>
1=1
<include
refid=
"tSocialfundHouseRes_where"
/>
</where>
</select>
</mapper>
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