|
|
@ -10,7 +10,6 @@ import com.epmet.commons.tools.exception.RenException; |
|
|
|
import com.epmet.commons.tools.redis.RedisKeys; |
|
|
|
import com.epmet.commons.tools.redis.RedisUtils; |
|
|
|
import com.epmet.commons.tools.utils.SpringContextUtils; |
|
|
|
import com.epmet.feign.EpmetMessageOpenFeignClient; |
|
|
|
import com.epmet.opendata.dto.form.StaffBaseInfoFormDTO; |
|
|
|
import com.epmet.opendata.service.ExUserService; |
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
@ -35,16 +34,14 @@ public class OpenDataStaffChangeEventListener implements MessageListenerConcurre |
|
|
|
|
|
|
|
private Logger logger = LoggerFactory.getLogger(getClass()); |
|
|
|
|
|
|
|
private EpmetMessageOpenFeignClient messageOpenFeignClient; |
|
|
|
|
|
|
|
private RedisUtils redisUtils; |
|
|
|
|
|
|
|
private DistributedLock distributedLock; |
|
|
|
|
|
|
|
|
|
|
|
public OpenDataStaffChangeEventListener(DistributedLock distributedLock) { |
|
|
|
this.distributedLock = distributedLock; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
public ConsumeConcurrentlyStatus consumeMessage(List<MessageExt> msgs, ConsumeConcurrentlyContext context) { |
|
|
|
|
|
|
|