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
1e6d6b40
Commit
1e6d6b40
authored
Jun 11, 2020
by
Water Wang
Browse files
Options
Browse Files
Download
Plain Diff
resolve conflict
parents
a6cf7946
51772cfe
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletions
+11
-1
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerServiceImpl.java
+2
-1
yd-api/src/main/java/com/yd/dal/entity/marketing/MktLeadsPool.java
+3
-0
yd-api/src/main/resources/mapper/marketing/MktLeadsPoolMapper.xml
+6
-0
No files found.
yd-api/src/main/java/com/yd/api/practitioner/service/impl/PractitionerServiceImpl.java
View file @
1e6d6b40
...
@@ -1268,7 +1268,8 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
...
@@ -1268,7 +1268,8 @@ public class PractitionerServiceImpl implements com.yd.api.practitioner.service.
pool
.
setSourceFrom
(
requestVO
.
getSourceFrom
());
pool
.
setSourceFrom
(
requestVO
.
getSourceFrom
());
pool
.
setIsActive
(
1
);
pool
.
setIsActive
(
1
);
pool
.
setAddedAt
(
new
Date
());
pool
.
setAddedAt
(
new
Date
());
pool
.
setAddedBy
(-
1L
);
pool
.
setAddedBy
(
requestVO
.
getAssignedPractitionerId
());
pool
.
setAdderType
(
2
);
mktLeadsPoolDALService
.
save
(
pool
);
mktLeadsPoolDALService
.
save
(
pool
);
}
}
//保存至指派表
//保存至指派表
...
...
yd-api/src/main/java/com/yd/dal/entity/marketing/MktLeadsPool.java
View file @
1e6d6b40
...
@@ -52,4 +52,6 @@ public class MktLeadsPool {
...
@@ -52,4 +52,6 @@ public class MktLeadsPool {
* 建置者 FK ag_acl_user.id
* 建置者 FK ag_acl_user.id
*/
*/
private
Long
addedBy
;
private
Long
addedBy
;
private
Integer
adderType
;
}
}
\ No newline at end of file
yd-api/src/main/resources/mapper/marketing/MktLeadsPoolMapper.xml
View file @
1e6d6b40
...
@@ -70,6 +70,9 @@
...
@@ -70,6 +70,9 @@
<if
test=
"addedBy != null"
>
<if
test=
"addedBy != null"
>
added_by,
added_by,
</if>
</if>
<if
test=
"adderType != null"
>
adder_type,
</if>
</trim>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"customerId != null"
>
<if
test=
"customerId != null"
>
...
@@ -96,6 +99,9 @@
...
@@ -96,6 +99,9 @@
<if
test=
"addedBy != null"
>
<if
test=
"addedBy != null"
>
#{addedBy,jdbcType=BIGINT},
#{addedBy,jdbcType=BIGINT},
</if>
</if>
<if
test=
"adderType != null"
>
#{adderType,jdbcType=BIGINT},
</if>
</trim>
</trim>
</insert>
</insert>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.yd.dal.entity.marketing.MktLeadsPool"
>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"com.yd.dal.entity.marketing.MktLeadsPool"
>
...
...
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