提交代码

2.0-dev
胡锐 4 months ago
parent 3e6f3eba34
commit 19b41eba1d
  1. 5
      hai-order/src/main/java/com/web/controller/OrderController.java

@ -136,10 +136,11 @@ public class OrderController {
}
} else if (childModel.getGoodsType().equals(OrderChildGoodsType.TYPE3.getNumber())) {
if (childModel.getGoodsPrice() == null || childModel.getGasOilNo() == null || childModel.getGasGunNo() == null) {
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "此平台已暂停加油交易,请前往新平台。微信小程序搜索:嗨森逛");
/* if (childModel.getGoodsPrice() == null || childModel.getGasOilNo() == null || childModel.getGasGunNo() == null) {
log.error("OrderController -> create() error!","");
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, "未填写加油信息;加油金额、油号、抢号");
}
}*/
} else if (childModel.getGoodsType().equals(OrderChildGoodsType.TYPE6.getNumber())) {
if (childModel.getRechargeContent() == null) {
log.error("OrderController -> create() error!","");

Loading…
Cancel
Save