From 4ced0336e45a70be743bb077022d29394a1eb0e4 Mon Sep 17 00:00:00 2001 From: wangw <1594593906@qq.com> Date: Mon, 21 Oct 2024 09:48:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=97=E6=9D=90=20=E8=99=9A=E6=8B=9F?= =?UTF-8?q?=E5=88=97=20=E4=B8=8D=E5=81=9A=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cn/ysk/cashier/cons/service/impl/TbConsInfoServiceImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/eladmin-system/src/main/java/cn/ysk/cashier/cons/service/impl/TbConsInfoServiceImpl.java b/eladmin-system/src/main/java/cn/ysk/cashier/cons/service/impl/TbConsInfoServiceImpl.java index 7cce301f..2f2a985b 100644 --- a/eladmin-system/src/main/java/cn/ysk/cashier/cons/service/impl/TbConsInfoServiceImpl.java +++ b/eladmin-system/src/main/java/cn/ysk/cashier/cons/service/impl/TbConsInfoServiceImpl.java @@ -154,6 +154,7 @@ public class TbConsInfoServiceImpl implements TbConsInfoService { throw new Exception("耗材信息不存在"); } BeanUtil.copyProperties(resource,tbConsInfo, CopyOptions.create().setIgnoreNullValue(true)); + tbConsInfo.setBalance(null); tbConsInfo.setUpdateTime(new Timestamp(System.currentTimeMillis())); tbConsInfoRepository.save(tbConsInfo);