From e614875c3a293909f86b25f3a3b7291479a625ba Mon Sep 17 00:00:00 2001 From: wcy <761646706@qq.com> Date: Mon, 23 Sep 2024 13:03:18 +0800 Subject: [PATCH 1/2] =?UTF-8?q?0923sql=E6=97=B6=E9=97=B4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/mapper/app/AppBackApplyAppMapper.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sgzb-modules/sgzb-material/src/main/resources/mapper/app/AppBackApplyAppMapper.xml b/sgzb-modules/sgzb-material/src/main/resources/mapper/app/AppBackApplyAppMapper.xml index 1a84b81..86887f8 100644 --- a/sgzb-modules/sgzb-material/src/main/resources/mapper/app/AppBackApplyAppMapper.xml +++ b/sgzb-modules/sgzb-material/src/main/resources/mapper/app/AppBackApplyAppMapper.xml @@ -144,7 +144,7 @@ back_person, - + back_time, @@ -153,7 +153,7 @@ direct_audit_by, - + direct_audit_time, @@ -185,7 +185,7 @@ #{backPerson}, - + #{backTime}, @@ -194,7 +194,7 @@ #{directAuditBy}, - + #{directAuditTime}, From 322ae3d804bad0565e40263bb4f6f99fc471ea4e Mon Sep 17 00:00:00 2001 From: wcy <761646706@qq.com> Date: Mon, 23 Sep 2024 14:29:08 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E9=85=8D=E4=BB=B6=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=A4=B1=E8=B4=A5bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mapper/base/MaPartTypeMapper.xml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/sgzb-modules/sgzb-material/src/main/resources/mapper/base/MaPartTypeMapper.xml b/sgzb-modules/sgzb-material/src/main/resources/mapper/base/MaPartTypeMapper.xml index a8e3972..e49ea65 100644 --- a/sgzb-modules/sgzb-material/src/main/resources/mapper/base/MaPartTypeMapper.xml +++ b/sgzb-modules/sgzb-material/src/main/resources/mapper/base/MaPartTypeMapper.xml @@ -30,30 +30,30 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - insert into ma_part_type( + insert into ma_part_type ( pa_id, pa_name, - parent_id, + parent_id, status, num, unit_id, buy_price, - level, + level, warn_num, remark, create_by, company_id, create_time - )values( + ) values ( #{paId}, #{paName}, - #{parentId}, + COALESCE(#{parentId}, 0), #{status}, - #{num}, + #{num}, #{unitId}, - #{buyPrice}, - #{level}, - #{warnNum}, + #{buyPrice}, + COALESCE(#{level}, 1), + #{warnNum}, #{remark}, #{createBy}, #{companyId},