Commit 2294ad5a by 墨竹

Merge remote-tracking branch 'origin/developer' into developer

parents 80eb1207 698680c7
......@@ -79,7 +79,7 @@ public class StaffServiceImpl implements StaffService {
if (null == staff && null != wxOpenUserId && !wxUserId.equals(wxOpenUserId)) {
return this.mapper.selectByUserIdAndEnterpriseId(wxOpenUserId, wxEnterpriseId) ;
}
return null;
return staff;
}
@Override
......
......@@ -107,11 +107,11 @@
group by department_id
</select>
<update id="delByUserid">
<update id="delByStaffid">
update tab_haoban_staff_department_related
set status_flag = 0,
update_time = now()
where wx_user_id = #{userid,jdbcType=VARCHAR}
where staff_id = #{staffId,jdbcType=VARCHAR}
</update>
......
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