eganwu il y a 2 ans
Parent
commit
a5f45431ba

+ 1 - 1
src/custom/restcontroller/webmanage/saletool/notice/notice.java

@@ -84,7 +84,7 @@ public class notice extends Controller {
                 where = where + " and t1.checkdate >='" + whereObject.getString("begindate") + "'";
                 where = where + " and t1.checkdate >='" + whereObject.getString("begindate") + "'";
             }
             }
             if (whereObject.containsKey("enddate") && !"".equals(whereObject.getString("enddate"))) {
             if (whereObject.containsKey("enddate") && !"".equals(whereObject.getString("enddate"))) {
-                where = where + " and t1.checkdate <='" + whereObject.getString("enddate") + "'";
+                where = where + " and t1.checkdate <='" + whereObject.getString("enddate") + " 23:59:59'";
             }
             }
 //            if (whereObject.containsKey("isread") && !"".equals(whereObject.getString("isread"))) {
 //            if (whereObject.containsKey("isread") && !"".equals(whereObject.getString("isread"))) {
 //                if (whereObject.getBooleanValue("isread")) {
 //                if (whereObject.getBooleanValue("isread")) {