lym 4 лет назад
Родитель
Сommit
a642ef093d

+ 1 - 1
carbon-h5/carbon-h5-service/src/main/resources/com/hcloud/microserver/h5/dao/CustomerCarbonValMapper.xml

@@ -367,7 +367,7 @@
         FROM t_customer_carbon_val a
         INNER JOIN t_customer_info b ON b.guid = a.t_customer_id
         WHERE a.year_time BETWEEN YEAR(DATE_SUB(NOW(),INTERVAL 3 YEAR)) AND YEAR(NOW())
-        AND a.type = 1
+        AND a.`status` = 1
         <if test="type != null and type == 1">
             AND b.customer_type = 1
         </if>