Kaynağa Gözat

fix 资料审核

he2802 3 yıl önce
ebeveyn
işleme
df4eacd3d9

+ 3 - 0
zhongzheng-system/src/main/resources/mapper/modules/base/UserProfileMapper.xml

@@ -148,6 +148,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="goodsId != null and goodsId !='' ">
             AND up.goods_id =#{goodsId}
         </if>
+        <if test="orderGoodsId != null and orderGoodsId !='' ">
+            AND up.order_goods_id =#{orderGoodsId}
+        </if>
         order by up.create_time desc LIMIT 1
     </select>