| | |
| | | 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> |