|
|
|
|
@ -1,8 +1,12 @@
|
|
|
|
|
package cfs.trsmrcv.web;
|
|
|
|
|
|
|
|
|
|
import java.io.BufferedReader;
|
|
|
|
|
import java.io.IOException;
|
|
|
|
|
import java.io.InputStreamReader;
|
|
|
|
|
import java.io.UnsupportedEncodingException;
|
|
|
|
|
import java.text.SimpleDateFormat;
|
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
import java.util.Date;
|
|
|
|
|
import java.util.HashMap;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
@ -23,6 +27,7 @@ import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
|
|
|
|
|
|
import cfs.WASInfo;
|
|
|
|
|
import cfs.common.util.ResultSmartPlatform;
|
|
|
|
|
import cfs.schd.PrpCarInfo;
|
|
|
|
|
import cfs.schd.config.CfsDaemon;
|
|
|
|
|
import cfs.schd.dao.SchdDao;
|
|
|
|
|
import cfs.trsmrcv.dao.TrsmrcvDao;
|
|
|
|
|
@ -41,7 +46,8 @@ public class TrsmrcvController {
|
|
|
|
|
@Resource(name="cfsDaemon")
|
|
|
|
|
private CfsDaemon cfsDaemon;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Resource(name="prpCarInfo")
|
|
|
|
|
private PrpCarInfo prpCarInfo;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@RequestMapping(value="/cfs/trsmrcv/sleep.do", method=RequestMethod.GET)
|
|
|
|
|
@ -144,5 +150,25 @@ public class TrsmrcvController {
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@RequestMapping(value="/cfs/sudong/makeExemptMaster.do", method=RequestMethod.GET)
|
|
|
|
|
public @ResponseBody Map<String, Object> makeExemptMaster(HttpServletRequest request) throws Exception {
|
|
|
|
|
Map result = new HashMap();
|
|
|
|
|
prpCarInfo.makeExemptMaster();
|
|
|
|
|
result.put("res", "OK");
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
@RequestMapping(value="/cfs/sudong/makeScarMaster.do", method=RequestMethod.GET)
|
|
|
|
|
public @ResponseBody Map<String, Object> makeScarMaster(HttpServletRequest request) throws Exception {
|
|
|
|
|
Map result = new HashMap();
|
|
|
|
|
prpCarInfo.makeScarMaster();
|
|
|
|
|
result.put("res", "OK");
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
@RequestMapping(value="/cfs/sudong/makePreregistMaster.do", method=RequestMethod.GET)
|
|
|
|
|
public @ResponseBody Map<String, Object> makePreregistMaster(HttpServletRequest request) throws Exception {
|
|
|
|
|
Map result = new HashMap();
|
|
|
|
|
prpCarInfo.makePreregistMaster();
|
|
|
|
|
result.put("res", "OK");
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|