임대계약서 검색 수정.

- 페이징
main
xitpc\xituser 2 months ago
parent c644a0b4eb
commit bd46033baf

@ -22,6 +22,7 @@ import cokr.xit.foundation.data.DataObject;
*/ */
@Mapper("userRentEntMpngMapper") @Mapper("userRentEntMpngMapper")
public interface UserRentEntMpngMapper extends AbstractMapper { public interface UserRentEntMpngMapper extends AbstractMapper {
/** .<br /> /** .<br />
* @param req * @param req
* @return * @return

@ -111,7 +111,7 @@ public class Rent02Controller extends ApplicationController {
public ModelAndView getLeaseContractList(RentQuery req) { public ModelAndView getLeaseContractList(RentQuery req) {
if (!"xls".equals(req.getDownload())) { if (!"xls".equals(req.getDownload())) {
List<?> result = lsctService.getLsctList(setFetchSize(req)); List<?> result = lsctService.getLsctList(setFetchSize(req));
return setCollectionInfo(new ModelAndView("jsonView"), result, ""); return setPagingInfo(new ModelAndView("jsonView"), result, "");
} else { } else {
// 현재 날짜 구하기 // 현재 날짜 구하기
SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss"); SimpleDateFormat dateFormat = new SimpleDateFormat("yyyyMMddHHmmss");

Loading…
Cancel
Save