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
4feefb8f
Commit
4feefb8f
authored
May 13, 2020
by
Water Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
optimize
parent
646c3b85
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerServiceImpl.java
+1
-1
yd-api/src/main/java/com/yd/dal/service/customer/AclPractitionerPotentialDALService.java
+1
-1
yd-api/src/main/java/com/yd/dal/service/customer/impl/AclPractitionerPotentialDALServiceImpl.java
+2
-2
yd-api/src/main/resources/mapper/customer/AclPractitionerPotentialMapper.xml
+1
-1
No files found.
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerServiceImpl.java
View file @
4feefb8f
...
@@ -465,7 +465,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
...
@@ -465,7 +465,7 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
if
(
potentialId
!=
null
){
if
(
potentialId
!=
null
){
practitionerPotential
.
setId
(
potentialId
);
practitionerPotential
.
setId
(
potentialId
);
}
}
aclPractitionerPotentialDALService
.
sav
e
(
practitionerPotential
);
aclPractitionerPotentialDALService
.
updat
e
(
practitionerPotential
);
potentialId
=
practitionerPotential
.
getId
();
potentialId
=
practitionerPotential
.
getId
();
//如果已经分配团队长,则在追踪表中增加记录
//如果已经分配团队长,则在追踪表中增加记录
List
<
Long
>
practitionerPotentialIdList
=
new
ArrayList
<>();
List
<
Long
>
practitionerPotentialIdList
=
new
ArrayList
<>();
...
...
yd-api/src/main/java/com/yd/dal/service/customer/AclPractitionerPotentialDALService.java
View file @
4feefb8f
...
@@ -20,7 +20,7 @@ public interface AclPractitionerPotentialDALService {
...
@@ -20,7 +20,7 @@ public interface AclPractitionerPotentialDALService {
* @param practitionerPotential
* @param practitionerPotential
* @return
* @return
*/
*/
int
sav
e
(
AclPractitionerPotential
practitionerPotential
);
int
updat
e
(
AclPractitionerPotential
practitionerPotential
);
/**
/**
* 查询该团队长对于每个增员最新的记录
* 查询该团队长对于每个增员最新的记录
...
...
yd-api/src/main/java/com/yd/dal/service/customer/impl/AclPractitionerPotentialDALServiceImpl.java
View file @
4feefb8f
...
@@ -19,8 +19,8 @@ public class AclPractitionerPotentialDALServiceImpl implements AclPractitionerPo
...
@@ -19,8 +19,8 @@ public class AclPractitionerPotentialDALServiceImpl implements AclPractitionerPo
}
}
@Override
@Override
public
int
sav
e
(
AclPractitionerPotential
practitionerPotential
)
{
public
int
updat
e
(
AclPractitionerPotential
practitionerPotential
)
{
return
aclPractitionerPotentialMapper
.
insert
(
practitionerPotential
);
return
aclPractitionerPotentialMapper
.
updateByPrimaryKeySelective
(
practitionerPotential
);
}
}
@Override
@Override
...
...
yd-api/src/main/resources/mapper/customer/AclPractitionerPotentialMapper.xml
View file @
4feefb8f
...
@@ -232,7 +232,7 @@
...
@@ -232,7 +232,7 @@
<if
test=
"ossPathResume != null"
>
<if
test=
"ossPathResume != null"
>
oss_path_resume = #{ossPathResume,jdbcType=VARCHAR},
oss_path_resume = #{ossPathResume,jdbcType=VARCHAR},
</if>
</if>
<if
test=
"practitionerAssignedId != null"
>
<if
test=
"practitionerAssignedId
s
!= null"
>
practitioner_assigned_ids = #{practitionerAssignedIds,jdbcType=BIGINT},
practitioner_assigned_ids = #{practitionerAssignedIds,jdbcType=BIGINT},
</if>
</if>
<if
test=
"isActive != null"
>
<if
test=
"isActive != null"
>
...
...
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