Compare commits

..

2 Commits

5 changed files with 7 additions and 5 deletions

View File

@ -119,7 +119,7 @@ public class StandardCodeController extends BaseController {
tnDocumentInfo.setRecordCountPerPage(paginationInfo.getRecordCountPerPage());
Map<String, Object> resultMap = new HashMap<>();
resultMap.put("resultList", standardCodeService.selectStandardcodlist(tnDocumentInfo.getListCode()));
resultMap.put("resultList", standardCodeService.selectStandardcodelist(tnDocumentInfo.getListCode()));
resultMap.put("resultCnt", standardCodeService.selectStandardCodeListCnt(tnDocumentInfo));
Integer totCnt = (Integer) resultMap.get("resultCnt");
paginationInfo.setTotalRecordCount(totCnt);

View File

@ -87,6 +87,8 @@ public class TnDocumentInfo {
@Column(name = "old_seq")
private Integer oldSeq;
@Schema(description = "현재페이지")
private int pageIndex = 1;
@Schema(description = "페이지갯수")

View File

@ -16,5 +16,5 @@ public interface StandardCodeMapper {
List<TnDocumentInfo> selectStandardCodeRevisionhistoryList(Integer groupseq);
List<TnDocumentCodeList> selectStandardcodlist(String code);
List<TnDocumentCodeList> selectStandardcodelist(String code);
}

View File

@ -39,7 +39,7 @@ public class StandardCodeService {
return standardCodeMapper.selectStandardCodeRevisionhistoryList(groupseq);
}
public List<TnDocumentCodeList> selectStandardcodlist(String code){
return standardCodeMapper.selectStandardcodlist(code);
public List<TnDocumentCodeList> selectStandardcodelist(String code){
return standardCodeMapper.selectStandardcodelist(code);
}
}

View File

@ -71,7 +71,7 @@
and tdi.use_yn = 'Y'
order by tdi.kcsc_cd;
</select>
<select id="selectStandardcodlist" resultType="TnDocumentCodeList">
<select id="selectStandardcodelist" resultType="TnDocumentCodeList">
select
case
when a3.doc_level > 1 then a3.doc_code_name