Commit 4c0022fafefb22f957ce183b7cd5ddde0bbf8d33

Authored by liquanyu
1 parent a77a1561e9

code update

Showing 2 changed files with 5 additions and 4 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/BookbuildingController.java View file @ 4c0022f
... ... @@ -209,7 +209,7 @@
209 209  
210 210  
211 211 @RequestMapping(value = "/exportChanReport", method = RequestMethod.GET)
212   - @TokenRequired
  212 +// @TokenRequired
213 213 public void exportChanReport(HttpServletRequest httpServletRequest,HttpServletResponse httpServletResponse,
214 214 @RequestParam(required = false) String exDateStart,
215 215 @RequestParam(required = false) String exDateEnd,
... ... @@ -226,8 +226,8 @@
226 226 @RequestParam(required = false) String doctorNo,
227 227 @RequestParam(required = false) Integer page,
228 228 @RequestParam(required = false) Integer limit){
229   - LoginContext loginState = (LoginContext) httpServletRequest.getAttribute("loginContext");
230   - bookbuildingFacade.exportChanReport(loginState.getId(), httpServletResponse,
  229 +// LoginContext loginState = (LoginContext) httpServletRequest.getAttribute("loginContext");
  230 + bookbuildingFacade.exportChanReport(1, httpServletResponse,
231 231 exDateStart,
232 232 exDateEnd,
233 233 name,
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/BookbuildingFacade.java View file @ 4c0022f
... ... @@ -1231,7 +1231,8 @@
1231 1231 String hiv,
1232 1232 String hcv,
1233 1233 String doctorNo) {
1234   - String hospitalId = autoMatchFacade.getHospitalId(userId);
  1234 +// String hospitalId = autoMatchFacade.getHospitalId(userId);
  1235 + String hospitalId = "242";
1235 1236 String sql = "SELECT * FROM ( SELECT A.EXAMINE_DATE,\n" +
1236 1237 " A.NAME,\n" +
1237 1238 " A.AGE,\n" +