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
f285c0dc
Commit
f285c0dc
authored
Oct 20, 2025
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.7.16-法大大字段
parent
d75a814f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
FascConstants.java
...yifu/cloud/plus/v1/yifu/archives/utils/FascConstants.java
+4
-0
FascUtil.java
.../com/yifu/cloud/plus/v1/yifu/archives/utils/FascUtil.java
+10
-2
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/utils/FascConstants.java
View file @
f285c0dc
...
...
@@ -41,5 +41,9 @@ public interface FascConstants {
// 超时未签署自行变更为线下签
String
TIME_OUT_REASON
=
"超时未签署自行变更为线下签"
;
// 需要额外转化的字段:
String
CONTRACT_DURATION
=
"contractDurationYear-Month"
;
String
DISPATCH_PERIOD
=
"dispatchPeriodYear-Month"
;
//String FIELD_TYPE = "text_single_line,text_multi_line,number,id_card,fill_date,multi_radio,multi_checkbox,picture,select_box,table,verification_code,business_code";
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/utils/FascUtil.java
View file @
f285c0dc
...
...
@@ -397,6 +397,7 @@ public class FascUtil {
tEmployeeContractPreMapper
.
updateById
(
contract
);
}
// 第二步:填写控件
private
R
<
String
>
buildDocFieldValue
(
TEmployeeContractPre
contract
,
String
requestId
,
OpenApiClient
openApiClient
,
String
accessToken
...
...
@@ -409,6 +410,7 @@ public class FascUtil {
if
(
detailList
!=
null
&&
!
detailList
.
isEmpty
())
{
DocFieldValueInfo
dfv
;
String
fieldValue
;
String
fieldName
;
for
(
TFascTemplateDetail
detail
:
detailList
)
{
if
(
Common
.
isNotNull
(
detail
.
getHrFieldId
())
&&
Common
.
isNotNull
(
detail
.
getHrField
()))
{
dfv
=
new
DocFieldValueInfo
();
...
...
@@ -416,9 +418,15 @@ public class FascUtil {
dfv
.
setFieldId
(
detail
.
getFascFieldId
());
// 转化字段
fieldValue
=
this
.
getContractFieldValueByReflection
(
contract
,
detail
.
getHrFieldId
());
fieldName
=
detail
.
getHrFieldId
();
if
(
FascConstants
.
CONTRACT_DURATION
.
equals
(
fieldName
))
{
fieldValue
=
contract
.
getContractDurationYear
()
+
CommonConstants
.
DOWN_LINE_STRING
+
contract
.
getContractDurationMonth
();
}
else
if
(
FascConstants
.
DISPATCH_PERIOD
.
equals
(
fieldName
))
{
fieldValue
=
contract
.
getDispatchPeriodYear
()
+
CommonConstants
.
DOWN_LINE_STRING
+
contract
.
getDispatchPeriodMonth
();
}
else
{
fieldValue
=
this
.
getContractFieldValueByReflection
(
contract
,
fieldName
);
}
dfv
.
setFieldValue
(
fieldValue
);
dfv
.
setFieldValue
(
detail
.
getHrFieldId
());
docFieldValues
.
add
(
dfv
);
}
...
...
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