删除订单评价中空菜谱的记录

This commit is contained in:
sxu 2025-07-02 15:24:26 +08:00
parent 4c7f439d65
commit 3d3b00db9a
1 changed files with 2 additions and 1 deletions

View File

@ -31,6 +31,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<select id="selectCookEvaluaDetailList" parameterType="com.bonus.canteen.core.cook.domain.CookEvaluaDetail" resultMap="CookEvaluaDetailResult"> <select id="selectCookEvaluaDetailList" parameterType="com.bonus.canteen.core.cook.domain.CookEvaluaDetail" resultMap="CookEvaluaDetailResult">
<include refid="selectCookEvaluaDetailVo"/> <include refid="selectCookEvaluaDetailVo"/>
<where> <where>
cd.dishes_name is not null
<if test="evaluaId != null "> and ced.evalua_id = #{evaluaId}</if> <if test="evaluaId != null "> and ced.evalua_id = #{evaluaId}</if>
<if test="mealType != null "> and ced.meal_type = #{mealType}</if> <if test="mealType != null "> and ced.meal_type = #{mealType}</if>
<if test="mealId != null "> and ced.meal_id = #{mealId}</if> <if test="mealId != null "> and ced.meal_id = #{mealId}</if>