From 318ff5bea1f2e41f6496da525ae7f9a3833d081d Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期一, 13 十一月 2023 12:27:12 +0800
Subject: [PATCH] 代码提交

---
 ruoyi-project/src/main/resources/mapper/project/ServiceDonationwitnessMapper.xml |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ruoyi-project/src/main/resources/mapper/project/ServiceDonationwitnessMapper.xml b/ruoyi-project/src/main/resources/mapper/project/ServiceDonationwitnessMapper.xml
index 797e993..6f37717 100644
--- a/ruoyi-project/src/main/resources/mapper/project/ServiceDonationwitnessMapper.xml
+++ b/ruoyi-project/src/main/resources/mapper/project/ServiceDonationwitnessMapper.xml
@@ -4,7 +4,7 @@
 "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
 <mapper namespace="com.ruoyi.project.mapper.ServiceDonationwitnessMapper">
     
-    <resultMap type="ServiceDonationwitness" id="ServiceDonationwitnessResult">
+    <resultMap type="com.ruoyi.project.domain.ServiceDonationwitness" id="ServiceDonationwitnessResult">
         <result property="id"    column="ID"    />
         <result property="infoid"    column="InfoID"    />
         <result property="donorno"    column="DonorNo"    />
@@ -49,7 +49,7 @@
         select ID, InfoID, DonorNo, GainHospitalNo, GainHospitalName, DeathTime, DeathReason, DeathJudgeDoctO, DeathJudgeDoctT, DeathJudgeAnnex, OperationBegTime, OperationEndTime, OperationDoctor, IsSpendRemember, IsRestoreRemains, RememberAnnex, ResponsibleUserID, ResponsibleUserName, CoordinatedUserIDO, CoordinatedUserNameO, CoordinatedUserIDT, CoordinatedUserNameT, AbdominalAortaCannulaTime, AbdominalAortaPerfusionTime, PortalVeinCannulaTime, PortalVeinPerfusionTime, PulmonaryArteryCannulaTime, PulmonaryArteryPerfusionTime, AortaCannulaTime, AortaPerfusionTime, del_flag, create_by, create_time, update_by, update_time, OrganDonation, OrganDonation_Other, DonationCategory from service_donationwitness
     </sql>
 
-    <select id="selectServiceDonationwitnessList" parameterType="ServiceDonationwitness" resultMap="ServiceDonationwitnessResult">
+    <select id="selectServiceDonationwitnessList" parameterType="com.ruoyi.project.domain.ServiceDonationwitness" resultMap="ServiceDonationwitnessResult">
         <include refid="selectServiceDonationwitnessVo"/>
         <where>
             <if test="donorno != null  and donorno != ''"> and DonorNo = #{donorno}</if>
@@ -173,7 +173,7 @@
     </select>
     <select id="getDonationCategoryByInfoId" resultType="java.lang.String">
         select DonationCategory from service_donationwitness
-        where InfoID = #{infoId}
+        where InfoID = #{infoId} and del_flag = 0
     </select>
     <select id="countNumber" resultType="java.lang.Integer">
         select count(*) from service_donationwitness

--
Gitblit v1.9.3