ariesy 修复GsClientMapper

release
yefei 2 years ago
parent 8f087cefb5
commit e1eb28ec4e
  1. 8
      dxhy-extend/src/main/resources/mapper/GsClientMapper.xml

@ -30,13 +30,13 @@
<delete id="deleteAll" > <delete id="deleteAll" >
delete from gs_client delete from gs_client
</delete> </delete>
<insert id="insert" parameterType="com.dxhy.core.entity.GsClient" > <insert id="insert" parameterType="com.dxhy.extend.entity.GsClient" >
insert into gs_client (id, gsdm, gsmc, insert into gs_client (id, gsdm, gsmc,
client, create_time) client, create_time)
values (#{id,jdbcType=INTEGER}, #{gsdm,jdbcType=VARCHAR}, #{gsmc,jdbcType=VARCHAR}, values (#{id,jdbcType=INTEGER}, #{gsdm,jdbcType=VARCHAR}, #{gsmc,jdbcType=VARCHAR},
#{client,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}) #{client,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP})
</insert> </insert>
<insert id="insertSelective" parameterType="com.dxhy.core.entity.GsClient" > <insert id="insertSelective" parameterType="com.dxhy.extend.entity.GsClient" >
insert into gs_client insert into gs_client
<trim prefix="(" suffix=")" suffixOverrides="," > <trim prefix="(" suffix=")" suffixOverrides="," >
<if test="id != null" > <if test="id != null" >
@ -73,7 +73,7 @@
</if> </if>
</trim> </trim>
</insert> </insert>
<update id="updateByPrimaryKeySelective" parameterType="com.dxhy.core.entity.GsClient" > <update id="updateByPrimaryKeySelective" parameterType="com.dxhy.extend.entity.GsClient" >
update gs_client update gs_client
<set > <set >
<if test="gsdm != null" > <if test="gsdm != null" >
@ -91,7 +91,7 @@
</set> </set>
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</update> </update>
<update id="updateByPrimaryKey" parameterType="com.dxhy.core.entity.GsClient" > <update id="updateByPrimaryKey" parameterType="com.dxhy.extend.entity.GsClient" >
update gs_client update gs_client
set gsdm = #{gsdm,jdbcType=VARCHAR}, set gsdm = #{gsdm,jdbcType=VARCHAR},
gsmc = #{gsmc,jdbcType=VARCHAR}, gsmc = #{gsmc,jdbcType=VARCHAR},

Loading…
Cancel
Save