Commit 4eec4294 by 18356073052

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

1 parent 13b95d88
......@@ -31,7 +31,7 @@ public class WeChatItemController extends BaseController {
* 侧边栏抓取素材
*/
@PreAuthorize("@ss.hasPermi('chat:item:add')")
@Log(title = "侧边栏抓取素材", businessType = BusinessType.INSERT)
// @Log(title = "侧边栏抓取素材", businessType = BusinessType.INSERT)
@PutMapping
public AjaxResult add(@RequestBody WeChatItemDto chatItemDto) {
return toAjax(weChatItemService.checkItems(chatItemDto));
......
......@@ -8,8 +8,8 @@
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 collection="items" separator="," item="item" >
(#{item.itemId},#{item.sideId},#{item.materialId},#{item.createBy},#{item.createTime},#{item.updateBy},#{item.updateTime})
</foreach>
</if>
</insert>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!