Selaa lähdekoodia

用户行为优化1.0.2

huangzhiguo 1 vuosi sitten
vanhempi
commit
aefd5538ec

+ 2 - 2
src/main/resources/mapper/RegisterMapper.xml

@@ -17,8 +17,8 @@
 
     <insert id="insertActiveOrgan">
         insert into cm_organ_active_system
-        (userID, activeState, activeStatus, stage, addTime, delType)
-        values(#{userID}, '活跃用户', 0, 0, date_format(now(), '%Y-%m-%d'), 1)
+        (userId, activeState, activeStatus, stage, addTime, delType)
+        values(#{userId}, '活跃用户', 0, 0, date_format(now(), '%Y-%m-%d'), 1)
     </insert>
 
     <insert id="insertClub" parameterType="com.caimei365.user.model.po.ClubPo" keyProperty="clubId" useGeneratedKeys="true">

+ 4 - 2
src/main/resources/mapper/SellerMapper.xml

@@ -153,10 +153,12 @@
             AND c.spId=1342
         </if>
         <if test="4 == type">
-            coas.activeStatus = 0
+            c.spID = #{serviceProviderId}
+            and coas.activeStatus = 0
         </if>
         <if test="5 == type">
-            coas.activeStatus = 1
+            c.spID = #{serviceProviderId}
+            and coas.activeStatus = 1
         </if>
         <if test="6 == type">
             c.spID = #{serviceProviderId}