Commit fd8bc5e1 authored by xxxxxwwwww's avatar xxxxxwwwww

Merge branch 'master' of D:\operation-control-platform with conflicts.

parent bc6bdf9a
...@@ -51,8 +51,9 @@ public class AppRegisterServiceImpl implements AppRegisterService { ...@@ -51,8 +51,9 @@ public class AppRegisterServiceImpl implements AppRegisterService {
int count = ocpTenantBaseMapper.queryCount(appRegisterDTO.getAppCode()); int count = ocpTenantBaseMapper.queryCount(appRegisterDTO.getAppCode());
int c = ocpTenantExtentMapper.queryCount(appRegisterDTO.getAppCode()); int c = ocpTenantExtentMapper.queryCount(appRegisterDTO.getAppCode());
if (count != 0 || c != 0) { int nc = ocpTenantBaseMapper.queryName(appRegisterDTO.getAppName());
return ResponseVO.error("应用编码有重复/应用扩展表编码有重复"); if (count != 0 || c != 0 || nc != 0) {
return ResponseVO.error("应用编码有重复/应用扩展表编码有重复/应用名称有重复");
} }
OcpTenantIocn ocpTenantIocn = new OcpTenantIocn(); OcpTenantIocn ocpTenantIocn = new OcpTenantIocn();
......
...@@ -2,7 +2,7 @@ spring: ...@@ -2,7 +2,7 @@ spring:
datasource: datasource:
driver-class-name: org.postgresql.Driver driver-class-name: org.postgresql.Driver
username: postgres username: postgres
password: 1234 password: root
type: com.zaxxer.hikari.HikariDataSource type: com.zaxxer.hikari.HikariDataSource
# jdbc-url: jdbc:postgresql://192.168.43.20:33072/pms3?currentSchema=public&stringtype=unspecified&TimeZone=Asia/Shanghai&useAffectedRows=true # jdbc-url: jdbc:postgresql://192.168.43.20:33072/pms3?currentSchema=public&stringtype=unspecified&TimeZone=Asia/Shanghai&useAffectedRows=true
# jdbc-url: jdbc:postgresql://172.20.10.9:33072/pms3?currentSchema=public&stringtype=unspecified&TimeZone=Asia/Shanghai&useAffectedRows=true # jdbc-url: jdbc:postgresql://172.20.10.9:33072/pms3?currentSchema=public&stringtype=unspecified&TimeZone=Asia/Shanghai&useAffectedRows=true
......
...@@ -32,10 +32,5 @@ ...@@ -32,10 +32,5 @@
where tenant_code = #{appCode} where tenant_code = #{appCode}
</select> </select>
<select id="selcctCodeList" resultType="java.lang.Integer">
select *
from ocp_tenant_base
where tenant_group_code = #{ocpTenantGroup}
</select>
</mapper> </mapper>
\ No newline at end of file
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