BUGFIX:订阅计划
This commit is contained in:
@@ -14,11 +14,14 @@ public interface SubscriptionPlanMapper extends BaseMapper<SubscriptionPlan> {
|
||||
/**
|
||||
* 关联查询订阅计划信息(包含管理员邮箱)- 分页
|
||||
*/
|
||||
@Select("SELECT sp.*, a.user_email as adminAccEmail, a.user_name as adminAccName " +
|
||||
"FROM t_subscription_plan sp " +
|
||||
"LEFT JOIN t_account a ON sp.admin_acc_id = a.id " +
|
||||
"WHERE sp.is_deleted = 0 " +
|
||||
"${ew.customSqlSegment}")
|
||||
@Select("""
|
||||
SELECT sp.*,
|
||||
a.user_email AS adminAccEmail,
|
||||
a.user_name AS adminAccName
|
||||
FROM t_subscription_plan sp
|
||||
LEFT JOIN t_account a ON sp.admin_acc_id = a.id
|
||||
${ew.customSqlSegment}
|
||||
""")
|
||||
Page<SubscriptionPlanVO> selectWithEmailPage(Page<SubscriptionPlanVO> page,
|
||||
@Param(Constants.WRAPPER) Wrapper<?> wrapper);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user