|
|
@@ -21,6 +21,7 @@ import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
import java.util.Arrays;
|
|
|
+import java.util.Date;
|
|
|
import java.util.List;
|
|
|
|
|
|
/**
|
|
|
@@ -81,15 +82,17 @@ public class IsExceptionController extends BaseController
|
|
|
@PostMapping("/insertIsException")
|
|
|
public CommonResult<Boolean> insertIsException(@RequestBody @Parameter(name = "isException", description = "新增数据类,放到body") IsException isException)
|
|
|
{
|
|
|
+ isException.setRaiseTime(new Date());
|
|
|
return CommonResult.success(isExceptionService.save(isException));
|
|
|
}
|
|
|
|
|
|
- @ApiOperation("修改异常记录")
|
|
|
+ @ApiOperation("结束异常")
|
|
|
@PreAuthorize("@ss.hasPermi('iscs:exception:edit')")
|
|
|
- @Log(title = "异常记录", businessType = BusinessType.UPDATE)
|
|
|
+ @Log(title = "结束异常", businessType = BusinessType.UPDATE)
|
|
|
@PostMapping("/updateIsException")
|
|
|
public CommonResult<Boolean> updateIsException(@RequestBody @Parameter(name = "isException", description = "修改数据类,放到body") IsException isException)
|
|
|
{
|
|
|
+ isException.setHandleTime(new Date());
|
|
|
return CommonResult.success(isExceptionService.updateById(isException));
|
|
|
}
|
|
|
|