Commit a1f0d512 by qwmqiuwenmin

fix

parent 870a7487
...@@ -24,7 +24,6 @@ public class TabHaobanStaffDepartmentRelated implements Serializable { ...@@ -24,7 +24,6 @@ public class TabHaobanStaffDepartmentRelated implements Serializable {
private Date updateTime; private Date updateTime;
private String headImg;
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
...@@ -108,13 +107,6 @@ public class TabHaobanStaffDepartmentRelated implements Serializable { ...@@ -108,13 +107,6 @@ public class TabHaobanStaffDepartmentRelated implements Serializable {
this.updateTime = updateTime; this.updateTime = updateTime;
} }
public String getHeadImg() {
return headImg;
}
public void setHeadImg(String headImg) {
this.headImg = headImg;
}
} }
\ No newline at end of file
...@@ -10,13 +10,12 @@ ...@@ -10,13 +10,12 @@
<result column="department_id" property="departmentId" jdbcType="VARCHAR" /> <result column="department_id" property="departmentId" jdbcType="VARCHAR" />
<result column="status_flag" property="statusFlag" jdbcType="INTEGER" /> <result column="status_flag" property="statusFlag" jdbcType="INTEGER" />
<result column="clerk_code" property="clerkCode" jdbcType="VARCHAR" /> <result column="clerk_code" property="clerkCode" jdbcType="VARCHAR" />
<result column="head_img" property="clerkCode" jdbcType="headImg" />
<result column="create_time" property="createTime" jdbcType="TIMESTAMP" /> <result column="create_time" property="createTime" jdbcType="TIMESTAMP" />
<result column="update_time" property="updateTime" jdbcType="TIMESTAMP" /> <result column="update_time" property="updateTime" jdbcType="TIMESTAMP" />
</resultMap> </resultMap>
<sql id="Base_Column_List" > <sql id="Base_Column_List" >
staff_department_related_id, staff_id, phone_number, nation_code, wx_user_id, department_id, staff_department_related_id, staff_id, phone_number, nation_code, wx_user_id, department_id,
status_flag, clerk_code, create_time, update_time,head_img status_flag, clerk_code, create_time, update_time
</sql> </sql>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" > <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
select select
...@@ -32,11 +31,11 @@ ...@@ -32,11 +31,11 @@
insert into tab_haoban_staff_department_related (staff_department_related_id, staff_id, insert into tab_haoban_staff_department_related (staff_department_related_id, staff_id,
phone_number, nation_code, wx_user_id, phone_number, nation_code, wx_user_id,
department_id, status_flag, clerk_code, department_id, status_flag, clerk_code,
create_time, update_time,head_img) create_time, update_time)
values (#{staffDepartmentRelatedId,jdbcType=VARCHAR}, #{staffId,jdbcType=VARCHAR}, values (#{staffDepartmentRelatedId,jdbcType=VARCHAR}, #{staffId,jdbcType=VARCHAR},
#{phoneNumber,jdbcType=VARCHAR}, #{nationCode,jdbcType=VARCHAR}, #{wxUserId,jdbcType=VARCHAR}, #{phoneNumber,jdbcType=VARCHAR}, #{nationCode,jdbcType=VARCHAR}, #{wxUserId,jdbcType=VARCHAR},
#{departmentId,jdbcType=VARCHAR}, #{statusFlag,jdbcType=INTEGER}, #{clerkCode,jdbcType=VARCHAR}, #{departmentId,jdbcType=VARCHAR}, #{statusFlag,jdbcType=INTEGER}, #{clerkCode,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},#{headImg}) #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
</insert> </insert>
<insert id="insertSelective" parameterType="com.gic.haoban.manage.service.entity.TabHaobanStaffDepartmentRelated" > <insert id="insertSelective" parameterType="com.gic.haoban.manage.service.entity.TabHaobanStaffDepartmentRelated" >
insert into tab_haoban_staff_department_related insert into tab_haoban_staff_department_related
...@@ -71,9 +70,7 @@ ...@@ -71,9 +70,7 @@
<if test="updateTime != null" > <if test="updateTime != null" >
update_time, update_time,
</if> </if>
<if test="headImg != null" >
head_img,
</if>
</trim> </trim>
<trim prefix="values (" suffix=")" suffixOverrides="," > <trim prefix="values (" suffix=")" suffixOverrides="," >
<if test="staffDepartmentRelatedId != null" > <if test="staffDepartmentRelatedId != null" >
...@@ -106,9 +103,6 @@ ...@@ -106,9 +103,6 @@
<if test="updateTime != null" > <if test="updateTime != null" >
#{updateTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP},
</if> </if>
<if test="headImg != null" >
#{headImg,jdbcType=VARCHAR},
</if>
</trim> </trim>
</insert> </insert>
<update id="updateByPrimaryKeySelective" parameterType="com.gic.haoban.manage.service.entity.TabHaobanStaffDepartmentRelated" > <update id="updateByPrimaryKeySelective" parameterType="com.gic.haoban.manage.service.entity.TabHaobanStaffDepartmentRelated" >
...@@ -141,9 +135,6 @@ ...@@ -141,9 +135,6 @@
<if test="updateTime != null" > <if test="updateTime != null" >
update_time = #{updateTime,jdbcType=TIMESTAMP}, update_time = #{updateTime,jdbcType=TIMESTAMP},
</if> </if>
<if test="headImg != null" >
head_img = #{headImg,jdbcType=VARCHAR},
</if>
</set> </set>
where staff_department_related_id = #{staffDepartmentRelatedId,jdbcType=VARCHAR} where staff_department_related_id = #{staffDepartmentRelatedId,jdbcType=VARCHAR}
</update> </update>
...@@ -156,7 +147,6 @@ ...@@ -156,7 +147,6 @@
department_id = #{departmentId,jdbcType=VARCHAR}, department_id = #{departmentId,jdbcType=VARCHAR},
status_flag = #{statusFlag,jdbcType=INTEGER}, status_flag = #{statusFlag,jdbcType=INTEGER},
clerk_code = #{clerkCode,jdbcType=VARCHAR}, clerk_code = #{clerkCode,jdbcType=VARCHAR},
head_img = #{headImg,jdbcType=VARCHAR},
create_time = #{createTime,jdbcType=TIMESTAMP}, create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP} update_time = #{updateTime,jdbcType=TIMESTAMP}
where staff_department_related_id = #{staffDepartmentRelatedId,jdbcType=VARCHAR} where staff_department_related_id = #{staffDepartmentRelatedId,jdbcType=VARCHAR}
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
<result column="nation_code" property="nationCode" jdbcType="VARCHAR" /> <result column="nation_code" property="nationCode" jdbcType="VARCHAR" />
<result column="nick_name" property="nickName" jdbcType="VARCHAR" /> <result column="nick_name" property="nickName" jdbcType="VARCHAR" />
<result column="sex" property="sex" jdbcType="INTEGER" /> <result column="sex" property="sex" jdbcType="INTEGER" />
<result column="head_img" property="headImg" jdbcType="VARCHAR" />
<result column="postion" property="postion" jdbcType="VARCHAR" /> <result column="postion" property="postion" jdbcType="VARCHAR" />
<result column="active_flag" property="activeFlag" jdbcType="INTEGER" /> <result column="active_flag" property="activeFlag" jdbcType="INTEGER" />
<result column="extend_postion" property="extendPostion" jdbcType="VARCHAR" /> <result column="extend_postion" property="extendPostion" jdbcType="VARCHAR" />
...@@ -19,7 +20,7 @@ ...@@ -19,7 +20,7 @@
</resultMap> </resultMap>
<sql id="Base_Column_List" > <sql id="Base_Column_List" >
staff_id, wx_user_id, phone_number, staff_name, nation_code, nick_name, sex, postion, 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 active_flag, extend_postion, status_flag, create_time, update_time,wx_enterprise_id,head_img
</sql> </sql>
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" > <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
select select
...@@ -36,12 +37,12 @@ ...@@ -36,12 +37,12 @@
staff_name, nation_code, nick_name, staff_name, nation_code, nick_name,
sex, postion, active_flag, sex, postion, active_flag,
extend_postion, status_flag, create_time, extend_postion, status_flag, create_time,
update_time,wx_enterprise_id) update_time,wx_enterprise_id,head_img)
values (#{staffId,jdbcType=VARCHAR}, #{wxUserId,jdbcType=VARCHAR}, #{phoneNumber,jdbcType=VARCHAR}, values (#{staffId,jdbcType=VARCHAR}, #{wxUserId,jdbcType=VARCHAR}, #{phoneNumber,jdbcType=VARCHAR},
#{staffName,jdbcType=VARCHAR}, #{nationCode,jdbcType=VARCHAR}, #{nickName,jdbcType=VARCHAR}, #{staffName,jdbcType=VARCHAR}, #{nationCode,jdbcType=VARCHAR}, #{nickName,jdbcType=VARCHAR},
#{sex,jdbcType=INTEGER}, #{postion,jdbcType=VARCHAR}, #{activeFlag,jdbcType=INTEGER}, #{sex,jdbcType=INTEGER}, #{postion,jdbcType=VARCHAR}, #{activeFlag,jdbcType=INTEGER},
#{extendPostion,jdbcType=VARCHAR}, #{statusFlag,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{extendPostion,jdbcType=VARCHAR}, #{statusFlag,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP},
#{updateTime,jdbcType=TIMESTAMP},#{wxEnterpriseId}) #{updateTime,jdbcType=TIMESTAMP},#{wxEnterpriseId},#{headImg})
</insert> </insert>
<insert id="insertSelective" parameterType="com.gic.haoban.manage.service.entity.TabHaobanStaff" > <insert id="insertSelective" parameterType="com.gic.haoban.manage.service.entity.TabHaobanStaff" >
insert into tab_haoban_staff insert into tab_haoban_staff
...@@ -79,6 +80,9 @@ ...@@ -79,6 +80,9 @@
<if test="extendPostion != null" > <if test="extendPostion != null" >
extend_postion, extend_postion,
</if> </if>
<if test="headImg != null" >
head_img,
</if>
<if test="statusFlag != null" > <if test="statusFlag != null" >
status_flag, status_flag,
</if> </if>
...@@ -123,6 +127,9 @@ ...@@ -123,6 +127,9 @@
<if test="extendPostion != null" > <if test="extendPostion != null" >
#{extendPostion,jdbcType=VARCHAR}, #{extendPostion,jdbcType=VARCHAR},
</if> </if>
<if test="headImg != null" >
#{headImg,jdbcType=VARCHAR},
</if>
<if test="statusFlag != null" > <if test="statusFlag != null" >
#{statusFlag,jdbcType=INTEGER}, #{statusFlag,jdbcType=INTEGER},
</if> </if>
...@@ -167,6 +174,9 @@ ...@@ -167,6 +174,9 @@
<if test="extendPostion != null" > <if test="extendPostion != null" >
extend_postion = #{extendPostion,jdbcType=VARCHAR}, extend_postion = #{extendPostion,jdbcType=VARCHAR},
</if> </if>
<if test="headImg != null" >
head_img = #{headImg,jdbcType=VARCHAR},
</if>
<if test="statusFlag != null" > <if test="statusFlag != null" >
status_flag = #{statusFlag,jdbcType=INTEGER}, status_flag = #{statusFlag,jdbcType=INTEGER},
</if> </if>
...@@ -191,6 +201,7 @@ ...@@ -191,6 +201,7 @@
postion = #{postion,jdbcType=VARCHAR}, postion = #{postion,jdbcType=VARCHAR},
active_flag = #{activeFlag,jdbcType=INTEGER}, active_flag = #{activeFlag,jdbcType=INTEGER},
extend_postion = #{extendPostion,jdbcType=VARCHAR}, extend_postion = #{extendPostion,jdbcType=VARCHAR},
head_img = #{headImg,jdbcType=VARCHAR},
status_flag = #{statusFlag,jdbcType=INTEGER}, status_flag = #{statusFlag,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=TIMESTAMP}, create_time = #{createTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP} update_time = #{updateTime,jdbcType=TIMESTAMP}
......
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