Browse Source

客户跟进详情BUG修复

anderx 3 years ago
parent
commit
6cb5265ea9

+ 0 - 4
src/main/java/com/goafanti/common/mapper/PublicReleaseMapper.xml

@@ -610,10 +610,6 @@
 	<if test="id !=null">
 	and a.id= #{id}
 	</if>
-	<if test="ufid !=null">
-	and a.ufid= #{ufid}
-	</if>
-
   </select>
   <select id="selectDtailsByFid" resultType="com.goafanti.weChat.bo.OutPublicReleaseAndDetails">
     select  a.id,c.name  aname,date_format(a.release_start,'%Y-%m-%d %H:%i:%S') releaseStarts,a.update_time updateTime,a.user_names userNames,

+ 4 - 2
src/main/java/com/goafanti/customer/service/impl/CustomerServiceImpl.java

@@ -197,8 +197,10 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
 				"selectPrivateOrganizationCustomerList", "selectPrivateOrganizationCustomerCount", params, pageNo,
 				pageSize);
 		List<CustomerListOut> tmpList = (List<CustomerListOut>) list.getList();
-		setCustomerList(tmpList, 0, power);
-		list.setList(tmpList);
+		if(!tmpList.isEmpty()){
+			setCustomerList(tmpList, 0, power);
+			list.setList(tmpList);
+		}
 		return list;
 	}
 

+ 1 - 1
src/main/java/com/goafanti/order/service/impl/UserStatisticsServiceImpl.java

@@ -68,7 +68,7 @@ public class UserStatisticsServiceImpl extends BaseMybatisDao<UserMidMapper> imp
 
 
 	private void addsignStatisticsParam(InputSignStatistics in, Map<String, Object> map) {
-		if (!in.getDeps().isEmpty()){
+		if (in.getDeps()!=null){
 			map.put("deps",departmentService.parseArray(in.getDeps()));
 		}
 		if (StringUtils.isNotBlank(in.getAid())) map.put("aid", in.getAid());