From eb706a988e747b624fda0d44e0aaf6a4ee5e20eb Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Thu, 26 May 2022 11:27:03 +0800 Subject: [PATCH] fix saveOrder zkPrice is null --- zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopActivitiesSeckillRecordDao.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopActivitiesSeckillRecordDao.xml b/zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopActivitiesSeckillRecordDao.xml index aa69d97..0a420e7 100644 --- a/zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopActivitiesSeckillRecordDao.xml +++ b/zq-erp/src/main/resources/mybatis/mapper/xcxShop/ShopActivitiesSeckillRecordDao.xml @@ -188,7 +188,7 @@ left join sys_shop_info t4 on t3.store_id=t4.id left join sys_vip_info t5 on t1.user_id=t5.id left join shop_product t6 on t2.goods_id=t6.id - where t2.act_id=#{record.actId} and (t5.IS_DELETE is null or t5.IS_DELETE = '') + where t2.act_id=#{record.actId} <if test="pageVo !=null"><!-- 判断pageVo对象是否为空 --> <if test="pageVo.sort !=null and pageVo.order !=null"> order by @@ -210,7 +210,7 @@ left join sys_shop_info t4 on t3.store_id=t4.id left join sys_vip_info t5 on t1.user_id=t5.id left join shop_product t6 on t2.goods_id=t6.id - where t2.act_id=#{record.actId} and (t5.IS_DELETE is null or t5.IS_DELETE = '') + where t2.act_id=#{record.actId} </select> <!-- 根据id查询--> -- Gitblit v1.9.1