|
|
|
@ -4,13 +4,14 @@ import com.supervision.common.domain.R;
|
|
|
|
|
import com.supervision.police.domain.CasePerson;
|
|
|
|
|
import com.supervision.police.domain.ModelCase;
|
|
|
|
|
import com.supervision.police.service.ModelCaseService;
|
|
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
|
import io.swagger.v3.oas.annotations.Operation;
|
|
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
@RestController
|
|
|
|
|
@Slf4j
|
|
|
|
|
@RequestMapping("modelCase")
|
|
|
|
@ -64,14 +65,14 @@ public class ModelCaseController {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询案件任务
|
|
|
|
|
* 查询案件人员信息列表
|
|
|
|
|
* @param name
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@GetMapping("/getPerson")
|
|
|
|
|
@Operation(summary = "getPersion")
|
|
|
|
|
public R<?> getPerson(@RequestParam String caseId,
|
|
|
|
|
@RequestParam(required = false, defaultValue = "") String name) {
|
|
|
|
|
@Operation(summary = "查询案件人员信息列表")
|
|
|
|
|
public R<List<CasePerson>> getPerson(@RequestParam String caseId,
|
|
|
|
|
@RequestParam(required = false, defaultValue = "") String name) {
|
|
|
|
|
return modelCaseService.getPerson(caseId, name);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|