Browse Source

用户行为

huangzhiguo 2 years ago
parent
commit
d8a4491bda

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

@@ -27,6 +27,7 @@
           s.contractMobile AS scontractMobile,
           c.clubID as clubID,
           s.shopID as shopID,
+          b.accessClient,
           max(b.region) as region,
           max(accessTime) AS lastAccessTime,
           (SELECT CASE STATUS WHEN 91 THEN '采美默认协销经理(官方账号)' ELSE linkMan END FROM serviceprovider WHERE serviceProviderID = c.spID) AS spName,

+ 9 - 0
src/main/webapp/WEB-INF/views/modules/user/behaviorRecordList.jsp

@@ -77,6 +77,7 @@
         <tr>
             <th>IP</th>
             <th>地区</th>
+            <th>访问客户端</th>
             <th>公司类型</th>
             <th>公司名称</th>
             <th>联系人</th>
@@ -101,6 +102,14 @@
                 ${cmBehaviorRecord.region}
             </c:if>
             </td>
+            <td>
+                <c:if test="${cmBehaviorRecord.accessClient == '0'}">
+                    网站
+                </c:if>
+                <c:if test="${cmBehaviorRecord.accessClient == '1'}">
+                    小程序
+                </c:if>
+            </td>
            <td>
                <c:if test="${cmBehaviorRecord.userIdentity eq 2 || cmBehaviorRecord.userIdentity eq 4}">
                    机构

+ 9 - 0
src/main/webapp/WEB-INF/views/modules/user/behaviorRecordRossList.jsp

@@ -77,6 +77,7 @@
     <tr>
         <th>IP</th>
         <th>地区</th>
+        <th>访问客户端</th>
         <th>公司类型</th>
         <th>公司名称</th>
         <th>联系人</th>
@@ -102,6 +103,14 @@
                     ${cmBehaviorRecord.region}
                 </c:if>
             </td>
+            <td>
+                <c:if test="${cmBehaviorRecord.accessClient == '0'}">
+                    网站
+                </c:if>
+                <c:if test="${cmBehaviorRecord.accessClient == '1'}">
+                    小程序
+                </c:if>
+            </td>
             <td>
                 <c:if test="${cmBehaviorRecord.userIdentity eq 2 || cmBehaviorRecord.userIdentity eq 4}">
                     机构