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
09697b0e
Commit
09697b0e
authored
Jul 11, 2022
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
社保-基数配置-初次
parent
60002c76
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
25 changed files
with
1914 additions
and
5 deletions
+1914
-5
TEmployeeInfoServiceImpl.java
.../yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
+2
-1
SysBaseSetInfo.java
...yifu/cloud/plus/v1/yifu/social/entity/SysBaseSetInfo.java
+453
-0
SysPayProportion.java
...fu/cloud/plus/v1/yifu/social/entity/SysPayProportion.java
+75
-0
TSocialLog.java
...com/yifu/cloud/plus/v1/yifu/social/entity/TSocialLog.java
+90
-0
pom.xml
yifu-social/yifu-social-biz/pom.xml
+6
-1
package-info.java
...yifu/cloud/plus/v1/yifu/demo/controller/package-info.java
+0
-1
package-info.java
...om/yifu/cloud/plus/v1/yifu/demo/service/package-info.java
+0
-1
YifuSocialApplication.java
...yifu/cloud/plus/v1/yifu/social/YifuSocialApplication.java
+1
-1
SysBaseSetInfoController.java
...s/v1/yifu/social/controller/SysBaseSetInfoController.java
+137
-0
SysPayProportionController.java
...v1/yifu/social/controller/SysPayProportionController.java
+136
-0
TSocialLogController.java
.../plus/v1/yifu/social/controller/TSocialLogController.java
+136
-0
package-info.java
...fu/cloud/plus/v1/yifu/social/controller/package-info.java
+1
-0
SysBaseSetInfoMapper.java
...loud/plus/v1/yifu/social/mapper/SysBaseSetInfoMapper.java
+42
-0
SysPayProportionMapper.java
...ud/plus/v1/yifu/social/mapper/SysPayProportionMapper.java
+42
-0
TSocialLogMapper.java
...fu/cloud/plus/v1/yifu/social/mapper/TSocialLogMapper.java
+42
-0
SysBaseSetInfoService.java
...ud/plus/v1/yifu/social/service/SysBaseSetInfoService.java
+39
-0
SysPayProportionService.java
.../plus/v1/yifu/social/service/SysPayProportionService.java
+39
-0
TSocialLogService.java
.../cloud/plus/v1/yifu/social/service/TSocialLogService.java
+39
-0
SysBaseSetInfoServiceImpl.java
...1/yifu/social/service/impl/SysBaseSetInfoServiceImpl.java
+45
-0
SysPayProportionServiceImpl.java
...yifu/social/service/impl/SysPayProportionServiceImpl.java
+45
-0
TSocialLogServiceImpl.java
...us/v1/yifu/social/service/impl/TSocialLogServiceImpl.java
+45
-0
package-info.java
.../yifu/cloud/plus/v1/yifu/social/service/package-info.java
+1
-0
SysBaseSetInfoMapper.xml
...al-biz/src/main/resources/mapper/SysBaseSetInfoMapper.xml
+328
-0
SysPayProportionMapper.xml
...-biz/src/main/resources/mapper/SysPayProportionMapper.xml
+67
-0
TSocialLogMapper.xml
...social-biz/src/main/resources/mapper/TSocialLogMapper.xml
+103
-0
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
View file @
09697b0e
...
...
@@ -539,9 +539,10 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
// 记录变更日志
tEmployeeLogService
.
saveModificationRecord
(
CommonConstants
.
dingleDigitIntArray
[
0
],
canDeleteList
.
get
(
i
).
getId
(),
""
,
deleteOldList
.
get
(
i
),
canDeleteList
.
get
(
i
));
}
}
errorMessageList
.
clear
();
return
R
.
ok
();
}
}
@Override
public
R
<
String
>
minusEmployee
(
String
id
,
String
leaveReason
,
String
leaveRemark
)
{
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/SysBaseSetInfo.java
0 → 100644
View file @
09697b0e
This diff is collapsed.
Click to expand it.
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/SysPayProportion.java
0 → 100644
View file @
09697b0e
/*
* 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.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
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
;
/**
* 公积金政策对应的缴费比例表
*
* @author hgw
* @date 2022-07-11 18:13:22
*/
@Data
@TableName
(
"sys_pay_proportion"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"公积金政策对应的缴费比例表"
)
public
class
SysPayProportion
extends
BaseEntity
{
/**
* id
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ExcelAttribute
(
name
=
"id"
)
@Schema
(
description
=
"id"
)
@ExcelProperty
(
"id"
)
private
String
id
;
/**
* 住房公积金公司缴纳比例
*/
@ExcelAttribute
(
name
=
"住房公积金公司缴纳比例"
)
@Schema
(
description
=
"住房公积金公司缴纳比例"
)
@ExcelProperty
(
"住房公积金公司缴纳比例"
)
private
Double
companyPro
;
/**
* 公积金住房个人缴纳比例
*/
@ExcelAttribute
(
name
=
"公积金住房个人缴纳比例"
)
@Schema
(
description
=
"公积金住房个人缴纳比例"
)
@ExcelProperty
(
"公积金住房个人缴纳比例"
)
private
Double
personalPro
;
/**
* 关联公积金政策基数设置表ID
*/
@ExcelAttribute
(
name
=
"关联公积金政策基数设置表ID"
)
@Schema
(
description
=
"关联公积金政策基数设置表ID"
)
@ExcelProperty
(
"关联公积金政策基数设置表ID"
)
private
String
sysBaseSetId
;
}
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TSocialLog.java
0 → 100644
View file @
09697b0e
/*
* 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.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
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
;
/**
* 社保变更记录表
*
* @author hgw
* @date 2022-07-11 18:13:21
*/
@Data
@TableName
(
"t_social_log"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"社保变更记录表"
)
public
class
TSocialLog
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ExcelAttribute
(
name
=
"主键"
)
@Schema
(
description
=
"主键"
)
@ExcelProperty
(
"主键"
)
private
String
id
;
/**
* 类型:1社保基数配置;2公积金基数配置
*/
@ExcelAttribute
(
name
=
"类型:1社保基数配置;2公积金基数配置"
)
@Schema
(
description
=
"类型:1社保基数配置;2公积金基数配置"
)
@ExcelProperty
(
"类型:1社保基数配置;2公积金基数配置"
)
private
Integer
type
;
/**
* 主表id
*/
@ExcelAttribute
(
name
=
"主表id"
)
@Schema
(
description
=
"主表id"
)
@ExcelProperty
(
"主表id"
)
private
String
mainId
;
/**
* 原来的信息
*/
@ExcelAttribute
(
name
=
"原来的信息"
)
@Schema
(
description
=
"原来的信息"
)
@ExcelProperty
(
"原来的信息"
)
private
String
oldInfo
;
/**
* 新的信息
*/
@ExcelAttribute
(
name
=
"新的信息"
)
@Schema
(
description
=
"新的信息"
)
@ExcelProperty
(
"新的信息"
)
private
String
newInfo
;
/**
* 差异的信息(属性名称,逗号隔开)
*/
@ExcelAttribute
(
name
=
"差异的信息(属性名称,逗号隔开)"
)
@Schema
(
description
=
"差异的信息(属性名称,逗号隔开)"
)
@ExcelProperty
(
"差异的信息(属性名称,逗号隔开)"
)
private
String
differenceInfo
;
}
yifu-social/yifu-social-biz/pom.xml
View file @
09697b0e
...
...
@@ -27,6 +27,11 @@
<groupId>
com.yifu.cloud.plus.v1
</groupId>
<artifactId>
yifu-common-seata
</artifactId>
</dependency>
<dependency>
<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>
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/demo/controller/package-info.java
deleted
100644 → 0
View file @
60002c76
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
demo
.
controller
;
\ No newline at end of file
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/demo/service/package-info.java
deleted
100644 → 0
View file @
60002c76
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
demo
.
service
;
\ No newline at end of file
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/
demo
/YifuSocialApplication.java
→
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/
social
/YifuSocialApplication.java
View file @
09697b0e
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
demo
;
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
;
import
com.yifu.cloud.plus.v1.yifu.common.security.annotation.EnableYifuResourceServer
;
import
org.springframework.boot.SpringApplication
;
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/SysBaseSetInfoController.java
0 → 100644
View file @
09697b0e
/*
* 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.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.CacheConstants
;
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.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.SysBaseSetInfo
;
import
com.yifu.cloud.plus.v1.yifu.social.service.SysBaseSetInfoService
;
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
;
/**
* 基数设置表
*
* @author hgw
* @date 2022-07-11 18:21:23
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/sysbasesetinfo"
)
@Tag
(
name
=
"基数设置表管理"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
SysBaseSetInfoController
{
private
final
SysBaseSetInfoService
sysBaseSetInfoService
;
/**
* 简单分页查询
*
* @param page 分页对象
* @param sysBaseSetInfo 基数设置表
* @return
*/
@Operation
(
summary
=
"分页查询"
,
description
=
"分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
SysBaseSetInfo
>>
getSysBaseSetInfoPage
(
Page
<
SysBaseSetInfo
>
page
,
SysBaseSetInfo
sysBaseSetInfo
)
{
return
new
R
<>(
sysBaseSetInfoService
.
getSysBaseSetInfoPage
(
page
,
sysBaseSetInfo
));
}
/**
* 不分页查询
*
* @param sysBaseSetInfo 基数设置表
* @return
*/
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
//@PreAuthorize("@pms.hasPermission('social_sysbasesetinfo_get')" )
public
R
<
List
<
SysBaseSetInfo
>>
getSysBaseSetInfoNoPage
(
@RequestBody
SysBaseSetInfo
sysBaseSetInfo
)
{
return
R
.
ok
(
sysBaseSetInfoService
.
list
(
Wrappers
.
query
(
sysBaseSetInfo
).
orderByDesc
(
CommonConstants
.
CREATE_TIME
)));
}
/**
* 通过id查询基数设置表
*
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('social_sysbasesetinfo_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('social_sysbasesetinfo_get')"
)
public
R
<
SysBaseSetInfo
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
sysBaseSetInfoService
.
getById
(
id
));
}
/**
* 新增基数设置表
*
* @param sysBaseSetInfo 基数设置表
* @return R
*/
@Operation
(
summary
=
"新增基数设置表"
,
description
=
"新增基数设置表:hasPermission('social_sysbasesetinfo_add')"
)
@SysLog
(
"新增基数设置表"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('social_sysbasesetinfo_add')"
)
public
R
<
Boolean
>
save
(
@RequestBody
SysBaseSetInfo
sysBaseSetInfo
)
{
return
R
.
ok
(
sysBaseSetInfoService
.
save
(
sysBaseSetInfo
));
}
/**
* 修改基数设置表
*
* @param sysBaseSetInfo 基数设置表
* @return R
*/
@Operation
(
summary
=
"修改基数设置表"
,
description
=
"修改基数设置表:hasPermission('social_sysbasesetinfo_edit')"
)
@SysLog
(
"修改基数设置表"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('social_sysbasesetinfo_edit')"
)
public
R
<
Boolean
>
updateById
(
@RequestBody
SysBaseSetInfo
sysBaseSetInfo
)
{
return
R
.
ok
(
sysBaseSetInfoService
.
updateById
(
sysBaseSetInfo
));
}
/**
* 通过id删除基数设置表
*
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除基数设置表"
,
description
=
"通过id删除基数设置表:hasPermission('social_sysbasesetinfo_del')"
)
@SysLog
(
"通过id删除基数设置表"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('social_sysbasesetinfo_del')"
)
public
R
<
Boolean
>
removeById
(
@PathVariable
String
id
)
{
return
R
.
ok
(
sysBaseSetInfoService
.
removeById
(
id
));
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/SysPayProportionController.java
0 → 100644
View file @
09697b0e
/*
* 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.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
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.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.*
;
import
java.util.List
;
/**
* 公积金政策对应的缴费比例表
*
* @author hgw
* @date 2022-07-11 18:21:23
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/syspayproportion"
)
@Tag
(
name
=
"公积金政策对应的缴费比例表管理"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
SysPayProportionController
{
private
final
SysPayProportionService
sysPayProportionService
;
/**
* 简单分页查询
*
* @param page 分页对象
* @param sysPayProportion 公积金政策对应的缴费比例表
* @return
*/
@Operation
(
summary
=
"分页查询"
,
description
=
"分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
SysPayProportion
>>
getSysPayProportionPage
(
Page
<
SysPayProportion
>
page
,
SysPayProportion
sysPayProportion
)
{
return
new
R
<>(
sysPayProportionService
.
getSysPayProportionPage
(
page
,
sysPayProportion
));
}
/**
* 不分页查询
*
* @param sysPayProportion 公积金政策对应的缴费比例表
* @return
*/
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
//@PreAuthorize("@pms.hasPermission('social_syspayproportion_get')" )
public
R
<
List
<
SysPayProportion
>>
getSysPayProportionNoPage
(
@RequestBody
SysPayProportion
sysPayProportion
)
{
return
R
.
ok
(
sysPayProportionService
.
list
(
Wrappers
.
query
(
sysPayProportion
).
orderByDesc
(
CommonConstants
.
CREATE_TIME
)));
}
/**
* 通过id查询公积金政策对应的缴费比例表
*
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('social_syspayproportion_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('social_syspayproportion_get')"
)
public
R
<
SysPayProportion
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
sysPayProportionService
.
getById
(
id
));
}
/**
* 新增公积金政策对应的缴费比例表
*
* @param sysPayProportion 公积金政策对应的缴费比例表
* @return R
*/
@Operation
(
summary
=
"新增公积金政策对应的缴费比例表"
,
description
=
"新增公积金政策对应的缴费比例表:hasPermission('social_syspayproportion_add')"
)
@SysLog
(
"新增公积金政策对应的缴费比例表"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('social_syspayproportion_add')"
)
public
R
<
Boolean
>
save
(
@RequestBody
SysPayProportion
sysPayProportion
)
{
return
R
.
ok
(
sysPayProportionService
.
save
(
sysPayProportion
));
}
/**
* 修改公积金政策对应的缴费比例表
*
* @param sysPayProportion 公积金政策对应的缴费比例表
* @return R
*/
@Operation
(
summary
=
"修改公积金政策对应的缴费比例表"
,
description
=
"修改公积金政策对应的缴费比例表:hasPermission('social_syspayproportion_edit')"
)
@SysLog
(
"修改公积金政策对应的缴费比例表"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('social_syspayproportion_edit')"
)
public
R
<
Boolean
>
updateById
(
@RequestBody
SysPayProportion
sysPayProportion
)
{
return
R
.
ok
(
sysPayProportionService
.
updateById
(
sysPayProportion
));
}
/**
* 通过id删除公积金政策对应的缴费比例表
*
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除公积金政策对应的缴费比例表"
,
description
=
"通过id删除公积金政策对应的缴费比例表:hasPermission('social_syspayproportion_del')"
)
@SysLog
(
"通过id删除公积金政策对应的缴费比例表"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('social_syspayproportion_del')"
)
public
R
<
Boolean
>
removeById
(
@PathVariable
String
id
)
{
return
R
.
ok
(
sysPayProportionService
.
removeById
(
id
));
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TSocialLogController.java
0 → 100644
View file @
09697b0e
/*
* 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.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
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.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TSocialLog
;
import
com.yifu.cloud.plus.v1.yifu.social.service.TSocialLogService
;
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
;
/**
* 社保变更记录表
*
* @author hgw
* @date 2022-07-11 18:21:23
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/tsociallog"
)
@Tag
(
name
=
"社保变更记录表管理"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
TSocialLogController
{
private
final
TSocialLogService
tSocialLogService
;
/**
* 简单分页查询
*
* @param page 分页对象
* @param tSocialLog 社保变更记录表
* @return
*/
@Operation
(
summary
=
"分页查询"
,
description
=
"分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TSocialLog
>>
getTSocialLogPage
(
Page
<
TSocialLog
>
page
,
TSocialLog
tSocialLog
)
{
return
new
R
<>(
tSocialLogService
.
getTSocialLogPage
(
page
,
tSocialLog
));
}
/**
* 不分页查询
*
* @param tSocialLog 社保变更记录表
* @return
*/
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
//@PreAuthorize("@pms.hasPermission('social_tsociallog_get')" )
public
R
<
List
<
TSocialLog
>>
getTSocialLogNoPage
(
@RequestBody
TSocialLog
tSocialLog
)
{
return
R
.
ok
(
tSocialLogService
.
list
(
Wrappers
.
query
(
tSocialLog
).
orderByDesc
(
CommonConstants
.
CREATE_TIME
)));
}
/**
* 通过id查询社保变更记录表
*
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('social_tsociallog_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('social_tsociallog_get')"
)
public
R
<
TSocialLog
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
tSocialLogService
.
getById
(
id
));
}
/**
* 新增社保变更记录表
*
* @param tSocialLog 社保变更记录表
* @return R
*/
@Operation
(
summary
=
"新增社保变更记录表"
,
description
=
"新增社保变更记录表:hasPermission('social_tsociallog_add')"
)
@SysLog
(
"新增社保变更记录表"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('social_tsociallog_add')"
)
public
R
<
Boolean
>
save
(
@RequestBody
TSocialLog
tSocialLog
)
{
return
R
.
ok
(
tSocialLogService
.
save
(
tSocialLog
));
}
/**
* 修改社保变更记录表
*
* @param tSocialLog 社保变更记录表
* @return R
*/
@Operation
(
summary
=
"修改社保变更记录表"
,
description
=
"修改社保变更记录表:hasPermission('social_tsociallog_edit')"
)
@SysLog
(
"修改社保变更记录表"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('social_tsociallog_edit')"
)
public
R
<
Boolean
>
updateById
(
@RequestBody
TSocialLog
tSocialLog
)
{
return
R
.
ok
(
tSocialLogService
.
updateById
(
tSocialLog
));
}
/**
* 通过id删除社保变更记录表
*
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除社保变更记录表"
,
description
=
"通过id删除社保变更记录表:hasPermission('social_tsociallog_del')"
)
@SysLog
(
"通过id删除社保变更记录表"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('social_tsociallog_del')"
)
public
R
<
Boolean
>
removeById
(
@PathVariable
String
id
)
{
return
R
.
ok
(
tSocialLogService
.
removeById
(
id
));
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/package-info.java
0 → 100644
View file @
09697b0e
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
0 → 100644
View file @
09697b0e
/*
* 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.SysBaseSetInfo
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
/**
* 基数设置表
*
* @author hgw
* @date 2022-07-11 18:21:23
*/
@Mapper
public
interface
SysBaseSetInfoMapper
extends
BaseMapper
<
SysBaseSetInfo
>
{
/**
* 基数设置表简单分页查询
*
* @param sysBaseSetInfo 基数设置表
* @return
*/
IPage
<
SysBaseSetInfo
>
getSysBaseSetInfoPage
(
Page
<
SysBaseSetInfo
>
page
,
@Param
(
"sysBaseSetInfo"
)
SysBaseSetInfo
sysBaseSetInfo
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/mapper/SysPayProportionMapper.java
0 → 100644
View file @
09697b0e
/*
* 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.SysPayProportion
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
/**
* 公积金政策对应的缴费比例表
*
* @author hgw
* @date 2022-07-11 18:21:23
*/
@Mapper
public
interface
SysPayProportionMapper
extends
BaseMapper
<
SysPayProportion
>
{
/**
* 公积金政策对应的缴费比例表简单分页查询
*
* @param sysPayProportion 公积金政策对应的缴费比例表
* @return
*/
IPage
<
SysPayProportion
>
getSysPayProportionPage
(
Page
<
SysPayProportion
>
page
,
@Param
(
"sysPayProportion"
)
SysPayProportion
sysPayProportion
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/mapper/TSocialLogMapper.java
0 → 100644
View file @
09697b0e
/*
* 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.TSocialLog
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
/**
* 社保变更记录表
*
* @author hgw
* @date 2022-07-11 18:21:23
*/
@Mapper
public
interface
TSocialLogMapper
extends
BaseMapper
<
TSocialLog
>
{
/**
* 社保变更记录表简单分页查询
*
* @param tSocialLog 社保变更记录表
* @return
*/
IPage
<
TSocialLog
>
getTSocialLogPage
(
Page
<
TSocialLog
>
page
,
@Param
(
"tSocialLog"
)
TSocialLog
tSocialLog
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/SysBaseSetInfoService.java
0 → 100644
View file @
09697b0e
/*
* 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.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.SysBaseSetInfo
;
/**
* 基数设置表
*
* @author hgw
* @date 2022-07-11 18:21:23
*/
public
interface
SysBaseSetInfoService
extends
IService
<
SysBaseSetInfo
>
{
/**
* 基数设置表简单分页查询
*
* @param sysBaseSetInfo 基数设置表
* @return
*/
IPage
<
SysBaseSetInfo
>
getSysBaseSetInfoPage
(
Page
<
SysBaseSetInfo
>
page
,
SysBaseSetInfo
sysBaseSetInfo
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/SysPayProportionService.java
0 → 100644
View file @
09697b0e
/*
* 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.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.SysPayProportion
;
/**
* 公积金政策对应的缴费比例表
*
* @author hgw
* @date 2022-07-11 18:21:23
*/
public
interface
SysPayProportionService
extends
IService
<
SysPayProportion
>
{
/**
* 公积金政策对应的缴费比例表简单分页查询
*
* @param sysPayProportion 公积金政策对应的缴费比例表
* @return
*/
IPage
<
SysPayProportion
>
getSysPayProportionPage
(
Page
<
SysPayProportion
>
page
,
SysPayProportion
sysPayProportion
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/TSocialLogService.java
0 → 100644
View file @
09697b0e
/*
* 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.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TSocialLog
;
/**
* 社保变更记录表
*
* @author hgw
* @date 2022-07-11 18:21:23
*/
public
interface
TSocialLogService
extends
IService
<
TSocialLog
>
{
/**
* 社保变更记录表简单分页查询
*
* @param tSocialLog 社保变更记录表
* @return
*/
IPage
<
TSocialLog
>
getTSocialLogPage
(
Page
<
TSocialLog
>
page
,
TSocialLog
tSocialLog
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/SysBaseSetInfoServiceImpl.java
0 → 100644
View file @
09697b0e
/*
* 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.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.SysBaseSetInfo
;
import
com.yifu.cloud.plus.v1.yifu.social.mapper.SysBaseSetInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.social.service.SysBaseSetInfoService
;
import
org.springframework.stereotype.Service
;
/**
* 基数设置表
*
* @author hgw
* @date 2022-07-11 18:21:23
*/
@Service
public
class
SysBaseSetInfoServiceImpl
extends
ServiceImpl
<
SysBaseSetInfoMapper
,
SysBaseSetInfo
>
implements
SysBaseSetInfoService
{
/**
* 基数设置表简单分页查询
*
* @param sysBaseSetInfo 基数设置表
* @return
*/
@Override
public
IPage
<
SysBaseSetInfo
>
getSysBaseSetInfoPage
(
Page
<
SysBaseSetInfo
>
page
,
SysBaseSetInfo
sysBaseSetInfo
)
{
return
baseMapper
.
getSysBaseSetInfoPage
(
page
,
sysBaseSetInfo
);
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/SysPayProportionServiceImpl.java
0 → 100644
View file @
09697b0e
/*
* 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.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.SysPayProportion
;
import
com.yifu.cloud.plus.v1.yifu.social.mapper.SysPayProportionMapper
;
import
com.yifu.cloud.plus.v1.yifu.social.service.SysPayProportionService
;
import
org.springframework.stereotype.Service
;
/**
* 公积金政策对应的缴费比例表
*
* @author hgw
* @date 2022-07-11 18:21:23
*/
@Service
public
class
SysPayProportionServiceImpl
extends
ServiceImpl
<
SysPayProportionMapper
,
SysPayProportion
>
implements
SysPayProportionService
{
/**
* 公积金政策对应的缴费比例表简单分页查询
*
* @param sysPayProportion 公积金政策对应的缴费比例表
* @return
*/
@Override
public
IPage
<
SysPayProportion
>
getSysPayProportionPage
(
Page
<
SysPayProportion
>
page
,
SysPayProportion
sysPayProportion
)
{
return
baseMapper
.
getSysPayProportionPage
(
page
,
sysPayProportion
);
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TSocialLogServiceImpl.java
0 → 100644
View file @
09697b0e
/*
* 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.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TSocialLog
;
import
com.yifu.cloud.plus.v1.yifu.social.mapper.TSocialLogMapper
;
import
com.yifu.cloud.plus.v1.yifu.social.service.TSocialLogService
;
import
org.springframework.stereotype.Service
;
/**
* 社保变更记录表
*
* @author hgw
* @date 2022-07-11 18:21:23
*/
@Service
public
class
TSocialLogServiceImpl
extends
ServiceImpl
<
TSocialLogMapper
,
TSocialLog
>
implements
TSocialLogService
{
/**
* 社保变更记录表简单分页查询
*
* @param tSocialLog 社保变更记录表
* @return
*/
@Override
public
IPage
<
TSocialLog
>
getTSocialLogPage
(
Page
<
TSocialLog
>
page
,
TSocialLog
tSocialLog
)
{
return
baseMapper
.
getTSocialLogPage
(
page
,
tSocialLog
);
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/package-info.java
0 → 100644
View file @
09697b0e
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
service
;
\ No newline at end of file
yifu-social/yifu-social-biz/src/main/resources/mapper/SysBaseSetInfoMapper.xml
0 → 100644
View file @
09697b0e
This diff is collapsed.
Click to expand it.
yifu-social/yifu-social-biz/src/main/resources/mapper/SysPayProportionMapper.xml
0 → 100644
View file @
09697b0e
<?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.SysPayProportionMapper"
>
<resultMap
id=
"sysPayProportionMap"
type=
"com.yifu.cloud.plus.v1.yifu.social.entity.SysPayProportion"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"companyPro"
column=
"COMPANY_PRO"
/>
<result
property=
"personalPro"
column=
"PERSONAL_PRO"
/>
<result
property=
"sysBaseSetId"
column=
"SYS_BASE_SET_ID"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a
.
ID
,
a.COMPANY_PRO,
a.PERSONAL_PRO,
a.SYS_BASE_SET_ID
</sql>
<sql
id=
"sysPayProportion_where"
>
<if
test=
"sysPayProportion != null"
>
<if
test=
"sysPayProportion.id != null and sysPayProportion.id.trim() != ''"
>
AND a.ID = #{sysPayProportion.id}
</if>
<if
test=
"sysPayProportion.companyPro != null"
>
AND a.COMPANY_PRO = #{sysPayProportion.companyPro}
</if>
<if
test=
"sysPayProportion.personalPro != null"
>
AND a.PERSONAL_PRO = #{sysPayProportion.personalPro}
</if>
<if
test=
"sysPayProportion.sysBaseSetId != null and sysPayProportion.sysBaseSetId.trim() != ''"
>
AND a.SYS_BASE_SET_ID = #{sysPayProportion.sysBaseSetId}
</if>
</if>
</sql>
<!--sysPayProportion简单分页查询-->
<select
id=
"getSysPayProportionPage"
resultMap=
"sysPayProportionMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM sys_pay_proportion a
<where>
1=1
<include
refid=
"sysPayProportion_where"
/>
</where>
</select>
</mapper>
yifu-social/yifu-social-biz/src/main/resources/mapper/TSocialLogMapper.xml
0 → 100644
View file @
09697b0e
<?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.TSocialLogMapper"
>
<resultMap
id=
"tSocialLogMap"
type=
"com.yifu.cloud.plus.v1.yifu.social.entity.TSocialLog"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"type"
column=
"TYPE"
/>
<result
property=
"mainId"
column=
"MAIN_ID"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
/>
<result
property=
"createTime"
column=
"CREATE_TIME"
/>
<result
property=
"updateBy"
column=
"UPDATE_BY"
/>
<result
property=
"updateTime"
column=
"UPDATE_TIME"
/>
<result
property=
"oldInfo"
column=
"OLD_INFO"
/>
<result
property=
"newInfo"
column=
"NEW_INFO"
/>
<result
property=
"differenceInfo"
column=
"DIFFERENCE_INFO"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a
.
ID
,
a.TYPE,
a.MAIN_ID,
a.CREATE_BY,
a.CREATE_NAME,
a.CREATE_TIME,
a.UPDATE_BY,
a.UPDATE_TIME,
a.OLD_INFO,
a.NEW_INFO,
a.DIFFERENCE_INFO
</sql>
<sql
id=
"tSocialLog_where"
>
<if
test=
"tSocialLog != null"
>
<if
test=
"tSocialLog.id != null and tSocialLog.id.trim() != ''"
>
AND a.ID = #{tSocialLog.id}
</if>
<if
test=
"tSocialLog.type != null"
>
AND a.TYPE = #{tSocialLog.type}
</if>
<if
test=
"tSocialLog.mainId != null and tSocialLog.mainId.trim() != ''"
>
AND a.MAIN_ID = #{tSocialLog.mainId}
</if>
<if
test=
"tSocialLog.createBy != null and tSocialLog.createBy.trim() != ''"
>
AND a.CREATE_BY = #{tSocialLog.createBy}
</if>
<if
test=
"tSocialLog.createName != null and tSocialLog.createName.trim() != ''"
>
AND a.CREATE_NAME = #{tSocialLog.createName}
</if>
<if
test=
"tSocialLog.createTime != null"
>
AND a.CREATE_TIME = #{tSocialLog.createTime}
</if>
<if
test=
"tSocialLog.updateBy != null and tSocialLog.updateBy.trim() != ''"
>
AND a.UPDATE_BY = #{tSocialLog.updateBy}
</if>
<if
test=
"tSocialLog.updateTime != null"
>
AND a.UPDATE_TIME = #{tSocialLog.updateTime}
</if>
<if
test=
"tSocialLog.oldInfo != null and tSocialLog.oldInfo.trim() != ''"
>
AND a.OLD_INFO = #{tSocialLog.oldInfo}
</if>
<if
test=
"tSocialLog.newInfo != null and tSocialLog.newInfo.trim() != ''"
>
AND a.NEW_INFO = #{tSocialLog.newInfo}
</if>
<if
test=
"tSocialLog.differenceInfo != null and tSocialLog.differenceInfo.trim() != ''"
>
AND a.DIFFERENCE_INFO = #{tSocialLog.differenceInfo}
</if>
</if>
</sql>
<!--tSocialLog简单分页查询-->
<select
id=
"getTSocialLogPage"
resultMap=
"tSocialLogMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_social_log a
<where>
1=1
<include
refid=
"tSocialLog_where"
/>
</where>
order by a.CREATE_TIME desc
</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