From 1f1ad24ae5ece62f88b7b31c05a874ba1d07abcb Mon Sep 17 00:00:00 2001 From: huanghongfa <18228131219@163.com> Date: 星期四, 28 一月 2021 13:21:42 +0800 Subject: [PATCH] 一起议地址 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActDiscussDAO.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActDiscussDAO.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActDiscussDAO.java index 910c8f9..4f72973 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActDiscussDAO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActDiscussDAO.java @@ -96,7 +96,7 @@ "SELECT\n" + "d.id,\n" + "d.vote_title,\n" + - "d.address,\n" + + "if(d.address is null or d.address='null',a.name,d.address )address,\n" + "d.photo_pah,\n" + "d.`discuss_subject`,\n" + "d.type,\n" + -- Gitblit v1.7.1