xiangpei
2025-03-02 1519a7c81e6566dd0cbc6acfb1b5e92c3aaba7df
business/src/main/resources/mapper/ProjectInfoMapper.xml
@@ -164,14 +164,12 @@
<!--            <if test="query.reserveOrPrevious != null and query.reserveOrPrevious == 'previous'">-->
<!--                and TPP.process_ins_id is not null-->
<!--            </if>-->
            <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.used_status = 1 and  FIND_IN_SET(#{query.competentDepartment}, TPI.competent_department) > 0
                </if>
            </if>
<!--            <if test="query.projectPhase == 3">-->
<!--                and (TPI.project_status = 'working' or TPI.project_status = 'stop')-->
<!--            </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}