Commit be3e7fda by xiaoyj

设备信息

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@21592 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent dba3105b
<?xml version="1.0" encoding="UTF-8" ?> <?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" > <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.glsx.ordercenter.mapper.SysDeviceMapper" > <mapper namespace="com.glsx.ordercenter.mapper.SysDeviceMapper" >
<resultMap id="BaseResultMap" type="com.xyj.generator.pojo.SysDevice" > <resultMap id="BaseResultMap" type="com.glsx.ordercenter.pojo.SysDevice" >
<id column="id" property="id" jdbcType="INTEGER" /> <id column="id" property="id" jdbcType="INTEGER" />
<result column="device_type" property="deviceType" jdbcType="VARCHAR" /> <result column="device_type" property="deviceType" jdbcType="VARCHAR" />
<result column="device_no" property="deviceNo" jdbcType="VARCHAR" /> <result column="device_no" property="deviceNo" jdbcType="VARCHAR" />
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
id, device_type, device_no, device_status, user_id, indent_no, stock_time, remark, id, device_type, device_no, device_status, user_id, indent_no, stock_time, remark,
create_time, create_by, update_time, update_by create_time, create_by, update_time, update_by
</sql> </sql>
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.xyj.generator.pojo.SysDeviceExample" > <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.glsx.ordercenter.pojo.SysDeviceExample" >
select select
<if test="distinct" > <if test="distinct" >
distinct distinct
...@@ -101,13 +101,13 @@ ...@@ -101,13 +101,13 @@
delete from sys_device delete from sys_device
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</delete> </delete>
<delete id="deleteByExample" parameterType="com.xyj.generator.pojo.SysDeviceExample" > <delete id="deleteByExample" parameterType="com.glsx.ordercenter.pojo.SysDeviceExample" >
delete from sys_device delete from sys_device
<if test="_parameter != null" > <if test="_parameter != null" >
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
</if> </if>
</delete> </delete>
<insert id="insert" parameterType="com.xyj.generator.pojo.SysDevice" > <insert id="insert" parameterType="com.glsx.ordercenter.pojo.SysDevice" >
insert into sys_device (id, device_type, device_no, insert into sys_device (id, device_type, device_no,
device_status, user_id, indent_no, device_status, user_id, indent_no,
stock_time, remark, create_time, stock_time, remark, create_time,
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
#{createBy,jdbcType=INTEGER}, #{updateTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=INTEGER} #{createBy,jdbcType=INTEGER}, #{updateTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=INTEGER}
) )
</insert> </insert>
<insert id="insertSelective" parameterType="com.xyj.generator.pojo.SysDevice" > <insert id="insertSelective" parameterType="com.glsx.ordercenter.pojo.SysDevice" >
insert into sys_device insert into sys_device
<trim prefix="(" suffix=")" suffixOverrides="," > <trim prefix="(" suffix=")" suffixOverrides="," >
<if test="id != null" > <if test="id != null" >
...@@ -198,7 +198,7 @@ ...@@ -198,7 +198,7 @@
</if> </if>
</trim> </trim>
</insert> </insert>
<select id="countByExample" parameterType="com.xyj.generator.pojo.SysDeviceExample" resultType="java.lang.Integer" > <select id="countByExample" parameterType="com.glsx.ordercenter.pojo.SysDeviceExample" resultType="java.lang.Integer" >
select count(*) from sys_device select count(*) from sys_device
<if test="_parameter != null" > <if test="_parameter != null" >
<include refid="Example_Where_Clause" /> <include refid="Example_Where_Clause" />
...@@ -266,7 +266,7 @@ ...@@ -266,7 +266,7 @@
<include refid="Update_By_Example_Where_Clause" /> <include refid="Update_By_Example_Where_Clause" />
</if> </if>
</update> </update>
<update id="updateByPrimaryKeySelective" parameterType="com.xyj.generator.pojo.SysDevice" > <update id="updateByPrimaryKeySelective" parameterType="com.glsx.ordercenter.pojo.SysDevice" >
update sys_device update sys_device
<set > <set >
<if test="deviceType != null" > <if test="deviceType != null" >
...@@ -305,7 +305,7 @@ ...@@ -305,7 +305,7 @@
</set> </set>
where id = #{id,jdbcType=INTEGER} where id = #{id,jdbcType=INTEGER}
</update> </update>
<update id="updateByPrimaryKey" parameterType="com.xyj.generator.pojo.SysDevice" > <update id="updateByPrimaryKey" parameterType="com.glsx.ordercenter.pojo.SysDevice" >
update sys_device update sys_device
set device_type = #{deviceType,jdbcType=VARCHAR}, set device_type = #{deviceType,jdbcType=VARCHAR},
device_no = #{deviceNo,jdbcType=VARCHAR}, device_no = #{deviceNo,jdbcType=VARCHAR},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!