Browse Source

轮播广告查询错误修复

沈静伟 4 years ago
parent
commit
34a6bd2c89

+ 0 - 3
src/dsb/com/cnd3b/restcontroller/customer/live/live.java

@@ -345,7 +345,6 @@ public class live extends Controller {
         return getSucReturnObject().setDataByPaging(rows).preloading(1).toString();
     }
 
-
     /**
      * »ñÈ¡ÊýÁ¿
      *
@@ -359,6 +358,4 @@ public class live extends Controller {
         Rows rows = sqlFactory.runSqlQuery();
         return rows.isEmpty() ? 0 : rows.get(0).getDouble(fieldname);
     }
-
-
 }

+ 1 - 1
src/dsb/com/cnd3b/restcontroller/publicmethod/bannermag/bannermag.java

@@ -37,7 +37,7 @@ public class bannermag extends Controller {
         for (Row locationrow : locationrows) {
             Rows bannerRows = bannermap.get(locationrow.getString("tbannerlocationid"));
             for (Row bannerrow : bannerRows) {
-                bannerrow.put("attinfos", getAttachmentUrl("tbannerlocation", bannerrow.getString("tbannerlocationid")));
+                bannerrow.put("attinfos", getAttachmentUrl("tbannermag", bannerrow.getString("tbannermagid")));
             }
             locationrow.put("banner", bannerRows);
         }