From d19284f99665c460da4a259eda3fafce6ab0968d Mon Sep 17 00:00:00 2001
From: sliang <1589399930@qq.com>
Date: Sun, 24 Dec 2023 20:44:43 +0800
Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E9=A2=86=E6=96=99=E7=94=B3?=
=?UTF-8?q?=E8=AF=B7-=E8=AF=A6=E6=83=85=E5=88=97=E8=A1=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../main/resources/mapper/app/LeaseOutDetailsMapper.xml | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/sgzb-modules/sgzb-base/src/main/resources/mapper/app/LeaseOutDetailsMapper.xml b/sgzb-modules/sgzb-base/src/main/resources/mapper/app/LeaseOutDetailsMapper.xml
index 6650ba71..021189d2 100644
--- a/sgzb-modules/sgzb-base/src/main/resources/mapper/app/LeaseOutDetailsMapper.xml
+++ b/sgzb-modules/sgzb-base/src/main/resources/mapper/app/LeaseOutDetailsMapper.xml
@@ -64,6 +64,8 @@
company_id,
+ create_time,
+ update_time
@@ -93,6 +95,8 @@
#{companyId},
+ NOW(),
+ NOW()
@@ -100,7 +104,7 @@
UPDATE
ma_type
SET
- num = num - #{record.outNum}
+ num = num - #{record.outNum} ,update_time = NOW()
WHERE
type_id = #{record.typeId}
@@ -109,7 +113,7 @@
UPDATE
ma_machine
SET
- ma_status = '16'
+ ma_status = '16' , create_time = NOW()
type_id = #{record.typeId}