Compare commits
2 Commits
156d0beba4
...
9d8e41fafd
| Author | SHA1 | Date |
|---|---|---|
|
|
9d8e41fafd | |
|
|
f955db0b0a |
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -87,6 +87,8 @@ public class TnDocumentInfo {
|
|||
@Column(name = "old_seq")
|
||||
private Integer oldSeq;
|
||||
|
||||
|
||||
|
||||
@Schema(description = "현재페이지")
|
||||
private int pageIndex = 1;
|
||||
@Schema(description = "페이지갯수")
|
||||
|
|
|
|||
|
|
@ -16,5 +16,5 @@ public interface StandardCodeMapper {
|
|||
|
||||
List<TnDocumentInfo> selectStandardCodeRevisionhistoryList(Integer groupseq);
|
||||
|
||||
List<TnDocumentCodeList> selectStandardcodlist(String code);
|
||||
List<TnDocumentCodeList> selectStandardcodelist(String code);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue