From 267c06a5864bb617b1ff0ea82210346bf5573f5f Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Wed, 30 Apr 2025 18:06:45 +0800
Subject: [PATCH] refactor(mall): 优化投票活动接口参数设计

---
 src/main/resources/mapper/modules/HappySocialCircleMapper.xml |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/modules/HappySocialCircleMapper.xml b/src/main/resources/mapper/modules/HappySocialCircleMapper.xml
new file mode 100644
index 0000000..44b2a40
--- /dev/null
+++ b/src/main/resources/mapper/modules/HappySocialCircleMapper.xml
@@ -0,0 +1,22 @@
+<?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="cc.mrbird.febs.mall.mapper.HappySocialCircleMapper">
+
+    <select id="selectListInPage" resultType="cc.mrbird.febs.mall.vo.activity.ApiScInfoVo">
+        select
+            a.id,
+            b.avatar,
+            b.name as memberName,
+            a.name as name,
+            a.CREATED_TIME as createdTime,
+            a.index_file as indexFile
+        from happy_social_circle a
+        left join mall_member b on a.member_id = b.id
+        where
+            a.state = 1
+            and a.DELETE_FLAG = 0
+            and a.category_id=#{record.categoryId}
+            order by a.order_cnt asc, a.created_time desc
+    </select>
+
+</mapper>
\ No newline at end of file

--
Gitblit v1.9.1