czt
2025-12-03 53fab3f56e8335fbf39fc07c4e10f6abdb0505bb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.fzzy.igds.constant;
 
import java.util.HashMap;
import java.util.Map;
 
/**
 * @Description 粮食性质枚举
 * @Author CZT
 * @Date 2025/11/25 14:28
 */
public class FoodType {
 
    /**
     * 用于存放粮类型code -name
     */
    public static Map<String, String> mapFoodType = new HashMap<>();
 
    public static String getMsg(String code) {
        if (null == code) {
            return "";
        }
        return mapFoodType.get(code);
    }
}