添加直播申请管理
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
<?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.ruoyi.cms.mapper.LiveApplyMapper">
|
||||
|
||||
<resultMap type="liveApply" id="liveApplyResult">
|
||||
<id column="id" property="id"/>
|
||||
<result column="live_title" property="liveTitle"/>
|
||||
<result column="live_person" property="livePerson"/>
|
||||
<result column="live_describe" property="liveDescribe"/>
|
||||
<result column="live_start_time" property="liveStartTime"/>
|
||||
<result column="live_end_time" property="liveEndTime"/>
|
||||
<result column="live_status" property="liveStatus"/>
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectLiveApplyVo">
|
||||
select id, live_title, live_person, live_describe, live_start_time, live_end_time, live_status
|
||||
from live_apply
|
||||
</sql>
|
||||
|
||||
<select id="selectLiveApplyList" parameterType="liveApply" resultMap="liveApplyResult">
|
||||
<include refid="selectLiveApplyVo"/>
|
||||
<where> del_flag='0'
|
||||
<if test="liveTitle != null and liveTitle != ''">
|
||||
and live_title like concat('%', #{liveTitle}, '%')
|
||||
</if>
|
||||
<if test="livePerson != null and livePerson != ''">
|
||||
and live_person like concat('%', #{livePerson}, '%')
|
||||
</if>
|
||||
<if test="liveStatus != null and liveStatus != ''">
|
||||
and live_status = #{liveStatus}
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user