From af6a6f03d3da1303b6fec2cff5dbd0fd10e8ad5c Mon Sep 17 00:00:00 2001 From: jyy <935090232@qq.com> Date: Wed, 27 Jan 2021 09:59:32 +0800 Subject: [PATCH] 1、查询产品bug 2、储值卡使用完成不设置为失效 --- zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderDao.xml | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderDao.xml b/zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderDao.xml index bd84983..62c25ce 100644 --- a/zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderDao.xml +++ b/zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderDao.xml @@ -18,6 +18,7 @@ <result property="statu" column="STATU"/> <result property="zkTotal" column="ZK_TOTAL"/> <result property="shopId" column="SHOP_ID"/> + <result property="companyId" column="company_id"/> <result property="vipName" column="VIP_NAME"/> <result property="vipNo" column="VIP_NO"/> <result property="staffName" column="STAFF_NAME"/> @@ -504,6 +505,9 @@ <if test="record.shopId != null"> and a.shop_id=#{record.shopId} </if> + <if test="record.companyId != null"> + and a.company_id=#{record.companyId} + </if> </where> <if test="pageVo !=null"><!-- 判断pageVo对象是否为空 --> order by a.order_time desc @@ -530,6 +534,9 @@ <if test="record.shopId != null"> and a.shop_id=#{record.shopId} </if> + <if test="record.companyId != null"> + and a.company_id=#{record.companyId} + </if> </where> </select> -- Gitblit v1.9.1