需求bug
This commit is contained in:
@@ -22,12 +22,12 @@ spring:
|
||||
strict: false #严格匹配数据源,默认false. true未匹配到指定数据源时抛异常,false使用默认数据源
|
||||
datasource:
|
||||
master:
|
||||
url: jdbc:mysql://192.168.1.161:3306/zentao?useUnicode=true&characterEncoding=UTF8&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&allowPublicKeyRetrieval=true
|
||||
username: devgps
|
||||
password: dev@2021GPS
|
||||
# url: jdbc:mysql://192.168.3.200:3306/zentao_dev?useUnicode=true&characterEncoding=UTF8&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&allowPublicKeyRetrieval=true
|
||||
# username: root
|
||||
# password: PX4fTAAsJ#T!1
|
||||
# url: jdbc:mysql://192.168.1.161:3306/zentao?useUnicode=true&characterEncoding=UTF8&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&allowPublicKeyRetrieval=true
|
||||
# username: devgps
|
||||
# password: dev@2021GPS
|
||||
url: jdbc:mysql://192.168.3.200:3306/zentao_dev?useUnicode=true&characterEncoding=UTF8&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&allowPublicKeyRetrieval=true
|
||||
username: root
|
||||
password: PX4fTAAsJ#T!1
|
||||
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver # 3.2.0开始支持SPI可省略此配置
|
||||
slave:
|
||||
|
||||
@@ -184,7 +184,7 @@
|
||||
and ps.project =#{qo.project}
|
||||
</if>
|
||||
<if test="qo.execution != null ">
|
||||
and ps.execution =#{qo.execution}
|
||||
and ps.project =#{qo.execution}
|
||||
</if>
|
||||
<if test="qo.module != null ">
|
||||
and s.module =#{qo.module}
|
||||
|
||||
@@ -206,6 +206,11 @@
|
||||
|
||||
|
||||
|
||||
</select>
|
||||
<select id="taskListPrd" resultType="com.sa.zentao.dao.ZtTaskDTO">
|
||||
|
||||
select * from zt_task where execution = #{id}
|
||||
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user