kongzy
2024-06-03 022b17044ab6bb284fd6313da91d1d1dfb2d5079
assess-system/src/main/resources/mapper/AssFaceRecognitionMapper.xml
@@ -63,7 +63,7 @@
    </select>
    <select id="getFaceRecognitionByProjectId" resultMap="faceRecognitionResult">
        select f.id,f.person_id,p.project_id,f.sign_path,f.insurance_path,
        select f.id,p.person_id,p.project_id,f.sign_path,f.insurance_path,
               f.version,f.del_flag,f.create_by,f.create_time,f.update_by,f.update_time,f.remark,
               p.job_type,p.play_role,
               u.name as person_name,u.major as person_major,u.phone as person_phone,u.post as person_post,u.level as person_level,
@@ -75,6 +75,11 @@
        where p.project_id=#{projectId} and p.del_flag=0
    </select>
    <select id="getSimpleFaceRecognitionByProjectId" resultType="com.gkhy.assess.system.domain.AssFaceRecognition">
        select * from ass_face_recognition
        where project_id=#{projectId} and del_flag=0
    </select>
    <select id="getFaceRecognitionById" resultMap="faceRecognitionResult">
        <include refid="selectFaceRecognitionVo"/>
        where f.id=#{faceRecognitionId} and a.del_flag=0