2021-07-16 08:47:53 +08:00
|
|
|
package com.xkrs.service;
|
|
|
|
|
|
|
|
import java.io.UnsupportedEncodingException;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @author xkrs
|
|
|
|
*/
|
|
|
|
public interface FireAndRangerService {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 将火点分配给护林员
|
|
|
|
* @param token
|
|
|
|
* @param rangerName
|
|
|
|
* @param fireCode
|
|
|
|
* @param handler
|
|
|
|
* @param verifier
|
|
|
|
* @return
|
|
|
|
*/
|
2021-07-16 09:21:33 +08:00
|
|
|
String addFireAndRanger(String rangerName, String fireCode, String handler, String verifier, String token) throws UnsupportedEncodingException;
|
2021-07-16 08:47:53 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 护林员查看自己的火点任务
|
|
|
|
* @param token
|
|
|
|
* @return
|
|
|
|
*/
|
2021-07-16 09:21:33 +08:00
|
|
|
String selectFireInformation(String token);
|
2021-07-16 08:47:53 +08:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 根据火点编码查询处理的信息
|
|
|
|
* @param fireCode
|
|
|
|
* @return
|
|
|
|
*/
|
2021-07-16 09:21:33 +08:00
|
|
|
String findFireAndRangerByFireCode(String fireCode, String token) throws Exception;
|
2021-07-16 08:47:53 +08:00
|
|
|
}
|