linwe
2024-08-09 8b7258c9427882bb1798f1502eaa35184c6e374e
src/main/java/org/springblade/modules/property/mapper/PropertyCompanyCommentMapper.xml
@@ -24,6 +24,13 @@
        <if test="propertyCompanyComment.propertyCompanyId!=null">
            and jpcc.property_company_id = #{propertyCompanyComment.propertyCompanyId}
        </if>
        <if test="propertyCompanyComment.checkStatus!=null">
            and jpcc.check_status = #{propertyCompanyComment.checkStatus}
        </if>
        <if test="propertyCompanyComment.createUser!=null">
            and jpcc.create_user = #{propertyCompanyComment.createUser}
        </if>
    </select>
    <!--自定义分页查询(递归)-->
@@ -39,6 +46,13 @@
        <if test="propertyCompanyComment.propertyCompanyId!=null">
            and jpcc.property_company_id = #{propertyCompanyComment.propertyCompanyId}
        </if>
        <if test="propertyCompanyComment.checkStatus!=null">
            and jpcc.check_status = #{propertyCompanyComment.checkStatus}
        </if>
        <if test="propertyCompanyComment.createUser!=null">
            and jpcc.create_user = #{propertyCompanyComment.createUser}
        </if>
    </select>
    <!--递归查询-->