DrawLotsScenesMapper.xml 592 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.zhongzhi.dao.DrawLotsScenesMapper">

    <select id="allMatchScenes" resultType="com.zhongzhi.vo.project.AllMatchScenesVO">
        SELECT
            *
        FROM
            draw_lots_scenes t
        WHERE
        t.delete_time IS NULL
        AND t.match_id = #{matchId}
        <if test="openStatus != null and openStatus != ''">
            AND t.open_status = #{openStatus}
        </if>
    </select>

</mapper>