You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.5 KiB
43 lines
1.5 KiB
package irbs.deptRating.controller;
|
|
|
|
import java.util.List;
|
|
import java.util.Locale;
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
import io.sc.platform.mvc.support.ExportFileInfo;
|
|
import io.sc.platform.orm.service.support.QueryParameter;
|
|
import io.sc.platform.security.service.impl.SystemParameterServiceImpl;
|
|
import io.sc.platform.security.util.SecurityUtil;
|
|
import irbs.deptRating.jpa.entity.AppDebtRating;
|
|
import irbs.deptRating.jpa.repository.AppDebtRatingRepository;
|
|
import irbs.deptRating.service.AppDebtRatingService;
|
|
import org.slf4j.Logger;
|
|
import org.slf4j.LoggerFactory;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.data.domain.Page;
|
|
import org.springframework.stereotype.Controller;
|
|
import org.springframework.util.StringUtils;
|
|
import org.springframework.web.bind.annotation.*;
|
|
import org.springframework.web.multipart.MultipartFile;
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
|
|
|
@Controller
|
|
@RequestMapping("/api/irbs/appDebtRating")
|
|
public class AppDebtRatingController {
|
|
|
|
private static final Logger log =LoggerFactory.getLogger(AppDebtRatingController.class);
|
|
@Autowired
|
|
private AppDebtRatingService appDebtRatingService;
|
|
/**
|
|
* @债项评级管理
|
|
* @return
|
|
*/
|
|
@GetMapping("queryPage")
|
|
public Page<AppDebtRating> queryPage(QueryParameter queryParameter) throws Exception{
|
|
Page<AppDebtRating> page = appDebtRatingService.findAll(queryParameter);
|
|
return page;
|
|
}
|
|
}
|
|
|