|
@@ -281,7 +281,7 @@ public class DeviceRegisterServiceImpl extends ServiceImpl<DeviceRegisterMapper,
|
|
|
|
|
|
@ApiOperation("上传sn注册设备")
|
|
@ApiOperation("上传sn注册设备")
|
|
@PostMapping("uploadSaveBySn")
|
|
@PostMapping("uploadSaveBySn")
|
|
- public R uploadSaveBySn(@RequestParam("file") MultipartFile file, @RequestParam("devicePc") String devicePc) {
|
|
|
|
|
|
+ public R uploadSaveBySn(@RequestParam("file") MultipartFile file) {
|
|
ThreadPoolUtils.excPoll(DeviceThreadPoolConfig.DEVICE_COMMON_POLL, 1)
|
|
ThreadPoolUtils.excPoll(DeviceThreadPoolConfig.DEVICE_COMMON_POLL, 1)
|
|
.execute(() -> {
|
|
.execute(() -> {
|
|
try {
|
|
try {
|