RecordingCheckResultMapper.xml 558 Bytes
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.bs.reception.mapper.RecordingCheckResultMapper">

  <select id="getCheckResultIdByReceptionId" resultType="java.lang.Integer">
    select t1.id from recording_check_result t1
    left join recording_model_call t2 on t1.model_call_id=t2.id
    left join reception_recording t3 on t2.recording_id =t3.id
    where t3.biz_info_id=#{receptionId} and t2.business_type =1
  </select>
</mapper>