ソースを参照

提交null判断

夏文涛 2 年 前
コミット
2bbbafc254

+ 1 - 1
mhotel/src/com/happy/service/impl/BookingComplaintImplService.java

@@ -130,7 +130,7 @@ public class BookingComplaintImplService implements BookingComplaintService {
             for (ComplaintPageVo vo : vos) {
                 String valueBykey = vo.getOrderStatus() == null ? "" : PayEnum.getValueBykey(Integer.valueOf(vo.getOrderStatus()));
                 vo.setOrderStatus(valueBykey);
-                String valueBykey1 = ProgressEnum.getValueBykey(Integer.valueOf(vo.getProgressType()));
+                String valueBykey1 = vo.getProgressType() == null ? "" : ProgressEnum.getValueBykey(Integer.valueOf(vo.getProgressType()));
                 vo.setProgressType(valueBykey1);
 
             }