正在显示
1 个修改的文件
包含
1 行增加
和
28 行删除
| @@ -28,31 +28,4 @@ | @@ -28,31 +28,4 @@ | ||
| 28 | </if> | 28 | </if> |
| 29 | </trim> | 29 | </trim> |
| 30 | </insert> | 30 | </insert> |
| 31 | - <resultMap id="BaseResultMap" type="com.sunyo.wlpt.base.model.CONFIG_USER_CUSTOMCODE"> | ||
| 32 | - <result column="userID" jdbcType="INTEGER" property="userid" /> | ||
| 33 | - <result column="customCode" jdbcType="VARCHAR" property="customcode" /> | ||
| 34 | - </resultMap> | ||
| 35 | - <insert id="insert" parameterType="com.sunyo.wlpt.base.model.CONFIG_USER_CUSTOMCODE"> | ||
| 36 | - insert into CONFIG_USER_CUSTOMCODE (userID, customCode) | ||
| 37 | - values (#{userid,jdbcType=INTEGER}, #{customcode,jdbcType=VARCHAR}) | ||
| 38 | - </insert> | ||
| 39 | - <insert id="insertSelective" parameterType="com.sunyo.wlpt.base.model.CONFIG_USER_CUSTOMCODE"> | ||
| 40 | - insert into CONFIG_USER_CUSTOMCODE | ||
| 41 | - <trim prefix="(" suffix=")" suffixOverrides=","> | ||
| 42 | - <if test="userid != null"> | ||
| 43 | - userID, | ||
| 44 | - </if> | ||
| 45 | - <if test="customcode != null"> | ||
| 46 | - customCode, | ||
| 47 | - </if> | ||
| 48 | - </trim> | ||
| 49 | - <trim prefix="values (" suffix=")" suffixOverrides=","> | ||
| 50 | - <if test="userid != null"> | ||
| 51 | - #{userid,jdbcType=INTEGER}, | ||
| 52 | - </if> | ||
| 53 | - <if test="customcode != null"> | ||
| 54 | - #{customcode,jdbcType=VARCHAR}, | ||
| 55 | - </if> | ||
| 56 | - </trim> | ||
| 57 | - </insert> | ||
| 58 | -</mapper> | ||
| 31 | +</mapper> |
-
请 注册 或 登录 后发表评论