Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f2b8fd68
authored
May 08, 2021
by
孙喜旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix
1 parent
b2260859
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletions
linkwe-wecom/src/main/resources/mapper/wecom/WeTaskFissionCompleteRecordMapper.xml
linkwe-wecom/src/main/resources/mapper/wecom/WeTaskFissionCompleteRecordMapper.xml
View file @
f2b8fd6
...
@@ -11,10 +11,12 @@
...
@@ -11,10 +11,12 @@
<result
property=
"customerId"
column=
"customer_id"
/>
<result
property=
"customerId"
column=
"customer_id"
/>
<result
property=
"customerName"
column=
"customer_name"
/>
<result
property=
"customerName"
column=
"customer_name"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"status"
column=
"status"
/>
<result
property=
"customerAvatar"
column=
"customer_avatar"
/>
</resultMap>
</resultMap>
<sql
id=
"selectWeTaskFissionCompleteRecordVo"
>
<sql
id=
"selectWeTaskFissionCompleteRecordVo"
>
select id, task_fission_id, fission_record_id, customer_id, customer_name, create_time from
select id, task_fission_id, fission_record_id, customer_id, customer_name, create_time
, status, customer_avatar
from
we_task_fission_complete_record
we_task_fission_complete_record
</sql>
</sql>
...
@@ -25,6 +27,7 @@
...
@@ -25,6 +27,7 @@
<if
test=
"taskFissionId != null "
>
and task_fission_id = #{taskFissionId}
</if>
<if
test=
"taskFissionId != null "
>
and task_fission_id = #{taskFissionId}
</if>
<if
test=
"fissionRecordId != null "
>
and fission_record_id = #{fissionRecordId}
</if>
<if
test=
"fissionRecordId != null "
>
and fission_record_id = #{fissionRecordId}
</if>
<if
test=
"customerId != null and customerId != ''"
>
and customer_id = #{customerId}
</if>
<if
test=
"customerId != null and customerId != ''"
>
and customer_id = #{customerId}
</if>
<if
test=
"status != null"
>
and status = #{status}
</if>
<if
test=
"customerName != null and customerName != ''"
>
and customer_name like concat('%', #{customerName},
<if
test=
"customerName != null and customerName != ''"
>
and customer_name like concat('%', #{customerName},
'%')
'%')
</if>
</if>
...
@@ -46,6 +49,8 @@
...
@@ -46,6 +49,8 @@
<if
test=
"customerId != null and customerId != ''"
>
customer_id,
</if>
<if
test=
"customerId != null and customerId != ''"
>
customer_id,
</if>
<if
test=
"customerName != null"
>
customer_name,
</if>
<if
test=
"customerName != null"
>
customer_name,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
<if
test=
"createTime != null"
>
create_time,
</if>
<if
test=
"status != null"
>
status,
</if>
<if
test=
"customerAvatar != null"
>
customer_avatar,
</if>
</trim>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"taskFissionId != null"
>
#{taskFissionId},
</if>
<if
test=
"taskFissionId != null"
>
#{taskFissionId},
</if>
...
@@ -53,6 +58,8 @@
...
@@ -53,6 +58,8 @@
<if
test=
"customerId != null and customerId != ''"
>
#{customerId},
</if>
<if
test=
"customerId != null and customerId != ''"
>
#{customerId},
</if>
<if
test=
"customerName != null"
>
#{customerName},
</if>
<if
test=
"customerName != null"
>
#{customerName},
</if>
<if
test=
"createTime != null"
>
#{createTime},
</if>
<if
test=
"createTime != null"
>
#{createTime},
</if>
<if
test=
"status != null"
>
#{status},
</if>
<if
test=
"customerAvatar != null"
>
#{customerAvatar},
</if>
</trim>
</trim>
</insert>
</insert>
...
@@ -64,6 +71,8 @@
...
@@ -64,6 +71,8 @@
<if
test=
"customerId != null and customerId != ''"
>
customer_id = #{customerId},
</if>
<if
test=
"customerId != null and customerId != ''"
>
customer_id = #{customerId},
</if>
<if
test=
"customerName != null"
>
customer_name = #{customerName},
</if>
<if
test=
"customerName != null"
>
customer_name = #{customerName},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime},
</if>
<if
test=
"createTime != null"
>
create_time = #{createTime},
</if>
<if
test=
"status != null"
>
status = #{status},
</if>
<if
test=
"customerAvatar != null"
>
customer_avatar = #{customerAvatar},
</if>
</trim>
</trim>
where id = #{id}
where id = #{id}
</update>
</update>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment