yupeng
2025-02-10 d2f447d946fadcd163c970cab7e60bbbeee691e6
ruoyi-system/src/main/resources/mapper/system/TBillMapper.xml
@@ -56,10 +56,10 @@
                and t.resident_name like concat('%',#{query.residentName},'%')
            </if>
            <if test="query.contractNumber != null and query.contractNumber !=''">
                and b.contract_number = #{contractNumber}
                and b.contract_number = #{query.contractNumber}
            </if>
            <if test="query.userId != null and query.userId !=''">
                and b.contract_number = #{contractNumber}
                and t.id = #{query.userId}
            </if>
        </where>
    </select>