diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..94d88b9 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +# 设置版本号或标签 +TAG="songshui:sqx-1.0.3" +IMAGE_NAME="crpi-189p4y6a6tb3b6dl.cn-hangzhou.personal.cr.aliyuncs.com/peng_all" + +# 构建 Docker 镜像 +docker build --platform linux/amd64 -t "$TAG" . + +# 获取构建后的镜像ID +IMAGE_ID=$(docker images -q "$TAG") + +# 标记镜像 +docker tag "$IMAGE_ID" "$IMAGE_NAME/$TAG" + +# 推送到远程仓库 +docker push "$IMAGE_NAME/$TAG" + +# 删除镜像 +docker rmi "$IMAGE_NAME/$TAG" + +# 打印信息 +echo "Docker image built and pushed with tag: $TAG" diff --git a/pom.xml b/pom.xml index a9949d6..b1b3e4a 100644 --- a/pom.xml +++ b/pom.xml @@ -481,6 +481,11 @@ + + showye-repository-r3d + Showye Repository + https://maven.showye.cn/r3d + public aliyun nexus diff --git a/src/main/java/com/sqx/modules/app/entity/UserEntity.java b/src/main/java/com/sqx/modules/app/entity/UserEntity.java index 0f97a8e..d83153c 100644 --- a/src/main/java/com/sqx/modules/app/entity/UserEntity.java +++ b/src/main/java/com/sqx/modules/app/entity/UserEntity.java @@ -219,6 +219,9 @@ public class UserEntity implements Serializable { */ private Integer isSafetyMoney; + @TableField(exist = false) + private BigDecimal money; + /** * 是否是推广员 1是 */ diff --git a/src/main/resources/mapper/app/UserDao.xml b/src/main/resources/mapper/app/UserDao.xml index 9f8ed44..09b83c3 100644 --- a/src/main/resources/mapper/app/UserDao.xml +++ b/src/main/resources/mapper/app/UserDao.xml @@ -13,6 +13,7 @@ - \ No newline at end of file +