[FO] 일계부 수입,지출의 uicode value 수정
This commit is contained in:
@@ -54,14 +54,15 @@ public class DailyExpenseServiceImpl implements DailyExpenseService {
|
||||
|
||||
/**
|
||||
* 코드명 조회
|
||||
* @param code 코드
|
||||
*
|
||||
* @param codeId 코드
|
||||
* @param codeList 공통 코드 목록
|
||||
* @return
|
||||
* @return 코드명
|
||||
*/
|
||||
private String getCodeLabel(String code, List<UICodeElement> codeList) {
|
||||
private String getCodeLabel(String codeId, List<UICodeElement> codeList) {
|
||||
String returnValue = null;
|
||||
for (UICodeElement codeSetup : codeList) {
|
||||
if (codeSetup.getCodeValue().equalsIgnoreCase(code)) {
|
||||
if (codeSetup.getId().equalsIgnoreCase(codeId)) {
|
||||
returnValue = codeSetup.getCodeText();
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -56,14 +56,15 @@ public class DailyIncomeServiceImpl implements DailyIncomeService {
|
||||
|
||||
/**
|
||||
* 코드명 조회
|
||||
* @param code 코드
|
||||
*
|
||||
* @param codeId 코드
|
||||
* @param codeList 공통 코드 목록
|
||||
* @return
|
||||
* @return 코드명
|
||||
*/
|
||||
private String getCodeLabel(String code, List<UICodeElement> codeList) {
|
||||
private String getCodeLabel(String codeId, List<UICodeElement> codeList) {
|
||||
String returnValue = null;
|
||||
for (UICodeElement codeSetup : codeList) {
|
||||
if (codeSetup.getCodeValue().equalsIgnoreCase(code)) {
|
||||
if (codeSetup.getId().equalsIgnoreCase(codeId)) {
|
||||
returnValue = codeSetup.getCodeText();
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -77,9 +77,8 @@
|
||||
<ul class="">
|
||||
<li class="option"
|
||||
th:each="uiCode : ${recordExpense}"
|
||||
th:data-value="${uiCode.codeValue}"
|
||||
th:data-value="${uiCode.id}"
|
||||
th:text="${uiCode.codeText}"></li>
|
||||
<li class="option" data-value="SELF">직접 입력</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@@ -143,9 +142,9 @@
|
||||
<div class="select-scroll">
|
||||
<ul class="">
|
||||
<li class="option" th:each="uiCode : ${recordUnit}"
|
||||
th:data-value="${uiCode.codeValue}"
|
||||
th:data-value="${uiCode.id}"
|
||||
th:text="${uiCode.codeText}"
|
||||
th:selected="${uiCode.codeValue eq detail.unitCode ? 'current' : ''}"
|
||||
th:selected="${uiCode.id eq detail.unitCode ? 'current' : ''}"
|
||||
></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
<ul class="">
|
||||
<li class="option"
|
||||
th:each="uiCode : ${recordCrop}"
|
||||
th:data-value="${uiCode.codeValue}"
|
||||
th:data-value="${uiCode.id}"
|
||||
th:text="${uiCode.codeText}"></li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -107,9 +107,8 @@
|
||||
<ul class="">
|
||||
<li class="option"
|
||||
th:each="uiCode : ${recordIncome}"
|
||||
th:data-value="${uiCode.codeValue}"
|
||||
th:data-value="${uiCode.id}"
|
||||
th:text="${uiCode.codeText}"></li>
|
||||
<li class="option" data-value="SELF">직접 입력</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@@ -173,9 +172,9 @@
|
||||
<div class="select-scroll">
|
||||
<ul class="">
|
||||
<li class="option" th:each="uiCode : ${recordUnit}"
|
||||
th:data-value="${uiCode.codeValue}"
|
||||
th:data-value="${uiCode.id}"
|
||||
th:text="${uiCode.codeText}"
|
||||
th:selected="${uiCode.codeValue eq detail.unitCode ? 'current' : ''}"
|
||||
th:selected="${uiCode.id eq detail.unitCode ? 'current' : ''}"
|
||||
></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user