@@ -245,6 +245,9 @@ public class TeacherServiceImpl extends ServiceImpl<TeacherDao, Teacher> impleme
detail.setTenantName(tenantInfo == null ? "" : tenantInfo.getName());
}
+
+ // 会员信息
+ detail.setUserVip(vipCardRecordService.UserVipInfo(detail.getUserId(), ClientEnum.TEACHER));
return detail;
@@ -47,7 +47,7 @@
LEFT JOIN sys_user u on t.update_by_ = u.id_
<where>
<if test="param.status != null">
- and t.status = #{param.status}
+ and t.status_ = #{param.status}
</if>
<if test="param.vipType != null">
and t.vip_type_ = #{param.vipType}