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
5a75dff4
You need to sign in or sign up before continuing.
Commit
5a75dff4
authored
Sep 04, 2025
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.7.15-税友模板
parent
97cb8b41
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
80 additions
and
38 deletions
+80
-38
TAttaInfo.java
.../com/yifu/cloud/plus/v1/yifu/social/entity/TAttaInfo.java
+2
-2
TAttaInfoMapper.java
...ifu/cloud/plus/v1/yifu/social/mapper/TAttaInfoMapper.java
+4
-1
TSocialFriendPushServiceImpl.java
...ifu/social/service/impl/TSocialFriendPushServiceImpl.java
+62
-32
SysHouseHoldInfoMapper.xml
...-biz/src/main/resources/mapper/SysHouseHoldInfoMapper.xml
+1
-1
TAttaInfoMapper.xml
...-social-biz/src/main/resources/mapper/TAttaInfoMapper.xml
+11
-2
No files found.
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TAttaInfo.java
View file @
5a75dff4
...
...
@@ -57,11 +57,11 @@ public class TAttaInfo extends BaseEntity {
@Schema
(
description
=
"资源类型"
)
private
String
attaType
;
/**
* 1户配置的章;2:派单审核附件,税友单个使用,社保3医保附件
* 1户配置的章;2:派单审核附件,税友单个使用,社保3医保附件
;11社保增花名册模板;12社保减花名册模板;13医保增花名册模板;14医保减花名册模板
*/
@NotBlank
(
message
=
"关系类型不能为空"
)
@Length
(
max
=
2
,
message
=
"关系类型不能超过2个字符"
)
@Schema
(
description
=
"关系类型(1户配置的章;2:派单审核附件,税友单个使用,社保;3医保附件)"
)
@Schema
(
description
=
"关系类型(1户配置的章;2:派单审核附件,税友单个使用,社保;3医保附件
;11社保增花名册模板;12社保减花名册模板;13医保增花名册模板;14医保减花名册模板
)"
)
private
String
relationType
;
/**
* 实体id和关系类型共同确定附件所属(9、10、21、22、23、24、25存项目档案id,0、2、26存附属表id)
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/mapper/TAttaInfoMapper.java
View file @
5a75dff4
...
...
@@ -54,6 +54,9 @@ public interface TAttaInfoMapper extends BaseMapper<TAttaInfo> {
// 获取离职证明模板
String
getLeaveDocTemplate
();
// 税友花名册模板ID:11、12、13、14 (社保增减,医保增减)
String
getTemplateSrcById
(
@Param
(
"id"
)
String
id
);
List
<
TAttaInfo
>
getTemplateSrcById
();
// 1:户配置的章,11社保增花名册模板;12社保减花名册模板;13医保增花名册模板;14医保减花名册模板
String
getTemplateSrcByIdAndType
(
@Param
(
"domainId"
)
String
domainId
,
@Param
(
"relationType"
)
String
relationType
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TSocialFriendPushServiceImpl.java
View file @
5a75dff4
This diff is collapsed.
Click to expand it.
yifu-social/yifu-social-biz/src/main/resources/mapper/SysHouseHoldInfoMapper.xml
View file @
5a75dff4
...
...
@@ -233,7 +233,7 @@
<select
id=
"getAttaSrcByAutoDoc"
resultMap=
"sysHouseHoldSingleInfoMap"
>
SELECT h.NAME NAME,a.ATTA_SRC TYPE
FROM t_atta_info a join sys_house_hold_info h on h.id=a.DOMAIN_ID
where a.RELATION_TYPE = '1'
and h.IS_AUTO_LEAVE_DOC = '1'
where a.RELATION_TYPE = '1'
</select>
<select
id=
"getHouseInfoAutoDoc"
resultMap=
"sysHouseHoldInfoMap"
>
...
...
yifu-social/yifu-social-biz/src/main/resources/mapper/TAttaInfoMapper.xml
View file @
5a75dff4
...
...
@@ -144,10 +144,19 @@
</select>
<!-- 税友花名册模板ID:11、12、13、14 (社保增减,医保增减)-->
<select
id=
"getTemplateSrcById"
resultType=
"java.lang.String"
>
<select
id=
"getTemplateSrcById"
resultMap=
"tAttaInfoMap"
>
SELECT
a.id,
a.atta_src
FROM t_atta_info a where a.id in ('11','12','13','14')
</select>
<!-- 1:户配置的章,11社保增花名册模板;12社保减花名册模板;13医保增花名册模板;14医保减花名册模板-->
<select
id=
"getTemplateSrcByIdAndType"
resultType=
"java.lang.String"
>
SELECT
a.atta_src
FROM t_atta_info a where a.id = #{id}
FROM t_atta_info a where a.domain_id = #{domainId} and a.relation_type = #{relationType}
limit 1
</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