刘俊驰 1 year ago
parent
commit
7ef9d8c4cd

+ 3 - 0
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/service/impl/TeacherServiceImpl.java

@@ -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;
     }
 

+ 1 - 1
cooleshow-user/user-biz/src/main/resources/config/mybatis/MemberPriceSettingsMapper.xml

@@ -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}