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" ?>
<!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" >
<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" />
<result column="device_type" property="deviceType" jdbcType="VARCHAR" />
<result column="device_no" property="deviceNo" jdbcType="VARCHAR" />
......@@ -77,7 +77,7 @@
id, device_type, device_no, device_status, user_id, indent_no, stock_time, remark,
create_time, create_by, update_time, update_by
</sql>
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.xyj.generator.pojo.SysDeviceExample" >
<select id="selectByExample" resultMap="BaseResultMap" parameterType="com.glsx.ordercenter.pojo.SysDeviceExample" >
select
<if test="distinct" >
distinct
......@@ -101,13 +101,13 @@
delete from sys_device
where id = #{id,jdbcType=INTEGER}
</delete>
<delete id="deleteByExample" parameterType="com.xyj.generator.pojo.SysDeviceExample" >
<delete id="deleteByExample" parameterType="com.glsx.ordercenter.pojo.SysDeviceExample" >
delete from sys_device
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
</if>
</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,
device_status, user_id, indent_no,
stock_time, remark, create_time,
......@@ -119,7 +119,7 @@
#{createBy,jdbcType=INTEGER}, #{updateTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=INTEGER}
)
</insert>
<insert id="insertSelective" parameterType="com.xyj.generator.pojo.SysDevice" >
<insert id="insertSelective" parameterType="com.glsx.ordercenter.pojo.SysDevice" >
insert into sys_device
<trim prefix="(" suffix=")" suffixOverrides="," >
<if test="id != null" >
......@@ -198,7 +198,7 @@
</if>
</trim>
</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
<if test="_parameter != null" >
<include refid="Example_Where_Clause" />
......@@ -266,7 +266,7 @@
<include refid="Update_By_Example_Where_Clause" />
</if>
</update>
<update id="updateByPrimaryKeySelective" parameterType="com.xyj.generator.pojo.SysDevice" >
<update id="updateByPrimaryKeySelective" parameterType="com.glsx.ordercenter.pojo.SysDevice" >
update sys_device
<set >
<if test="deviceType != null" >
......@@ -305,7 +305,7 @@
</set>
where id = #{id,jdbcType=INTEGER}
</update>
<update id="updateByPrimaryKey" parameterType="com.xyj.generator.pojo.SysDevice" >
<update id="updateByPrimaryKey" parameterType="com.glsx.ordercenter.pojo.SysDevice" >
update sys_device
set device_type = #{deviceType,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!