1、补充删除报工接口

This commit is contained in:
2026-03-06 10:57:31 +08:00
parent 3364338647
commit 9491e7a7a6
2 changed files with 2 additions and 2 deletions

View File

@@ -39,6 +39,6 @@ public class SpdmWorkReq {
private String taskId;
private List<String> delIdList;
private List<Long> delIdList;
}

View File

@@ -354,7 +354,7 @@ public class SimulationWorkServiceImpl extends ServiceImpl<SimulationWorkMapper,
@Override
public SdmResponse deleteWork(SpdmWorkReq req) {
List<String> delIdList = req.getDelIdList();
List<Long> delIdList = req.getDelIdList();
if (CollectionUtils.isEmpty(delIdList)) {
return SdmResponse.failed("待删除的id不能为空");
}