Junjie
6 天以前 72c49f3afa22c4f84760d57001e45a4fadf2d482
src/main/java/com/zy/asrs/service/impl/ApkBuildTaskServiceImpl.java
@@ -2,7 +2,7 @@
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zy.asrs.entity.ApkBuildTask;
import com.zy.asrs.mapper.ApkBuildTaskMapper;
import com.zy.asrs.service.ApkBuildTaskService;
@@ -103,13 +103,13 @@
        task.setQueueSize(queueSize);
        task.setCreatedAt(new Date());
        this.insert(task);
        this.save(task);
        return task;
    }
    @Override
    public ApkBuildTask refreshStatus(Long id) throws Exception {
        ApkBuildTask task = this.selectById(id);
        ApkBuildTask task = this.getById(id);
        if (task == null) {
            throw new RuntimeException("任务不存在");
        }
@@ -194,7 +194,7 @@
    @Override
    public String downloadApk(Long id) throws Exception {
        ApkBuildTask task = this.selectById(id);
        ApkBuildTask task = this.getById(id);
        if (task == null) {
            throw new RuntimeException("任务不存在");
        }
@@ -268,7 +268,7 @@
    @Override
    public String installApk(Long id, String deviceIp) throws Exception {
        ApkBuildTask task = this.selectById(id);
        ApkBuildTask task = this.getById(id);
        if (task == null) {
            throw new RuntimeException("任务不存在");
        }