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
268b6b06
Commit
268b6b06
authored
Apr 12, 2021
by
linruibiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口编写
parent
ddd09f71
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
6 deletions
+16
-6
application-dev.yml
src/main/resources/application-dev.yml
+5
-0
application-local.yml
src/main/resources/application-local.yml
+5
-0
application.yml
src/main/resources/application.yml
+3
-3
InstrumentPanelDraftMapper.xml
...sources/mapper/mysql/panel/InstrumentPanelDraftMapper.xml
+3
-3
No files found.
src/main/resources/application-dev.yml
0 → 100644
View file @
268b6b06
spring
:
datasource
:
username
:
syc_dev
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
src/main/resources/application-local.yml
0 → 100644
View file @
268b6b06
spring
:
datasource
:
username
:
root
password
:
root
url
:
jdbc:mysql://${MYSQL_HOST:localhost}:${MYSQL_PORT:3306}/${MYSQL_DB:slm_bi}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&allowMultiQueries=true&allowPublicKeyRetrieval=true
src/main/resources/application.yml
View file @
268b6b06
spring
:
spring
:
profiles
:
active
:
-
local
freemarker
:
freemarker
:
cache
:
false
cache
:
false
template-loader-path
:
classpath:/templates/ftl/
template-loader-path
:
classpath:/templates/ftl/
...
@@ -21,9 +24,6 @@ spring:
...
@@ -21,9 +24,6 @@ spring:
pool-name
:
HikariCP
pool-name
:
HikariCP
max-lifetime
:
1800000
max-lifetime
:
1800000
connection-timeout
:
30000
connection-timeout
:
30000
username
:
root
password
:
root
url
:
jdbc:mysql://${MYSQL_HOST:localhost}:${MYSQL_PORT:3306}/${MYSQL_DB:slm_bi}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&allowMultiQueries=true&allowPublicKeyRetrieval=true
messages
:
messages
:
basename
:
i18n/messages,i18n/sys
basename
:
i18n/messages,i18n/sys
...
...
src/main/resources/mapper/mysql/panel/InstrumentPanelDraftMapper.xml
View file @
268b6b06
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
</foreach>
</foreach>
)
)
</if>
</if>
and access_permission='public'
and access_permission='public'
and record_status=1
union ALL
union ALL
select * from instrument_panel_draft where panel_id in
select * from instrument_panel_draft where panel_id in
<if
test=
"panelIds!=null"
>
<if
test=
"panelIds!=null"
>
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
</foreach>
</foreach>
)
)
</if>
</if>
and access_permission='private' and IFNULL(updater,creator)=#{userId}
and access_permission='private'
and record_status=1
and IFNULL(updater,creator)=#{userId}
union ALL
union ALL
select * from instrument_panel_draft where panel_id in
select * from instrument_panel_draft where panel_id in
<if
test=
"panelIds!=null"
>
<if
test=
"panelIds!=null"
>
...
@@ -50,6 +50,6 @@
...
@@ -50,6 +50,6 @@
</foreach>
</foreach>
)
)
</if>
</if>
and access_permission='custom' and check_panel_permissions(#{appId},id,#{officeIds},#{userId},#{roleId})>0
and access_permission='custom'
and record_status=1
and check_panel_permissions(#{appId},id,#{officeIds},#{userId},#{roleId})>0
</select>
</select>
</mapper>
</mapper>
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