@Query(value="select new com.xit.biz.cmm.dto.ComboCodeDto(c.codeCd, c.codeNm) from #{#entityName} c where c.codeGrpId = :codeGrpId and c.useYn = 'Y' order by c.codeOrdr asc")
@Query(value="SELECT new com.xit.biz.cmm.dto.ComboCodeDto(c.codeCd, c.codeNm) FROM #{#entityName} c WHERE c.codeGrpId = :codeGrpId AND c.useYn = 'Y' ORDER BY c.codeOrdr ASC")
@Query(value="select new com.xit.biz.cmm.dto.ComboCodeDto(c.codeCd, c.codeNm) from #{#entityName} c where c.codeGrpId = :codeGrpId and c.codeLcd = :codeLcd and c.useYn = 'Y' order by c.codeOrdr asc")
@Query(value="SELECT new com.xit.biz.cmm.dto.ComboCodeDto(c.codeCd, c.codeNm) FROM #{#entityName} c WHERE c.codeGrpId = :codeGrpId AND c.codeLcd = :codeLcd AND c.useYn = 'Y' ORDER BY c.codeOrdr ASC")
@Query(value="select c.codeCd as code, c.codeNm as value from #{#entityName} c where c.codeGrpId = :codeGrpId and c.codeLcd = :codeLcd and c.codeMcd = :codeMcd and c.useYn = 'Y' order by c.codeOrdr asc")
@Query(value="SELECT c.codeCd AS code, c.codeNm AS value FROM #{#entityName} c WHERE c.codeGrpId = :codeGrpId AND c.codeLcd = :codeLcd AND c.codeMcd = :codeMcd AND c.useYn = 'Y' ORDER BY c.codeOrdr ASC")
@Query(value="select new com.xit.biz.cmm.dto.ComboCodeDto(c.codeCd, c.codeNm) from #{#entityName} c where c.codeGrpId = :codeGrpId and c.codeLcd = :codeLcd and c.codeMcd = :codeMcd and c.useYn = 'Y' order by c.codeOrdr asc")
@Query(value="SELECT new com.xit.biz.cmm.dto.ComboCodeDto(c.codeCd, c.codeNm) FROM #{#entityName} c WHERE c.codeGrpId = :codeGrpId AND c.codeLcd = :codeLcd AND c.codeMcd = :codeMcd AND c.useYn = 'Y' ORDER BY c.codeOrdr ASC")
@Query(value="SELECT e.msMaincode FROM #{#entityName} e WHERE e.msDatagb = :msDatagb AND e.msChasu = :msChasu AND e.msSdate >= :msSdate AND e.msEdate <= :msEdate")