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 2fd0e5e4
authored
Jan 05, 2021
by
18356073052
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
聊天工具侧边栏
1 parent
6f5c092c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
linkwe-wecom/src/main/resources/mapper/wecom/WeChatSideMapper.xml
linkwe-wecom/src/main/resources/mapper/wecom/WeChatSideMapper.xml
0 → 100644
View file @
2fd0e5e
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.linkwechat.wecom.mapper.WeChatSideMapper"
>
<update
id=
"updateWeChatSideById"
>
UPDATE
we_chat_side
<set>
<if
test=
"sideName!=null and sideName!=''"
>
side_name=#{sideName},
</if>
<if
test=
"total!=null"
>
total=#{total},
</if>
<if
test=
"using!=null"
>
`using`=#{using}
</if>
</set>
<where>
side_id=#{sideId}
</where>
</update>
<select
id=
"selectWeChatSides"
resultType=
"com.linkwechat.wecom.domain.WeChatSide"
>
SELECT
side_id,
media_type,
side_name,
total,
`using`
FROM
we_chat_side
<where>
`using`=0
</where>
</select>
</mapper>
\ No newline at end of file
\ 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