From 2d623577f166d5ac7ffeecbda032f913b02c4e59 Mon Sep 17 00:00:00 2001 From: wj <1285151836@qq.com> Date: Mon, 8 May 2023 16:16:12 +0800 Subject: [PATCH] =?UTF-8?q?id=E7=B1=BB=E5=9E=8B=E8=B0=83=E6=95=B4=EF=BC=8C?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E6=89=93=E5=8D=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../glxp/api/controller/sync/SpsSyncDownloadController.java | 3 +++ .../com/glxp/api/entity/thrsys/ThrBusTypeOriginEntity.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/glxp/api/controller/sync/SpsSyncDownloadController.java b/src/main/java/com/glxp/api/controller/sync/SpsSyncDownloadController.java index 87f48a8b..e7e2e008 100644 --- a/src/main/java/com/glxp/api/controller/sync/SpsSyncDownloadController.java +++ b/src/main/java/com/glxp/api/controller/sync/SpsSyncDownloadController.java @@ -49,6 +49,7 @@ import com.glxp.api.util.*; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import lombok.RequiredArgsConstructor; +import lombok.extern.slf4j.Slf4j; import org.apache.ibatis.session.ExecutorType; import org.apache.ibatis.session.SqlSession; import org.apache.ibatis.session.SqlSessionFactory; @@ -74,6 +75,7 @@ import java.util.List; @RestController @Api(tags = "同步下载相关") @RequiredArgsConstructor +@Slf4j public class SpsSyncDownloadController { @Resource @@ -376,6 +378,7 @@ public class SpsSyncDownloadController { basicDownloadService.insertDownloadStatus(downloadStatus); return ResultVOUtils.success(); } catch (Exception e) { + log.error("",e); e.printStackTrace(); return ResultVOUtils.error(ResultEnum.NOT_NETWORK, e.getMessage()); } diff --git a/src/main/java/com/glxp/api/entity/thrsys/ThrBusTypeOriginEntity.java b/src/main/java/com/glxp/api/entity/thrsys/ThrBusTypeOriginEntity.java index 0a2b3209..393bc682 100644 --- a/src/main/java/com/glxp/api/entity/thrsys/ThrBusTypeOriginEntity.java +++ b/src/main/java/com/glxp/api/entity/thrsys/ThrBusTypeOriginEntity.java @@ -20,7 +20,7 @@ public class ThrBusTypeOriginEntity { /** * id */ - @TableId(value = "id", type = IdType.AUTO) + @TableId(value = "id", type = IdType.INPUT) private Long id; /** * 单据类型名称