zhongrj
2024-04-28 ebd41b7b2e44dc8b96f177d7bf88d2f5f997b75c
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>
    <!--递归查询-->