| | |
| | | public Object detail(@PathVariable("tReportLossId") Integer tReportLossId) { |
| | | return tReportLossService.selectById(tReportLossId); |
| | | } |
| | | |
| | | |
| | | |
| | | @RequestMapping(value = "/dispose") |
| | | @ResponseBody |
| | | public Object dispose(Integer id,String info) { |
| | | TReportLoss tReportLoss = tReportLossService.selectById(id); |
| | | tReportLoss.setDisposeInfo(info); |
| | | tReportLoss.setStatus(2); |
| | | tReportLoss.setHandleTime(new Date()); |
| | | tReportLoss.setHandleUserId(ShiroKit.getUser().getObjectId()); |
| | | boolean b = tReportLossService.updateById(tReportLoss); |
| | | if(b){ |