phis-feign/src/main/java/com/hz/his/feign/service/platform/questionnaire/SPhipRewardService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/phis/dt/reward/AnswerDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/phis/dt/reward/InvestigateGroupDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/phis/dt/reward/InvestigateTitleDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
phis-feign/src/main/java/com/hz/phis/dt/reward/QuestionInvestigateDto.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
phis-feign/src/main/java/com/hz/his/feign/service/platform/questionnaire/SPhipRewardService.java
@@ -2,6 +2,7 @@ import com.hx.resultTool.Result; import com.hz.his.dto.activity.ActivityDto; import com.hz.phis.dt.reward.QuestionInvestigateDto; import com.hz.phis.dt.reward.RewardRecordDto; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; @@ -27,4 +28,18 @@ */ @PostMapping(value = "/questionnaire/reward") Result reward(RewardRecordDto recordDto); /** * 调查问卷详情 */ @PostMapping(value = "/questionnaire/investigate/details") Result details(QuestionInvestigateDto questionInvestigateDto); /** * 提交调查问卷 */ @PostMapping(value = "/questionnaire/submit") Result submit(QuestionInvestigateDto questionInvestigateDto); } phis-feign/src/main/java/com/hz/phis/dt/reward/AnswerDto.java
New file @@ -0,0 +1,21 @@ package com.hz.phis.dt.reward; import com.gitee.sunchenbin.mybatis.actable.annotation.Column; import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant; import lombok.Data; /** * @ClassName AwardDto * @Description 调查问卷提交数据dto * @Author wrh * @Date 2023/4/17 10:46 * @Version 1.0 */ @Data public class AnswerDto { private String code; private String titleId; private String answer; } phis-feign/src/main/java/com/hz/phis/dt/reward/InvestigateGroupDto.java
New file @@ -0,0 +1,21 @@ package com.hz.phis.dt.reward; import lombok.Data; import java.util.List; /** * @ClassName InvestigateGroupDto * @Description 题组数据 * @Author wrh * @Date 2023/4/17 11:53 * @Version 1.0 */ @Data public class InvestigateGroupDto { private String awardId; private String groupId; //题目数据 private List<InvestigateTitleDto> titleDtoList; } phis-feign/src/main/java/com/hz/phis/dt/reward/InvestigateTitleDto.java
New file @@ -0,0 +1,20 @@ package com.hz.phis.dt.reward; import lombok.Data; import java.util.List; /** * @ClassName InvestigateTitleDto * @Description 题目数据 * @Author wrh * @Date 2023/4/17 11:55 * @Version 1.0 */ @Data public class InvestigateTitleDto { private String titleId; private String title; private List<String> answerList; } phis-feign/src/main/java/com/hz/phis/dt/reward/QuestionInvestigateDto.java
New file @@ -0,0 +1,37 @@ package com.hz.phis.dt.reward; import com.hz.phis.dt.BaseDt; import lombok.Data; import java.util.Date; import java.util.List; /** * @ClassName QuestionInvestigateDto * @Description 调查问卷dto * @Author wrh * @Date 2023/4/17 10:39 * @Version 1.0 */ @Data public class QuestionInvestigateDto extends BaseDt { private String code; private String investigateId; private String userId; private Integer type; private Date startTime; private Date doneTime; private String proposal; //答案数据 private List<AnswerDto> answerDtoList; private List<InvestigateGroupDto> investigateGroupDtos; }