| | |
| | | and c.show_flag = #{param.showFlag} |
| | | </if> |
| | | |
| | | |
| | | <if test="param.orderNo != null and param.orderNo != ''"> |
| | | and o.order_no like concat('%', #{param.orderNo}, '%') |
| | | </if> |
| | | <if test="param.flowerName != null and param.flowerName != ''"> |
| | | and oi.flower_name like concat('%', #{param.flowerName}, '%') |
| | | </if> |
| | | <if test="param.commentGrade != null"> |
| | | and c.comment_grade = #{param.commentGrade} |
| | | </if> |
| | | <if test="param.commentStartDate != null"> |
| | | and DATE_FORMAT(c.create_time, '%Y-%m-%d') >= #{param.commentStartDate} |
| | | </if> |
| | | <if test="param.commentEndDate != null"> |
| | | and DATE_FORMAT(c.create_time, '%Y-%m-%d') <= #{param.commentEndDate} |
| | | </if> |
| | | |
| | | order by c.create_time desc |
| | | |