处理金额变动类型

This commit is contained in:
TinyAnts 2023-04-03 11:33:38 +08:00
parent d96bd7c3e5
commit c96b3c210b
1 changed files with 3 additions and 5 deletions

View File

@ -67,14 +67,12 @@ public enum LogMoneyEnum {
* @author fzr
* @return String
*/
public static List<Map<Integer, String>> getTypeList(){
List<Map<Integer, String>> list = new LinkedList<>();
public static Map<Integer, String> getTypeList(){
Map<Integer, String> map = new LinkedHashMap<>();
for(LogMoneyEnum enumItem : LogMoneyEnum.values()) {
Map<Integer, String> map = new LinkedHashMap<>();
map.put(enumItem.getCode(), enumItem.getMsg());
list.add(map);
}
return list;
return map;
}
}