From aa1eed41d9a7067547e35933e7c47a92b2ca7126 Mon Sep 17 00:00:00 2001 From: sxu <602087911@qq.com> Date: Wed, 27 Nov 2024 17:03:03 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../material/ma/MaMachineTypeMapper.xml | 28 ++++++++----------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/ma/MaMachineTypeMapper.xml b/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/ma/MaMachineTypeMapper.xml index ce7e62a..99ac297 100644 --- a/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/ma/MaMachineTypeMapper.xml +++ b/bonus-modules/bonus-material-mall/src/main/resources/mapper/material/ma/MaMachineTypeMapper.xml @@ -7,7 +7,6 @@ - @@ -37,7 +36,7 @@ - select type_id, type_name, parent_id, status, storage_num, company_id, code, unit_id, unit_name, manage_type, lease_price, eff_time, rent_price, buy_price, pay_price, level, rated_load, test_load, holding_time, warn_num, del_flag, create_by, create_time, update_by, update_time, is_plan, is_ancuo, remark,intelligent_code ,fac_model, child_photo from ma_type + select type_id, type_name, parent_id, storage_num, company_id, code, unit_id, unit_name, manage_type, lease_price, eff_time, rent_price, buy_price, pay_price, level, rated_load, test_load, holding_time, warn_num, del_flag, create_by, create_time, update_by, update_time, is_plan, is_ancuo, remark,intelligent_code ,fac_model, child_photo from ma_type @@ -45,7 +44,6 @@ type_name, parent_id, - status, storage_num, company_id, code, @@ -76,7 +74,6 @@ #{typeName}, #{parentId}, - #{status}, #{storageNum}, #{companyId}, #{code}, @@ -135,7 +132,6 @@ type_name = #{typeName}, parent_id = #{parentId}, - status = #{status}, storage_num = #{storageNum}, unit_id = #{unitId}, unit_name = #{unitName}, @@ -179,7 +175,7 @@ - select m.type_id, m.type_name, m.parent_id, m.status, m.storage_num, m.unit_id,m.unit_name, m.manage_type, + select m.type_id, m.type_name, m.parent_id, m.storage_num, m.unit_id,m.unit_name, m.manage_type, m.lease_price, m.eff_time, m.rent_price, m.buy_price, m.pay_price, m.level, m.rated_load, m.test_load, m.holding_time, m.warn_num, mtf.file_name photoName, mtf.file_url photoUrl, mtf2.file_name documentName, mtf2.file_url documentUrl, mtk.user_id keeperUserId, @@ -301,7 +296,7 @@ left join sys_user su on mtk.user_id = su.user_id left join ma_type_repair mtr on m.type_id = mtr.type_id left join sys_user su1 on mtr.user_id = su1.user_id - where m.type_id = #{typeId} and m.status = '0' + where m.type_id = #{typeId} and m.del_flag = '0' @@ -322,26 +317,26 @@