Commit 530532a7 by chenweisong

更新

parent de4dddd3
...@@ -206,7 +206,7 @@ public class IndexCtrl { ...@@ -206,7 +206,7 @@ public class IndexCtrl {
@ApiOperation(value = "填写补录数据") @ApiOperation(value = "填写补录数据")
@PostMapping(value = "/excel/saveData") @PostMapping(value = "/excel/saveData")
public ApiResponse saveRecordData(RecordDataForm form) { public ApiResponse saveRecordData(@RequestBody RecordDataForm form) {
RecordData recordData = recordDataService.save(form); RecordData recordData = recordDataService.save(form);
List<User> userList = userService.findAllByRole(User.ROLE_NORMAL); List<User> userList = userService.findAllByRole(User.ROLE_NORMAL);
User curUser = userList.get(0); User curUser = userList.get(0);
......
...@@ -6,8 +6,8 @@ import lombok.Data; ...@@ -6,8 +6,8 @@ import lombok.Data;
import java.util.List; import java.util.List;
@ApiModel
@Data @Data
@ApiModel
public class RecordDataForm { public class RecordDataForm {
@ApiModelProperty(required = true, name = "excelId", value = "当前模板id") @ApiModelProperty(required = true, name = "excelId", value = "当前模板id")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment