|
|
|
|
@ -342,6 +342,28 @@ public class RaiseHandController extends BladeController { |
|
|
|
|
return R.status(service.updateById(updateOne)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@PostMapping("/updateSubmit") |
|
|
|
|
@ApiOperationSupport(order = 40) |
|
|
|
|
@ApiLog("提交举手免责") |
|
|
|
|
@Operation(summary = "修改一条", description = "传入LiquidTankWave Obj") |
|
|
|
|
@Transactional |
|
|
|
|
public R updateSubmit(@Valid @RequestBody RaiseHand updateOne) { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RaiseHandRecord record = new RaiseHandRecord(); |
|
|
|
|
record.setHandId(updateOne.getId()); |
|
|
|
|
record.setNotes(""); |
|
|
|
|
record.setIsSuccess("1"); |
|
|
|
|
record.setCurrentStatus(0); |
|
|
|
|
record.setCreateTime(new Date()); |
|
|
|
|
record.setReviewUserId(AuthUtil.getUser().getUserId()); |
|
|
|
|
record.setReviewUserName(AuthUtil.getUser().getNickName()); |
|
|
|
|
recordService.save(record); |
|
|
|
|
|
|
|
|
|
updateOne.setStatus(1); |
|
|
|
|
return R.status(service.updateById(updateOne)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@PostMapping("/updateBat") |
|
|
|
|
@ApiOperationSupport(order = 41) |
|
|
|
|
|