feat 重写了一些诡异的代码

This commit is contained in:
yinglong zhang
2021-06-24 11:05:25 +08:00
parent b0751be63a
commit a069424edf
4 changed files with 3 additions and 8 deletions
@@ -3,9 +3,9 @@
# 数据库配置
#=============================================
spring.datasource.driverClassName = com.mysql.cj.jdbc.Driver
spring.datasource.url = jdbc:mysql://localhost:3306/foton_slrs_test?useUnicode=true&characterEncoding=utf8&serverTimezone=UTC&useSSL=false
spring.datasource.url = jdbc:mysql://101.36.227.22:33050/foton_slrs_test?useUnicode=true&characterEncoding=utf8&serverTimezone=UTC&useSSL=false
spring.datasource.username = root
spring.datasource.password = Zxy20010202
spring.datasource.password = 1q2w3e4r
#==============================================
# 应用设置
@@ -91,7 +91,6 @@ spring.datasource.druid.stat-view-servlet.url-pattern=/druid/*
# =======================================
mybatis-plus.config-location=classpath:mybatis/mybatis-config.xml
mybatis-plus.mapper-locations=classpath*:mybatis/mapper/**/*.xml
mybatis-plus.type-aliases-package=com.adc.da.**.entity
# ========================================
# activiti 配置信息
-4
View File
@@ -11,10 +11,6 @@
<artifactId>adc-da-slrs</artifactId>
<dependencies>
<dependency>
<groupId></groupId>
<artifactId></artifactId>
</dependency>
<dependency>
<groupId>com.adc</groupId>
<artifactId>adc-da-base</artifactId>
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.adc.da.slrs.sarPosition.dao.TsPositionDao">
<select id="getRole" resultType="TsRole">
<select id="getRole" resultType="com.adc.da.slrs.sarRole.entity.TsRole">
select * from ts_role r
left join ts_position_role ps
on r.id=ps.role_id