From 703b2f19af6b1d65adc3bc515b9df9efebacbd8b Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期一, 10 四月 2023 13:04:25 +0800
Subject: [PATCH] optimize owner updata log

---
 java110-db/src/main/resources/mapper/common/CommunityPublicityV1ServiceDaoImplMapper.xml |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/common/CommunityPublicityV1ServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/common/CommunityPublicityV1ServiceDaoImplMapper.xml
index 776a8a6..6b4d526 100644
--- a/java110-db/src/main/resources/mapper/common/CommunityPublicityV1ServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/common/CommunityPublicityV1ServiceDaoImplMapper.xml
@@ -22,8 +22,9 @@
         pubType,t.like_count,t.like_count likeCount,t.create_user_name,t.create_user_name
         createUserName,t.status_cd,t.status_cd statusCd,t.title,t.community_id,t.community_id
         communityId,t.read_count,t.read_count readCount,t.header_img,t.header_img headerImg,
-        t.create_time createTime
+        t.create_time createTime,td.`name` pubTypeName
         from community_publicity t
+        left join t_dict td on t.pub_type = td.status_cd and td.table_name = 'community_publicity' and td.table_columns = 'pub_type'
         where 1 =1
         <if test="createUserId !=null and createUserId != ''">
             and t.create_user_id= #{createUserId}

--
Gitblit v1.8.0