姜友瑶
2022-05-17 b63b60288025c131b7d6023d444417ab5b35e2c1
zq-erp/src/main/resources/mybatis/mapper/hive/SysOrderDao.xml
@@ -187,7 +187,7 @@
        left JOIN sys_users c on c.su_id=a.STAFF_ID
        left JOIN sys_users e on e.su_id=a.cashier_id
        left JOIN sys_shop_info d on d.ID=a.SHOP_ID
        where 1=1
        where 1=1 and (b.IS_DELETE is null or b.IS_DELETE = '')
        <if test="record!=null">
            <if test="record.keyWordVo != null and record.keyWordVo!='' ">
                and (b.PHONE like concat('%',#{record.keyWordVo},'%')
@@ -275,7 +275,7 @@
        LEFT JOIN sys_vip_info b on b.ID=a.VIP_ID
        left JOIN sys_users c on c.su_id=a.STAFF_ID
        left JOIN sys_shop_info d on d.ID=a.SHOP_ID
        where 1=1
        where 1=1 and (b.IS_DELETE is null or b.IS_DELETE = '')
        <if test="record!=null">
            <if test="record.keyWordVo != null and record.keyWordVo!='' ">
                and (b.PHONE like concat('%',#{record.keyWordVo},'%')