|
@@ -32,6 +32,10 @@
|
|
|
</resultMap>
|
|
|
|
|
|
<select id="getMedDefectFeedbackPage" resultType="com.diagbot.dto.GetMedDefectFeedbackPageDTO">
|
|
|
+ SELECT
|
|
|
+ t1.*, t2.age
|
|
|
+ FROM
|
|
|
+ (
|
|
|
SELECT
|
|
|
a.* ,b.is_placefile as isPlacefile FROM
|
|
|
(
|
|
@@ -106,7 +110,9 @@
|
|
|
<if test="getMedDefectFeedbackPageVO.isPlacefile != null and getMedDefectFeedbackPageVO.isPlacefile != ''">
|
|
|
and b.is_placefile =#{getMedDefectFeedbackPageVO.isPlacefile}
|
|
|
</if>
|
|
|
-
|
|
|
+ ) t1
|
|
|
+ LEFT JOIN med_home_page t2 ON t2.behospital_code = t1.behospitalCode
|
|
|
+ AND t2.is_deleted = 'N'
|
|
|
</select>
|
|
|
|
|
|
<select id="getDefectDept" resultType="com.diagbot.dto.GetDefectDeptDTO">
|