|
@@ -1,18 +1,18 @@
|
|
|
<?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="cn.com.ty.lift.mapper.LiftMapper" >
|
|
|
- <resultMap id="BaseResultMap" type="Lift" >
|
|
|
+<mapper namespace="cn.com.ty.lift.manager.library.dao.mapper.LiftMapper" >
|
|
|
+ <resultMap id="BaseResultMap" type="cn.com.ty.lift.manager.library.dao.entity.Lift" >
|
|
|
<id column="id" property="id" jdbcType="BIGINT" />
|
|
|
<result column="registration_code" property="registrationCode" jdbcType="VARCHAR" />
|
|
|
<result column="category" property="category" jdbcType="TINYINT" />
|
|
|
- <result column="type" property="type" jdbcType="INTEGER" />
|
|
|
- <result column="code" property="code" jdbcType="CHAR" />
|
|
|
+ <result column="lift_type" property="liftType" jdbcType="INTEGER" />
|
|
|
+ <result column="lift_code" property="liftCode" jdbcType="CHAR" />
|
|
|
<result column="manufacture_date" property="manufactureDate" jdbcType="DATE" />
|
|
|
<result column="factory_code" property="factoryCode" jdbcType="VARCHAR" />
|
|
|
- <result column="usage" property="usage" jdbcType="TINYINT" />
|
|
|
- <result column="brand" property="brand" jdbcType="VARCHAR" />
|
|
|
+ <result column="device_usage" property="deviceUsage" jdbcType="TINYINT" />
|
|
|
+ <result column="lift_brand" property="liftBrand" jdbcType="VARCHAR" />
|
|
|
<result column="install_company" property="installCompany" jdbcType="VARCHAR" />
|
|
|
- <result column="model" property="model" jdbcType="VARCHAR" />
|
|
|
+ <result column="lift_model" property="liftModel" jdbcType="VARCHAR" />
|
|
|
<result column="pulley_diameter" property="pulleyDiameter" jdbcType="DECIMAL" />
|
|
|
<result column="rope_num" property="ropeNum" jdbcType="INTEGER" />
|
|
|
<result column="lock_model" property="lockModel" jdbcType="VARCHAR" />
|
|
@@ -26,7 +26,7 @@
|
|
|
<result column="layer_station_door" property="layerStationDoor" jdbcType="VARCHAR" />
|
|
|
<result column="clamp_type" property="clampType" jdbcType="TINYINT" />
|
|
|
<result column="reform_company" property="reformCompany" jdbcType="VARCHAR" />
|
|
|
- <result column="position" property="position" jdbcType="VARCHAR" />
|
|
|
+ <result column="device_position" property="devicePosition" jdbcType="VARCHAR" />
|
|
|
<result column="coordinate" property="coordinate" jdbcType="VARCHAR" />
|
|
|
<result column="remarks" property="remarks" jdbcType="VARCHAR" />
|
|
|
<result column="creator_id" property="creatorId" jdbcType="BIGINT" />
|
|
@@ -38,17 +38,17 @@
|
|
|
<result column="control_type" property="controlType" jdbcType="VARCHAR" />
|
|
|
<result column="mpa" property="mpa" jdbcType="INTEGER" />
|
|
|
<result column="factory" property="factory" jdbcType="VARCHAR" />
|
|
|
- <result column="code1" property="code1" jdbcType="VARCHAR" />
|
|
|
- <result column="use_company_code" property="useCompanyCode" jdbcType="VARCHAR" />
|
|
|
+ <result column="custom_number" property="customNumber" jdbcType="VARCHAR" />
|
|
|
+ <result column="company_code" property="companyCode" jdbcType="VARCHAR" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="Base_Column_List" >
|
|
|
- id, registration_code, category, type, code, manufacture_date, factory_code, usage,
|
|
|
- brand, install_company, model, pulley_diameter, rope_num, lock_model, rated_load,
|
|
|
- promote_height, step_width, sidewalk_length, tilt_angle, motor_power, rated_speed,
|
|
|
- layer_station_door, clamp_type, reform_company, position, coordinate, remarks, creator_id,
|
|
|
- create_date, steel_belt, cylinder_type, cylinder_num, top_type, control_type, mpa,
|
|
|
- factory, code1, use_company_code
|
|
|
+ id, registration_code, category, lift_type, lift_code, manufacture_date, factory_code,
|
|
|
+ device_usage, lift_brand, install_company, lift_model, pulley_diameter, rope_num,
|
|
|
+ lock_model, rated_load, promote_height, step_width, sidewalk_length, tilt_angle,
|
|
|
+ motor_power, rated_speed, layer_station_door, clamp_type, reform_company, device_position,
|
|
|
+ coordinate, remarks, creator_id, create_date, steel_belt, cylinder_type, cylinder_num,
|
|
|
+ top_type, control_type, mpa, factory, custom_number, company_code
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Long" >
|
|
@@ -58,41 +58,59 @@
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</select>
|
|
|
|
|
|
+ <!-- 根据区域,项目,电梯号,电梯品牌,电梯类型,维保工查询电梯列表信息-->
|
|
|
+ <select id="findByCondition" resultType="cn.com.ty.lift.manager.library.dao.entity.model.LiftResponse" parameterType="cn.com.ty.lift.manager.library.dao.entity.model.LiftRequest" >
|
|
|
+ SELECT
|
|
|
+ lift_code as liftCode,
|
|
|
+ registration_code as registrationCode,
|
|
|
+ lift_brand as liftBrand,
|
|
|
+ lift_type as liftType,
|
|
|
+ device_position as devicePosition
|
|
|
+ FROM lift
|
|
|
+ WHERE 1=1
|
|
|
+ <if test="request.liftBrand!=null and request.liftBrand!=''">
|
|
|
+ and lift_brand = #{request.liftBrand,jdbcType=VARCHAR}
|
|
|
+ </if>
|
|
|
+ <if test="request.liftType!=null and request.liftType!=''">
|
|
|
+ and lift_type = #{request.liftType,jdbcType=VARCHAR}
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
+
|
|
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.Long" >
|
|
|
delete from lift
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</delete>
|
|
|
|
|
|
- <insert id="insert" parameterType="cn.com.ty.lift.entity.Lift" >
|
|
|
- insert into lift (id, registration_code, category,
|
|
|
- type, code, manufacture_date,
|
|
|
- factory_code, usage, brand,
|
|
|
- install_company, model, pulley_diameter,
|
|
|
- rope_num, lock_model, rated_load,
|
|
|
- promote_height, step_width, sidewalk_length,
|
|
|
- tilt_angle, motor_power, rated_speed,
|
|
|
- layer_station_door, clamp_type, reform_company,
|
|
|
- position, coordinate, remarks,
|
|
|
- creator_id, create_date, steel_belt,
|
|
|
- cylinder_type, cylinder_num, top_type,
|
|
|
- control_type, mpa, factory,
|
|
|
- code1, use_company_code)
|
|
|
- values (#{id,jdbcType=BIGINT}, #{registrationCode,jdbcType=VARCHAR}, #{category,jdbcType=TINYINT},
|
|
|
- #{type,jdbcType=INTEGER}, #{code,jdbcType=CHAR}, #{manufactureDate,jdbcType=DATE},
|
|
|
- #{factoryCode,jdbcType=VARCHAR}, #{usage,jdbcType=TINYINT}, #{brand,jdbcType=VARCHAR},
|
|
|
- #{installCompany,jdbcType=VARCHAR}, #{model,jdbcType=VARCHAR}, #{pulleyDiameter,jdbcType=DECIMAL},
|
|
|
- #{ropeNum,jdbcType=INTEGER}, #{lockModel,jdbcType=VARCHAR}, #{ratedLoad,jdbcType=INTEGER},
|
|
|
- #{promoteHeight,jdbcType=DECIMAL}, #{stepWidth,jdbcType=DECIMAL}, #{sidewalkLength,jdbcType=DECIMAL},
|
|
|
- #{tiltAngle,jdbcType=DECIMAL}, #{motorPower,jdbcType=DECIMAL}, #{ratedSpeed,jdbcType=DECIMAL},
|
|
|
- #{layerStationDoor,jdbcType=VARCHAR}, #{clampType,jdbcType=TINYINT}, #{reformCompany,jdbcType=VARCHAR},
|
|
|
- #{position,jdbcType=VARCHAR}, #{coordinate,jdbcType=VARCHAR}, #{remarks,jdbcType=VARCHAR},
|
|
|
- #{creatorId,jdbcType=BIGINT}, #{createDate,jdbcType=TIMESTAMP}, #{steelBelt,jdbcType=INTEGER},
|
|
|
- #{cylinderType,jdbcType=VARCHAR}, #{cylinderNum,jdbcType=INTEGER}, #{topType,jdbcType=TINYINT},
|
|
|
- #{controlType,jdbcType=VARCHAR}, #{mpa,jdbcType=INTEGER}, #{factory,jdbcType=VARCHAR},
|
|
|
- #{code1,jdbcType=VARCHAR}, #{useCompanyCode,jdbcType=VARCHAR})
|
|
|
+ <insert id="insert" parameterType="cn.com.ty.lift.manager.library.dao.entity.Lift" >
|
|
|
+ insert into lift (id, registration_code, category,
|
|
|
+ lift_type, lift_code, manufacture_date,
|
|
|
+ factory_code, device_usage, lift_brand,
|
|
|
+ install_company, lift_model, pulley_diameter,
|
|
|
+ rope_num, lock_model, rated_load,
|
|
|
+ promote_height, step_width, sidewalk_length,
|
|
|
+ tilt_angle, motor_power, rated_speed,
|
|
|
+ layer_station_door, clamp_type, reform_company,
|
|
|
+ device_position, coordinate, remarks,
|
|
|
+ creator_id, create_date, steel_belt,
|
|
|
+ cylinder_type, cylinder_num, top_type,
|
|
|
+ control_type, mpa, factory,
|
|
|
+ custom_number, company_code)
|
|
|
+ values (#{id,jdbcType=BIGINT}, #{registrationCode,jdbcType=VARCHAR}, #{category,jdbcType=TINYINT},
|
|
|
+ #{liftType,jdbcType=INTEGER}, #{liftCode,jdbcType=CHAR}, #{manufactureDate,jdbcType=DATE},
|
|
|
+ #{factoryCode,jdbcType=VARCHAR}, #{deviceUsage,jdbcType=TINYINT}, #{liftBrand,jdbcType=VARCHAR},
|
|
|
+ #{installCompany,jdbcType=VARCHAR}, #{liftModel,jdbcType=VARCHAR}, #{pulleyDiameter,jdbcType=DECIMAL},
|
|
|
+ #{ropeNum,jdbcType=INTEGER}, #{lockModel,jdbcType=VARCHAR}, #{ratedLoad,jdbcType=INTEGER},
|
|
|
+ #{promoteHeight,jdbcType=DECIMAL}, #{stepWidth,jdbcType=DECIMAL}, #{sidewalkLength,jdbcType=DECIMAL},
|
|
|
+ #{tiltAngle,jdbcType=DECIMAL}, #{motorPower,jdbcType=DECIMAL}, #{ratedSpeed,jdbcType=DECIMAL},
|
|
|
+ #{layerStationDoor,jdbcType=VARCHAR}, #{clampType,jdbcType=TINYINT}, #{reformCompany,jdbcType=VARCHAR},
|
|
|
+ #{devicePosition,jdbcType=VARCHAR}, #{coordinate,jdbcType=VARCHAR}, #{remarks,jdbcType=VARCHAR},
|
|
|
+ #{creatorId,jdbcType=BIGINT}, #{createDate,jdbcType=TIMESTAMP}, #{steelBelt,jdbcType=INTEGER},
|
|
|
+ #{cylinderType,jdbcType=VARCHAR}, #{cylinderNum,jdbcType=INTEGER}, #{topType,jdbcType=TINYINT},
|
|
|
+ #{controlType,jdbcType=VARCHAR}, #{mpa,jdbcType=INTEGER}, #{factory,jdbcType=VARCHAR},
|
|
|
+ #{customNumber,jdbcType=VARCHAR}, #{companyCode,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
|
|
|
|
- <insert id="insertSelective" parameterType="cn.com.ty.lift.entity.Lift" >
|
|
|
+ <insert id="insertSelective" parameterType="cn.com.ty.lift.manager.library.dao.entity.Lift" >
|
|
|
insert into lift
|
|
|
<trim prefix="(" suffix=")" suffixOverrides="," >
|
|
|
<if test="id != null" >
|
|
@@ -104,11 +122,11 @@
|
|
|
<if test="category != null" >
|
|
|
category,
|
|
|
</if>
|
|
|
- <if test="type != null" >
|
|
|
- type,
|
|
|
+ <if test="liftType != null" >
|
|
|
+ lift_type,
|
|
|
</if>
|
|
|
- <if test="code != null" >
|
|
|
- code,
|
|
|
+ <if test="liftCode != null" >
|
|
|
+ lift_code,
|
|
|
</if>
|
|
|
<if test="manufactureDate != null" >
|
|
|
manufacture_date,
|
|
@@ -116,17 +134,17 @@
|
|
|
<if test="factoryCode != null" >
|
|
|
factory_code,
|
|
|
</if>
|
|
|
- <if test="usage != null" >
|
|
|
- usage,
|
|
|
+ <if test="deviceUsage != null" >
|
|
|
+ device_usage,
|
|
|
</if>
|
|
|
- <if test="brand != null" >
|
|
|
- brand,
|
|
|
+ <if test="liftBrand != null" >
|
|
|
+ lift_brand,
|
|
|
</if>
|
|
|
<if test="installCompany != null" >
|
|
|
install_company,
|
|
|
</if>
|
|
|
- <if test="model != null" >
|
|
|
- model,
|
|
|
+ <if test="liftModel != null" >
|
|
|
+ lift_model,
|
|
|
</if>
|
|
|
<if test="pulleyDiameter != null" >
|
|
|
pulley_diameter,
|
|
@@ -167,8 +185,8 @@
|
|
|
<if test="reformCompany != null" >
|
|
|
reform_company,
|
|
|
</if>
|
|
|
- <if test="position != null" >
|
|
|
- position,
|
|
|
+ <if test="devicePosition != null" >
|
|
|
+ device_position,
|
|
|
</if>
|
|
|
<if test="coordinate != null" >
|
|
|
coordinate,
|
|
@@ -203,11 +221,11 @@
|
|
|
<if test="factory != null" >
|
|
|
factory,
|
|
|
</if>
|
|
|
- <if test="code1 != null" >
|
|
|
- code1,
|
|
|
+ <if test="customNumber != null" >
|
|
|
+ custom_number,
|
|
|
</if>
|
|
|
- <if test="useCompanyCode != null" >
|
|
|
- use_company_code,
|
|
|
+ <if test="companyCode != null" >
|
|
|
+ company_code,
|
|
|
</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides="," >
|
|
@@ -220,11 +238,11 @@
|
|
|
<if test="category != null" >
|
|
|
#{category,jdbcType=TINYINT},
|
|
|
</if>
|
|
|
- <if test="type != null" >
|
|
|
- #{type,jdbcType=INTEGER},
|
|
|
+ <if test="liftType != null" >
|
|
|
+ #{liftType,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
- <if test="code != null" >
|
|
|
- #{code,jdbcType=CHAR},
|
|
|
+ <if test="liftCode != null" >
|
|
|
+ #{liftCode,jdbcType=CHAR},
|
|
|
</if>
|
|
|
<if test="manufactureDate != null" >
|
|
|
#{manufactureDate,jdbcType=DATE},
|
|
@@ -232,17 +250,17 @@
|
|
|
<if test="factoryCode != null" >
|
|
|
#{factoryCode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="usage != null" >
|
|
|
- #{usage,jdbcType=TINYINT},
|
|
|
+ <if test="deviceUsage != null" >
|
|
|
+ #{deviceUsage,jdbcType=TINYINT},
|
|
|
</if>
|
|
|
- <if test="brand != null" >
|
|
|
- #{brand,jdbcType=VARCHAR},
|
|
|
+ <if test="liftBrand != null" >
|
|
|
+ #{liftBrand,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="installCompany != null" >
|
|
|
#{installCompany,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="model != null" >
|
|
|
- #{model,jdbcType=VARCHAR},
|
|
|
+ <if test="liftModel != null" >
|
|
|
+ #{liftModel,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="pulleyDiameter != null" >
|
|
|
#{pulleyDiameter,jdbcType=DECIMAL},
|
|
@@ -283,8 +301,8 @@
|
|
|
<if test="reformCompany != null" >
|
|
|
#{reformCompany,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="position != null" >
|
|
|
- #{position,jdbcType=VARCHAR},
|
|
|
+ <if test="devicePosition != null" >
|
|
|
+ #{devicePosition,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="coordinate != null" >
|
|
|
#{coordinate,jdbcType=VARCHAR},
|
|
@@ -319,16 +337,16 @@
|
|
|
<if test="factory != null" >
|
|
|
#{factory,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="code1 != null" >
|
|
|
- #{code1,jdbcType=VARCHAR},
|
|
|
+ <if test="customNumber != null" >
|
|
|
+ #{customNumber,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="useCompanyCode != null" >
|
|
|
- #{useCompanyCode,jdbcType=VARCHAR},
|
|
|
+ <if test="companyCode != null" >
|
|
|
+ #{companyCode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
- <update id="updateByPrimaryKeySelective" parameterType="cn.com.ty.lift.entity.Lift" >
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="cn.com.ty.lift.manager.library.dao.entity.Lift" >
|
|
|
update lift
|
|
|
<set >
|
|
|
<if test="registrationCode != null" >
|
|
@@ -337,11 +355,11 @@
|
|
|
<if test="category != null" >
|
|
|
category = #{category,jdbcType=TINYINT},
|
|
|
</if>
|
|
|
- <if test="type != null" >
|
|
|
- type = #{type,jdbcType=INTEGER},
|
|
|
+ <if test="liftType != null" >
|
|
|
+ lift_type = #{liftType,jdbcType=INTEGER},
|
|
|
</if>
|
|
|
- <if test="code != null" >
|
|
|
- code = #{code,jdbcType=CHAR},
|
|
|
+ <if test="liftCode != null" >
|
|
|
+ lift_code = #{liftCode,jdbcType=CHAR},
|
|
|
</if>
|
|
|
<if test="manufactureDate != null" >
|
|
|
manufacture_date = #{manufactureDate,jdbcType=DATE},
|
|
@@ -349,17 +367,17 @@
|
|
|
<if test="factoryCode != null" >
|
|
|
factory_code = #{factoryCode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="usage != null" >
|
|
|
- usage = #{usage,jdbcType=TINYINT},
|
|
|
+ <if test="deviceUsage != null" >
|
|
|
+ device_usage = #{deviceUsage,jdbcType=TINYINT},
|
|
|
</if>
|
|
|
- <if test="brand != null" >
|
|
|
- brand = #{brand,jdbcType=VARCHAR},
|
|
|
+ <if test="liftBrand != null" >
|
|
|
+ lift_brand = #{liftBrand,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="installCompany != null" >
|
|
|
install_company = #{installCompany,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="model != null" >
|
|
|
- model = #{model,jdbcType=VARCHAR},
|
|
|
+ <if test="liftModel != null" >
|
|
|
+ lift_model = #{liftModel,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="pulleyDiameter != null" >
|
|
|
pulley_diameter = #{pulleyDiameter,jdbcType=DECIMAL},
|
|
@@ -400,8 +418,8 @@
|
|
|
<if test="reformCompany != null" >
|
|
|
reform_company = #{reformCompany,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="position != null" >
|
|
|
- position = #{position,jdbcType=VARCHAR},
|
|
|
+ <if test="devicePosition != null" >
|
|
|
+ device_position = #{devicePosition,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="coordinate != null" >
|
|
|
coordinate = #{coordinate,jdbcType=VARCHAR},
|
|
@@ -436,28 +454,28 @@
|
|
|
<if test="factory != null" >
|
|
|
factory = #{factory,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="code1 != null" >
|
|
|
- code1 = #{code1,jdbcType=VARCHAR},
|
|
|
+ <if test="customNumber != null" >
|
|
|
+ custom_number = #{customNumber,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
- <if test="useCompanyCode != null" >
|
|
|
- use_company_code = #{useCompanyCode,jdbcType=VARCHAR},
|
|
|
+ <if test="companyCode != null" >
|
|
|
+ company_code = #{companyCode,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
</set>
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
|
|
|
|
- <update id="updateByPrimaryKey" parameterType="cn.com.ty.lift.entity.Lift" >
|
|
|
+ <update id="updateByPrimaryKey" parameterType="cn.com.ty.lift.manager.library.dao.entity.Lift" >
|
|
|
update lift
|
|
|
set registration_code = #{registrationCode,jdbcType=VARCHAR},
|
|
|
category = #{category,jdbcType=TINYINT},
|
|
|
- type = #{type,jdbcType=INTEGER},
|
|
|
- code = #{code,jdbcType=CHAR},
|
|
|
+ lift_type = #{liftType,jdbcType=INTEGER},
|
|
|
+ lift_code = #{liftCode,jdbcType=CHAR},
|
|
|
manufacture_date = #{manufactureDate,jdbcType=DATE},
|
|
|
factory_code = #{factoryCode,jdbcType=VARCHAR},
|
|
|
- usage = #{usage,jdbcType=TINYINT},
|
|
|
- brand = #{brand,jdbcType=VARCHAR},
|
|
|
+ device_usage = #{deviceUsage,jdbcType=TINYINT},
|
|
|
+ lift_brand = #{liftBrand,jdbcType=VARCHAR},
|
|
|
install_company = #{installCompany,jdbcType=VARCHAR},
|
|
|
- model = #{model,jdbcType=VARCHAR},
|
|
|
+ lift_model = #{liftModel,jdbcType=VARCHAR},
|
|
|
pulley_diameter = #{pulleyDiameter,jdbcType=DECIMAL},
|
|
|
rope_num = #{ropeNum,jdbcType=INTEGER},
|
|
|
lock_model = #{lockModel,jdbcType=VARCHAR},
|
|
@@ -471,7 +489,7 @@
|
|
|
layer_station_door = #{layerStationDoor,jdbcType=VARCHAR},
|
|
|
clamp_type = #{clampType,jdbcType=TINYINT},
|
|
|
reform_company = #{reformCompany,jdbcType=VARCHAR},
|
|
|
- position = #{position,jdbcType=VARCHAR},
|
|
|
+ device_position = #{devicePosition,jdbcType=VARCHAR},
|
|
|
coordinate = #{coordinate,jdbcType=VARCHAR},
|
|
|
remarks = #{remarks,jdbcType=VARCHAR},
|
|
|
creator_id = #{creatorId,jdbcType=BIGINT},
|
|
@@ -483,8 +501,8 @@
|
|
|
control_type = #{controlType,jdbcType=VARCHAR},
|
|
|
mpa = #{mpa,jdbcType=INTEGER},
|
|
|
factory = #{factory,jdbcType=VARCHAR},
|
|
|
- code1 = #{code1,jdbcType=VARCHAR},
|
|
|
- use_company_code = #{useCompanyCode,jdbcType=VARCHAR}
|
|
|
+ custom_number = #{customNumber,jdbcType=VARCHAR},
|
|
|
+ company_code = #{companyCode,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
</update>
|
|
|
|