Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
haoban3.0
haoban-manage3.0
Commits
ec670f9c
Commit
ec670f9c
authored
May 14, 2025
by
王祖波
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
跟进记录增加跟进类型
parent
e740d23a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
6 deletions
+22
-6
ContactFollowDTO.java
...m/gic/haoban/manage/api/dto/contact/ContactFollowDTO.java
+14
-0
TabContactFollowMapper.xml
.../main/resources/mapper/contact/TabContactFollowMapper.xml
+8
-6
No files found.
haoban-manage3-api/src/main/java/com/gic/haoban/manage/api/dto/contact/ContactFollowDTO.java
View file @
ec670f9c
...
...
@@ -18,6 +18,12 @@ public class ContactFollowDTO implements Serializable {
* 导购code
*/
private
String
clerkCode
;
/**
* 跟进类型 1私人电话 2企微会话 3发送商品 4企微群发 5标记建联
* @see com.gic.haoban.manage.api.enums.contact.ContactFollowTypeEnum
*/
private
Integer
followType
;
/**
* 跟进记录
*/
...
...
@@ -63,6 +69,14 @@ public class ContactFollowDTO implements Serializable {
this
.
clerkCode
=
clerkCode
;
}
public
Integer
getFollowType
()
{
return
followType
;
}
public
void
setFollowType
(
Integer
followType
)
{
this
.
followType
=
followType
;
}
public
String
getFollowRemark
()
{
return
followRemark
;
}
...
...
haoban-manage3-service/src/main/resources/mapper/contact/TabContactFollowMapper.xml
View file @
ec670f9c
...
...
@@ -9,6 +9,7 @@
<result
column=
"member_id"
property=
"memberId"
/>
<result
column=
"clerk_id"
property=
"clerkId"
/>
<result
column=
"clerk_code"
property=
"clerkCode"
/>
<result
column=
"follow_type"
property=
"followType"
/>
<result
column=
"follow_remark"
property=
"followRemark"
/>
<result
column=
"follow_material"
property=
"followMaterial"
/>
<result
column=
"goods_info"
property=
"goodsInfo"
/>
...
...
@@ -20,10 +21,10 @@
</resultMap>
<sql
id=
"Base_Column_List"
>
follow_id, member_id, clerk_id, clerk_code, follow_remark, follow_material, goods_info, follow_time, enterprise_id, delete_flag, create_time, update_time
follow_id, member_id, clerk_id, clerk_code, follow_
type,follow_
remark, follow_material, goods_info, follow_time, enterprise_id, delete_flag, create_time, update_time
</sql>
<sql
id=
"Alias_Base_Column_List"
>
t.follow_id, t.member_id, t.clerk_id, t.clerk_code, t.follow_remark, t.follow_material, t.goods_info, t.follow_time, t.enterprise_id, t.delete_flag, t.create_time, t.update_time
t.follow_id, t.member_id, t.clerk_id, t.clerk_code, t.follow_
type,t.follow_
remark, t.follow_material, t.goods_info, t.follow_time, t.enterprise_id, t.delete_flag, t.create_time, t.update_time
</sql>
<select
id=
"queryById"
resultMap=
"BaseResultMap"
>
...
...
@@ -107,15 +108,15 @@
</select>
<insert
id=
"insert"
useGeneratedKeys=
"true"
keyProperty=
"followId"
>
INSERT INTO tab_contact_follow (member_id, clerk_id, clerk_code, follow_remark, follow_material, goods_info, follow_time, enterprise_id, delete_flag, create_time, update_time)
VALUES (#{memberId}, #{clerkId}, #{clerkCode}, #{followRemark}, #{followMaterial}, #{goodsInfo}, #{followTime}, #{enterpriseId}, #{deleteFlag}, #{createTime}, #{updateTime})
INSERT INTO tab_contact_follow (member_id, clerk_id, clerk_code,
follow_type,
follow_remark, follow_material, goods_info, follow_time, enterprise_id, delete_flag, create_time, update_time)
VALUES (#{memberId}, #{clerkId}, #{clerkCode},
#{followType},
#{followRemark}, #{followMaterial}, #{goodsInfo}, #{followTime}, #{enterpriseId}, #{deleteFlag}, #{createTime}, #{updateTime})
</insert>
<insert
id=
"insertBatch"
>
INSERT INTO tab_contact_follow (follow_id,member_id, clerk_id, clerk_code, follow_remark, follow_material, goods_info, follow_time, enterprise_id)
INSERT INTO tab_contact_follow (follow_id,member_id, clerk_id, clerk_code,
follow_type,
follow_remark, follow_material, goods_info, follow_time, enterprise_id)
VALUES
<foreach
collection=
"list"
item=
"item"
separator=
","
>
(#{item.followId},#{item.memberId}, #{item.clerkId}, #{item.clerkCode}, #{item.followRemark}, #{item.followMaterial}, #{item.goodsInfo}, #{item.followTime}, #{item.enterpriseId})
(#{item.followId},#{item.memberId}, #{item.clerkId}, #{item.clerkCode}, #{
followType},#{
item.followRemark}, #{item.followMaterial}, #{item.goodsInfo}, #{item.followTime}, #{item.enterpriseId})
</foreach>
</insert>
...
...
@@ -125,6 +126,7 @@
<if
test=
"memberId != null"
>
member_id = #{memberId},
</if>
<if
test=
"clerkId != null"
>
clerk_id = #{clerkId},
</if>
<if
test=
"clerkCode != null"
>
clerk_code = #{clerkCode},
</if>
<if
test=
"followType != null"
>
follow_type = #{followType},
</if>
<if
test=
"followRemark != null"
>
follow_remark = #{followRemark},
</if>
<if
test=
"followMaterial != null"
>
follow_material = #{followMaterial},
</if>
<if
test=
"goodsInfo != null"
>
goods_info = #{goodsInfo},
</if>
...
...
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