Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
shop
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
shop
Commits
b67f8cd9
Commit
b67f8cd9
authored
Aug 13, 2020
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
692754fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
4 deletions
+15
-4
CommonController.java
src/main/java/com/egolm/shop/api/CommonController.java
+15
-4
No files found.
src/main/java/com/egolm/shop/api/CommonController.java
View file @
b67f8cd9
...
...
@@ -129,18 +129,29 @@ public class CommonController {
String
sql
=
""
+
"SELECT "
+
"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), "
+
"IsJumpButton = convert(BIT, CASE WHEN nIsJumpButton = 1 THEN 1 ELSE 0 END) "
+
" "
+
"FROM "
+
"tOrg "
+
"WHERE "
+
"sOrgNO = ? "
+
"AND sAppID = ?"
;
share
Info
=
jdbcTemplate
.
queryForMap
(
sql
,
sOrgNO
,
appId
);
AppSystem
Info
=
jdbcTemplate
.
queryForMap
(
sql
,
sOrgNO
,
appId
);
}
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
();
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment