瀏覽代碼

fix 资料审核

he2802 3 年之前
父節點
當前提交
df4eacd3d9
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      zhongzheng-system/src/main/resources/mapper/modules/base/UserProfileMapper.xml

+ 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>