2 天以前 61f1de60e6f58dd8e19f01c56f2e56e40885d65b
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>