消息查询
This commit is contained in:
parent
1d4a0a4481
commit
ee95c9cb61
@ -93,6 +93,13 @@ public interface SignPatientManageRouteNodeMapper {
|
|||||||
*/
|
*/
|
||||||
List<PatientTaskVo> selectPatientTaskList(PatientTaskDto patientTaskDto);
|
List<PatientTaskVo> selectPatientTaskList(PatientTaskDto patientTaskDto);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询个人任务消息
|
||||||
|
*
|
||||||
|
* @param residentId 用户id
|
||||||
|
* @param nodeExecuteStatus 状态
|
||||||
|
* @return SignPatientManageRouteNode
|
||||||
|
*/
|
||||||
List<SignPatientManageRouteNode> selectManageRouteByResidentId(@Param("residentId") Long residentId, @Param("nodeExecuteStatus") String nodeExecuteStatus);
|
List<SignPatientManageRouteNode> selectManageRouteByResidentId(@Param("residentId") Long residentId, @Param("nodeExecuteStatus") String nodeExecuteStatus);
|
||||||
|
|
||||||
String selectNodeContent(Long manageRouteNodeId);
|
String selectNodeContent(Long manageRouteNodeId);
|
||||||
|
|||||||
@ -92,6 +92,9 @@ public class HomePageController extends BaseController {
|
|||||||
return homePageService.subscriptionMessage(id);
|
return homePageService.subscriptionMessage(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 消息通知列表
|
||||||
|
*/
|
||||||
@GetMapping("/messageNotification")
|
@GetMapping("/messageNotification")
|
||||||
public AjaxResult selectSignPatientManageRouteNode(Long residentId) {
|
public AjaxResult selectSignPatientManageRouteNode(Long residentId) {
|
||||||
return homePageService.selectSignPatientManageRouteNode(residentId);
|
return homePageService.selectSignPatientManageRouteNode(residentId);
|
||||||
|
|||||||
@ -76,6 +76,12 @@ public interface HomePageService {
|
|||||||
*/
|
*/
|
||||||
AjaxResult subscriptionMessage(Long id);
|
AjaxResult subscriptionMessage(Long id);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 消息通知列表
|
||||||
|
*
|
||||||
|
* @param residentId 用户id
|
||||||
|
* @return AjaxResult
|
||||||
|
*/
|
||||||
AjaxResult selectSignPatientManageRouteNode(Long residentId);
|
AjaxResult selectSignPatientManageRouteNode(Long residentId);
|
||||||
|
|
||||||
AjaxResult selectNodeContent(Long manageRouteNodeId);
|
AjaxResult selectNodeContent(Long manageRouteNodeId);
|
||||||
|
|||||||
@ -264,6 +264,12 @@ public class HomePageServiceImpl implements HomePageService {
|
|||||||
return AjaxResult.success(signPatientManageRouteNodeMapper.selectSignPatientManageRouteNodeById(id));
|
return AjaxResult.success(signPatientManageRouteNodeMapper.selectSignPatientManageRouteNodeById(id));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 消息通知列表
|
||||||
|
*
|
||||||
|
* @param residentId 用户id
|
||||||
|
* @return AjaxResult
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public AjaxResult selectSignPatientManageRouteNode(Long residentId) {
|
public AjaxResult selectSignPatientManageRouteNode(Long residentId) {
|
||||||
List<SignPatientManageRouteNode> signPatientManageRouteNodes = signPatientManageRouteNodeMapper.selectManageRouteByResidentId(residentId, NodeExecuteStatusEnum.EXECUTED.getInfo());
|
List<SignPatientManageRouteNode> signPatientManageRouteNodes = signPatientManageRouteNodeMapper.selectManageRouteByResidentId(residentId, NodeExecuteStatusEnum.EXECUTED.getInfo());
|
||||||
|
|||||||
@ -208,6 +208,7 @@ public class WeChatOfficialAccountUtils {
|
|||||||
Map<String, Object> paramsMap = new LinkedHashMap<>();
|
Map<String, Object> paramsMap = new LinkedHashMap<>();
|
||||||
paramsMap.put("touser", patientVO.getOpenId());
|
paramsMap.put("touser", patientVO.getOpenId());
|
||||||
paramsMap.put("template_id", weChatAppletChatConfig.getHealthyPropagandaId());
|
paramsMap.put("template_id", weChatAppletChatConfig.getHealthyPropagandaId());
|
||||||
|
paramsMap.put("miniprogram_state", "developer");//todo
|
||||||
paramsMap.put("page", "pages/homepage/homepage");
|
paramsMap.put("page", "pages/homepage/homepage");
|
||||||
Map<String, Object> dataMap = new LinkedHashMap<>();
|
Map<String, Object> dataMap = new LinkedHashMap<>();
|
||||||
dataMap.put("thing5", new MessageValueEntity(thing5));
|
dataMap.put("thing5", new MessageValueEntity(thing5));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user