Commit c9ced85a by qwmqiuwenmin

fix

parent 682bc853
......@@ -49,6 +49,8 @@ public class StaffDTO implements Serializable{
private String staffDepartmentRelatedId;
private int clerkType;
private Integer syncPostionFlag;
private static final long serialVersionUID = 1L;
......@@ -231,5 +233,13 @@ public class StaffDTO implements Serializable{
this.sort = sort;
}
public Integer getSyncPostionFlag() {
return syncPostionFlag;
}
public void setSyncPostionFlag(Integer syncPostionFlag) {
this.syncPostionFlag = syncPostionFlag;
}
}
......@@ -35,6 +35,8 @@ public class TabHaobanStaff implements Serializable {
private String headImg;
private Integer sort;
private Integer syncPostionFlag;
private static final long serialVersionUID = 1L;
......@@ -165,6 +167,14 @@ public class TabHaobanStaff implements Serializable {
public void setSort(Integer sort) {
this.sort = sort;
}
public Integer getSyncPostionFlag() {
return syncPostionFlag;
}
public void setSyncPostionFlag(Integer syncPostionFlag) {
this.syncPostionFlag = syncPostionFlag;
}
}
\ No newline at end of file
......@@ -15,13 +15,14 @@
<result column="active_flag" property="activeFlag" jdbcType="INTEGER" />
<result column="sort" property="sort" jdbcType="INTEGER" />
<result column="extend_postion" property="extendPostion" jdbcType="VARCHAR" />
<result column="sync_postion_flag" property="syncPostionFlag" jdbcType="INTEGER" />
<result column="status_flag" property="statusFlag" jdbcType="INTEGER" />
<result column="create_time" property="createTime" jdbcType="TIMESTAMP" />
<result column="update_time" property="updateTime" jdbcType="TIMESTAMP" />
</resultMap>
<sql id="Base_Column_List" >
staff_id, wx_user_id, phone_number, staff_name, nation_code, nick_name, sex, postion,
active_flag, extend_postion, status_flag, create_time, update_time,wx_enterprise_id,head_img,sort
active_flag, extend_postion, status_flag, create_time, update_time,wx_enterprise_id,head_img,sort,sync_postion_flag
</sql>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
select
......@@ -38,12 +39,12 @@
staff_name, nation_code, nick_name,
sex, postion, active_flag,
extend_postion, status_flag, create_time,
update_time,wx_enterprise_id,head_img,sort)
update_time,wx_enterprise_id,head_img,sort,sync_postion_flag)
values (#{staffId,jdbcType=VARCHAR}, #{wxUserId,jdbcType=VARCHAR}, #{phoneNumber,jdbcType=VARCHAR},
#{staffName,jdbcType=VARCHAR}, #{nationCode,jdbcType=VARCHAR}, #{nickName,jdbcType=VARCHAR},
#{sex,jdbcType=INTEGER}, #{postion,jdbcType=VARCHAR}, #{activeFlag,jdbcType=INTEGER},
#{extendPostion,jdbcType=VARCHAR}, #{statusFlag,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},#{wxEnterpriseId},#{headImg},#{sort})
#{updateTime,jdbcType=TIMESTAMP},#{wxEnterpriseId},#{headImg},#{sort},#{syncPostionFlag})
</insert>
<insert id="insertSelective" parameterType="com.gic.haoban.manage.service.entity.TabHaobanStaff" >
insert into tab_haoban_staff
......@@ -96,6 +97,9 @@
<if test="sort != null" >
sort,
</if>
<if test="syncPostionFlag != null" >
sync_postion_flag,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="staffId != null" >
......@@ -146,6 +150,9 @@
<if test="sort != null" >
#{sort,jdbcType=INTEGER},
</if>
<if test="syncPostionFlag != null" >
#{syncPostionFlag},
</if>
</trim>
</insert>
<update id="updateByPrimaryKeySelective" parameterType="com.gic.haoban.manage.service.entity.TabHaobanStaff" >
......@@ -196,6 +203,9 @@
<if test="sort != null" >
sort = #{sort,jdbcType=INTEGER},
</if>
<if test="syncPostionFlag != null" >
sync_postion_flag = #{syncPostionFlag,jdbcType=INTEGER},
</if>
</set>
where staff_id = #{staffId,jdbcType=VARCHAR}
</update>
......@@ -215,7 +225,8 @@
status_flag = #{statusFlag,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP},
sort = #{sort}
sort = #{sort},
sync_postion_flag = #{syncPostionFlag,jdbcType=INTEGER},
where staff_id = #{staffId,jdbcType=VARCHAR}
</update>
......
package com.gic.haoban.manage.web.controller;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class SendCodeController extends WebBaseController{
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment