## 安置关系转换判断为null;

This commit is contained in:
cabbage 2025-10-07 10:39:34 +08:00
parent 575b453245
commit a6894a0f89
1 changed files with 4 additions and 1 deletions

View File

@ -40,7 +40,10 @@ public enum EPlaceDept {
*/
private final String key;
public static String getEPlaceDept(int value) {
public static String getEPlaceDept(Integer value) {
if (null == value) {
return "";
}
for (EPlaceDept ePlaceDept : EPlaceDept.values()) {
if (ePlaceDept.value == value) {
return ePlaceDept.label;