update HS_SchoolRelated set IsAllPush = 1 where SchoolId_XX = #{schoolId} update HS_TeaGroupUpdate set yxy_is_new = 1 where ID = #{id} update HS_StudentUpdateCard set Yxy_IsNew = 1 where ID = #{id} insert into YXT_DeptRelation (hxyDeptId,yxyDeptId,usertype,updateTime,createTime,state) values (#{hxyDeptId},#{yxyDeptId},#{userType},GETDATE(),GETDATE(),#{state}) update YXT_DeptRelation set updateTime = GETDATE() , state = #{state} where hxyDeptId = #{hxyDeptId} insert into YXT_UserRelation (hxyCustomerId,yxyUserId,userType,updateTime,createTime,state) values (#{hxyCustomerId},#{yxyUserId},#{userType},GETDATE(),GETDATE(),#{state}) update YXT_UserRelation set updateTime = GETDATE() , state = #{state} where hxyCustomerId = #{hxyCustomerId}