diff --git a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/MatDeliverController.java b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/MatDeliverController.java index 28a3d01..18aa672 100644 --- a/platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/MatDeliverController.java +++ b/platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/MatDeliverController.java @@ -360,16 +360,20 @@ public class MatDeliverController extends BaseController{ String y = ""; Map amy = queryModel.getMyzd(); if(null != amy && amy.size() > 0){ - if(true == (boolean)amy.get("0")){ - a = "√"; + if(null != amy.get("0")){ + if(true == (boolean)amy.get("0")){ + a = "√"; + } } - - if(true == (boolean)amy.get("1")){ - m = "√"; + if(null != amy.get("1")){ + if(true == (boolean)amy.get("1")){ + m = "√"; + } } - - if(true == (boolean)amy.get("2")){ - y = "√"; + if(null != amy.get("2")){ + if(true == (boolean)amy.get("2")){ + y = "√"; + } } } map.put("A",a);