Commit 7d4ebf82 by 18356073052

聊天工具侧边栏 抓取素材修改

1 parent a8b86f7e
...@@ -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));
......
...@@ -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>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!