From 7a6e4f5b60c2092184c5b601be5cbe036a55ab7b Mon Sep 17 00:00:00 2001
From: 刘小明 <liuxm_a@163.com>
Date: 星期四, 10 十月 2024 09:06:20 +0800
Subject: [PATCH] selectNodeBySort,sta_repair_info.insertSelective 方法修改
---
pms-parent/pms-global/src/main/resources/mapper/PrProductionNodeMapper.xml | 2 +-
pms-parent/pms-global/src/main/resources/mapper/StaRepairInfoMapper.xml | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/pms-parent/pms-global/src/main/resources/mapper/PrProductionNodeMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/PrProductionNodeMapper.xml
index 67b5e16..39c17fd 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/PrProductionNodeMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/PrProductionNodeMapper.xml
@@ -40,7 +40,7 @@
from pr_production_node
where id = #{id,jdbcType=BIGINT}
</select>
- <select id="selectNodeBySort" parameterType="java.lang.Long" resultMap="BaseResultMap">
+ <select id="selectNodeBySort" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from pr_production_node
diff --git a/pms-parent/pms-global/src/main/resources/mapper/StaRepairInfoMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/StaRepairInfoMapper.xml
index 02490d4..12e4b6a 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/StaRepairInfoMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/StaRepairInfoMapper.xml
@@ -54,7 +54,7 @@
<if test="fromNode != null">from_node,</if>
<if test="repairReason != null and repairReason !=''">repair_reason,</if>
<if test="repairBy != null">repair_by,</if>
- <if test="repairTime != null and repairTime !=''">repair_time,</if>
+ <if test="repairTime != null">repair_time,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="id != null">#{id,jdbcType=BIGINT},</if>
@@ -63,7 +63,7 @@
<if test="fromNode != null">#{fromNode,jdbcType=BIGINT},</if>
<if test="repairReason != null and repairReason !=''">#{repairReason,jdbcType=VARCHAR},</if>
<if test="repairBy != null">#{repairBy,jdbcType=BIGINT},</if>
- <if test="repairTime != null and repairTime !=''">#{repairTime,jdbcType=TIMESTAMP},</if>
+ <if test="repairTime != null">#{repairTime,jdbcType=TIMESTAMP},</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.dy.pmsGlobal.pojoSta.StaRepairInfo">
--
Gitblit v1.8.0