组织排队开关,新增用户司机同步yms,oms预约单修改

This commit is contained in:
赵辉
2026-05-21 15:15:49 +08:00
parent a29ac3050e
commit 4f03f56126
26 changed files with 465 additions and 7 deletions
@@ -62,6 +62,9 @@ public class OmsCargoInfoDTO implements Serializable {
@ApiModelProperty("体积")
private BigDecimal materialVolume;
@ApiModelProperty("货物体积")
private BigDecimal cargoVolume;
@ApiModelProperty("内容")
private String cargoContent;
@@ -480,6 +480,9 @@ public class OmsOrderAddDTO implements Serializable {
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
private java.util.Date documentDate;
@ApiModelProperty(value = "预约单类型")
private Integer orderType;
@ApiModelProperty("费用科目明细")
private List<OmsOrderAccount> tmsOrderAccountList;
@@ -236,7 +236,12 @@ public class ResevationOrderApi extends BaseController{
} catch (Exception e) {
e.printStackTrace();
return Result.error("取消预约失败:" + e.getMessage());
String errorMsg = e.getMessage();
// 移除错误消息中的换行符及后面的无用信息
if (errorMsg != null && errorMsg.contains("\n[ErrorCode]:")) {
errorMsg = errorMsg.substring(0, errorMsg.indexOf("\n[ErrorCode]:"));
}
return Result.error("取消预约失败:" + errorMsg);
}
}