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 82c884b7
authored
Jan 05, 2021
by
18356073052
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
聊天工具侧边栏素材信息
1 parent
7c7f34e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
linkwe-wecom/src/main/resources/mapper/wecom/WeChatItemMapper.xml
linkwe-wecom/src/main/resources/mapper/wecom/WeChatItemMapper.xml
0 → 100644
View file @
82c884b
<?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.WeChatItemMapper"
>
<insert
id=
"addItem"
>
INSERT INTO
we_chat_item(item_id,side_id,material_id,create_by,create_time,update_by,update_time)
VALUES
<if
test=
"items!=null and items.size()>0"
>
<foreach
collection=
"items"
open=
"("
separator=
","
item=
"item"
close=
")"
>
#{item.itemId},#{item.sideId},#{item.materialId},#{item.createBy},#{item.createTime},#{item.updateBy},#{item.updateTime}
</foreach>
</if>
</insert>
<delete
id=
"dropItem"
>
DELETE FROM
we_chat_item
<where>
side_id=#{sideId}
</where>
</delete>
</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