Commit fb3d2908 authored by 张永's avatar 张永

需求 #15169

parent 785da618
...@@ -157,6 +157,8 @@ public class CommonController { ...@@ -157,6 +157,8 @@ public class CommonController {
Map<String, Object> dmap = jdbcTemplate.queryForMap("select sDesc,sValue1 from tSystemCtrl where sCode = 'IsShowBrandFilter'"); Map<String, Object> dmap = jdbcTemplate.queryForMap("select sDesc,sValue1 from tSystemCtrl where sCode = 'IsShowBrandFilter'");
Map<String, Object> emap = jdbcTemplate.queryForMap("select sDesc,sValue1 from tSystemCtrl where sCode = 'AliyunOssStyle'"); Map<String, Object> emap = jdbcTemplate.queryForMap("select sDesc,sValue1 from tSystemCtrl where sCode = 'AliyunOssStyle'");
Map<String, Object> fmap = jdbcTemplate.queryForMap("select sDesc,sValue1 from tSystemCtrl where sCode = 'IsAppShowStockQty'"); Map<String, Object> fmap = jdbcTemplate.queryForMap("select sDesc,sValue1 from tSystemCtrl where sCode = 'IsAppShowStockQty'");
Map<String, Object> gmap = jdbcTemplate.queryForMap("select sDesc,sValue1 from tSystemCtrl where sCode = 'IsShowSwitch'");
Map<String, Object> hmap = jdbcTemplate.queryForMap("select sDesc,sValue1 from tSystemCtrl where sCode = 'MinOrderAmountType'");
List<Map<String, Object>> payTypes = jdbcTemplate.queryForList("select sSalesOrderPayTypeID, sSalesOrderPayType from tOrgPayType where sOrgNO = ? and nTag&1=0 order by nSort desc", sOrgNO); List<Map<String, Object>> payTypes = jdbcTemplate.queryForList("select sSalesOrderPayTypeID, sSalesOrderPayType from tOrgPayType where sOrgNO = ? and nTag&1=0 order by nSort desc", sOrgNO);
List<Map<String, Object>> goodsTags = jdbcTemplate.queryForList("select sGoodsTagID, sGoodsTag from tOrgGoodsTag where sOrgNO = ? and nTag&1 = 0", sOrgNO); List<Map<String, Object>> goodsTags = jdbcTemplate.queryForList("select sGoodsTagID, sGoodsTag from tOrgGoodsTag where sOrgNO = ? and nTag&1 = 0", sOrgNO);
Map<String, Object> shareInfo = new HashMap<String, Object>(); Map<String, Object> shareInfo = new HashMap<String, Object>();
...@@ -186,7 +188,7 @@ public class CommonController { ...@@ -186,7 +188,7 @@ public class CommonController {
+ "AND sAppID = ?"; + "AND sAppID = ?";
AppSystemInfo = jdbcTemplate.queryForMap(sql, sOrgNO, appId); AppSystemInfo = jdbcTemplate.queryForMap(sql, sOrgNO, appId);
} catch (EmptyResultDataAccessException e) {} } catch (EmptyResultDataAccessException e) {}
return Rjx.jsonOk().set("OrgInfo", map).set("PicInfo", omap).set("ExemptCheck", cmap).set("BusinessModel", bmap).set("BrandFilter", dmap).set("AliyunOssStyle", emap).set("ShowStockQty", fmap) return Rjx.jsonOk().set("OrgInfo", map).set("PicInfo", omap).set("ExemptCheck", cmap).set("BusinessModel", bmap).set("BrandFilter", dmap).set("AliyunOssStyle", emap).set("ShowStockQty", fmap).set("IsShowSwitch", gmap).set("MinOrderAmountType", hmap)
.set("payTypes", payTypes).set("goodsTags", goodsTags).set("AppSystemInfo", AppSystemInfo).set("shareInfo", shareInfo).toJson(); .set("payTypes", payTypes).set("goodsTags", goodsTags).set("AppSystemInfo", AppSystemInfo).set("shareInfo", shareInfo).toJson();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment