Browse Source

私有渠道列表修改开发

anderx 3 years ago
parent
commit
6006ff2042

+ 7 - 1
src/main/java/com/goafanti/customer/service/impl/CustomerServiceImpl.java

@@ -2488,7 +2488,13 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
 		if (in.getShareType()==null || in.getShareType()!=1){
 			List<OutChannelListBo> list = (List<OutChannelListBo>) p.getList();
 			for (OutChannelListBo out : list) {
-				out.setRemainingDays(getRemainingDays(out));
+				if(out.getType()==1){
+					out.setaName(null);
+					out.setCreateTime(null);
+					out.setLastFollowTime(null);
+				}else {
+					out.setRemainingDays(getRemainingDays(out));
+				}
 			}
 		}
 		return p;