|
@@ -8,7 +8,7 @@
|
|
|
<result column="name" jdbcType="VARCHAR" property="name" />
|
|
<result column="name" jdbcType="VARCHAR" property="name" />
|
|
|
<result column="type" jdbcType="BIGINT" property="type" />
|
|
<result column="type" jdbcType="BIGINT" property="type" />
|
|
|
<result column="contacts" jdbcType="VARCHAR" property="contacts" />
|
|
<result column="contacts" jdbcType="VARCHAR" property="contacts" />
|
|
|
- <result column="telephone" jdbcType="VARCHAR" property="telephone" />
|
|
|
|
|
|
|
+ <result column="phone" jdbcType="VARCHAR" property="phone" />
|
|
|
<result column="city_code" jdbcType="INTEGER" property="cityCode" />
|
|
<result column="city_code" jdbcType="INTEGER" property="cityCode" />
|
|
|
<result column="city_name" jdbcType="VARCHAR" property="cityName" />
|
|
<result column="city_name" jdbcType="VARCHAR" property="cityName" />
|
|
|
<result column="detail_address" jdbcType="VARCHAR" property="detailAddress" />
|
|
<result column="detail_address" jdbcType="VARCHAR" property="detailAddress" />
|
|
@@ -25,7 +25,7 @@
|
|
|
<result column="del_flag" jdbcType="INTEGER" property="delFlag" />
|
|
<result column="del_flag" jdbcType="INTEGER" property="delFlag" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List">
|
|
<sql id="Base_Column_List">
|
|
|
- id, order_id, address_type, `name`, `type`, contacts, telephone, city_code, city_name,
|
|
|
|
|
|
|
+ id, order_id, address_type, `name`, `type`, contacts, phone, city_code, city_name,
|
|
|
detail_address, lat, lng, fence, entry_type, remark, `status`, create_by, create_time,
|
|
detail_address, lat, lng, fence, entry_type, remark, `status`, create_by, create_time,
|
|
|
update_by, update_time, del_flag
|
|
update_by, update_time, del_flag
|
|
|
</sql>
|
|
</sql>
|
|
@@ -41,8 +41,8 @@
|
|
|
</delete>
|
|
</delete>
|
|
|
<insert id="insert" parameterType="com.sckw.transport.model.KwtLogisticsOrderAddress">
|
|
<insert id="insert" parameterType="com.sckw.transport.model.KwtLogisticsOrderAddress">
|
|
|
insert into kwt_logistics_order_address (id, order_id, address_type,
|
|
insert into kwt_logistics_order_address (id, order_id, address_type,
|
|
|
- `name`, `type`, contacts,
|
|
|
|
|
- telephone, city_code, city_name,
|
|
|
|
|
|
|
+ `name`, `type`, contacts,
|
|
|
|
|
+ phone, city_code, city_name,
|
|
|
detail_address, lat, lng,
|
|
detail_address, lat, lng,
|
|
|
fence, entry_type, remark,
|
|
fence, entry_type, remark,
|
|
|
`status`, create_by, create_time,
|
|
`status`, create_by, create_time,
|
|
@@ -50,7 +50,7 @@
|
|
|
)
|
|
)
|
|
|
values (#{id,jdbcType=BIGINT}, #{orderId,jdbcType=BIGINT}, #{addressType,jdbcType=INTEGER},
|
|
values (#{id,jdbcType=BIGINT}, #{orderId,jdbcType=BIGINT}, #{addressType,jdbcType=INTEGER},
|
|
|
#{name,jdbcType=VARCHAR}, #{type,jdbcType=BIGINT}, #{contacts,jdbcType=VARCHAR},
|
|
#{name,jdbcType=VARCHAR}, #{type,jdbcType=BIGINT}, #{contacts,jdbcType=VARCHAR},
|
|
|
- #{telephone,jdbcType=VARCHAR}, #{cityCode,jdbcType=INTEGER}, #{cityName,jdbcType=VARCHAR},
|
|
|
|
|
|
|
+ #{phone,jdbcType=VARCHAR}, #{cityCode,jdbcType=INTEGER}, #{cityName,jdbcType=VARCHAR},
|
|
|
#{detailAddress,jdbcType=VARCHAR}, #{lat,jdbcType=VARCHAR}, #{lng,jdbcType=VARCHAR},
|
|
#{detailAddress,jdbcType=VARCHAR}, #{lat,jdbcType=VARCHAR}, #{lng,jdbcType=VARCHAR},
|
|
|
#{fence,jdbcType=VARCHAR}, #{entryType,jdbcType=INTEGER}, #{remark,jdbcType=VARCHAR},
|
|
#{fence,jdbcType=VARCHAR}, #{entryType,jdbcType=INTEGER}, #{remark,jdbcType=VARCHAR},
|
|
|
#{status,jdbcType=INTEGER}, #{createBy,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP},
|
|
#{status,jdbcType=INTEGER}, #{createBy,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP},
|
|
@@ -78,8 +78,8 @@
|
|
|
<if test="contacts != null">
|
|
<if test="contacts != null">
|
|
|
contacts,
|
|
contacts,
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="telephone != null">
|
|
|
|
|
- telephone,
|
|
|
|
|
|
|
+ <if test="phone != null">
|
|
|
|
|
+ phone,
|
|
|
</if>
|
|
</if>
|
|
|
<if test="cityCode != null">
|
|
<if test="cityCode != null">
|
|
|
city_code,
|
|
city_code,
|
|
@@ -143,8 +143,8 @@
|
|
|
<if test="contacts != null">
|
|
<if test="contacts != null">
|
|
|
#{contacts,jdbcType=VARCHAR},
|
|
#{contacts,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="telephone != null">
|
|
|
|
|
- #{telephone,jdbcType=VARCHAR},
|
|
|
|
|
|
|
+ <if test="phone != null">
|
|
|
|
|
+ #{phone,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
<if test="cityCode != null">
|
|
<if test="cityCode != null">
|
|
|
#{cityCode,jdbcType=INTEGER},
|
|
#{cityCode,jdbcType=INTEGER},
|
|
@@ -208,8 +208,8 @@
|
|
|
<if test="contacts != null">
|
|
<if test="contacts != null">
|
|
|
contacts = #{contacts,jdbcType=VARCHAR},
|
|
contacts = #{contacts,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="telephone != null">
|
|
|
|
|
- telephone = #{telephone,jdbcType=VARCHAR},
|
|
|
|
|
|
|
+ <if test="phone != null">
|
|
|
|
|
+ phone = #{phone,jdbcType=VARCHAR},
|
|
|
</if>
|
|
</if>
|
|
|
<if test="cityCode != null">
|
|
<if test="cityCode != null">
|
|
|
city_code = #{cityCode,jdbcType=INTEGER},
|
|
city_code = #{cityCode,jdbcType=INTEGER},
|
|
@@ -263,7 +263,7 @@
|
|
|
`name` = #{name,jdbcType=VARCHAR},
|
|
`name` = #{name,jdbcType=VARCHAR},
|
|
|
`type` = #{type,jdbcType=BIGINT},
|
|
`type` = #{type,jdbcType=BIGINT},
|
|
|
contacts = #{contacts,jdbcType=VARCHAR},
|
|
contacts = #{contacts,jdbcType=VARCHAR},
|
|
|
- telephone = #{telephone,jdbcType=VARCHAR},
|
|
|
|
|
|
|
+ phone = #{phone,jdbcType=VARCHAR},
|
|
|
city_code = #{cityCode,jdbcType=INTEGER},
|
|
city_code = #{cityCode,jdbcType=INTEGER},
|
|
|
city_name = #{cityName,jdbcType=VARCHAR},
|
|
city_name = #{cityName,jdbcType=VARCHAR},
|
|
|
detail_address = #{detailAddress,jdbcType=VARCHAR},
|
|
detail_address = #{detailAddress,jdbcType=VARCHAR},
|