From f90b37cb8990d8e9dd05774a004c64fadfc3c362 Mon Sep 17 00:00:00 2001 From: wl <173@qq.com> Date: 星期二, 10 一月 2023 11:48:18 +0800 Subject: [PATCH] fix: 消息接受栏目设置和用户消息查询 --- ycl-platform/src/main/resources/mapper/message/MessageColumnMapper.xml | 25 +++++++++++-------------- 1 files changed, 11 insertions(+), 14 deletions(-) diff --git a/ycl-platform/src/main/resources/mapper/message/MessageColumnMapper.xml b/ycl-platform/src/main/resources/mapper/message/MessageColumnMapper.xml index a024c62..04a7a0a 100644 --- a/ycl-platform/src/main/resources/mapper/message/MessageColumnMapper.xml +++ b/ycl-platform/src/main/resources/mapper/message/MessageColumnMapper.xml @@ -2,18 +2,15 @@ <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.ycl.mapper.message.MessageColumnMapper"> -<select id="selectAllColumn" resultType="com.ycl.vo.message.MessageColumnVO"> - SELECT - t1.id, - COUNT( t1.id ) AS notice_amount, - t1.column_name, - t1.update_time, - t1.is_show, - t1.description - FROM - ums_message_column t1 - LEFT JOIN ums_message t2 ON t1.id = t2.message_type - GROUP BY - t1.id -</select> + <select id="selectAllColumn" resultType="com.ycl.vo.message.MessageColumnVO"> + SELECT t1.id, + COUNT(t1.id) AS notice_amount, + t1.column_name, + t1.update_time, + t1.is_show, + t1.description + FROM ums_message_column t1 + LEFT JOIN ums_message t2 ON t1.id = t2.message_type + GROUP BY t1.id + </select> </mapper> -- Gitblit v1.8.0