|
@@ -44,7 +44,7 @@
|
|
|
<result property="jobNumber" column="job_number"/>
|
|
|
<result property="carNum" column="car_num"/>
|
|
|
<result property="hqSortNo" column="hq_sort_no"/>
|
|
|
- <result property="isHq" column="is_hq"/>
|
|
|
+ <result property="hqType" column="hq_type"/>
|
|
|
</resultMap>
|
|
|
<insert id="insert" parameterType="com.jpsoft.shinestar.modules.base.entity.PersonInfo">
|
|
|
<selectKey resultType="long" keyColumn="id_" keyProperty="id">
|
|
@@ -56,7 +56,7 @@
|
|
|
app_enabled,password_enabled,guest_enabled,position1_,position2_,
|
|
|
position3_,position4_,position5_,face_image_url,del_flag,
|
|
|
create_by,create_time,update_by,update_time,popedom_,wechat_notice_enabled,allow_view_local,health_ertificate_url,is_sync,sex_,
|
|
|
- park_id,work_status,job_number,car_num,hq_sort_no,is_hq)
|
|
|
+ park_id,work_status,job_number,car_num,hq_sort_no,hq_type)
|
|
|
values
|
|
|
(
|
|
|
#{companyId,jdbcType=VARCHAR}
|
|
@@ -92,7 +92,7 @@
|
|
|
,#{jobNumber,jdbcType=VARCHAR}
|
|
|
,#{carNum,jdbcType=VARCHAR}
|
|
|
,#{hqSortNo,jdbcType= NUMERIC }
|
|
|
- ,#{isHq,jdbcType=NUMERIC}
|
|
|
+ ,#{hqType,jdbcType=VARCHAR}
|
|
|
)
|
|
|
]]>
|
|
|
</insert>
|
|
@@ -204,8 +204,8 @@
|
|
|
<if test="isHq != null">
|
|
|
is_hq = #{isHq,jdbcType=NUMERIC}
|
|
|
</if>
|
|
|
- <if test="hqSortNo != null">
|
|
|
- hq_sort_no = #{hqSortNo,jdbcType= NUMERIC }
|
|
|
+ <if test="hqType != null">
|
|
|
+ hq_type = #{hqType,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
</set>
|
|
|
where id_=#{id}
|