Commit b67f8cd9 authored by Quxl's avatar Quxl

x

parent 692754fc
...@@ -129,18 +129,29 @@ public class CommonController { ...@@ -129,18 +129,29 @@ public class CommonController {
String sql = "" String sql = ""
+ "SELECT " + "SELECT "
+ "SharePicUrl = sPicUrl, " + "SharePicUrl = sPicUrl, "
+ "ShareTitle = sShareTitle, " + "ShareTitle = sShareTitle "
+ "FROM "
+ "tOrg "
+ "WHERE "
+ "sOrgNO = ? "
+ "AND sAppID = ?";
shareInfo = jdbcTemplate.queryForMap(sql, sOrgNO, appId);
} catch (EmptyResultDataAccessException e) {}
Map<String, Object> AppSystemInfo = new HashMap<String, Object>();
try {
String sql = ""
+ "SELECT "
+ "IsAppCustService = convert(BIT, CASE WHEN nIsAppCustService = 1 THEN 1 ELSE 0 END), " + "IsAppCustService = convert(BIT, CASE WHEN nIsAppCustService = 1 THEN 1 ELSE 0 END), "
+ "IsJumpButton = convert(BIT, CASE WHEN nIsJumpButton = 1 THEN 1 ELSE 0 END) " + "IsJumpButton = convert(BIT, CASE WHEN nIsJumpButton = 1 THEN 1 ELSE 0 END) "
+ " "
+ "FROM " + "FROM "
+ "tOrg " + "tOrg "
+ "WHERE " + "WHERE "
+ "sOrgNO = ? " + "sOrgNO = ? "
+ "AND sAppID = ?"; + "AND sAppID = ?";
shareInfo = 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("payTypes", payTypes).set("goodsTags", goodsTags).set("shareInfo", shareInfo).toJson(); return Rjx.jsonOk().set("OrgInfo", map).set("PicInfo", omap).set("ExemptCheck", cmap).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