tanzh преди 3 години
родител
ревизия
7057149a2e
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      zhongzheng-system/src/main/resources/mapper/modules/user/UserExamWrongRecordMapper.xml

+ 3 - 0
zhongzheng-system/src/main/resources/mapper/modules/user/UserExamWrongRecordMapper.xml

@@ -114,6 +114,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="goodsId != null and goodsId != ''">
             AND uew.goods_id = #{goodsId}
         </if>
+        <if test="orderGoodsId != null and orderGoodsId != ''">
+            AND uew.order_goods_id = #{orderGoodsId}
+        </if>
         GROUP BY
             q.type
     </select>