Przeglądaj źródła

管理员菜单新增过滤

lmx 1 tydzień temu
rodzic
commit
9401ec5df3

+ 4 - 0
fs-service/src/main/java/com/fs/crm/mapper/CrmCustomerMapper.java

@@ -1084,6 +1084,10 @@ public interface CrmCustomerMapper extends BaseMapper<CrmCustomer> {
             "<if test = 'maps.endTime != null and maps.endTime != \"\" '> " +
             "and date_format(c.create_time,'%y%m%d') &lt;= date_format(#{maps.endTime},'%y%m%d') " +
             "</if>" +
+            "<if test = 'maps.visitStatus != null and maps.visitStatus !=\"\"'> " +
+            "and c.visit_status IN " +
+            "<foreach collection=\"maps.visitStatus.split(',')\" item='item' index='index' open='(' separator=',' close=')'> #{item} </foreach>" +
+            "</if>" +
             " order by c.customer_id desc "+
             "</script>"})
     List<CrmCustomerAllListQueryVO> selectCrmCustomerAllListQuery(@Param("maps") CrmCustomerAllListQueryParam param);

+ 4 - 0
fs-service/src/main/java/com/fs/crm/param/CrmCustomerAllListQueryParam.java

@@ -60,4 +60,8 @@ public class CrmCustomerAllListQueryParam extends BaseQueryParam {
     private String intentionDegree;
 
     private String companyUserNickName;
+
+    /** 跟进阶段 */
+    private String visitStatus;
+
 }