Commit f7195e66 authored by co_dengxiongwen's avatar co_dengxiongwen

tj

parent 1ac24f93
#服务器配置信息1 #服务器配置信息1
server: server:
port: 8091 port: 8092
spring: spring:
application: application:
...@@ -14,7 +14,7 @@ spring: ...@@ -14,7 +14,7 @@ spring:
cloud: cloud:
config: config:
profile: dev profile: dev
uri: http://config:8777 uri: http://config:8776
#discovery: #discovery:
#enabled: true #enabled: true
#service-id: microservice-config-server #service-id: microservice-config-server
...@@ -30,7 +30,7 @@ warning: ...@@ -30,7 +30,7 @@ warning:
port: 30003 port: 30003
upload: upload:
realBaseDir: /usr/local/nginx/html/dist/ realBaseDir: /usr/local/nginx/html/zhxf/dist/
--- ---
spring: spring:
profiles: test profiles: test
...@@ -38,7 +38,7 @@ spring: ...@@ -38,7 +38,7 @@ spring:
config: config:
profile: test profile: test
label: master label: master
uri: http://config:8777 uri: http://config:8776
upload: upload:
realBaseDir: ./root/crsh/admin/upload/ realBaseDir: ./root/crsh/admin/upload/
readBaseDir: http://new001.suntrayoa.com/admin/ readBaseDir: http://new001.suntrayoa.com/admin/
\ No newline at end of file
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
<select id="getById" resultType="com.devplatform.admin.modules.sys.bean.SysUserEntity"> <select id="getById" resultType="com.devplatform.admin.modules.sys.bean.SysUserEntity">
SELECT su.user_id, SELECT su.user_id,
ls.station_name AS org_id,
su.name, su.name,
su.username, su.username,
su.password, su.password,
...@@ -61,7 +60,6 @@ ...@@ -61,7 +60,6 @@
su.byx2, su.byx2,
su.byx3 su.byx3
FROM sys_user su FROM sys_user su
LEFT JOIN li_station ls ON ls.id = su.org_id
WHERE su.deleted = 0 WHERE su.deleted = 0
AND su.user_id = #{userId} AND su.user_id = #{userId}
</select> </select>
...@@ -106,11 +104,13 @@ ...@@ -106,11 +104,13 @@
<select id="getAllUserByOrgIdPage" resultType="java.util.HashMap"> <select id="getAllUserByOrgIdPage" resultType="java.util.HashMap">
SELECT u.*,sd.name AS jobName ,sn.name AS nationName SELECT u.*,sd.name AS jobName ,sn.name AS nationName
FROM sys_user u FROM sys_user u
LEFT JOIN sys_dictionary sd ON u.job = sd.id AND sd.deleted = 0 AND sd.station_id = u.station_id LEFT JOIN sys_dictionary sd ON u.job = sd.id AND sd.deleted = 0
LEFT JOIN sys_nation sn ON u.nation = sn.id LEFT JOIN sys_nation sn ON u.nation = sn.id
<where> <where>
AND u.deleted = 0 AND u.user_id not in(1, 2) AND u.deleted = 0 AND u.user_id not in(1, 2)
<if test="map.stationId !=null and map.stationId != ''">
AND u.station_id = #{map.stationId} AND u.station_id = #{map.stationId}
</if>
<if test="map.username !=null and map.username != ''"> <if test="map.username !=null and map.username != ''">
AND INSTR(u.username, #{map.username}) AND INSTR(u.username, #{map.username})
</if> </if>
......
...@@ -16,7 +16,7 @@ spring: ...@@ -16,7 +16,7 @@ spring:
cloud: cloud:
config: config:
profile: dev profile: dev
uri: http://config:8777 uri: http://config:8776
#discovery: #discovery:
#enabled: true #enabled: true
#service-id: microservice-config-server #service-id: microservice-config-server
...@@ -25,4 +25,4 @@ environment: common ...@@ -25,4 +25,4 @@ environment: common
info: info:
version: 0.1 version: 0.1
upload: upload:
realBaseDir: /usr/local/nginx/html/dist/ realBaseDir: /usr/local/nginx/html/zhxf/dist/
\ No newline at end of file \ No newline at end of file
server: server:
port: 8300 port: 8301
spring: spring:
......
...@@ -41,7 +41,8 @@ spring: ...@@ -41,7 +41,8 @@ spring:
async: async:
request-timeout: 60000 request-timeout: 60000
redis: redis:
host: 47.94.207.62 # host: 47.94.207.62
host: 10.20.2.33
port: 6379 port: 6379
password: password:
jedis: jedis:
...@@ -62,9 +63,12 @@ spring: ...@@ -62,9 +63,12 @@ spring:
# url: jdbc:mysql://localhost:3306/zhxf?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowMultiQueries=true&serverTimezone=GMT%2B8&useSSL=false # url: jdbc:mysql://localhost:3306/zhxf?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowMultiQueries=true&serverTimezone=GMT%2B8&useSSL=false
# username: root # username: root
# password: 123456 # password: 123456
url: jdbc:mysql://47.94.207.62:3306/zhxf?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowMultiQueries=true&serverTimezone=GMT%2B8&useSSL=false url: jdbc:mysql://10.20.2.33:3306/zhxf?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowMultiQueries=true&serverTimezone=GMT%2B8&useSSL=false
username: root username: root
password: superAdmin&321 password: root
# url: jdbc:mysql://47.94.207.62:3306/zhxf?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&allowMultiQueries=true&serverTimezone=GMT%2B8&useSSL=false
# username: root
# password: superAdmin&321
initialSize: 5 initialSize: 5
minIdle: 0 minIdle: 0
maxActive: 1000 maxActive: 1000
......
...@@ -9,7 +9,7 @@ spring: ...@@ -9,7 +9,7 @@ spring:
native: native:
search-locations: classpath:/ search-locations: classpath:/
server: server:
port: 8777 port: 8776
eureka: eureka:
client: client:
fetch-registry: true fetch-registry: true
......
#服务器配置信息1 #服务器配置信息1
server: server:
port: 8092 port: 8094
#将日志输出到文件 #将日志输出到文件
config: classpath:camera-log.xml config: classpath:camera-log.xml
spring: spring:
...@@ -15,7 +15,7 @@ spring: ...@@ -15,7 +15,7 @@ spring:
cloud: cloud:
config: config:
profile: dev profile: dev
uri: http://config:8777 uri: http://config:8776
#discovery: #discovery:
#enabled: true #enabled: true
#service-id: microservice-config-server #service-id: microservice-config-server
...@@ -24,7 +24,7 @@ info: ...@@ -24,7 +24,7 @@ info:
version: 0.1 version: 0.1
upload: upload:
realBaseDir: /usr/local/nginx/html/dist/ realBaseDir: /usr/local/nginx/html/zhxf/dist/
--- ---
spring: spring:
profiles: test profiles: test
...@@ -32,7 +32,7 @@ spring: ...@@ -32,7 +32,7 @@ spring:
config: config:
profile: test profile: test
label: master label: master
uri: http://config:8777 uri: http://config:8776
upload: upload:
realBaseDir: ./root/crsh/admin/upload/ realBaseDir: ./root/crsh/admin/upload/
readBaseDir: http://10.20.2.132:8089/ readBaseDir: http://10.20.2.132:8089/
...@@ -5,7 +5,7 @@ spring: ...@@ -5,7 +5,7 @@ spring:
cloud: cloud:
config: config:
profile: dev profile: dev
uri: http://config:8777 uri: http://config:8776
servlet: servlet:
multipart: multipart:
max-file-size: 10MB max-file-size: 10MB
...@@ -15,7 +15,7 @@ spring: ...@@ -15,7 +15,7 @@ spring:
# service-id: microservice-config-server # service-id: microservice-config-server
server: server:
port: 8046 port: 8047
info: info:
version: 0.1 version: 0.1
...@@ -79,7 +79,7 @@ zuul: ...@@ -79,7 +79,7 @@ zuul:
#添加代理头 #添加代理头
add-proxy-headers: true add-proxy-headers: true
auth-server: http://auth:8300 # oauth-server地址 auth-server: http://auth:8301 # oauth-server地址
security: security:
oauth2: oauth2:
......
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