From ab2879bbcb846256cc182198b9c04e50fbc276c1 Mon Sep 17 00:00:00 2001 From: jyy <935090232@qq.com> Date: Tue, 26 Jan 2021 14:15:42 +0800 Subject: [PATCH] 1、新增消息推送提醒 2、修改业绩计算bug --- zq-erp/src/main/resources/mybatis/mapper/hive/SysVipInfoDao.xml | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/zq-erp/src/main/resources/mybatis/mapper/hive/SysVipInfoDao.xml b/zq-erp/src/main/resources/mybatis/mapper/hive/SysVipInfoDao.xml index 417b21f..b2b7892 100644 --- a/zq-erp/src/main/resources/mybatis/mapper/hive/SysVipInfoDao.xml +++ b/zq-erp/src/main/resources/mybatis/mapper/hive/SysVipInfoDao.xml @@ -538,6 +538,8 @@ where a.ID=#{id} </select> + + <!-- 根据手机和密码查询 --> <select id="selectVipByPhonePassWord" resultMap="SysVipInfoMap"> <include refid="select"></include> @@ -1318,6 +1320,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> <if test='record.birthType=="1"'> and a.BIRTHDAY1 between curdate() and DATE_ADD(CURDATE(), INTERVAL 3 DAY) </if> @@ -1340,6 +1345,9 @@ <if test="record.sort != 'monthArrived' and record.sort != 'yearArrived'"> order by ${record.sort} ${record.order} </if> + <if test="record.offset >=0 and record.limit >0"> + limit #{record.offset},#{record.limit} + </if> </select> <select id="selectVipInfoById" resultType="com.matrix.system.app.vo.VipInfoVo"> -- Gitblit v1.9.1