| | |
| | | <if test="param.type != null and param.type ==3 "> |
| | | AND toc.order_status = 3 |
| | | </if> |
| | | <if test="param.orderFrom != null and param.orderFrom != '' "> |
| | | AND toc.order_from = #{param.orderFrom} |
| | | </if> |
| | | <if test="param.startOrderDate != null and param.startOrderDate != '' "> |
| | | AND toc.create_time >= #{param.startOrderDate} |
| | | </if> |
| | | <if test="param.endOrderDate != null and param.endOrderDate != '' "> |
| | | AND toc.create_time <= #{param.endOrderDate} |
| | | </if> |
| | | <if test="param.keyword != null and param.keyword != ''"> |
| | | AND (toc.order_no LIKE CONCAT('%',#{param.keyword},'%') OR tg.goods_name LIKE CONCAT('%',#{param.keyword},'%')) |
| | | </if> |