|
@@ -8,7 +8,10 @@ import com.fjhx.account.entity.loan.vo.LoanInfoVo;
|
|
|
import com.fjhx.account.service.loan.LoanInfoService;
|
|
|
import com.ruoyi.common.core.domain.BaseSelectDto;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.web.bind.annotation.*;
|
|
|
+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.RestController;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
@@ -39,9 +42,9 @@ public class LoanInfoController {
|
|
|
/**
|
|
|
* 借款人列表
|
|
|
*/
|
|
|
- @GetMapping("/getLoanUserList")
|
|
|
- public List<LoanInfo> getLoanUserList() {
|
|
|
- return loanInfoService.getLoanUserList();
|
|
|
+ @PostMapping("/getLoanUserList")
|
|
|
+ public List<LoanInfo> getLoanUserList(@RequestBody LoanInfoSelectDto dto) {
|
|
|
+ return loanInfoService.getLoanUserList(dto);
|
|
|
}
|
|
|
|
|
|
/**
|