|
@@ -131,7 +131,11 @@ public class SetlListUpldService {
|
|
|
dao.fanHuiLiuShuiHao(result.getJSONObject(OUTPUT).getString("setl_list_id"), upldCollection.getData().getSetlinfo().getSetlId());
|
|
|
return ResultVoUtil.success(ExceptionEnum.SUCCESS, "上传成功");
|
|
|
}
|
|
|
- return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, String.format("医保中心报错:【%s】 ", result.getString("err_msg")));
|
|
|
+ String errMsg = result.getString("err_msg");
|
|
|
+ if (errMsg.length() > 9999) {
|
|
|
+ errMsg = "字符超长自动截取" + errMsg.substring(0, 9999);
|
|
|
+ }
|
|
|
+ return ResultVoUtil.fail(ExceptionEnum.LOGICAL_ERROR, String.format("医保中心报错的:【%s】 ", errMsg));
|
|
|
}
|
|
|
|
|
|
/**
|