fix:修改管理端获取活动信息添加联系方式
This commit is contained in:
parent
a092e38c08
commit
323f730255
@ -55,6 +55,12 @@ public class AdminActivityInfoCollectionResp {
|
||||
@Schema(description = "出生年月")
|
||||
private LocalDate childBirthDate;
|
||||
|
||||
/**
|
||||
* 手机号
|
||||
*/
|
||||
@Schema(description = "手机号")
|
||||
private String mobile;
|
||||
|
||||
/**
|
||||
* 年级
|
||||
*/
|
||||
|
||||
@ -3,6 +3,7 @@ package com.seer.teach.mp.admin.convert;
|
||||
import com.seer.teach.mp.admin.controller.resp.AdminActivityInfoCollectionResp;
|
||||
import com.seer.teach.mp.entity.MpActivityInfoCollectionEntity;
|
||||
import org.mapstruct.Mapper;
|
||||
import org.mapstruct.Mapping;
|
||||
import org.mapstruct.factory.Mappers;
|
||||
|
||||
import java.util.List;
|
||||
@ -12,6 +13,7 @@ public interface AdminActivityInfoCollectionConvert {
|
||||
|
||||
AdminActivityInfoCollectionConvert INSTANCE = Mappers.getMapper(AdminActivityInfoCollectionConvert.class);
|
||||
|
||||
@Mapping(source = "mobile", target = "mobile")
|
||||
AdminActivityInfoCollectionResp convertToResp(MpActivityInfoCollectionEntity entity);
|
||||
|
||||
List<AdminActivityInfoCollectionResp> convertToRespList(List<MpActivityInfoCollectionEntity> entity);
|
||||
|
||||
@ -43,6 +43,7 @@ public class AdminActivityInfoCollectionService {
|
||||
|
||||
/**
|
||||
* 获取活动信息收集记录详情
|
||||
*
|
||||
* @param id 记录ID
|
||||
* @return 详情
|
||||
*/
|
||||
@ -53,6 +54,7 @@ public class AdminActivityInfoCollectionService {
|
||||
|
||||
/**
|
||||
* 删除活动信息收集记录
|
||||
*
|
||||
* @param ids 删除的ID列表
|
||||
* @return 删除结果
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user