From 781fb421fdda4aff90394777b31aea7664cc6e23 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 16 May 2022 09:44:19 +0800
Subject: [PATCH] Merge branch 'score_shop' of http://120.27.238.55:7000/r/beauty-erp into score_shop

---
 zq-erp/src/main/resources/mybatis/mapper/hive/SysBeauticianStateDao.xml |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/zq-erp/src/main/resources/mybatis/mapper/hive/SysBeauticianStateDao.xml b/zq-erp/src/main/resources/mybatis/mapper/hive/SysBeauticianStateDao.xml
index 41b07c4..977ec03 100644
--- a/zq-erp/src/main/resources/mybatis/mapper/hive/SysBeauticianStateDao.xml
+++ b/zq-erp/src/main/resources/mybatis/mapper/hive/SysBeauticianStateDao.xml
@@ -131,16 +131,15 @@
 			a.count,
 			a.proj_id,
 			b.su_name,
-			c.name as goods_name,
-			c.seal_pice as goods_seal_pice,
+            d.proj_name as goods_name,
+            d.price as goods_seal_pice,
 			c.TIME_LENGTH as goods_time_length,
             d.id as pu_id,
             d.SURPLUS_COUNT as pu_SURPLUS_COUNT,
             d.ASSEMBLE_ID as pu_ASSEMBLE_ID,
             d.price as pu_price,
-		    d.taocan_id as pu_taocan_id
-
-
+		    d.taocan_id as pu_taocan_id,
+		    d.source as pu_source
 		from sys_beautician_state a
 		left join sys_users b on a.staff_id= b.su_id
 		left  join  shopping_goods c on a.proj_id=c.id
@@ -334,7 +333,8 @@
         and a.STAFF_ID = #{suId} ]]>
         and  a.STATE !='预约取消'
         and  a.STATE !='待确认'
-        and  a.STATE !='待预约'
+        and  a.STATE !='服务单结束'
+        and  a.STATE !='待预约' and (c.IS_DELETE is null or c.IS_DELETE = '')
         order by a.BEGIN_TIME asc
 
     </select>

--
Gitblit v1.9.1