dengsixing hai 6 meses
pai
achega
cce24cd1b2

+ 1 - 1
src/main/java/com/fdkankan/contro/service/impl/HaixinServiceImpl.java

@@ -45,7 +45,7 @@ public class HaixinServiceImpl implements IHaixinService {
         String taskId = dto.getTaskId();
         String kNo = dto.getKNo();
         if(StrUtil.isEmpty(taskId) && StrUtil.isEmpty(kNo)){
-            throw new BusinessException(ServerCode.PARAM_REQUIRED.code(), ServerCode.PARAM_REQUIRED.formatMessage("taskId和kNo不能同时为空"));
+            return ResultData.error(ServerCode.PARAM_REQUIRED.code(), ServerCode.PARAM_REQUIRED.formatMessage("taskId和kNo不能同时为空"));
         }
 
         SceneOrigBd sceneOrigBd = new SceneOrigBd();