From 2884d55e7357b962faf7b09054b8a05f447c2e46 Mon Sep 17 00:00:00 2001 From: mengjiao <3338049200@qq,com> Date: Fri, 24 May 2024 11:44:20 +0800 Subject: [PATCH] =?UTF-8?q?wms=E9=83=A8=E5=88=86=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/mapper/wms/PowderChargeOrderMapper.xml | 2 +- .../src/main/resources/mapper/wms/WmsOdsEmStorageNewsMapper.xml | 2 +- .../src/main/resources/mapper/wms/WmsOdsWhiteEmbryoInMapper.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/op-modules/op-wms/src/main/resources/mapper/wms/PowderChargeOrderMapper.xml b/op-modules/op-wms/src/main/resources/mapper/wms/PowderChargeOrderMapper.xml index e86250d6d..0183981d1 100644 --- a/op-modules/op-wms/src/main/resources/mapper/wms/PowderChargeOrderMapper.xml +++ b/op-modules/op-wms/src/main/resources/mapper/wms/PowderChargeOrderMapper.xml @@ -214,6 +214,6 @@ where ID=#{ID} update ods_raw_storage_news set storage_amount =storage_amount- #{realityNumber}, - gmt_modified = now() + gmt_modified = getdate() where material_code=#{materialCode} AND wl_code=#{wlCode} diff --git a/op-modules/op-wms/src/main/resources/mapper/wms/WmsOdsEmStorageNewsMapper.xml b/op-modules/op-wms/src/main/resources/mapper/wms/WmsOdsEmStorageNewsMapper.xml index 401c203ab..d6e2ca1bc 100644 --- a/op-modules/op-wms/src/main/resources/mapper/wms/WmsOdsEmStorageNewsMapper.xml +++ b/op-modules/op-wms/src/main/resources/mapper/wms/WmsOdsEmStorageNewsMapper.xml @@ -250,7 +250,7 @@ update wms_ods_em_storage_news set storage_amount = IFNULL(storage_amount, 0) - #{amount}, - gmt_modified=now() + gmt_modified=getdate() where wh_code=#{whCode} and wl_code=#{wlCode} and material_code=#{materialCode}