fix:算例上传文件失败
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
package com.sdm.project.controller;
|
package com.sdm.project.controller;
|
||||||
|
|
||||||
import com.sdm.common.annotation.AutoFillDictTags;
|
|
||||||
import com.sdm.common.common.SdmResponse;
|
import com.sdm.common.common.SdmResponse;
|
||||||
import com.sdm.common.entity.req.data.CreateDirReq;
|
import com.sdm.common.entity.req.data.CreateDirReq;
|
||||||
import com.sdm.common.entity.req.data.QueryDirReq;
|
import com.sdm.common.entity.req.data.QueryDirReq;
|
||||||
@@ -131,14 +130,12 @@ public class SimulationRunController implements ISimulationRunFeignClient {
|
|||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@AutoFillDictTags
|
|
||||||
@SysLog("任务执行后 算例录入关键结果")
|
@SysLog("任务执行后 算例录入关键结果")
|
||||||
@PostMapping(value = "/addSimulationKeyResult", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
@PostMapping(value = "/addSimulationKeyResult", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
||||||
public SdmResponse addSimulationKeyResult(KeyResultReq req) {
|
public SdmResponse addSimulationKeyResult(KeyResultReq req) {
|
||||||
return runService.addSimulationKeyResult(req);
|
return runService.addSimulationKeyResult(req);
|
||||||
}
|
}
|
||||||
|
|
||||||
@AutoFillDictTags
|
|
||||||
@SysLog("编辑算例关键结果属性")
|
@SysLog("编辑算例关键结果属性")
|
||||||
@PostMapping(value = "/editSimulationKeyResult", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
@PostMapping(value = "/editSimulationKeyResult", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
|
||||||
public SdmResponse editSimulationKeyResult(KeyResultReq req) {
|
public SdmResponse editSimulationKeyResult(KeyResultReq req) {
|
||||||
@@ -150,7 +147,6 @@ public class SimulationRunController implements ISimulationRunFeignClient {
|
|||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@AutoFillDictTags
|
|
||||||
@SysLog("上传交付物-文件信息和关键结果信息批量入库")
|
@SysLog("上传交付物-文件信息和关键结果信息批量入库")
|
||||||
@PostMapping(value = "/batchAddSimulationKeyResult")
|
@PostMapping(value = "/batchAddSimulationKeyResult")
|
||||||
public SdmResponse<List<BatchAddFileInfoResp>> batchAddSimulationKeyResult(@RequestBody KeyResultReq req) {
|
public SdmResponse<List<BatchAddFileInfoResp>> batchAddSimulationKeyResult(@RequestBody KeyResultReq req) {
|
||||||
@@ -184,7 +180,6 @@ public class SimulationRunController implements ISimulationRunFeignClient {
|
|||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@AutoFillDictTags
|
|
||||||
@SysLog("算例关键结果查询")
|
@SysLog("算例关键结果查询")
|
||||||
@PostMapping(value = "/listSimulationKeyResult")
|
@PostMapping(value = "/listSimulationKeyResult")
|
||||||
public SdmResponse<PageDataResp<List<SimulationRunKeyResult>>> listSimulationKeyResult(@RequestBody KeyResultReq req) {
|
public SdmResponse<PageDataResp<List<SimulationRunKeyResult>>> listSimulationKeyResult(@RequestBody KeyResultReq req) {
|
||||||
@@ -201,7 +196,6 @@ public class SimulationRunController implements ISimulationRunFeignClient {
|
|||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@AutoFillDictTags
|
|
||||||
@PostMapping(value = "/queryKeyResultAndTaskInfo")
|
@PostMapping(value = "/queryKeyResultAndTaskInfo")
|
||||||
public SdmResponse<PageDataResp<List<KeyResultAndTaskInfoResp>>> queryKeyResultAndTaskInfo(@RequestBody KeyResultReq req) {
|
public SdmResponse<PageDataResp<List<KeyResultAndTaskInfoResp>>> queryKeyResultAndTaskInfo(@RequestBody KeyResultReq req) {
|
||||||
return runService.queryKeyResultAndTaskInfo(req);
|
return runService.queryKeyResultAndTaskInfo(req);
|
||||||
|
|||||||
Reference in New Issue
Block a user