Compare commits
3 Commits
624ccfb50a
...
e5615a0068
| Author | SHA1 | Date | |
|---|---|---|---|
| e5615a0068 | |||
| e366c682a2 | |||
| e5850ebf64 |
@@ -0,0 +1,18 @@
|
|||||||
|
package com.seeyon.apps.src_leasebill.config;
|
||||||
|
|
||||||
|
import com.seeyon.aicloud.common.JsonUtils;
|
||||||
|
import com.seeyon.apps.src_leasebill.constant.LeaseBillConstant;
|
||||||
|
import com.seeyon.ctp.common.AppContext;
|
||||||
|
|
||||||
|
import java.util.Map;
|
||||||
|
|
||||||
|
public class FieldDisplayNameQueryService {
|
||||||
|
|
||||||
|
private LeaseBillConfigProvider configProvider = (LeaseBillConfigProvider) AppContext.getBean("leaseBillConfigProvider");
|
||||||
|
|
||||||
|
public String getDisplayName(String fieldName) {
|
||||||
|
String jsonStr = configProvider.getBizConfigByKey(LeaseBillConstant.fieldDisplayMap);
|
||||||
|
Map<String,String> map = (Map<String,String>)JsonUtils.parseObject(jsonStr, Map.class);
|
||||||
|
return map.get(fieldName);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Before Width: | Height: | Size: 101 KiB After Width: | Height: | Size: 101 KiB |
@@ -81,19 +81,19 @@
|
|||||||
if(targetObj[key].display === "年缴费方案选项") {
|
if(targetObj[key].display === "年缴费方案选项") {
|
||||||
njiaofeifs = targetObj[key].showValue
|
njiaofeifs = targetObj[key].showValue
|
||||||
}
|
}
|
||||||
if(targetObj[key].display === "实租单价") {
|
if(targetObj[key].display === "租赁单价") {
|
||||||
mjzj = targetObj[key].showValue
|
mjzj = targetObj[key].showValue
|
||||||
}
|
}
|
||||||
if(targetObj[key].display === "固定租金标准") {
|
if(targetObj[key].display === "固定租金标准") {
|
||||||
gdzj = targetObj[key].showValue
|
gdzj = targetObj[key].showValue
|
||||||
}
|
}
|
||||||
if(targetObj[key].display === "计租开始日期") {
|
if(targetObj[key].display === "计租日期") {
|
||||||
startDate = targetObj[key].showValue
|
startDate = targetObj[key].showValue
|
||||||
}
|
}
|
||||||
if(targetObj[key].display === "合同截止日期") {
|
if(targetObj[key].display === "合同截止日期") {
|
||||||
endDate = targetObj[key].showValue
|
endDate = targetObj[key].showValue
|
||||||
}
|
}
|
||||||
if(targetObj[key].display === "租赁总面积") {
|
if(targetObj[key].display === "租赁面积") {
|
||||||
mj = targetObj[key].showValue
|
mj = targetObj[key].showValue
|
||||||
}
|
}
|
||||||
if(targetObj[key].display === "账单编号") {
|
if(targetObj[key].display === "账单编号") {
|
||||||
Reference in New Issue
Block a user