Quellcode durchsuchen

1.修改根据关联ids查询是否收藏

zjh vor 2 Jahren
Ursprung
Commit
0493398cd4

BIN
cbkj_web_api/src/main/java/com/jiuzhekan/cbkj/mapper/business/doctor/TDoctorCollectMapper.java


BIN
cbkj_web_api/src/main/java/com/jiuzhekan/cbkj/service/business/doctor/TDoctorCollectService.java


+ 7 - 0
cbkj_web_api/src/main/resources/mappers/business/doctor/TDoctorCollectMapper.xml

@@ -139,5 +139,12 @@
         </foreach>
         group by CONNECT_ID
     </select>
+    <select id="getGuideExistCollectByConnectIds" parameterType="TDoctorCollect" resultType="String">
+        select CONNECT_ID
+        from t_doctor_collect
+        where CREATE_USER = #{createUser}
+        and CONNECT_ID REGEXP #{connectId}
+        group by CONNECT_ID
+    </select>
 
 </mapper>