平武3505A错误提示优化

scpwxyy
qiuyt 8 months ago
parent ca86297063
commit c2b737b90f

@ -1615,7 +1615,7 @@ public class ScpwxyyClient extends CommonHttpClient {
} else if (matchBusType(busType, buyType_3502)) {
optionUploadCollectOrder3502(ioCollectOrder);
} else if (matchBusType(busType, buyType_3505)) {
optionUploadCollectOrder3505(ioCollectOrder);
return optionUploadCollectOrder3505(ioCollectOrder);
} else if (matchBusType(busType, buyType_3506)) {
optionUploadCollectOrder3506(ioCollectOrder);
} else {
@ -1878,7 +1878,7 @@ public class ScpwxyyClient extends CommonHttpClient {
return ybClient.ybPostScyh("3505A", dataJson);
} else {
return ResultVOUtils.error(500, "未上传医保视图数据查不到");
return ResultVOUtils.error(500, "医保视图数据查不到,请核实");
}
}

@ -23,6 +23,7 @@ import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.net.ConnectException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Map;
@ -172,7 +173,11 @@ public class YbClient {
);
}catch (Exception e) {
return ResultVOUtils.error(500, "第三方医保签到失败!!"+e.getMessage());
if(e.getMessage().contains("Connection timed ou")){
return ResultVOUtils.error(500, "第三方医保签到失败==="+"连接超时");
}
return ResultVOUtils.error(500, "第三方医保签到失败==="+e.getMessage());
}
// .eq("","")
@ -191,7 +196,11 @@ public class YbClient {
return ResultVOUtils.success("上传医保结果===" + json);
}catch (Exception e){
return ResultVOUtils.error(500, "上传医保失败!!"+e.getMessage());
if(e.getMessage().contains("Connection timed ou")){
return ResultVOUtils.error(500, "上传医保失败==="+"连接超时");
}
return ResultVOUtils.error(500, "上传医保失败==="+e.getMessage());
}
//

Loading…
Cancel
Save