update
This commit is contained in:
@@ -6,7 +6,7 @@ spring:
|
||||
druid:
|
||||
# 主库数据源
|
||||
master:
|
||||
url: jdbc:mysql://101.35.140.199:13306/managersystem?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
url: jdbc:mysql://127.0.0.1:3306/managersystem?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||
username: root
|
||||
password: Wxit11335577
|
||||
# 从库数据源
|
||||
|
@@ -35,6 +35,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<if test="assignee != null and assignee != ''"> and m.assignee = #{assignee}</if>
|
||||
<if test="assignTime != null "> and m.assign_time = #{assignTime}</if>
|
||||
<if test="finishTime != null "> and m.finish_time = #{finishTime}</if>
|
||||
and m.del_flag = '0'
|
||||
<!-- 权限控制:普通用户只能查看自己项目下的模块或被指派的模块;平台管理员可查看所有 -->
|
||||
<if test="params != null and params.currentUserId != null and params.isAdmin != true">
|
||||
and (
|
||||
@@ -56,6 +57,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
<include refid="selectBizModuleVo"/>
|
||||
<where>
|
||||
<if test="_parameter != null "> and m.project_id = #{_parameter}</if>
|
||||
and m.del_flag = '0'
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
Reference in New Issue
Block a user