返回cate和list数量
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<result column="type" jdbcType="OTHER" property="type" />
|
||||
<result column="name" jdbcType="VARCHAR" property="name" />
|
||||
<result column="value" jdbcType="VARCHAR" property="value" />
|
||||
<result column="updatetime" jdbcType="INTEGER" property="updatetime" />
|
||||
<result column="updatetime" jdbcType="BIGINT" property="updatetime" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
id, `type`, `name`, `value`, updatetime
|
||||
@@ -32,7 +32,7 @@
|
||||
insert into ln_config (`type`, `name`, `value`,
|
||||
updatetime)
|
||||
values (#{type,jdbcType=OTHER}, #{name,jdbcType=VARCHAR}, #{value,jdbcType=VARCHAR},
|
||||
#{updatetime,jdbcType=INTEGER})
|
||||
#{updatetime,jdbcType=BIGINT})
|
||||
</insert>
|
||||
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.lovenav.entity.Config" useGeneratedKeys="true">
|
||||
insert into ln_config
|
||||
@@ -61,7 +61,7 @@
|
||||
#{value,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="updatetime != null">
|
||||
#{updatetime,jdbcType=INTEGER},
|
||||
#{updatetime,jdbcType=BIGINT},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
@@ -78,7 +78,7 @@
|
||||
`value` = #{value,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="updatetime != null">
|
||||
updatetime = #{updatetime,jdbcType=INTEGER},
|
||||
updatetime = #{updatetime,jdbcType=BIGINT},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
@@ -88,7 +88,7 @@
|
||||
set `type` = #{type,jdbcType=OTHER},
|
||||
`name` = #{name,jdbcType=VARCHAR},
|
||||
`value` = #{value,jdbcType=VARCHAR},
|
||||
updatetime = #{updatetime,jdbcType=INTEGER}
|
||||
updatetime = #{updatetime,jdbcType=BIGINT}
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</update>
|
||||
<update id="updateByName" parameterType="com.lovenav.entity.Config">
|
||||
@@ -101,7 +101,7 @@
|
||||
`value` = #{value,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="updatetime != null">
|
||||
updatetime = #{updatetime,jdbcType=INTEGER},
|
||||
updatetime = #{updatetime,jdbcType=BIGINT},
|
||||
</if>
|
||||
</set>
|
||||
where name = #{name,jdbcType=VARCHAR}
|
||||
|
Reference in New Issue
Block a user