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/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/QuestionInvestigateDto.java
New file @@ -0,0 +1,35 @@ 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; }