|  |  | 
 |  |  | 
 | 
 |  |  | import org.apache.commons.collections.CollectionUtils;
 | 
 |  |  | import org.apache.commons.collections.MapUtils;
 | 
 |  |  | import org.apache.commons.lang.StringUtils;
 | 
 |  |  | import org.apache.commons.lang3.StringUtils;
 | 
 |  |  | import org.apache.commons.lang.time.DateUtils;
 | 
 |  |  | import org.springframework.beans.factory.annotation.Autowired;
 | 
 |  |  | import org.springframework.stereotype.Service;
 | 
 |  |  | import org.springframework.util.ObjectUtils;
 | 
 |  |  | 
 | 
 |  |  | import com.alibaba.fastjson.JSON;
 | 
 |  |  | import com.moral.monitor.dao.AccountEntityMapper;
 | 
 |  |  | 
 |  |  |     }
 | 
 |  |  | 
 | 
 |  |  |     public void setOrgIdsByAccount(Map<String, Object> parameters) {
 | 
 |  |  |         AccountEntity account = accountMapper.selectByPrimaryKey((Integer.valueOf((String) parameters.get("accountId"))));
 | 
 |  |  |         if (null == account) {
 | 
 |  |  |         String accountId = ObjectUtils.nullSafeToString(parameters.get("accountId"));
 | 
 |  |  |         if (!StringUtils.isNumeric(accountId) ) {
 | 
 |  |  |             return;
 | 
 |  |  |         }
 | 
 |  |  | 		 | 
 |  |  |         AccountEntity account = accountMapper.selectByPrimaryKey((Integer.valueOf(accountId)));
 | 
 |  |  |         if (ObjectUtils.isEmpty(account)) {
 | 
 |  |  |             return;
 | 
 |  |  |         }
 | 
 |  |  |         String organization = account.getOrganization();
 |