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
0626bd5b
Commit
0626bd5b
authored
Sep 11, 2023
by
hongguangwu
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/MVP1.5.8' into MVP1.5.8
parents
9482ae34
e3d3aa57
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
12 deletions
+18
-12
SysUserPermissionMapper.xml
...biz/src/main/resources/mapper/SysUserPermissionMapper.xml
+8
-8
TDispatchInfoController.java
...us/v1/yifu/social/controller/TDispatchInfoController.java
+3
-3
TDispatchInfoMapper.xml
...ial-biz/src/main/resources/mapper/TDispatchInfoMapper.xml
+7
-1
No files found.
yifu-permission/yifu-permission-biz/src/main/resources/mapper/SysUserPermissionMapper.xml
View file @
0626bd5b
...
...
@@ -46,7 +46,7 @@
a.ID,
a.EMP_NAME,
a.EMP_LOGIN_NAME,
b.fd_dept_name,
b.fd_dept_name
as EMP_DEPT
,
a.PERMISSION_TYPE,
a.NAME,
a.CODE,
...
...
@@ -71,7 +71,7 @@
AND a.EMP_LOGIN_NAME = #{sysUserPermission.empLoginName}
</if>
<if
test=
"sysUserPermission.empDept != null and sysUserPermission.empDept.trim() != ''"
>
AND b.
EMP_DEPT
like concat('%',#{sysUserPermission.empDept},'%')
AND b.
fd_dept_name
like concat('%',#{sysUserPermission.empDept},'%')
</if>
<if
test=
"sysUserPermission.permissionType != null and sysUserPermission.permissionType.trim() != ''"
>
AND a.PERMISSION_TYPE = #{sysUserPermission.permissionType}
...
...
@@ -92,7 +92,7 @@
<select
id=
"getSysUserPermissionPage"
resultMap=
"sysUserPermissionMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM sys_user_permission a left join sys_user_info b on a.
EMP_LOGIN_NAME = b.fd_login_name
FROM sys_user_permission a left join sys_user_info b on a.
user_id = b.fd_id
<where>
a.DELETE_FLAG = '1'
<include
refid=
"sysUserPermission_where"
/>
...
...
@@ -103,7 +103,7 @@
<select
id=
"userSelectCount"
resultType=
"java.lang.Long"
>
SELECT
count(1)
FROM sys_user_permission a left join sys_user_info b on a.
EMP_LOGIN_NAME = b.fd_login_name
FROM sys_user_permission a left join sys_user_info b on a.
user_id = b.fd_id
<where>
a.DELETE_FLAG = '1'
<include
refid=
"sysUserPermission_where"
/>
...
...
@@ -114,8 +114,8 @@
SELECT
a.EMP_NAME,
a.EMP_LOGIN_NAME,
c.fd_dept_name
,
b
.name AS PERMISSION_TYPE,
b.fd_dept_name as EMP_DEPT
,
c
.name AS PERMISSION_TYPE,
a.NAME,
a.CODE,
CASE WHEN a.IS_CONTAINS=0 THEN "是"
...
...
@@ -125,8 +125,8 @@
WHEN a.PERMISSION_STATUS =1 THEN "禁用"
ELSE a.PERMISSION_STATUS END as PERMISSION_STATUS
FROM sys_user_permission a
LEFT JOIN permission_type
b on a.PERMISSION_TYPE = b
.id
LEFT JOIN sys_user_info
c on a.EMP_LOGIN_NAME = c.fd_login_name
LEFT JOIN permission_type
c on a.PERMISSION_TYPE = c
.id
LEFT JOIN sys_user_info
b on a.user_id = b.fd_id
<where>
a.DELETE_FLAG = '1'
<include
refid=
"sysUserPermission_where"
/>
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TDispatchInfoController.java
View file @
0626bd5b
...
...
@@ -828,14 +828,14 @@ public class TDispatchInfoController {
/**
* @Author wzb
* @Description 导出
导出医保花名
册
* @Description 导出
住房公积金补缴清
册
* @Date 10:05 2023/7/28
* @Param
* @return
**/
@PostMapping
(
"/doexportFundSupplementaryInfo"
)
@Operation
(
description
=
"导出住房公积金补缴
申请书
"
)
@SysLog
(
"导出住房公积金补缴
申请书
"
)
@Operation
(
description
=
"导出住房公积金补缴
清册
"
)
@SysLog
(
"导出住房公积金补缴
清册
"
)
public
void
doexportFundInfoOne
(
HttpServletResponse
response
,
HttpServletRequest
request
,
@RequestBody
SocialHandleSearchVo
searchVo
)
{
YifuUser
user
=
SecurityUtils
.
getUser
();
...
...
yifu-social/yifu-social-biz/src/main/resources/mapper/TDispatchInfoMapper.xml
View file @
0626bd5b
...
...
@@ -1978,11 +1978,17 @@
<sql
id=
"where_getFund"
>
a.DELETE_FLAG = 0
AND a.fund_id is not null
AND a.STATUS in ('2','4')
AND ((PERIOD_DIFF(#{tDispatchInfo.disMonth},REPLACE ( DATE_FORMAT( s.PROVIDENT_START, "%Y-%m" ), '-', '' )))+1) >0
AND a.DISPATCH_ITEM like concat('%','公积金','%')
AND a.Type=0
<if
test=
"tDispatchInfo != null"
>
<!-- dispatch-status 未提交1待审核2审核通过3审核不通过4办理完成5待SSC审核 -->
<if
test=
'tDispatchInfo.auditStatus != null and tDispatchInfo.auditStatus.trim() == "0" '
>
AND a.STATUS in ('2','4')
</if>
<if
test=
'tDispatchInfo.auditStatus != null and tDispatchInfo.auditStatus.trim() == "1" '
>
AND a.STATUS in ('1','5')
</if>
<if
test=
"tDispatchInfo.providentHouseholdName != null and tDispatchInfo.providentHouseholdName.trim() != ''"
>
AND a.PROVIDENT_HOUSEHOLD_NAME = #{tDispatchInfo.providentHouseholdName}
</if>
...
...
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