From b7cc7ebf469cfc2486605b36b75a576470f0236f Mon Sep 17 00:00:00 2001 From: Cui YongXing <2835316714@qq.com> Date: Mon, 26 Aug 2024 11:04:07 +0800 Subject: [PATCH] =?UTF-8?q?Node=E5=A2=9E=E5=88=A0=E6=94=B9=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/muyu/common/domian/TaskInput.java | 3 +++ cloud-task-server/pom.xml | 9 ++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/cloud-task-common/src/main/java/com/muyu/common/domian/TaskInput.java b/cloud-task-common/src/main/java/com/muyu/common/domian/TaskInput.java index 4e91185..6b01414 100644 --- a/cloud-task-common/src/main/java/com/muyu/common/domian/TaskInput.java +++ b/cloud-task-common/src/main/java/com/muyu/common/domian/TaskInput.java @@ -1,5 +1,7 @@ package com.muyu.common.domian; +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.muyu.common.core.web.domain.BaseEntity; import com.muyu.common.domian.req.TaskInputAddReq; @@ -24,6 +26,7 @@ public class TaskInput extends BaseEntity { /** * id */ + @TableId(value = "id",type = IdType.AUTO) private Integer id; /** * 节点id diff --git a/cloud-task-server/pom.xml b/cloud-task-server/pom.xml index 0593f15..051506c 100644 --- a/cloud-task-server/pom.xml +++ b/cloud-task-server/pom.xml @@ -84,16 +84,15 @@ com.muyu - cloud-etl-common + cloud-task-common com.muyu cloud-common-nacos-api - - com.muyu - cloud-task-common - + + +