课程自动复制,往下下周开始复制
This commit is contained in:
@@ -30,8 +30,11 @@
|
||||
<result column="deleted" property="deleted"/>
|
||||
<result column="limit_day" property="limitDay"/>
|
||||
<result column="limit_week" property="limitWeek"/>
|
||||
<result column="limit_no_day" property="limitNoDay"/>
|
||||
<result column="limit_no_week" property="limitNoWeek"/>
|
||||
<result column="copy_week" property="copyWeek"/>
|
||||
<result column="copy_time" property="copyTime"/>
|
||||
<result column="copy_target" property="copyTarget"/>
|
||||
</resultMap>
|
||||
|
||||
<resultMap id="VenueDtoMap" type="com.sv.dto.api.VenueDTO">
|
||||
@@ -56,8 +59,11 @@
|
||||
<result column="deleted" property="deleted"/>
|
||||
<result column="limit_day" property="limitDay"/>
|
||||
<result column="limit_week" property="limitWeek"/>
|
||||
<result column="limit_no_day" property="limitNoDay"/>
|
||||
<result column="limit_no_week" property="limitNoWeek"/>
|
||||
<result column="copy_week" property="copyWeek"/>
|
||||
<result column="copy_time" property="copyTime"/>
|
||||
<result column="copy_target" property="copyTarget"/>
|
||||
<result column="code_url" property="codeUrl"></result>
|
||||
<association property="cards" select="com.sv.mapper.VenueCardMapper.findByVenueId"
|
||||
column="{venueId = id,venueType=type}"></association>
|
||||
@@ -116,8 +122,11 @@
|
||||
deleted,
|
||||
limit_day,
|
||||
limit_week,
|
||||
limit_no_day,
|
||||
limit_no_week,
|
||||
copy_week,
|
||||
copy_time
|
||||
copy_time,
|
||||
copy_target
|
||||
</sql>
|
||||
|
||||
<!-- 字段值 -->
|
||||
@@ -140,11 +149,14 @@
|
||||
#{modifiedId, jdbcType=INTEGER},
|
||||
#{createdTime, jdbcType=TIMESTAMP},
|
||||
#{modifiedTime, jdbcType=TIMESTAMP},
|
||||
#{deleted, jdbcType=TINYINT}
|
||||
#{limit_day, jdbcType=TINYINT}
|
||||
#{limit_week, jdbcType=TINYINT}
|
||||
#{copy_week, jdbcType=TINYINT}
|
||||
#{copy_time, jdbcType=TIMESTAMP}
|
||||
#{deleted, jdbcType=TINYINT},
|
||||
#{limit_day, jdbcType=TINYINT},
|
||||
#{limit_week, jdbcType=TINYINT},
|
||||
#{limit_no_day, jdbcType=TINYINT},
|
||||
#{limit_no_week, jdbcType=TINYINT},
|
||||
#{copy_week, jdbcType=TINYINT},
|
||||
#{copy_time, jdbcType=TIMESTAMP},
|
||||
#{copy_target, jdbcType=TINYINT}
|
||||
</sql>
|
||||
|
||||
<!-- 查询全部记录 -->
|
||||
@@ -273,12 +285,21 @@
|
||||
<if test="limitWeek != null">
|
||||
limit_week,
|
||||
</if>
|
||||
<if test="limitNoDay != null">
|
||||
limit_no_day,
|
||||
</if>
|
||||
<if test="limitNoWeek != null">
|
||||
limit_no_week,
|
||||
</if>
|
||||
<if test="copyWeek != null">
|
||||
copy_week,
|
||||
</if>
|
||||
<if test="copyTime != null">
|
||||
copy_time,
|
||||
</if>
|
||||
<if test="copyTarget != null">
|
||||
copy_target,
|
||||
</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="id != null">
|
||||
@@ -365,6 +386,9 @@
|
||||
<if test="copyTime != null">
|
||||
#{copyTime},
|
||||
</if>
|
||||
<if test="copyTarget != null">
|
||||
#{copyTarget},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
@@ -476,12 +500,21 @@
|
||||
<if test="limitWeek != null">
|
||||
limit_week = #{limitWeek},
|
||||
</if>
|
||||
<if test="limitNoDay != null">
|
||||
limit_no_day = #{limitNoDay},
|
||||
</if>
|
||||
<if test="limitNoWeek != null">
|
||||
limit_no_week = #{limitNoWeek},
|
||||
</if>
|
||||
<if test="copyWeek != null">
|
||||
copy_week = #{copyWeek},
|
||||
</if>
|
||||
<if test="copyTime != null">
|
||||
copy_time = #{copyTime},
|
||||
</if>
|
||||
<if test="copyTarget != null">
|
||||
copy_target = #{copyTarget},
|
||||
</if>
|
||||
</set>
|
||||
WHERE id = #{id}
|
||||
</update>
|
||||
@@ -520,8 +553,11 @@
|
||||
card_content,
|
||||
limit_day,
|
||||
limit_week,
|
||||
limit_no_day,
|
||||
limit_no_week,
|
||||
copy_week,
|
||||
copy_time
|
||||
copy_time,
|
||||
copy_target
|
||||
FROM
|
||||
sv_venue
|
||||
WHERE
|
||||
|
||||
Reference in New Issue
Block a user