| | |
| | | public R<Map> startTask(String rid, String serid,String type,String data) { |
| | | //获取组员id并进行通知 |
| | | Map<String, Object> map = new HashMap<>(); |
| | | |
| | | serid = taskqdService.querySerid(rid); |
| | | |
| | | int msg = pushMsgService.startTask(serid, rid,type,data); |
| | | map.put("res", msg); |
| | | map.put("type", type); |
| | |
| | | List<Map<String, Object>> queryReceiver(String serid); |
| | | List<TaskqdVO> selectLi(String type, String serid,String jurisdiction); |
| | | Integer selectNum(String serid,String jurisdiction); |
| | | String querySerid(String rid); |
| | | } |
| | |
| | | or |
| | | j.parent_id = #{jurisdiction}) |
| | | </select> |
| | | |
| | | <select id="querySerid" resultType="java.lang.String"> |
| | | SELECT serid from sys_taskqd where id = #{rid} |
| | | </select> |
| | | </mapper> |
| | |
| | | List<Map<String, Object>> queryReceiver(String serid); |
| | | List<TaskqdVO> selectLi(String type, String serid,String jurisdiction); |
| | | Integer selectNum(String serid,String jurisdiction); |
| | | String querySerid(String rid); |
| | | } |
| | |
| | | public Integer selectNum(String serid, String jurisdiction) { |
| | | return baseMapper.selectNum(serid, jurisdiction); |
| | | } |
| | | |
| | | @Override |
| | | public String querySerid(String rid) { |
| | | return baseMapper.querySerid(rid); |
| | | } |
| | | } |