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 4eec4294
authored
Jan 27, 2021
by
18356073052
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
聊天工具侧边栏 抓取素材修改
1 parent
13b95d88
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
linkwe-admin/src/main/java/com/linkwechat/web/controller/wecom/WeChatItemController.java
linkwe-wecom/src/main/resources/mapper/wecom/WeChatItemMapper.xml
linkwe-admin/src/main/java/com/linkwechat/web/controller/wecom/WeChatItemController.java
View file @
4eec429
...
@@ -31,7 +31,7 @@ public class WeChatItemController extends BaseController {
...
@@ -31,7 +31,7 @@ public class WeChatItemController extends BaseController {
* 侧边栏抓取素材
* 侧边栏抓取素材
*/
*/
@PreAuthorize
(
"@ss.hasPermi('chat:item:add')"
)
@PreAuthorize
(
"@ss.hasPermi('chat:item:add')"
)
@Log
(
title
=
"侧边栏抓取素材"
,
businessType
=
BusinessType
.
INSERT
)
//
@Log(title = "侧边栏抓取素材", businessType = BusinessType.INSERT)
@PutMapping
@PutMapping
public
AjaxResult
add
(
@RequestBody
WeChatItemDto
chatItemDto
)
{
public
AjaxResult
add
(
@RequestBody
WeChatItemDto
chatItemDto
)
{
return
toAjax
(
weChatItemService
.
checkItems
(
chatItemDto
));
return
toAjax
(
weChatItemService
.
checkItems
(
chatItemDto
));
...
...
linkwe-wecom/src/main/resources/mapper/wecom/WeChatItemMapper.xml
View file @
4eec429
...
@@ -8,8 +8,8 @@
...
@@ -8,8 +8,8 @@
we_chat_item(item_id,side_id,material_id,create_by,create_time,update_by,update_time)
we_chat_item(item_id,side_id,material_id,create_by,create_time,update_by,update_time)
VALUES
VALUES
<if
test=
"items!=null and items.size()>0"
>
<if
test=
"items!=null and items.size()>0"
>
<foreach
collection=
"items"
open=
"("
separator=
","
item=
"item"
close=
")"
>
<foreach
collection=
"items"
separator=
","
item=
"item"
>
#{item.itemId},#{item.sideId},#{item.materialId},#{item.createBy},#{item.createTime},#{item.updateBy},#{item.updateTime}
(#{item.itemId},#{item.sideId},#{item.materialId},#{item.createBy},#{item.createTime},#{item.updateBy},#{item.updateTime})
</foreach>
</foreach>
</if>
</if>
</insert>
</insert>
...
...
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