Browse Source

科德系统渠道模块开发

anderx 3 years ago
parent
commit
72a7f9cf9f

+ 2 - 2
src/main/java/com/goafanti/common/mapper/UserMapper.xml

@@ -1429,7 +1429,7 @@
     left join district_glossory dg2 on d.location_city = dg2.id
     left join district_glossory dg3 on d.location_area = dg3.id
     left join user_mid um on um.aid=a.aid and um.uid=a.id
-    where a.type= 1   and a.source in(1,2,3) and a.share_type = 0
+    where a.type= 1   and a.source in(1,2,3) and a.share_type = 0 and a.new_channel=0
     <if test="power ==0">
       and a.aid = #{aid,jdbcType=VARCHAR}
     </if>
@@ -1489,7 +1489,7 @@
     left join user_mid um on um.aid=a.aid and um.uid=a.id
     /*inner join (select aid,uid from user_follow uf group by aid,uid) t0
     on a.id=t0.uid and a.aid =t0.aid*/
-    where a.type= 1   and a.source in(1,2,3) and a.share_type = 0
+    where a.type= 1   and a.source in(1,2,3) and a.share_type = 0 and a.new_channel=0
     <if test="power ==0">
       and a.aid = #{aid,jdbcType=VARCHAR}
     </if>

+ 0 - 2
src/main/java/com/goafanti/customer/controller/AdminCustomerApiController.java

@@ -2,7 +2,6 @@ package com.goafanti.customer.controller;
 
 import java.io.IOException;
 import java.io.OutputStream;
-import java.lang.reflect.Field;
 import java.lang.reflect.InvocationTargetException;
 import java.text.DateFormat;
 import java.text.ParseException;
@@ -18,7 +17,6 @@ import javax.annotation.Resource;
 import javax.servlet.http.HttpServletRequest;
 import javax.servlet.http.HttpServletResponse;
 
-import com.goafanti.common.enums.AchievementFields;
 import com.goafanti.common.utils.*;
 import com.goafanti.customer.bo.*;
 import org.apache.poi.xssf.usermodel.XSSFWorkbook;