Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-backend
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AutogeneralShanghai
yd-backend
Commits
8577afde
Commit
8577afde
authored
Jan 28, 2021
by
jianan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同工作经历,证件类型,发送短信
parent
7f43a5f2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerHiringContractServiceImpl.java
+6
-6
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerHiringServiceImpl.java
+2
-2
No files found.
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerHiringContractServiceImpl.java
View file @
8577afde
...
...
@@ -283,9 +283,11 @@ public class PractitionerHiringContractServiceImpl implements PractitionerHiring
String
systemOwnerMobile
=
null
;
StringBuffer
systemOwnerAddress
=
new
StringBuffer
();
if
(
systemOwner
==
null
)
{
if
(
"30"
.
equals
(
memberShip
.
getMdDropOptionId
()))
{
if
(
Long
.
valueOf
(
"30"
)
.
equals
(
memberShip
.
getMdDropOptionId
()))
{
systemOwnerIdNo
=
basicInfo
.
getIdNo
();
systemOwnerMobile
=
basicInfo
.
getMobileNo
();
data
.
put
(
"secondSubsystemOwner"
,
memberShip
.
getSubsystemOwner
());
data
.
put
(
"secondSubsystemSignature"
,
memberShip
.
getSubsystemOwner
());
}
}
else
{
systemOwnerIdNo
=
systemOwner
.
getIdNo
();
...
...
@@ -353,9 +355,7 @@ public class PractitionerHiringContractServiceImpl implements PractitionerHiring
if
(
i
<
workingExperienceList
.
size
())
{
item
=
workingExperienceList
.
get
(
i
);
}
if
(
item
!=
null
)
{
experienceValue
=
item
.
getWorkingCompany
();
positionValue
=
item
.
getPosition
();
periodValue
=
item
.
getWorkingStart
()
+
"~"
+
item
.
getWorkingEnd
();
...
...
@@ -507,17 +507,17 @@ public class PractitionerHiringContractServiceImpl implements PractitionerHiring
images
.
put
(
"secondIDType3"
,
unCheckFile
);
images
.
put
(
"secondIDType4"
,
unCheckFile
);
if
(
idType
.
indexOf
(
"身份证"
)
>
0
)
{
if
(
idType
.
indexOf
(
"身份证"
)
>
=
0
)
{
images
.
put
(
"secondIDType1"
,
checkFile
);
return
;
}
if
(
idType
.
indexOf
(
"台胞证"
)
>
0
)
{
if
(
idType
.
indexOf
(
"台胞证"
)
>
=
0
)
{
images
.
put
(
"secondIDType2"
,
checkFile
);
return
;
}
if
(
idType
.
indexOf
(
"护照"
)
>
0
)
{
if
(
idType
.
indexOf
(
"护照"
)
>
=
0
)
{
images
.
put
(
"secondIDType3"
,
checkFile
);
return
;
}
...
...
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerHiringServiceImpl.java
View file @
8577afde
...
...
@@ -759,7 +759,7 @@ public class PractitionerHiringServiceImpl implements PractitionerHiringService
String
templateCode
;
String
content
;
// S2的短信模板
if
(
"30"
.
equals
(
memberShip
.
getMdDropOptionId
()))
{
if
(
Long
.
valueOf
(
"30"
)
.
equals
(
memberShip
.
getMdDropOptionId
()))
{
/* 短信提醒 */
templateCode
=
systemConfigService
.
getSingleConfigValue
(
"ALI_SMS_CONTRACT_S2"
);
content
=
"{\"name\":\""
+
name
+
"\"}"
;
...
...
@@ -772,7 +772,7 @@ public class PractitionerHiringServiceImpl implements PractitionerHiringService
for
(
int
i
=
0
;
i
<
uniqueList
.
size
();
i
++)
{
mobileNo
=
uniqueList
.
get
(
i
);
sendService
.
sendEmailOrSMS
(
"sms"
,
mobileNo
,
"
2
"
,
content
,
templateCode
,
null
,
null
,
"电子报聘合同生成提醒"
,
99
,
hiringBasicInfoId
);
sendService
.
sendEmailOrSMS
(
"sms"
,
mobileNo
,
"
0
"
,
content
,
templateCode
,
null
,
null
,
"电子报聘合同生成提醒"
,
99
,
hiringBasicInfoId
);
}
}
...
...
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