|
|
@ -13,8 +13,7 @@
|
|
|
|
<result column="client_id" jdbcType="VARCHAR" property="clientId" />
|
|
|
|
<result column="client_id" jdbcType="VARCHAR" property="clientId" />
|
|
|
|
<result column="client_name" jdbcType="VARCHAR" property="clientName" />
|
|
|
|
<result column="client_name" jdbcType="VARCHAR" property="clientName" />
|
|
|
|
<result column="client_mobile" jdbcType="VARCHAR" property="clientMobile" />
|
|
|
|
<result column="client_mobile" jdbcType="VARCHAR" property="clientMobile" />
|
|
|
|
<result column="creator_user_id" jdbcType="VARCHAR" property="creatorUserId" />
|
|
|
|
<result column="f_creator_user_id" jdbcType="VARCHAR" property="creatorUserId" />
|
|
|
|
<result column="creator_time" jdbcType="TIMESTAMP" property="creatorTime" />
|
|
|
|
|
|
|
|
<result column="client_address_id" jdbcType="VARCHAR" property="clientAddressId" />
|
|
|
|
<result column="client_address_id" jdbcType="VARCHAR" property="clientAddressId" />
|
|
|
|
<result column="appointment_time_start" jdbcType="TIMESTAMP" property="appointmentTimeStart" />
|
|
|
|
<result column="appointment_time_start" jdbcType="TIMESTAMP" property="appointmentTimeStart" />
|
|
|
|
<result column="appointment_time_end" jdbcType="TIMESTAMP" property="appointmentTimeEnd" />
|
|
|
|
<result column="appointment_time_end" jdbcType="TIMESTAMP" property="appointmentTimeEnd" />
|
|
|
@ -38,6 +37,11 @@
|
|
|
|
<result column="undefined3" jdbcType="VARCHAR" property="undefined3" />
|
|
|
|
<result column="undefined3" jdbcType="VARCHAR" property="undefined3" />
|
|
|
|
<result column="undefined4" jdbcType="VARCHAR" property="undefined4" />
|
|
|
|
<result column="undefined4" jdbcType="VARCHAR" property="undefined4" />
|
|
|
|
<result column="f_flow_id" jdbcType="VARCHAR" property="flowId" />
|
|
|
|
<result column="f_flow_id" jdbcType="VARCHAR" property="flowId" />
|
|
|
|
|
|
|
|
<result column="predict_weight" jdbcType="VARCHAR" property="predictWeight" />
|
|
|
|
|
|
|
|
<result column="longitude" jdbcType="VARCHAR" property="longitude" />
|
|
|
|
|
|
|
|
<result column="latitude" jdbcType="VARCHAR" property="latitude" />
|
|
|
|
|
|
|
|
<result column="distance" jdbcType="VARCHAR" property="distance" />
|
|
|
|
|
|
|
|
|
|
|
|
</resultMap>
|
|
|
|
</resultMap>
|
|
|
|
<sql id="Base_Column_List">
|
|
|
|
<sql id="Base_Column_List">
|
|
|
|
id, recycle_station_id, order_number, order_type_id, order_amount, order_client_status_id,
|
|
|
|
id, recycle_station_id, order_number, order_type_id, order_amount, order_client_status_id,
|
|
|
@ -45,7 +49,7 @@
|
|
|
|
creator_time, client_address_id, appointment_time_start, appointment_time_end, staffs_id,
|
|
|
|
creator_time, client_address_id, appointment_time_start, appointment_time_end, staffs_id,
|
|
|
|
staffs_name, consult_time_start, consult_time_end, receive_time, settle_time, remark,
|
|
|
|
staffs_name, consult_time_start, consult_time_end, receive_time, settle_time, remark,
|
|
|
|
star_score, comment, comment_pics, response_star, attitude_star, price_star, is_user_deleted,
|
|
|
|
star_score, comment, comment_pics, response_star, attitude_star, price_star, is_user_deleted,
|
|
|
|
is_deleted, undefined1, undefined2, undefined3, undefined4, f_flow_id
|
|
|
|
is_deleted, undefined1, undefined2, undefined3, undefined4, f_flow_id,predict_weight,longitude,latitude,distance,f_creator_user_id
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
|
|
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
|
|
|
|
select
|
|
|
|
select
|
|
|
@ -61,21 +65,21 @@
|
|
|
|
insert into nx_recycle_order (id, recycle_station_id, order_number,
|
|
|
|
insert into nx_recycle_order (id, recycle_station_id, order_number,
|
|
|
|
order_type_id, order_amount, order_client_status_id,
|
|
|
|
order_type_id, order_amount, order_client_status_id,
|
|
|
|
order_staffs_status_id, receive_period, client_id,
|
|
|
|
order_staffs_status_id, receive_period, client_id,
|
|
|
|
client_name, client_mobile, creator_user_id,
|
|
|
|
client_name, client_mobile,
|
|
|
|
creator_time, client_address_id, appointment_time_start,
|
|
|
|
client_address_id, appointment_time_start,
|
|
|
|
appointment_time_end, staffs_id, staffs_name,
|
|
|
|
appointment_time_end, staffs_id, staffs_name,
|
|
|
|
consult_time_start, consult_time_end, receive_time,
|
|
|
|
consult_time_start, consult_time_end, receive_time,
|
|
|
|
settle_time, remark, star_score,
|
|
|
|
settle_time, remark, star_score,
|
|
|
|
comment, comment_pics, response_star,
|
|
|
|
comment, comment_pics, response_star,
|
|
|
|
attitude_star, price_star, is_user_deleted,
|
|
|
|
attitude_star, price_star, is_user_deleted,
|
|
|
|
is_deleted, undefined1, undefined2,
|
|
|
|
is_deleted, undefined1, undefined2,
|
|
|
|
undefined3, undefined4, f_flow_id
|
|
|
|
undefined3, undefined4, f_flow_id ,predict_weight,longitude,latitude,distance,f_creator_user_id
|
|
|
|
)
|
|
|
|
)
|
|
|
|
values (#{id,jdbcType=VARCHAR}, #{recycleStationId,jdbcType=VARCHAR}, #{orderNumber,jdbcType=VARCHAR},
|
|
|
|
values (#{id,jdbcType=VARCHAR}, #{recycleStationId,jdbcType=VARCHAR}, #{orderNumber,jdbcType=VARCHAR},
|
|
|
|
#{orderTypeId,jdbcType=VARCHAR}, #{orderAmount,jdbcType=DECIMAL}, #{orderClientStatusId,jdbcType=VARCHAR},
|
|
|
|
#{orderTypeId,jdbcType=VARCHAR}, #{orderAmount,jdbcType=DECIMAL}, #{orderClientStatusId,jdbcType=VARCHAR},
|
|
|
|
#{orderStaffsStatusId,jdbcType=VARCHAR}, #{receivePeriod,jdbcType=INTEGER}, #{clientId,jdbcType=VARCHAR},
|
|
|
|
#{orderStaffsStatusId,jdbcType=VARCHAR}, #{receivePeriod,jdbcType=INTEGER}, #{clientId,jdbcType=VARCHAR},
|
|
|
|
#{clientName,jdbcType=VARCHAR}, #{clientMobile,jdbcType=VARCHAR}, #{creatorUserId,jdbcType=VARCHAR},
|
|
|
|
#{clientName,jdbcType=VARCHAR}, #{clientMobile,jdbcType=VARCHAR},
|
|
|
|
#{creatorTime,jdbcType=TIMESTAMP}, #{clientAddressId,jdbcType=VARCHAR}, #{appointmentTimeStart,jdbcType=TIMESTAMP},
|
|
|
|
#{clientAddressId,jdbcType=VARCHAR}, #{appointmentTimeStart,jdbcType=TIMESTAMP},
|
|
|
|
#{appointmentTimeEnd,jdbcType=TIMESTAMP}, #{staffsId,jdbcType=VARCHAR}, #{staffsName,jdbcType=VARCHAR},
|
|
|
|
#{appointmentTimeEnd,jdbcType=TIMESTAMP}, #{staffsId,jdbcType=VARCHAR}, #{staffsName,jdbcType=VARCHAR},
|
|
|
|
#{consultTimeStart,jdbcType=TIMESTAMP}, #{consultTimeEnd,jdbcType=TIMESTAMP}, #{receiveTime,jdbcType=TIMESTAMP},
|
|
|
|
#{consultTimeStart,jdbcType=TIMESTAMP}, #{consultTimeEnd,jdbcType=TIMESTAMP}, #{receiveTime,jdbcType=TIMESTAMP},
|
|
|
|
#{settleTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, #{starScore,jdbcType=INTEGER},
|
|
|
|
#{settleTime,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, #{starScore,jdbcType=INTEGER},
|
|
|
@ -83,6 +87,11 @@
|
|
|
|
#{attitudeStar,jdbcType=INTEGER}, #{priceStar,jdbcType=INTEGER}, #{isUserDeleted,jdbcType=INTEGER},
|
|
|
|
#{attitudeStar,jdbcType=INTEGER}, #{priceStar,jdbcType=INTEGER}, #{isUserDeleted,jdbcType=INTEGER},
|
|
|
|
#{isDeleted,jdbcType=INTEGER}, #{undefined1,jdbcType=VARCHAR}, #{undefined2,jdbcType=VARCHAR},
|
|
|
|
#{isDeleted,jdbcType=INTEGER}, #{undefined1,jdbcType=VARCHAR}, #{undefined2,jdbcType=VARCHAR},
|
|
|
|
#{undefined3,jdbcType=VARCHAR}, #{undefined4,jdbcType=VARCHAR}, #{flowId,jdbcType=VARCHAR}
|
|
|
|
#{undefined3,jdbcType=VARCHAR}, #{undefined4,jdbcType=VARCHAR}, #{flowId,jdbcType=VARCHAR}
|
|
|
|
|
|
|
|
, #{predictWeight,jdbcType=VARCHAR}
|
|
|
|
|
|
|
|
, #{longitude,jdbcType=VARCHAR}
|
|
|
|
|
|
|
|
, #{latitude,jdbcType=VARCHAR}
|
|
|
|
|
|
|
|
, #{distance,jdbcType=VARCHAR}
|
|
|
|
|
|
|
|
, #{creatorUserId,jdbcType=VARCHAR}
|
|
|
|
)
|
|
|
|
)
|
|
|
|
</insert>
|
|
|
|
</insert>
|
|
|
|
<insert id="insertSelective" parameterType="jnpf.entity.RecycleOrderEntity">
|
|
|
|
<insert id="insertSelective" parameterType="jnpf.entity.RecycleOrderEntity">
|
|
|
@ -121,12 +130,6 @@
|
|
|
|
<if test="clientMobile != null">
|
|
|
|
<if test="clientMobile != null">
|
|
|
|
client_mobile,
|
|
|
|
client_mobile,
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="creatorUserId != null">
|
|
|
|
|
|
|
|
creator_user_id,
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="creatorTime != null">
|
|
|
|
|
|
|
|
creator_time,
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="clientAddressId != null">
|
|
|
|
<if test="clientAddressId != null">
|
|
|
|
client_address_id,
|
|
|
|
client_address_id,
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
@ -196,6 +199,21 @@
|
|
|
|
<if test="flowId != null">
|
|
|
|
<if test="flowId != null">
|
|
|
|
f_flow_id,
|
|
|
|
f_flow_id,
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="predictWeight != null">
|
|
|
|
|
|
|
|
predict_weight,
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="longitude != null">
|
|
|
|
|
|
|
|
longitude,
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="latitude != null">
|
|
|
|
|
|
|
|
latitude,
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="distance != null">
|
|
|
|
|
|
|
|
distance,
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="creatorUserId != null">
|
|
|
|
|
|
|
|
f_creator_user_id,
|
|
|
|
|
|
|
|
</if>
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
<if test="id != null">
|
|
|
|
<if test="id != null">
|
|
|
@ -231,12 +249,7 @@
|
|
|
|
<if test="clientMobile != null">
|
|
|
|
<if test="clientMobile != null">
|
|
|
|
#{clientMobile,jdbcType=VARCHAR},
|
|
|
|
#{clientMobile,jdbcType=VARCHAR},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="creatorUserId != null">
|
|
|
|
|
|
|
|
#{creatorUserId,jdbcType=VARCHAR},
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="creatorTime != null">
|
|
|
|
|
|
|
|
#{creatorTime,jdbcType=TIMESTAMP},
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="clientAddressId != null">
|
|
|
|
<if test="clientAddressId != null">
|
|
|
|
#{clientAddressId,jdbcType=VARCHAR},
|
|
|
|
#{clientAddressId,jdbcType=VARCHAR},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
@ -306,6 +319,21 @@
|
|
|
|
<if test="flowId != null">
|
|
|
|
<if test="flowId != null">
|
|
|
|
#{flowId,jdbcType=VARCHAR},
|
|
|
|
#{flowId,jdbcType=VARCHAR},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="predictWeight != null">
|
|
|
|
|
|
|
|
#{predictWeight,jdbcType=VARCHAR},
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="longitude != null">
|
|
|
|
|
|
|
|
#{longitude,jdbcType=VARCHAR},
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="latitude != null">
|
|
|
|
|
|
|
|
#{latitude,jdbcType=VARCHAR},
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="distance != null">
|
|
|
|
|
|
|
|
#{distance,jdbcType=VARCHAR},
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="distance != null">
|
|
|
|
|
|
|
|
#{distance,jdbcType=VARCHAR},
|
|
|
|
|
|
|
|
</if>
|
|
|
|
</trim>
|
|
|
|
</trim>
|
|
|
|
</insert>
|
|
|
|
</insert>
|
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="jnpf.entity.RecycleOrderEntity">
|
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="jnpf.entity.RecycleOrderEntity">
|
|
|
@ -341,12 +369,7 @@
|
|
|
|
<if test="clientMobile != null">
|
|
|
|
<if test="clientMobile != null">
|
|
|
|
client_mobile = #{clientMobile,jdbcType=VARCHAR},
|
|
|
|
client_mobile = #{clientMobile,jdbcType=VARCHAR},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="creatorUserId != null">
|
|
|
|
|
|
|
|
creator_user_id = #{creatorUserId,jdbcType=VARCHAR},
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="creatorTime != null">
|
|
|
|
|
|
|
|
creator_time = #{creatorTime,jdbcType=TIMESTAMP},
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="clientAddressId != null">
|
|
|
|
<if test="clientAddressId != null">
|
|
|
|
client_address_id = #{clientAddressId,jdbcType=VARCHAR},
|
|
|
|
client_address_id = #{clientAddressId,jdbcType=VARCHAR},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
@ -413,8 +436,8 @@
|
|
|
|
<if test="undefined4 != null">
|
|
|
|
<if test="undefined4 != null">
|
|
|
|
undefined4 = #{undefined4,jdbcType=VARCHAR},
|
|
|
|
undefined4 = #{undefined4,jdbcType=VARCHAR},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="flowId != null">
|
|
|
|
<if test="creatorUserId != null">
|
|
|
|
f_flow_id = #{flowId,jdbcType=VARCHAR},
|
|
|
|
f_flow_id = #{creatorUserId,jdbcType=VARCHAR},
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</set>
|
|
|
|
</set>
|
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
@ -431,8 +454,6 @@
|
|
|
|
client_id = #{clientId,jdbcType=VARCHAR},
|
|
|
|
client_id = #{clientId,jdbcType=VARCHAR},
|
|
|
|
client_name = #{clientName,jdbcType=VARCHAR},
|
|
|
|
client_name = #{clientName,jdbcType=VARCHAR},
|
|
|
|
client_mobile = #{clientMobile,jdbcType=VARCHAR},
|
|
|
|
client_mobile = #{clientMobile,jdbcType=VARCHAR},
|
|
|
|
creator_user_id = #{creatorUserId,jdbcType=VARCHAR},
|
|
|
|
|
|
|
|
creator_time = #{creatorTime,jdbcType=TIMESTAMP},
|
|
|
|
|
|
|
|
client_address_id = #{clientAddressId,jdbcType=VARCHAR},
|
|
|
|
client_address_id = #{clientAddressId,jdbcType=VARCHAR},
|
|
|
|
appointment_time_start = #{appointmentTimeStart,jdbcType=TIMESTAMP},
|
|
|
|
appointment_time_start = #{appointmentTimeStart,jdbcType=TIMESTAMP},
|
|
|
|
appointment_time_end = #{appointmentTimeEnd,jdbcType=TIMESTAMP},
|
|
|
|
appointment_time_end = #{appointmentTimeEnd,jdbcType=TIMESTAMP},
|
|
|
|