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 f3a96e00
authored
Dec 26, 2020
by
18356073052
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新增群发消息任务列表
1 parent
51944947
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
linkwe-wecom/src/main/resources/mapper/wecom/WeCustomerMessageOriginalMapper.xml
linkwe-wecom/src/main/resources/mapper/wecom/WeCustomerMessageOriginalMapper.xml
View file @
f3a96e0
...
...
@@ -3,4 +3,29 @@
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.linkwechat.wecom.mapper.WeCustomerMessageOriginalMapper"
>
<select
id=
"selectCustomerMessagePushs"
resultType=
"com.linkwechat.wecom.domain.vo.CustomerMessagePushVo"
>
SELECT
wcmo.push_type,wcmo.message_type,wcmo.push_range,wcmo.create_by sender,wcmo.create_time
sendTime,wcm.message_id,wcm.content,wcm.send_info
FROM we_customer_messageOriginal wcmo LEFT JOIN we_customer_message wcm ON
wcmo.message_original_Id=wcm.original_id
<where>
<if
test=
"sender!=null and sender!=''"
>
AND wcmo.create_by LIKE CONCAT('%',#{sender},'%')
</if>
<if
test=
"content!=null and content!=''"
>
AND wcm.content LIKE CONCAT('%',#{content},'%')
</if>
<if
test=
"pushType!=null and pushType!=''"
>
AND wcmo.push_type=#{pushType}
</if>
<if
test=
"beginTime != null and beginTime != ''"
>
<!-- 开始时间检索 -->
AND date_format(wcmo.create_time,'%y%m%d')
>
= date_format(#{beginTime},'%y%m%d')
</if>
<if
test=
"endTime != null and endTime != ''"
>
<!-- 结束时间检索 -->
AND date_format(wcmo.create_time,'%y%m%d')
<
= date_format(#{endTime},'%y%m%d')
</if>
</where>
</select>
</mapper>
\ No newline at end of file
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