Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
slm-bi
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
林锐标
slm-bi
Commits
242698d8
Commit
242698d8
authored
Apr 17, 2021
by
linruibiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口编写
parent
9383f254
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
11 deletions
+15
-11
application-dev.yml
src/main/resources/application-dev.yml
+9
-7
application-local.yml
src/main/resources/application-local.yml
+5
-3
InstrumentPanelMapper.xml
...in/resources/mapper/mysql/panel/InstrumentPanelMapper.xml
+1
-1
No files found.
src/main/resources/application-dev.yml
View file @
242698d8
...
@@ -4,9 +4,11 @@ spring:
...
@@ -4,9 +4,11 @@ spring:
password
:
Test123!
password
:
Test123!
url
:
jdbc:mysql://${MYSQL_HOST:116.63.67.122}:${MYSQL_PORT:3306}/${MYSQL_DB:slm_bi}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&allowMultiQueries=true&allowPublicKeyRetrieval=true
url
:
jdbc:mysql://${MYSQL_HOST:116.63.67.122}:${MYSQL_PORT:3306}/${MYSQL_DB:slm_bi}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&allowMultiQueries=true&allowPublicKeyRetrieval=true
dc_client
:
dc_client
:
host
:
http://localhost:2400/dc
host
:
http://apidev.sycdev.com/dc
interfaces
:
interfaces
:
getOfficeIds
:
/bi/{appId}/panel-tree
positionListUrl
:
/{appId}/positions?positionName={positionName}
positionListUrl
:
/{appId}/positions?positionName={positionName}
deptListUrl
:
/{appId}/departments?deptName={deptName}
deptListUrl
:
/{appId}/departments?deptName={deptName}
userTree
:
/{appId}/users/list?userName={userName}
userTree
:
/{appId}/users/list?userName={userName}
variableList
:
/{appId}/variables/slm/tag/list?token={token}&from={from}&varType={varType}&type={type}&equipmentId={equipmentId}&customerId={customerId}&name={name}&desc={desc}&unit={unit}&keyword={keyword}&isCustomer={isCustomer}¤t={current}&size={size}
\ No newline at end of file
deviceList
:
/{appId}/variables/device?token={token}&equipment_info_id={equipment_info_id}&q_name={q_name}&search_code={search_code}&warranty_status={warranty_status}&page_num={page_num}&page_size={page_size}
deptsRoles
:
/{appId}/users/depts-roles
\ No newline at end of file
src/main/resources/application-local.yml
View file @
242698d8
...
@@ -6,7 +6,9 @@ spring:
...
@@ -6,7 +6,9 @@ spring:
dc_client
:
dc_client
:
host
:
http://localhost:2400/dc
host
:
http://localhost:2400/dc
interfaces
:
interfaces
:
getOfficeIds
:
/bi/{appId}/panel-tree
positionListUrl
:
/{appId}/positions?positionName={positionName}
positionListUrl
:
/{appId}/positions?positionName={positionName}
deptListUrl
:
/{appId}/departments?deptName={deptName}
deptListUrl
:
/{appId}/departments?deptName={deptName}
userTree
:
/{appId}/users/list?userName={userName}
userTree
:
/{appId}/users/list?userName={userName}
\ No newline at end of file
variableList
:
/{appId}/variables/slm/tag/list?token={token}&from={from}&varType={varType}&type={type}&equipmentId={equipmentId}&customerId={customerId}&name={name}&desc={desc}&unit={unit}&keyword={keyword}&isCustomer={isCustomer}¤t={current}&size={size}
deviceList
:
/{appId}/variables/device?token={token}&equipment_info_id={equipment_info_id}&q_name={q_name}&search_code={search_code}&warranty_status={warranty_status}&page_num={page_num}&page_size={page_size}
deptsRoles
:
/{appId}/users/depts-roles
\ No newline at end of file
src/main/resources/mapper/mysql/panel/InstrumentPanelMapper.xml
View file @
242698d8
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
p.name,
p.name,
p.group_id,
p.group_id,
g.name group_name,
g.name group_name,
p.
published,
if(p.published='published','已发布','未发布')
published,
p.creator_name,
p.creator_name,
p.updater_name,
p.updater_name,
p.update_time
p.update_time
...
...
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