|
|
|
@ -14,6 +14,9 @@
|
|
|
|
|
<result column="client_name" jdbcType="VARCHAR" property="clientName" />
|
|
|
|
|
<result column="client_mobile" jdbcType="VARCHAR" property="clientMobile" />
|
|
|
|
|
<result column="f_creator_user_id" jdbcType="VARCHAR" property="creatorUserId" />
|
|
|
|
|
|
|
|
|
|
<result column="company_id" jdbcType="VARCHAR" property="companyId" />
|
|
|
|
|
<result column="organize_json_id" jdbcType="VARCHAR" property="organizeJsonId" />
|
|
|
|
|
<result column="client_address_id" jdbcType="VARCHAR" property="clientAddressId" />
|
|
|
|
|
<result column="appointment_time_start" jdbcType="TIMESTAMP" property="appointmentTimeStart" />
|
|
|
|
|
<result column="appointment_time_end" jdbcType="TIMESTAMP" property="appointmentTimeEnd" />
|
|
|
|
@ -49,7 +52,8 @@
|
|
|
|
|
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,
|
|
|
|
|
star_score, comment, comment_pics, response_star, attitude_star, price_star, is_user_deleted,
|
|
|
|
|
is_deleted, undefined1, undefined2, undefined3, undefined4, f_flow_id,predict_weight,longitude,latitude,distance,f_creator_user_id
|
|
|
|
|
is_deleted, undefined1, undefined2, undefined3, undefined4, f_flow_id,predict_weight,longitude,latitude,distance,f_creator_user_id,
|
|
|
|
|
company_id,organize_json_id
|
|
|
|
|
</sql>
|
|
|
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
|
|
|
|
|
select
|
|
|
|
@ -73,7 +77,8 @@
|
|
|
|
|
comment, comment_pics, response_star,
|
|
|
|
|
attitude_star, price_star, is_user_deleted,
|
|
|
|
|
is_deleted, undefined1, undefined2,
|
|
|
|
|
undefined3, undefined4, f_flow_id ,predict_weight,longitude,latitude,distance,f_creator_user_id
|
|
|
|
|
undefined3, undefined4, f_flow_id ,predict_weight,longitude,latitude,distance,f_creator_user_id,
|
|
|
|
|
company_id,organize_json_id
|
|
|
|
|
)
|
|
|
|
|
values (#{id,jdbcType=VARCHAR}, #{recycleStationId,jdbcType=VARCHAR}, #{orderNumber,jdbcType=VARCHAR},
|
|
|
|
|
#{orderTypeId,jdbcType=VARCHAR}, #{orderAmount,jdbcType=DECIMAL}, #{orderClientStatusId,jdbcType=VARCHAR},
|
|
|
|
@ -92,7 +97,9 @@
|
|
|
|
|
, #{latitude,jdbcType=VARCHAR}
|
|
|
|
|
, #{distance,jdbcType=VARCHAR}
|
|
|
|
|
, #{creatorUserId,jdbcType=VARCHAR}
|
|
|
|
|
)
|
|
|
|
|
, #{companyId,jdbcType=VARCHAR}
|
|
|
|
|
, #{organizeJsonId,jdbcType=VARCHAR}
|
|
|
|
|
)
|
|
|
|
|
</insert>
|
|
|
|
|
<insert id="insertSelective" parameterType="jnpf.entity.RecycleOrderEntity">
|
|
|
|
|
insert into nx_recycle_order
|
|
|
|
@ -214,6 +221,12 @@
|
|
|
|
|
<if test="creatorUserId != null">
|
|
|
|
|
f_creator_user_id,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="companyId != null">
|
|
|
|
|
company_id,
|
|
|
|
|
</if>
|
|
|
|
|
<if test="organize_json_id != null">
|
|
|
|
|
organize_json_id,
|
|
|
|
|
</if>
|
|
|
|
|
</trim>
|
|
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
|
|
<if test="id != null">
|
|
|
|
|