| | |
| | | } |
| | | |
| | | @ApiOperation(value = "上传市平台") |
| | | @PostMapping("/upload-event") |
| | | public CommonResult uploadEvent(@RequestParam Long caseId, CommonResult<Object> success) { |
| | | @PostMapping("/upload-event/{caseId}") |
| | | public CommonResult uploadEvent(@PathVariable Long caseId) { |
| | | String msg = baseCaseService.uploadEvent(caseId); |
| | | if (StringUtils.isEmpty(msg)) { |
| | | return success; |
| | | return CommonResult.success(msg); |
| | | } else { |
| | | return CommonResult.failed(msg); |
| | | } |
| | |
| | | Integer state = iDisposeRecordService |
| | | .list(new LambdaQueryWrapper<DisposeRecord>() |
| | | .eq(DisposeRecord::getBaseCaseId, caseId). |
| | | orderByDesc(DisposeRecord::getCreateTime)).get(firstNum).getState(); |
| | | orderByDesc(DisposeRecord::getCreateTime)).get(firstNum).getState(); |
| | | return CommonResult.success(baseCaseService |
| | | .update(new LambdaUpdateWrapper<BaseCase>() |
| | | .eq(BaseCase::getId, caseId) |