## 安置关系转换判断为null;
This commit is contained in:
parent
c1ff5562ef
commit
2df7a24e01
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue