|
@@ -503,4 +503,23 @@
|
|
|
name = #{name}
|
|
|
</where>
|
|
|
</select>
|
|
|
+ <update id="updateWorkStaffBasicInfo" parameterType="WorkStaffBasicInfo">
|
|
|
+ update work_staff_basic_info
|
|
|
+ <set>
|
|
|
+ <if test="name != null and name != ''">
|
|
|
+ name = #{name},
|
|
|
+ </if>
|
|
|
+ <if test="email != null and email != ''">
|
|
|
+ email = #{email},
|
|
|
+ </if>
|
|
|
+ <if test="phone != null and phone != ''">
|
|
|
+ phone = #{phone},
|
|
|
+ </if>
|
|
|
+ <if test="remarks != null and remarks != ''">
|
|
|
+ remarks = #{remarks}
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ where user_id = #{userId}
|
|
|
+ </update>
|
|
|
+
|
|
|
</mapper>
|