|
@@ -21,7 +21,6 @@ import io.swagger.annotations.ApiOperation;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
import lombok.SneakyThrows;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
-import org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
@@ -29,7 +28,6 @@ import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
|
|
-import javax.annotation.Resource;
|
|
|
import java.time.LocalDate;
|
|
|
import java.time.LocalDateTime;
|
|
|
import java.util.ArrayList;
|
|
@@ -53,9 +51,6 @@ import static com.xy.utils.PlusBeans.toPageBean;
|
|
|
@Api(tags = "设备-机器ID号生成")
|
|
|
public class DeviceCreateIdsServiceImpl extends ServiceImpl<DeviceCreateIdsMapper, DeviceCreateIds> implements DeviceCreateIdsService {
|
|
|
|
|
|
- @Resource(name = ThreadPoolConfig.DEVICE_CREATE_IDS_SAVE)
|
|
|
- private ThreadPoolTaskExecutor executor;
|
|
|
-
|
|
|
private final SysWorkUserService sysWorkUserService;
|
|
|
|
|
|
@SneakyThrows
|