Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
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
8timerv2
8timerapiv200
Commits
e4a5bff0
Commit
e4a5bff0
authored
Jul 02, 2020
by
yuquan.zhu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of develop-gitlab.youlingrc.com:8timerv2/8timerapiv200 into zyq_debug
parents
375a2726
f1a248df
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
src/main/java/cn/timer/api/controller/crm/CrmController.java
+2
-1
src/main/java/cn/timer/api/utils/router/business/TransferPositionBusiness.java
+4
-0
No files found.
src/main/java/cn/timer/api/controller/crm/CrmController.java
View file @
e4a5bff0
...
@@ -435,7 +435,8 @@ public class CrmController {
...
@@ -435,7 +435,8 @@ public class CrmController {
List
<
CrmClientContacts
>
crmClientContacts
=
crmClientData
.
getCrmClientContacts
();
List
<
CrmClientContacts
>
crmClientContacts
=
crmClientData
.
getCrmClientContacts
();
if
(
crmClientContacts
!=
null
)
{
if
(
crmClientContacts
!=
null
)
{
for
(
CrmClientContacts
crmClientContact
:
crmClientContacts
)
{
for
(
CrmClientContacts
crmClientContact
:
crmClientContacts
)
{
crmClientContact
.
updateById
();
// crmClientContact.updateById();
crmClientContact
.
insertOrUpdate
();
}
}
}
}
List
<
CrmClientAssociate
>
oldAssociates
=
CrmClientAssociate
.
builder
().
build
()
List
<
CrmClientAssociate
>
oldAssociates
=
CrmClientAssociate
.
builder
().
build
()
...
...
src/main/java/cn/timer/api/utils/router/business/TransferPositionBusiness.java
View file @
e4a5bff0
...
@@ -38,8 +38,12 @@ public class TransferPositionBusiness extends SpmkAssoBusiness {
...
@@ -38,8 +38,12 @@ public class TransferPositionBusiness extends SpmkAssoBusiness {
String
ReasonForApplication
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"__ReasonForApplication"
,
FromData
.
class
))
?
null
:
jsonObj
.
get
(
"__ReasonForApplication"
,
FromData
.
class
).
getValue
();
String
ReasonForApplication
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"__ReasonForApplication"
,
FromData
.
class
))
?
null
:
jsonObj
.
get
(
"__ReasonForApplication"
,
FromData
.
class
).
getValue
();
// 调入部门
// 调入部门
Integer
TransferInDepartment
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"__TransferInDepartment"
,
FromData
.
class
))
?
null
:
Convert
.
toInt
(
jsonObj
.
get
(
"__TransferInDepartment"
,
FromData
.
class
).
getValue
());
Integer
TransferInDepartment
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"__TransferInDepartment"
,
FromData
.
class
))
?
null
:
Convert
.
toInt
(
jsonObj
.
get
(
"__TransferInDepartment"
,
FromData
.
class
).
getValue
());
if
(!(
""
).
equals
(
jsonObj
.
get
(
"__TransferInPosition"
,
FromData
.
class
).
getValue
()))
{
// 调入岗位
// 调入岗位
Integer
TransferInPosition
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"__TransferInPosition"
,
FromData
.
class
))
?
null
:
Integer
.
parseInt
(
jsonObj
.
get
(
"__TransferInPosition"
,
FromData
.
class
).
getValue
());
Integer
TransferInPosition
=
ObjectUtil
.
isNull
(
jsonObj
.
get
(
"__TransferInPosition"
,
FromData
.
class
))
?
null
:
Integer
.
parseInt
(
jsonObj
.
get
(
"__TransferInPosition"
,
FromData
.
class
).
getValue
());
}
if
(
TransferInDepartment
==
null
)
{
if
(
TransferInDepartment
==
null
)
{
throw
new
CustomException
(
"部门或岗位 未填写,审批失败"
);
throw
new
CustomException
(
"部门或岗位 未填写,审批失败"
);
}
}
...
...
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