mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 18:28:43 +08:00 
			
		
		
		
	拼团活动: 完善 review 提到的问题
This commit is contained in:
		| @@ -1,7 +1,7 @@ | ||||
| package cn.iocoder.yudao.module.promotion.api.combination; | ||||
|  | ||||
| import cn.iocoder.yudao.framework.common.core.KeyValue; | ||||
| import cn.iocoder.yudao.module.promotion.api.combination.dto.CombinationRecordCreateReqDTO; | ||||
| import cn.iocoder.yudao.module.promotion.api.combination.dto.CombinationRecordCreateRespDTO; | ||||
| import cn.iocoder.yudao.module.promotion.api.combination.dto.CombinationValidateJoinRespDTO; | ||||
|  | ||||
| import javax.validation.Valid; | ||||
| @@ -28,9 +28,9 @@ public interface CombinationRecordApi { | ||||
|      * 创建开团记录 | ||||
|      * | ||||
|      * @param reqDTO 请求 DTO | ||||
|      * @return key 开团记录编号、value 团长编号 | ||||
|      * @return 团信息 | ||||
|      */ | ||||
|     KeyValue<Long, Long> createCombinationRecord(@Valid CombinationRecordCreateReqDTO reqDTO); | ||||
|     CombinationRecordCreateRespDTO createCombinationRecord(@Valid CombinationRecordCreateReqDTO reqDTO); | ||||
|  | ||||
|     /** | ||||
|      * 查询拼团记录是否成功 | ||||
|   | ||||
| @@ -0,0 +1,32 @@ | ||||
| package cn.iocoder.yudao.module.promotion.api.combination.dto; | ||||
|  | ||||
| import lombok.Data; | ||||
|  | ||||
| /** | ||||
|  * 拼团记录的创建 Response DTO | ||||
|  * | ||||
|  * @author HUIHUI | ||||
|  */ | ||||
| @Data | ||||
| public class CombinationRecordCreateRespDTO { | ||||
|  | ||||
|     /** | ||||
|      * 拼团活动编号 | ||||
|      * | ||||
|      * 关联 CombinationActivityDO 的 id 字段 | ||||
|      */ | ||||
|     private Long combinationActivityId; | ||||
|     /** | ||||
|      * 拼团团长编号 | ||||
|      * | ||||
|      * 关联 CombinationRecordDO 的 headId 字段 | ||||
|      */ | ||||
|     private Long combinationHeadId; | ||||
|     /** | ||||
|      * 拼团记录编号 | ||||
|      * | ||||
|      * 关联 CombinationRecordDO 的 id 字段 | ||||
|      */ | ||||
|     private Long combinationRecordId; | ||||
|  | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 puhui999
					puhui999