@@ -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,
@@ -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;
}
@@ -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());