无关风月
2024-09-06 de9d3974b9068ffc0893f62d33b50e3864603c80
ManagementIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/TReportLossController.java
@@ -145,12 +145,16 @@
    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){