|
|
@ -5,7 +5,6 @@ import cn.hutool.core.lang.Validator;
|
|
|
|
import cn.hutool.json.JSONUtil;
|
|
|
|
import cn.hutool.json.JSONUtil;
|
|
|
|
import com.alibaba.excel.context.AnalysisContext;
|
|
|
|
import com.alibaba.excel.context.AnalysisContext;
|
|
|
|
import com.alibaba.excel.event.AnalysisEventListener;
|
|
|
|
import com.alibaba.excel.event.AnalysisEventListener;
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
|
|
|
|
|
import com.charge.orderbk.client.ExcelServiceApi;
|
|
|
|
import com.charge.orderbk.client.ExcelServiceApi;
|
|
|
|
import com.charge.orderbk.config.RedisHandle;
|
|
|
|
import com.charge.orderbk.config.RedisHandle;
|
|
|
|
import com.charge.orderbk.config.TokenServiceTask;
|
|
|
|
import com.charge.orderbk.config.TokenServiceTask;
|
|
|
@ -13,20 +12,15 @@ import com.charge.orderbk.dao.LabelDOMapper;
|
|
|
|
import com.charge.orderbk.dao.LabelRelationDOMapper;
|
|
|
|
import com.charge.orderbk.dao.LabelRelationDOMapper;
|
|
|
|
import com.charge.orderbk.dao.UserDOMapper;
|
|
|
|
import com.charge.orderbk.dao.UserDOMapper;
|
|
|
|
import com.charge.orderbk.model.*;
|
|
|
|
import com.charge.orderbk.model.*;
|
|
|
|
import com.charge.orderbk.model.ao.SendCouponAO;
|
|
|
|
|
|
|
|
import com.charge.orderbk.model.dto.*;
|
|
|
|
import com.charge.orderbk.model.dto.*;
|
|
|
|
import com.charge.orderbk.service.ActivityNewService;
|
|
|
|
|
|
|
|
import com.charge.util.Const;
|
|
|
|
import com.charge.util.Const;
|
|
|
|
import com.charge.util.MyException;
|
|
|
|
import com.charge.util.MyException;
|
|
|
|
import net.sf.json.JSONObject;
|
|
|
|
|
|
|
|
import org.apache.commons.lang.StringUtils;
|
|
|
|
import org.apache.commons.lang.StringUtils;
|
|
|
|
import org.slf4j.Logger;
|
|
|
|
import org.slf4j.Logger;
|
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.*;
|
|
|
|
import java.util.*;
|
|
|
|
import java.util.concurrent.TimeUnit;
|
|
|
|
import java.util.concurrent.TimeUnit;
|
|
|
|
import java.util.stream.Stream;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 普通活动-人工发放-文件发放 easyExcel导入监听器
|
|
|
|
* 普通活动-人工发放-文件发放 easyExcel导入监听器
|
|
|
@ -265,9 +259,5 @@ public class LabelFileListener extends AnalysisEventListener<LabelFileDTO> {
|
|
|
|
int userCount = labelRelationDOMapper.getUserCount(labelDTO.getId());
|
|
|
|
int userCount = labelRelationDOMapper.getUserCount(labelDTO.getId());
|
|
|
|
labelDO.setUserCount(userCount);
|
|
|
|
labelDO.setUserCount(userCount);
|
|
|
|
labelDOMapper.updateByPrimaryKeySelective(labelDO);
|
|
|
|
labelDOMapper.updateByPrimaryKeySelective(labelDO);
|
|
|
|
return ;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|