Browse Source

roos页面统计频闭ip

huangzhiguo 2 years ago
parent
commit
a82230bffe

+ 2 - 1
src/main/resources/mappings/modules/user/CmBehaviorRecordMapper.xml

@@ -38,6 +38,7 @@
         LEFT JOIN serviceprovider sp on c.spID = sp.serviceProviderID
         LEFT JOIN cm_roos_information cri on b.IP = cri.IP
         <where>
+            b.IP != '106.55.202.118'
             <if test="behaviorType == 2">
                 AND b.behaviorType = #{behaviorType}
             </if>
@@ -96,7 +97,7 @@
         LEFT JOIN product p ON b.productID = p.productID
         LEFT JOIN cm_page_type pt ON b.pageType = pt.id
         <where>
-            b.IP = #{IP} AND b.accessDate = #{accessDate} AND b.userID = #{userID}
+            b.IP = #{IP} AND b.accessDate = #{accessDate} AND b.userID = #{userID} AND b.IP != '106.55.202.118'
             <if test="behaviorType == 2">
                 AND behaviorType = #{behaviorType}
             </if>