TASK: cloud、posetransfer;
This commit is contained in:
@@ -2,6 +2,10 @@ package com.ai.da.mapper.primary;
|
||||
|
||||
import com.ai.da.common.config.mybatis.plus.CommonMapper;
|
||||
import com.ai.da.mapper.primary.entity.CloudTask;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.apache.ibatis.annotations.Update;
|
||||
|
||||
public interface CloudTaskMapper extends CommonMapper<CloudTask> {
|
||||
@Update("UPDATE cloud_task SET completed_num = completed_num + 1, update_time = NOW() WHERE task_id = #{taskIdBatch}")
|
||||
void increaseCompletedNum(@Param("taskIdBatch") String taskIdBatch);
|
||||
}
|
||||
|
||||
@@ -23,6 +23,8 @@ public class CloudTask implements Serializable {
|
||||
@TableId(value = "id", type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
private String name;
|
||||
|
||||
private Long projectId;
|
||||
|
||||
private Long collectionId;
|
||||
@@ -44,4 +46,6 @@ public class CloudTask implements Serializable {
|
||||
private LocalDateTime createTime;
|
||||
|
||||
private LocalDateTime updateTime;
|
||||
|
||||
private Long accountId;
|
||||
}
|
||||
Reference in New Issue
Block a user