|
@@ -43,7 +43,8 @@
|
|
|
<result property="workStatus" column="work_status"/>
|
|
|
<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"/>
|
|
|
</resultMap>
|
|
|
<insert id="insert" parameterType="com.jpsoft.shinestar.modules.base.entity.PersonInfo">
|
|
|
<selectKey resultType="long" keyColumn="id_" keyProperty="id">
|
|
@@ -55,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)
|
|
|
+ park_id,work_status,job_number,car_num,hq_sort_no,is_hq)
|
|
|
values
|
|
|
(
|
|
|
#{companyId,jdbcType=VARCHAR}
|
|
@@ -90,7 +91,8 @@
|
|
|
,#{workStatus,jdbcType=VARCHAR}
|
|
|
,#{jobNumber,jdbcType=VARCHAR}
|
|
|
,#{carNum,jdbcType=VARCHAR}
|
|
|
-
|
|
|
+ ,#{hqSortNo,jdbcType= NUMERIC }
|
|
|
+ ,#{isHq,jdbcType=NUMERIC}
|
|
|
)
|
|
|
]]>
|
|
|
</insert>
|
|
@@ -199,6 +201,12 @@
|
|
|
<if test="carNum != null">
|
|
|
car_num = #{carNum,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
+ <if test="isHq != null">
|
|
|
+ is_hq = #{isHq,jdbcType=NUMERIC}
|
|
|
+ </if>
|
|
|
+ <if test="hqSortNo != null">
|
|
|
+ hq_sort_no = #{hqSortNo,jdbcType= NUMERIC }
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where id_=#{id}
|
|
|
</update>
|