| | |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.time.LocalDateTime; |
| | | import java.util.List; |
| | | |
| | | @Api(tags = {"相关协议接口"}) |
| | |
| | | @ApiOperation(value = "修改相关附件",response = Agreement.class) |
| | | @PostMapping(value = "/update") |
| | | @Authorization |
| | | public ResultData update(@RequestBody Agreement agreement,@CurrentUser SysUser sysUse){ |
| | | public ResultData update(@RequestBody Agreement agreement,@CurrentUser SysUser sysUse) |
| | | { |
| | | agreement.setUpdateTime(LocalDateTime.now()); |
| | | agreement.setUpdateUserId(sysUse.getUserId().toString()); |
| | | return agreementService.update(agreement); |
| | | } |