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