Commit cf7a308e by chenweisong

更新

parent 73768388
...@@ -268,5 +268,20 @@ public class IndexCtrl { ...@@ -268,5 +268,20 @@ public class IndexCtrl {
return ApiResponse.ok(recordData.getId()); return ApiResponse.ok(recordData.getId());
} }
@ApiOperation(value = "传excelId过来,获取用户填写的数据")
@PostMapping(value = "/excel/getData")
public ApiResponse getRecordData(@RequestParam long excelId) {
User curUser = userService.getNormalUser();
JobInfo jobInfo = jobInfoService.findByExcelIdAndUserId(excelId, curUser.getId());
List<RecordData> recordDataList = jobInfo.getRecordDataList();
if (recordDataList.size() > 0) {
return ApiResponse.ok(recordDataList.get(0));
} else {
return ApiResponse.ok();
}
}
} }
...@@ -52,8 +52,8 @@ app: ...@@ -52,8 +52,8 @@ app:
active-process: RecordStandardProcess.bpmn active-process: RecordStandardProcess.bpmn
swagger2: swagger2:
host: localhost:8110 # host: localhost:8110
# host: 47.105.236.43/activiti host: 47.105.236.43/activiti
......
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