12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <?xml version="1.0" encoding="UTF-8" ?>
- <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
- <mapper namespace="com.xinxin.topro.base.mysqlmapper.SysFunctionFunctionMapper" >
- <resultMap id="BaseResultMap" type="com.xinxin.topro.base.mysqlmodel.SysFunctionFunction" >
- <id column="SFF_ID" property="sffId" jdbcType="INTEGER" />
- <result column="SF_PriID" property="sfPriid" jdbcType="INTEGER" />
- <result column="SF_ConID" property="sfConid" jdbcType="INTEGER" />
- <result column="SFF_IsDel" property="sffIsdel" jdbcType="INTEGER" />
- </resultMap>
- <sql id="Base_Column_List" >
- SFF_ID, SF_PriID, SF_ConID, SFF_IsDel
- </sql>
- <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
- select
- <include refid="Base_Column_List" />
- from sys_function_function
- where SFF_ID = #{sffId,jdbcType=INTEGER}
- </select>
- <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer" >
- delete from sys_function_function
- where SFF_ID = #{sffId,jdbcType=INTEGER}
- </delete>
- <insert id="insert" parameterType="com.xinxin.topro.base.mysqlmodel.SysFunctionFunction" >
- insert into sys_function_function (SFF_ID, SF_PriID, SF_ConID,
- SFF_IsDel)
- values (#{sffId,jdbcType=INTEGER}, #{sfPriid,jdbcType=INTEGER}, #{sfConid,jdbcType=INTEGER},
- #{sffIsdel,jdbcType=INTEGER})
- </insert>
- <insert id="insertSelective" parameterType="com.xinxin.topro.base.mysqlmodel.SysFunctionFunction" >
- insert into sys_function_function
- <trim prefix="(" suffix=")" suffixOverrides="," >
- <if test="sffId != null" >
- SFF_ID,
- </if>
- <if test="sfPriid != null" >
- SF_PriID,
- </if>
- <if test="sfConid != null" >
- SF_ConID,
- </if>
- <if test="sffIsdel != null" >
- SFF_IsDel,
- </if>
- </trim>
- <trim prefix="values (" suffix=")" suffixOverrides="," >
- <if test="sffId != null" >
- #{sffId,jdbcType=INTEGER},
- </if>
- <if test="sfPriid != null" >
- #{sfPriid,jdbcType=INTEGER},
- </if>
- <if test="sfConid != null" >
- #{sfConid,jdbcType=INTEGER},
- </if>
- <if test="sffIsdel != null" >
- #{sffIsdel,jdbcType=INTEGER},
- </if>
- </trim>
- </insert>
- <update id="updateByPrimaryKeySelective" parameterType="com.xinxin.topro.base.mysqlmodel.SysFunctionFunction" >
- update sys_function_function
- <set >
- <if test="sfPriid != null" >
- SF_PriID = #{sfPriid,jdbcType=INTEGER},
- </if>
- <if test="sfConid != null" >
- SF_ConID = #{sfConid,jdbcType=INTEGER},
- </if>
- <if test="sffIsdel != null" >
- SFF_IsDel = #{sffIsdel,jdbcType=INTEGER},
- </if>
- </set>
- where SFF_ID = #{sffId,jdbcType=INTEGER}
- </update>
- <update id="updateByPrimaryKey" parameterType="com.xinxin.topro.base.mysqlmodel.SysFunctionFunction" >
- update sys_function_function
- set SF_PriID = #{sfPriid,jdbcType=INTEGER},
- SF_ConID = #{sfConid,jdbcType=INTEGER},
- SFF_IsDel = #{sffIsdel,jdbcType=INTEGER}
- where SFF_ID = #{sffId,jdbcType=INTEGER}
- </update>
- </mapper>
|