|
@@ -17,6 +17,7 @@
|
|
|
<result property="phone" column="phone_"/>
|
|
|
<result property="specialClassId" column="special_class_id"/>
|
|
|
<result property="areaId" column="area_id"/>
|
|
|
+ <result property="stationId" column="station_id"/>
|
|
|
</resultMap>
|
|
|
<insert id="insert" parameterType="com.jpsoft.excellent.modules.sys.entity.User">
|
|
|
<!--
|
|
@@ -27,7 +28,7 @@
|
|
|
<![CDATA[
|
|
|
insert into sys_user
|
|
|
(id_,user_name,password_,real_name,create_time,update_time,
|
|
|
- del_flag,create_by,update_by,org_id,phone_,special_class_id,area_id)
|
|
|
+ del_flag,create_by,update_by,org_id,phone_,special_class_id,area_id,station_id)
|
|
|
values
|
|
|
(
|
|
|
#{id,jdbcType=VARCHAR}
|
|
@@ -43,6 +44,7 @@
|
|
|
,#{phone,jdbcType=VARCHAR}
|
|
|
,#{specialClassId,jdbcType=VARCHAR}
|
|
|
,#{areaId,jdbcType=VARCHAR}
|
|
|
+ ,#{stationId,jdbcType=VARCHAR}
|
|
|
)
|
|
|
]]>
|
|
|
</insert>
|
|
@@ -88,6 +90,9 @@
|
|
|
<if test="areaId!=null">
|
|
|
area_id=#{areaId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="stationId!=null">
|
|
|
+ station_id=#{stationId,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
</set>
|
|
|
where id_=#{id}
|
|
|
</update>
|