xiangpei
2025-02-28 27617d6fb4b836c52c78fd950acf412e49d0e96b
在库项目查询bug
1个文件已修改
9 ■■■■■ 已修改文件
business/src/main/resources/mapper/ProjectInfoMapper.xml 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
business/src/main/resources/mapper/ProjectInfoMapper.xml
@@ -167,12 +167,9 @@
<!--            <if test="query.projectPhase == 3">-->
<!--                and (TPI.project_status = 'working' or TPI.project_status = 'stop')-->
<!--            </if>-->
            /* 为空表示在库项目 */
            <if test="query.projectPhase == null">
                <if test="query.role != null and query.role == 1">
                    and TPI.competent_department = #{query.competentDepartment}
                </if>
            </if>
<!--                <if test="query.role != null and query.role == 1">-->
<!--                    and TPI.competent_department = #{query.competentDepartment}-->
<!--                </if>-->
            <!-- 业主数据权限 -->
            <if test="query.role != null and query.role == 0">
                ${query.params.dataScope}