admin
2020-07-03 651a15c78f668bef3859d9ed1bb7ad0b669d3600
fanli/src/main/java/com/yeshi/fanli/mapping/BusinessSystemMapper.xml
@@ -10,6 +10,7 @@
      <result column="beizhu" property="beizhu" jdbcType="VARCHAR" />
      <result column="package_name" property="packageName" jdbcType="VARCHAR" />
      <result column="appid" property="appid" jdbcType="VARCHAR" />
      <result column="system" property="system" jdbcType="VARCHAR" />
   </resultMap>
   <sql id="Base_Column_List">id,name,platform,createtime,beizhu,package_name,appid</sql>
   <select id="selectByPrimaryKey" resultMap="BaseResultMap"
@@ -41,8 +42,8 @@
   </delete>
   <insert id="insert" parameterType="com.yeshi.fanli.entity.system.BusinessSystem"
      useGeneratedKeys="true" keyProperty="id">insert into yeshi_ec_system
      (id,name,platform,createtime,beizhu,package_name,appid) values
      (#{id,jdbcType=BIGINT},#{name,jdbcType=VARCHAR},#{platform,jdbcType=INTEGER},#{createtime,jdbcType=BIGINT},#{beizhu,jdbcType=VARCHAR},#{packageName,jdbcType=VARCHAR},#{appid,jdbcType=VARCHAR})
      (id,name,platform,createtime,beizhu,package_name,appid,system) values
      (#{id,jdbcType=BIGINT},#{name,jdbcType=VARCHAR},#{platform,jdbcType=INTEGER},#{createtime,jdbcType=BIGINT},#{beizhu,jdbcType=VARCHAR},#{packageName,jdbcType=VARCHAR},#{appid,jdbcType=VARCHAR},#{system,jdbcType=VARCHAR})
   </insert>
   <insert id="insertSelective" parameterType="com.yeshi.fanli.entity.system.BusinessSystem"
      useGeneratedKeys="true" keyProperty="id">
@@ -55,6 +56,7 @@
         <if test="beizhu != null">beizhu,</if>
         <if test="packageName != null">package_name,</if>
         <if test="appid != null">appid,</if>
         <if test="system != null">system,</if>
      </trim>
      values
      <trim prefix="(" suffix=")" suffixOverrides=",">
@@ -65,6 +67,7 @@
         <if test="beizhu != null">#{beizhu,jdbcType=VARCHAR},</if>
         <if test="packageName != null">#{packageName,jdbcType=VARCHAR},</if>
         <if test="appid != null">#{appid,jdbcType=VARCHAR},</if>
         <if test="system != null">#{system,jdbcType=VARCHAR},</if>
      </trim>
   </insert>
   <update id="updateByPrimaryKey" parameterType="com.yeshi.fanli.entity.system.BusinessSystem">update
@@ -72,7 +75,7 @@
      #{platform,jdbcType=INTEGER},createtime =
      #{createtime,jdbcType=BIGINT},beizhu =
      #{beizhu,jdbcType=VARCHAR},package_name =
      #{packageName,jdbcType=VARCHAR},appid = #{appid,jdbcType=VARCHAR}
      #{packageName,jdbcType=VARCHAR},appid = #{appid,jdbcType=VARCHAR},system = #{system,jdbcType=VARCHAR}
      where id = #{id,jdbcType=BIGINT}
   </update>
   <update id="updateByPrimaryKeySelective" parameterType="com.yeshi.fanli.entity.system.BusinessSystem">
@@ -84,6 +87,7 @@
         <if test="beizhu != null">beizhu=#{beizhu,jdbcType=VARCHAR},</if>
         <if test="packageName != null">package_name=#{packageName,jdbcType=VARCHAR},</if>
         <if test="appid != null">appid=#{appid,jdbcType=VARCHAR},</if>
         <if test="system != null">system=#{system,jdbcType=VARCHAR},</if>
      </set>
      where id = #{id,jdbcType=BIGINT}
   </update>