Compare commits
4 Commits
a93317d558
...
0425a150d5
Author | SHA1 | Date | |
---|---|---|---|
0425a150d5 | |||
71b00ea5c1 | |||
f14168e872 | |||
d42e981c2f |
@ -89,7 +89,10 @@ steps: # 定义流水线执行步骤,这些步骤将顺序执行
|
|||||||
deploy_service() {
|
deploy_service() {
|
||||||
local image_name=$1
|
local image_name=$1
|
||||||
local container_name=$2
|
local container_name=$2
|
||||||
|
if [[ -z "${image_name}" || -z "${container_name}" ]]; then
|
||||||
|
echo "Error: image_name or container_name is empty."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
cd /ludu/build/${image_name}
|
cd /ludu/build/${image_name}
|
||||||
docker stop ${container_name}
|
docker stop ${container_name}
|
||||||
docker rm ${container_name}
|
docker rm ${container_name}
|
||||||
|
@ -5,6 +5,7 @@ import cn.iocoder.yudao.module.infra.dal.dataobject.db.DataSourceConfigDO;
|
|||||||
import cn.iocoder.yudao.module.infra.enums.codegen.CodegenFrontTypeEnum;
|
import cn.iocoder.yudao.module.infra.enums.codegen.CodegenFrontTypeEnum;
|
||||||
import cn.iocoder.yudao.module.infra.enums.codegen.CodegenSceneEnum;
|
import cn.iocoder.yudao.module.infra.enums.codegen.CodegenSceneEnum;
|
||||||
import cn.iocoder.yudao.module.infra.enums.codegen.CodegenTemplateTypeEnum;
|
import cn.iocoder.yudao.module.infra.enums.codegen.CodegenTemplateTypeEnum;
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
import com.baomidou.mybatisplus.annotation.KeySequence;
|
import com.baomidou.mybatisplus.annotation.KeySequence;
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
@ -28,7 +29,7 @@ public class CodegenTableDO extends BaseDO {
|
|||||||
/**
|
/**
|
||||||
* ID 编号
|
* ID 编号
|
||||||
*/
|
*/
|
||||||
@TableId
|
@TableId(type = IdType.AUTO)
|
||||||
private Long id;
|
private Long id;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user