From 365352b91d6b70292c66c7e24fa41b5854e80e1a Mon Sep 17 00:00:00 2001
From: shishuaikang <280848880@qq.com>
Date: 星期二, 21 十一月 2023 11:01:30 +0800
Subject: [PATCH] web:安全管理-区域巡检-任务打卡.时间筛选bug修改
---
hd/pipe/secure/src/main/resources/mapping/TRegionWarrantyMapper.xml | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/hd/pipe/secure/src/main/resources/mapping/TRegionWarrantyMapper.xml b/hd/pipe/secure/src/main/resources/mapping/TRegionWarrantyMapper.xml
index 7c4cda3..f327add 100644
--- a/hd/pipe/secure/src/main/resources/mapping/TRegionWarrantyMapper.xml
+++ b/hd/pipe/secure/src/main/resources/mapping/TRegionWarrantyMapper.xml
@@ -64,7 +64,7 @@
</trim>
</insert>
- <select id="findAll" parameterType="com.thhy.secure.modules.biz.regionWarranty.dto.TRegionWarrantyDto" resultMap="com.thhy.secure.modules.biz.regionWarranty.entity.TRegionWarrantyEntity">
+ <select id="findAll" parameterType="com.thhy.secure.modules.biz.regionWarranty.dto.TRegionWarrantyDto" resultType="com.thhy.secure.modules.biz.regionWarranty.entity.TRegionWarrantyEntity">
SELECT
a.id,
a.region_hazard_inform_id regionHazardInformId,
@@ -76,7 +76,7 @@
FROM
t_region_warranty a
LEFT JOIN t_region_hazard_inform b ON b.id = a.region_hazard_inform_id
- WHERE is_use = 1
+ WHERE a.is_use = 1
<if test="companyId!=null and companyId!='' ">
and a.company_id=#{companyId}
</if>
@@ -103,13 +103,13 @@
update t_region_warranty
<set>
<if test="regionHazardInformId != null">
- #{regionHazardInformId,jdbcType=VARCHAR},
+ region_hazard_inform_id = #{regionHazardInformId,jdbcType=VARCHAR},
</if>
<if test="riskSourceSituation != null">
- #{riskSourceSituation,jdbcType=VARCHAR},
+ risk_source_situation = #{riskSourceSituation,jdbcType=VARCHAR},
</if>
<if test="countermeasures != null">
- #{countermeasures,jdbcType=VARCHAR},
+ countermeasures = #{countermeasures,jdbcType=VARCHAR},
</if>
</set>
where id = #{id,jdbcType=VARCHAR}
@@ -154,7 +154,7 @@
delete from t_region_warranty_user where region_warranty_id = #{id,jdbcType=VARCHAR}
</delete>
- <select id="findMiddleTable" parameterType="java.lang.String" resultType="com.thhy.secure.modules.biz.regionWarranty.entity.TRegionWarrantyUserEntity">
+ <select id="findMiddleTable" resultType="com.thhy.secure.modules.biz.regionWarranty.entity.TRegionWarrantyUserEntity">
SELECT
a.id,
a.region_warranty_id regionWarrantyId,
--
Gitblit v1.9.3