|
@@ -12,6 +12,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="gameDate" column="game_date" />
|
|
|
<result property="gameTime" column="game_time" />
|
|
|
<result property="logoUrl" column="logo_url" />
|
|
|
+ <result property="liveImgUrl" column="live_img_url" />
|
|
|
+ <result property="myImgUrl" column="my_img_url" />
|
|
|
<result property="gamePath" column="game_path" />
|
|
|
<result property="status" column="status" />
|
|
|
<result property="createTime" column="create_time" />
|
|
@@ -23,7 +25,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectAppGameVo">
|
|
|
- select id, name, code, classify_id, game_date, game_time, logo_url, game_path, status, create_time, orderno, game_expand1, game_expand2, game_expand3, game_expand4 from app_game
|
|
|
+ select id, name, code, classify_id, game_date, game_time, logo_url,live_img_url,my_img_url, game_path, status, create_time, orderno, game_expand1, game_expand2, game_expand3, game_expand4 from app_game
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectAppGameList" parameterType="com.game.business.domain.AppGame" resultMap="AppGameResult">
|
|
@@ -34,6 +36,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="gameDate != null and gameDate != ''"> and game_date like concat('%', #{gameDate}, '%')</if>
|
|
|
<if test="classifyId != null "> and classify_id = #{classifyId}</if>
|
|
|
<if test="logoUrl != null and logoUrl != ''"> and logo_url = #{logoUrl}</if>
|
|
|
+ <if test="liveImgUrl != null and liveImgUrl != ''"> and live_img_url = #{liveImgUrl}</if>
|
|
|
+ <if test="myImgUrl != null and myImgUrl != ''"> and my_img_url = #{myImgUrl}</if>
|
|
|
<if test="gamePath != null and gamePath != ''"> and game_path = #{gamePath}</if>
|
|
|
<if test="status != null "> and status = #{status}</if>
|
|
|
<if test="orderno != null "> and orderno = #{orderno}</if>
|
|
@@ -57,6 +61,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="code != null">code,</if>
|
|
|
<if test="classifyId != null">classify_id,</if>
|
|
|
<if test="logoUrl != null">logo_url,</if>
|
|
|
+ <if test="liveImgUrl != null">live_img_url,</if>
|
|
|
+ <if test="myImgUrl != null">my_img_url,</if>
|
|
|
<if test="gamePath != null">game_path,</if>
|
|
|
<if test="status != null">status,</if>
|
|
|
<if test="createTime != null">create_time,</if>
|
|
@@ -72,6 +78,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="code != null">#{code},</if>
|
|
|
<if test="classifyId != null">#{classifyId},</if>
|
|
|
<if test="logoUrl != null">#{logoUrl},</if>
|
|
|
+ <if test="liveImgUrl != null">#{live_img_url},</if>
|
|
|
+ <if test="myImgUrl != null">#{my_img_url},</if>
|
|
|
<if test="gamePath != null">#{gamePath},</if>
|
|
|
<if test="status != null">#{status},</if>
|
|
|
<if test="createTime != null">#{createTime},</if>
|
|
@@ -92,6 +100,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="gameDate != null">game_date = #{gameDate},</if>
|
|
|
<if test="gameTime != null">game_time = #{gameTime},</if>
|
|
|
<if test="logoUrl != null">logo_url = #{logoUrl},</if>
|
|
|
+ <if test="liveImgUrl != null">live_img_url = #{liveImgUrl},</if>
|
|
|
+ <if test="myImgUrl != null">my_img_url = #{myImgUrl},</if>
|
|
|
<if test="gamePath != null">game_path = #{gamePath},</if>
|
|
|
<if test="status != null">status = #{status},</if>
|
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|