Commit 2edf520c by jianan

新单跟进v2

parent 2300e246
......@@ -721,13 +721,13 @@ public class ApiPolicyFollowController {
/**
* 查询保单号列表
*
* @param policyNo 保单号
* @param policyNosQueryRequest
* @return 保单号列表
*/
@GetMapping("/policyNos")
@PostMapping("/policyNos")
@Operation(summary = "查询保单号列表")
public Result<List<String>> queryPolicyNumbers(@RequestParam("policyNo") String policyNo) {
List<String> policyNumbers = policyFollowService.queryPolicyNumbers(policyNo);
public Result<List<String>> queryPolicyNumbers(@RequestBody PolicyNosQueryRequest policyNosQueryRequest) {
List<String> policyNumbers = policyFollowService.queryPolicyNumbers(policyNosQueryRequest.getPolicyNo());
return Result.success(policyNumbers);
}
}
\ No newline at end of file
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