|
@@ -9,6 +9,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
|
|
+import java.io.IOException;
|
|
import java.io.UnsupportedEncodingException;
|
|
import java.io.UnsupportedEncodingException;
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -63,7 +64,7 @@ public class EarmarkController {
|
|
* @Time : 22:58
|
|
* @Time : 22:58
|
|
*/
|
|
*/
|
|
@RequestMapping(value = "/getEarmark",method = RequestMethod.GET)
|
|
@RequestMapping(value = "/getEarmark",method = RequestMethod.GET)
|
|
- public Result getEarmark(@RequestParam(value = "applyId") int applyId) throws UnsupportedEncodingException {
|
|
|
|
|
|
+ public Result getEarmark(@RequestParam(value = "applyId") int applyId) throws IOException {
|
|
//
|
|
//
|
|
return earmarkService.getEarmark(applyId);
|
|
return earmarkService.getEarmark(applyId);
|
|
}
|
|
}
|