Commit 40f529bb by xiaoyj

插入问题

git-svn-id: svn://192.168.3.233/frms/code/car-service/trunk/car-service@21647 aeb6102e-e053-11e5-9fec-f9ebc45caf4b
1 parent 0756ea21
...@@ -108,12 +108,12 @@ ...@@ -108,12 +108,12 @@
</if> </if>
</delete> </delete>
<insert id="insert" parameterType="com.glsx.ordercenter.pojo.SysDevice" > <insert id="insert" parameterType="com.glsx.ordercenter.pojo.SysDevice" >
insert into sys_device (id, device_type, device_no, insert into sys_device (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,
create_by, update_time, update_by create_by, update_time, update_by
) )
values (#{id,jdbcType=INTEGER}, #{deviceType,jdbcType=VARCHAR}, #{deviceNo,jdbcType=VARCHAR}, values (#{deviceType,jdbcType=VARCHAR}, #{deviceNo,jdbcType=VARCHAR},
#{deviceStatus,jdbcType=INTEGER}, #{userId,jdbcType=INTEGER}, #{indentNo,jdbcType=VARCHAR}, #{deviceStatus,jdbcType=INTEGER}, #{userId,jdbcType=INTEGER}, #{indentNo,jdbcType=VARCHAR},
#{stockTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{stockTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
#{createBy,jdbcType=INTEGER}, #{updateTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=INTEGER} #{createBy,jdbcType=INTEGER}, #{updateTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=INTEGER}
......
...@@ -101,10 +101,10 @@ ...@@ -101,10 +101,10 @@
</if> </if>
</delete> </delete>
<insert id="insert" parameterType="com.glsx.ordercenter.pojo.SysReceiveAddress" > <insert id="insert" parameterType="com.glsx.ordercenter.pojo.SysReceiveAddress" >
insert into sys_receive_address (id, user_id, name, insert into sys_receive_address (user_id, name,
phone, district_code, address phone, district_code, address
) )
values (#{id,jdbcType=INTEGER}, #{userId,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, values (#{userId,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR},
#{phone,jdbcType=VARCHAR}, #{districtCode,jdbcType=INTEGER}, #{address,jdbcType=VARCHAR} #{phone,jdbcType=VARCHAR}, #{districtCode,jdbcType=INTEGER}, #{address,jdbcType=VARCHAR}
) )
</insert> </insert>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!