Explorar o código

修复获取最新通告错误

吴志根 %!s(int64=3) %!d(string=hai) anos
pai
achega
23b7b9d797

+ 2 - 3
src/dsb/com/cnd3b/restcontroller/publicmethod/homepage/SQL/最新管理端发布的通告.sql

@@ -17,8 +17,7 @@ SELECT t1.tnoticeid,
        t1.fisspecifiedrange,
        t1.fisspecifiedrange,
        t1.tenterprise_userid
        t1.tenterprise_userid
 FROM tnotice AS t1
 FROM tnotice AS t1
-WHERE GETDATE() BETWEEN t1.fbegdate AND t1.fenddate
-  AND t1.ftype = '¹Ù·½'
-  AND t1.fishomepage = 0
+WHERE  t1.ftype = '¹Ù·½'
+  AND t1.fishomepage = 1
   AND t1.fstatus = '·¢²¼'
   AND t1.fstatus = '·¢²¼'