mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 03:55:17 +08:00
update 加缓存
This commit is contained in:
@@ -89,19 +89,23 @@ public class BillingTemplateVO {
|
||||
.toString();
|
||||
}
|
||||
|
||||
public Map<Integer, List<String>> getTimeMap() {
|
||||
Map<Integer, List<String>> resultMap = Maps.newHashMap();
|
||||
public Map<String, List<String>> getTimeMap() {
|
||||
Map<String, List<String>> resultMap = Maps.newHashMap();
|
||||
if (StringUtils.isNotBlank(this.getSharpApplyDate())) {
|
||||
resultMap.put(0x00, Lists.newArrayList(this.getSharpApplyDate().split(",")));
|
||||
// resultMap.put(0x00, Lists.newArrayList(this.getSharpApplyDate().split(",")));
|
||||
resultMap.put("00", Lists.newArrayList(this.getSharpApplyDate().split(",")));
|
||||
}
|
||||
if (StringUtils.isNotBlank(this.getPeakApplyDate())) {
|
||||
resultMap.put(0x01, Lists.newArrayList(this.getPeakApplyDate().split(",")));
|
||||
// resultMap.put(0x01, Lists.newArrayList(this.getPeakApplyDate().split(",")));
|
||||
resultMap.put("01", Lists.newArrayList(this.getPeakApplyDate().split(",")));
|
||||
}
|
||||
if (StringUtils.isNotBlank(this.getFlatApplyDate())) {
|
||||
resultMap.put(0x02, Lists.newArrayList(this.getFlatApplyDate().split(",")));
|
||||
// resultMap.put(0x02, Lists.newArrayList(this.getFlatApplyDate().split(",")));
|
||||
resultMap.put("02", Lists.newArrayList(this.getFlatApplyDate().split(",")));
|
||||
}
|
||||
if (StringUtils.isNotBlank(this.getValleyApplyDate())) {
|
||||
resultMap.put(0x03, Lists.newArrayList(this.getValleyApplyDate().split(",")));
|
||||
// resultMap.put(0x03, Lists.newArrayList(this.getValleyApplyDate().split(",")));
|
||||
resultMap.put("03", Lists.newArrayList(this.getValleyApplyDate().split(",")));
|
||||
}
|
||||
return resultMap;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user