Edit D:\rfid\libsystem\WEB-INF\classes\com\jishen\libsystem\mapping\ParSysCoordinatesMapper.xml
<?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.jishen.libsystem.dao.ParSysCoordinatesMapper"> <resultMap id="BaseResultMap" type="com.jishen.libsystem.entity.ParSysCoordinates"> <id column="ID" jdbcType="DECIMAL" property="id" /> <result column="NAME" jdbcType="VARCHAR" property="name" /> <result column="LOCCODE" jdbcType="VARCHAR" property="loccode" /> <result column="ADDRESS" jdbcType="VARCHAR" property="address" /> <result column="CODETYPE" jdbcType="CHAR" property="codetype" /> <result column="GCJLNG" jdbcType="DECIMAL" property="gcjlng" /> <result column="GCJLAT" jdbcType="DECIMAL" property="gcjlat" /> <result column="WGSLNG" jdbcType="DECIMAL" property="wgslng" /> <result column="WGSLAT" jdbcType="DECIMAL" property="wgslat" /> <result column="BDLNG" jdbcType="DECIMAL" property="bdlng" /> <result column="BDLAT" jdbcType="DECIMAL" property="bdlat" /> <result column="NOTE" jdbcType="VARCHAR" property="note" /> </resultMap> <sql id="Base_Column_List"> ID, NAME, LOCCODE, ADDRESS, CODETYPE, GCJLNG, GCJLAT, WGSLNG, WGSLAT, BDLNG, BDLAT, NOTE </sql> <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_SYS_COORDINATES where ID = #{id,jdbcType=DECIMAL} </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> delete from PAR_SYS_COORDINATES where ID = #{id,jdbcType=DECIMAL} </delete> <insert id="insert" parameterType="com.jishen.libsystem.entity.ParSysCoordinates"> insert into PAR_SYS_COORDINATES (ID, NAME, LOCCODE, ADDRESS, CODETYPE, GCJLNG, GCJLAT, WGSLNG, WGSLAT, BDLNG, BDLAT, NOTE) values (#{id,jdbcType=DECIMAL}, #{name,jdbcType=VARCHAR}, #{loccode,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{codetype,jdbcType=CHAR}, #{gcjlng,jdbcType=DECIMAL}, #{gcjlat,jdbcType=DECIMAL}, #{wgslng,jdbcType=DECIMAL}, #{wgslat,jdbcType=DECIMAL}, #{bdlng,jdbcType=DECIMAL}, #{bdlat,jdbcType=DECIMAL}, #{note,jdbcType=VARCHAR}) </insert> <insert id="insertSelective" parameterType="com.jishen.libsystem.entity.ParSysCoordinates"> <selectKey keyProperty="id" resultType="java.lang.Long" order="BEFORE"> select PAR_SYS_COORDINATES_SEQ.nextval a FROM dual </selectKey> insert into PAR_SYS_COORDINATES <trim prefix="(" suffix=")" suffixOverrides=","> <if test="id != null"> ID, </if> <if test="name != null"> NAME, </if> <if test="loccode != null"> LOCCODE, </if> <if test="address != null"> ADDRESS, </if> <if test="codetype != null"> CODETYPE, </if> <if test="gcjlng != null"> GCJLNG, </if> <if test="gcjlat != null"> GCJLAT, </if> <if test="wgslng != null"> WGSLNG, </if> <if test="wgslat != null"> WGSLAT, </if> <if test="bdlng != null"> BDLNG, </if> <if test="bdlat != null"> BDLAT, </if> <if test="note != null"> NOTE, </if> </trim> <trim prefix="values (" suffix=")" suffixOverrides=","> <if test="id != null"> #{id,jdbcType=DECIMAL}, </if> <if test="name != null"> #{name,jdbcType=VARCHAR}, </if> <if test="loccode != null"> #{loccode,jdbcType=VARCHAR}, </if> <if test="address != null"> #{address,jdbcType=VARCHAR}, </if> <if test="codetype != null"> #{codetype,jdbcType=CHAR}, </if> <if test="gcjlng != null"> #{gcjlng,jdbcType=DECIMAL}, </if> <if test="gcjlat != null"> #{gcjlat,jdbcType=DECIMAL}, </if> <if test="wgslng != null"> #{wgslng,jdbcType=DECIMAL}, </if> <if test="wgslat != null"> #{wgslat,jdbcType=DECIMAL}, </if> <if test="bdlng != null"> #{bdlng,jdbcType=DECIMAL}, </if> <if test="bdlat != null"> #{bdlat,jdbcType=DECIMAL}, </if> <if test="note != null"> #{note,jdbcType=VARCHAR}, </if> </trim> </insert> <update id="updateByPrimaryKeySelective" parameterType="com.jishen.libsystem.entity.ParSysCoordinates"> update PAR_SYS_COORDINATES <set> <if test="name != null"> NAME = #{name,jdbcType=VARCHAR}, </if> <if test="loccode != null"> LOCCODE = #{loccode,jdbcType=VARCHAR}, </if> <if test="address != null"> ADDRESS = #{address,jdbcType=VARCHAR}, </if> <if test="codetype != null"> CODETYPE = #{codetype,jdbcType=CHAR}, </if> <if test="gcjlng != null"> GCJLNG = #{gcjlng,jdbcType=DECIMAL}, </if> <if test="gcjlat != null"> GCJLAT = #{gcjlat,jdbcType=DECIMAL}, </if> <if test="wgslng != null"> WGSLNG = #{wgslng,jdbcType=DECIMAL}, </if> <if test="wgslat != null"> WGSLAT = #{wgslat,jdbcType=DECIMAL}, </if> <if test="bdlng != null"> BDLNG = #{bdlng,jdbcType=DECIMAL}, </if> <if test="bdlat != null"> BDLAT = #{bdlat,jdbcType=DECIMAL}, </if> <if test="note != null"> NOTE = #{note,jdbcType=VARCHAR}, </if> </set> where ID = #{id,jdbcType=DECIMAL} </update> <update id="updateByPrimaryKey" parameterType="com.jishen.libsystem.entity.ParSysCoordinates"> update PAR_SYS_COORDINATES set NAME = #{name,jdbcType=VARCHAR}, LOCCODE = #{loccode,jdbcType=VARCHAR}, ADDRESS = #{address,jdbcType=VARCHAR}, CODETYPE = #{codetype,jdbcType=CHAR}, GCJLNG = #{gcjlng,jdbcType=DECIMAL}, GCJLAT = #{gcjlat,jdbcType=DECIMAL}, WGSLNG = #{wgslng,jdbcType=DECIMAL}, WGSLAT = #{wgslat,jdbcType=DECIMAL}, BDLNG = #{bdlng,jdbcType=DECIMAL}, BDLAT = #{bdlat,jdbcType=DECIMAL}, NOTE = #{note,jdbcType=VARCHAR} where ID = #{id,jdbcType=DECIMAL} </update> <select id="listSelective" parameterType="com.jishen.libsystem.entity.ParSysCoordinates" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_SYS_COORDINATES where 1=1 <if test="loccode != null"> loccode = #{loccode,jdbcType=VARCHAR} </if> <if test="name != null"> NAME = #{name,jdbcType=VARCHAR} </if> <if test="address != null"> ADDRESS = #{address,jdbcType=VARCHAR} </if> <if test="codetype != null"> CODETYPE = #{codetype,jdbcType=CHAR} </if> </select> <select id="listWithCondition" resultMap="BaseResultMap"> select <include refid="Base_Column_List" /> from PAR_SYS_COORDINATES where 1=1 <include refid="common.condition"/> </select> </mapper>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de