From 60c9b50a2f883e8a5f22a4bc21618c509e2bb76b Mon Sep 17 00:00:00 2001 From: guoshilong <123456> Date: Mon, 01 Aug 2022 10:52:46 +0800 Subject: [PATCH] 更新当删除出库记录时,已出库数量和库存数量会相对应改变 --- src/main/java/org/springblade/modules/recovery/entity/Recovery.java | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/springblade/modules/recovery/entity/Recovery.java b/src/main/java/org/springblade/modules/recovery/entity/Recovery.java index b49656d..20b5e82 100644 --- a/src/main/java/org/springblade/modules/recovery/entity/Recovery.java +++ b/src/main/java/org/springblade/modules/recovery/entity/Recovery.java @@ -61,8 +61,8 @@ /** * 采收时间 */ - @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") - @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") + @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") + @DateTimeFormat(pattern = "yyyy-MM-dd") private Date time; /** @@ -92,4 +92,5 @@ * 租户id */ private String tenantId; + } -- Gitblit v1.9.3