From b3afa9313dc235392381574743b39b1dfebee0cd Mon Sep 17 00:00:00 2001
From: ANDRU-PC\Andru <769883346@qq.com>
Date: 星期一, 13 十二月 2021 18:47:48 +0800
Subject: [PATCH] 划扣添加作废逻辑

---
 phi_platform_common/src/main/resources/mapper/ComparePhotoRecordMapper.xml |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/phi_platform_common/src/main/resources/mapper/ComparePhotoRecordMapper.xml b/phi_platform_common/src/main/resources/mapper/ComparePhotoRecordMapper.xml
index c44dee5..73e3696 100644
--- a/phi_platform_common/src/main/resources/mapper/ComparePhotoRecordMapper.xml
+++ b/phi_platform_common/src/main/resources/mapper/ComparePhotoRecordMapper.xml
@@ -49,6 +49,13 @@
         	${sqlSentence}
      </select>
 
+	<select id="selectOneByDeductionSingleId" resultType="com.hx.phiappt.model.ComparePhotoRecord" >
+		select
+			*
+		from compare_photo_record
+		WHERE isDel=0 AND deductionProjectId = #{deductionProjectId} AND deductionSingleId = #{deductionSingleId}
+	</select>
+
 	<select id="selectOneByKey" resultType="com.hx.phiappt.model.ComparePhotoRecord" parameterType="java.lang.Object" >
 		select 
 			id,userId,projectId,projectFrequency,type,remark,userProjectId,deductionProjectId,deductionSingleId,isDel,createTime

--
Gitblit v1.8.0