2 天以前 f5cc69d226d73878bfb9a67b3835ff1842732ffe
src/main/resources/mapper/sales/SalesQuotationMapper.xml
@@ -11,11 +11,15 @@
                AND t1.quotation_no LIKE CONCAT('%',#{salesQuotationDto.quotationNo},'%')
            </if>
            <if test="salesQuotationDto.customer != null and salesQuotationDto.customer != '' ">
                AND t1.customer = #{salesQuotationDto.customer}
                AND t1.customer like concat("%",#{salesQuotationDto.customer},"%")
            </if>
            <if test="salesQuotationDto.status != null and salesQuotationDto.status != '' ">
                AND t1.status = #{salesQuotationDto.status}
            </if>
            <if test="salesQuotationDto.id != null">
                AND t1.id = #{salesQuotationDto.id}
            </if>
        </where>
        order by t1.id desc
    </select>
</mapper>