Explorar el Código

Merge branch 'dev-lqc' into test

lqc hace 4 años
padre
commit
76c680ebe2

+ 4 - 1
src/main/java/com/mokamrp/privates/service/pangu/impl/FosterwxCashScheduleTaskListServiceImpl.java

@@ -150,7 +150,10 @@ public class FosterwxCashScheduleTaskListServiceImpl extends ServiceImpl<Fosterw
             fosterwxCashScheduleTaskList.setSendUrl("");
 
             if (fosterwxCashScheduleTaskList.getTaskType() == 1) {
-                Object obj = coralApiService.getBoxInfo(fosterwxCashScheduleTaskList.getBoxGhid());
+                Object obj = null;
+                if (null != fosterwxCashScheduleTaskList.getBoxGhid() && !fosterwxCashScheduleTaskList.getBoxGhid().isEmpty()) {
+                    obj = coralApiService.getBoxInfo(fosterwxCashScheduleTaskList.getBoxGhid());
+                }
                 if (obj == null)
                     throw new Exception("小程序:" + fosterwxCashScheduleTaskList.getBoxGhid() + "无法从珊瑚云获取信息,请录入");
                 fosterwxCashScheduleTaskList.setBoxInfo(obj);