linwe
2024-05-24 b6d1acb0c319e60fc4c03ed2fdd19be16440e2de
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>
    <!--递归查询-->