|
@ -15,6 +15,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<result property="postName" column="post_name" /> |
|
|
<result property="postName" column="post_name" /> |
|
|
<result property="organizationName" column="organization_name" /> |
|
|
<result property="organizationName" column="organization_name" /> |
|
|
<result property="employeesType" column="employees_type" /> |
|
|
<result property="employeesType" column="employees_type" /> |
|
|
|
|
|
<result property="wxUserId" column="wx_user_id" /> |
|
|
</resultMap> |
|
|
</resultMap> |
|
|
|
|
|
|
|
|
<sql id="selectDcEmployeesVo"> |
|
|
<sql id="selectDcEmployeesVo"> |
|
@ -54,6 +55,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="createTime != null">create_time,</if> |
|
|
<if test="createTime != null">create_time,</if> |
|
|
<if test="updateTime != null">update_time,</if> |
|
|
<if test="updateTime != null">update_time,</if> |
|
|
<if test="employeesType != null">employees_type,</if> |
|
|
<if test="employeesType != null">employees_type,</if> |
|
|
|
|
|
<if test="wxUserId != null">wx_user_id,</if> |
|
|
</trim> |
|
|
</trim> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
<trim prefix="values (" suffix=")" suffixOverrides=","> |
|
|
<if test="id != null">#{id},</if> |
|
|
<if test="id != null">#{id},</if> |
|
@ -64,6 +66,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="createTime != null">#{createTime},</if> |
|
|
<if test="createTime != null">#{createTime},</if> |
|
|
<if test="updateTime != null">#{updateTime},</if> |
|
|
<if test="updateTime != null">#{updateTime},</if> |
|
|
<if test="employeesType != null">#{employeesType},</if> |
|
|
<if test="employeesType != null">#{employeesType},</if> |
|
|
|
|
|
<if test="wxUserId != null">#{wxUserId},</if> |
|
|
</trim> |
|
|
</trim> |
|
|
</insert> |
|
|
</insert> |
|
|
|
|
|
|
|
@ -77,6 +80,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
<if test="createTime != null">create_time = #{createTime},</if> |
|
|
<if test="createTime != null">create_time = #{createTime},</if> |
|
|
<if test="updateTime != null">update_time = #{updateTime},</if> |
|
|
<if test="updateTime != null">update_time = #{updateTime},</if> |
|
|
<if test="employeesType != null">employees_type = #{employeesType},</if> |
|
|
<if test="employeesType != null">employees_type = #{employeesType},</if> |
|
|
|
|
|
<if test="wxUserId != null">wx_user_id = #{wxUserId},</if> |
|
|
</trim> |
|
|
</trim> |
|
|
where id = #{id} |
|
|
where id = #{id} |
|
|
</update> |
|
|
</update> |
|
|