|
@@ -5,6 +5,7 @@ import cn.hutool.core.util.StrUtil;
|
|
|
import com.fdkankan.common.constant.CommonSuccessStatus;
|
|
|
import com.fdkankan.common.constant.ErrorCode;
|
|
|
import com.fdkankan.common.constant.SceneStatus;
|
|
|
+import com.fdkankan.common.constant.ServerCode;
|
|
|
import com.fdkankan.common.exception.BusinessException;
|
|
|
import com.fdkankan.common.util.CmdUtils;
|
|
|
import com.fdkankan.contro.dto.UploadSceneDTO;
|
|
@@ -44,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(ErrorCode.PARAM_REQUIRED.code(), "taskId和kNo不能同时为空");
|
|
|
+ throw new BusinessException(ServerCode.PARAM_REQUIRED.code(), ServerCode.PARAM_REQUIRED.formatMessage("taskId和kNo不能同时为空"));
|
|
|
}
|
|
|
|
|
|
SceneOrigBd sceneOrigBd = new SceneOrigBd();
|