智慧保安后台管理-外网
src/main/java/org/springblade/modules/apply/mapper/ApplyMapper.xml
@@ -196,4 +196,15 @@
        and (apply_status = 1 or apply_status = 2)
        limit 1
    </select>
    <!--查询人员是否已经报名-->
    <select id="getSecurityApplyInfo" resultType="org.springblade.modules.apply.entity.Apply">
        select * from sys_apply
        where 1=1
        and is_exam = 1
        and user_id = #{apply.userId}
        and apply_status = 2
        limit 1
    </select>
</mapper>