| | |
| | | <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"
|
| | |
| | | </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">
|
| | |
| | | <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=",">
|
| | |
| | | <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
|
| | |
| | | #{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">
|
| | |
| | | <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>
|