|
|
@ -14,9 +14,12 @@ import jakarta.annotation.Resource; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.stereotype.Controller; |
|
|
|
import org.springframework.web.bind.annotation.PostMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestBody; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.ResponseBody; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
@Tag(name = "A8k项目信息卡", description = "") |
|
|
|
@Slf4j |
|
|
|
@Controller |
|
|
@ -58,6 +61,19 @@ public class A8kProjectCardControler { |
|
|
|
return ApiRet.success(); |
|
|
|
} |
|
|
|
|
|
|
|
static public class IDList { |
|
|
|
public List<Integer> ids; |
|
|
|
} |
|
|
|
|
|
|
|
@Operation(summary = "删除A8k项目信息") |
|
|
|
@PostMapping("/deleteIds") |
|
|
|
public ApiRet<Void> delete(@RequestBody IDList id) { |
|
|
|
for (var i : id.ids) { |
|
|
|
projIdCardInfoMgrService.delete(i); |
|
|
|
} |
|
|
|
return ApiRet.success(); |
|
|
|
} |
|
|
|
|
|
|
|
@Operation(summary = "删除所有A8k项目信息") |
|
|
|
@PostMapping("/deleteAll") |
|
|
|
public ApiRet<Void> deleteAll() { |
|
|
|