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

Loading…
Cancel
Save