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