Просмотр исходного кода

广告轮播图查询附件信息丢失错误修复

沈静伟 4 лет назад
Родитель
Сommit
e410bfb358
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/dsb/com/cnd3b/restcontroller/enterprise/bannermag/bannermag.java

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

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