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
df405a2b
Commit
df405a2b
authored
May 09, 2024
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
节假日配置表及社保医疗截止配置表
parent
264828cf
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
66 additions
and
6 deletions
+66
-6
TDispatchInfo.java
.../yifu/cloud/plus/v1/yifu/social/entity/TDispatchInfo.java
+14
-0
TDispatchInfoExportVo.java
...u/cloud/plus/v1/yifu/social/vo/TDispatchInfoExportVo.java
+9
-0
SysHouseHoldInfoController.java
...v1/yifu/social/controller/SysHouseHoldInfoController.java
+29
-0
TDispatchInfoMapper.xml
...ial-biz/src/main/resources/mapper/TDispatchInfoMapper.xml
+14
-6
No files found.
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TDispatchInfo.java
View file @
df405a2b
...
...
@@ -813,4 +813,18 @@ public class TDispatchInfo extends BaseEntity {
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"通信地址"
)
private
String
contactAddress
;
/**
* @Author fxj
* @Description 社保自动化标识 0 是 1 否
* @Date 15:32 2023/5/9
* @Param
* @return
**/
@ExcelAttribute
(
name
=
"社保自动化标识"
,
maxLength
=
1
)
@Schema
(
description
=
"社保自动化标识 0 是 1 否"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"社保自动化标识"
)
private
String
autoFlag
;
}
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TDispatchInfoExportVo.java
View file @
df405a2b
...
...
@@ -520,4 +520,13 @@ public class TDispatchInfoExportVo {
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
value
=
"首次至缴纳地时间"
)
private
Date
firstPayTime
;
/**
* 社保自动化标识 0 是 1 否
*/
@ExcelAttribute
(
name
=
"是否自动化审核"
,
isNotEmpty
=
false
)
@Schema
(
description
=
"是否自动化审核:0 是 1 否"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
value
=
"是否自动化审核"
)
private
String
autoFlag
;
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/SysHouseHoldInfoController.java
View file @
df405a2b
...
...
@@ -181,4 +181,33 @@ public class SysHouseHoldInfoController {
return
R
.
ok
(
houseHoldList
);
}
/**
* @param flag 0/1
* @param name 户名
* @return 获取自动化标识
*/
@GetMapping
(
"/getAutoFlag"
)
@Operation
(
summary
=
"获取自动化标识"
,
description
=
"获取自动化标识"
)
public
R
<
Integer
>
getAutoFlag
(
@RequestParam
String
flag
,
@RequestParam
(
required
=
false
)
String
name
)
{
SysHouseHoldInfo
houseHoldInfo
;
LambdaQueryWrapper
<
SysHouseHoldInfo
>
wrapper
=
Wrappers
.
lambdaQuery
();
wrapper
.
eq
(
SysHouseHoldInfo:
:
getDelFlag
,
CommonConstants
.
ZERO_STRING
);
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
flag
))
{
wrapper
.
eq
(
SysHouseHoldInfo:
:
getType
,
CommonConstants
.
ZERO_STRING
);
if
(
Common
.
isNotNull
(
name
))
{
wrapper
.
eq
(
SysHouseHoldInfo:
:
getName
,
name
);
}
}
else
{
wrapper
.
eq
(
SysHouseHoldInfo:
:
getType
,
CommonConstants
.
ONE_STRING
);
if
(
Common
.
isNotNull
(
name
))
{
wrapper
.
eq
(
SysHouseHoldInfo:
:
getName
,
name
);
}
}
houseHoldInfo
=
sysHouseHoldInfoService
.
getOne
(
wrapper
);
if
(
Common
.
isNotNull
(
houseHoldInfo
)
&&
CommonConstants
.
ZERO_STRING
.
equals
(
houseHoldInfo
.
getAutoStatus
())){
return
R
.
ok
(
1
);
}
return
R
.
ok
(
0
);
}
}
yifu-social/yifu-social-biz/src/main/resources/mapper/TDispatchInfoMapper.xml
View file @
df405a2b
...
...
@@ -103,6 +103,8 @@
<result
property=
"major"
column=
"MAJOR"
/>
<result
property=
"firstPayTime"
column=
"FIRST_PAY_TIME"
/>
<result
property=
"graduationTime"
column=
"GRADUATION_TIME"
/>
<result
property=
"autoFlag"
column=
"AUTO_FLAG"
/>
</resultMap>
<resultMap
id=
"dispatchPageMap"
type=
"com.yifu.cloud.plus.v1.yifu.social.vo.TDispatchInfoPageVo"
extends=
"tDispatchInfoMap"
>
...
...
@@ -174,6 +176,8 @@
<result
property=
"major"
column=
"MAJOR"
/>
<result
property=
"firstPayTime"
column=
"FIRST_PAY_TIME"
/>
<result
property=
"graduationTime"
column=
"GRADUATION_TIME"
/>
<result
property=
"autoFlag"
column=
"AUTO_FLAG"
/>
</resultMap>
<resultMap
id=
"fundSupplementaryMap"
type=
"com.yifu.cloud.plus.v1.yifu.social.vo.FundSupplementaryExportVo"
>
...
...
@@ -424,7 +428,7 @@
a.SCHOOL_NAME,
a.MAJOR,
a.FIRST_PAY_TIME,
a.GRADUATION_TIME
a.GRADUATION_TIME
,a.AUTO_FLAG
</sql>
<sql
id=
"tDispatchInfo_where"
>
<if
test=
"tDispatchInfo != null"
>
...
...
@@ -446,6 +450,9 @@
#{item}
</foreach>
</if>
<if
test=
"tDispatchInfo.autoFlag != null and tDispatchInfo.autoFlag.trim() != ''"
>
AND a.AUTO_FLAG = #{tDispatchInfo.autoFlag}
</if>
<if
test=
"tDispatchInfo.id != null and tDispatchInfo.id.trim() != ''"
>
AND a.ID = #{tDispatchInfo.id}
</if>
...
...
@@ -960,7 +967,8 @@
a.SCHOOL_NAME,
a.MAJOR,
a.FIRST_PAY_TIME,
a.GRADUATION_TIME
a.GRADUATION_TIME,
a.AUTO_FLAG
from t_dispatch_info a
left join t_dispatch_social_fund_info h on a.id = h.REDUCE_SOCIAL_FUND_ID
...
...
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