Compare commits

...

2 Commits

Author SHA1 Message Date
gaowdong 144559884a Merge remote-tracking branch 'origin/master' 2025-04-18 16:22:57 +08:00
gaowdong db1cb776fc 设备订单支付方式 2025-04-18 16:22:50 +08:00
2 changed files with 3 additions and 0 deletions

View File

@ -284,6 +284,7 @@ public class OrderInfo extends BaseEntity
orderInfo.setDeviceOrderId(StringUtils.defaultString(orderInfoAddParam.getDeviceOrderId(), StringUtils.EMPTY));
orderInfo.setDeviceSn(StringUtils.defaultString(orderInfoAddParam.getDeviceSn(), StringUtils.EMPTY));
orderInfo.setDeviceNum(StringUtils.defaultString(orderInfoAddParam.getDeviceNum(), StringUtils.EMPTY));
orderInfo.setIdentityVerification(orderInfoAddParam.getIdentityVerification());
orderInfo.setUserId(param.getUserId());
orderInfo.setPayableAmount(param.getPayableAmount());
orderInfo.setRealAmount(param.getRealAmount());

View File

@ -30,6 +30,8 @@ public class DeviceOrderInfoAddParam {
private String deviceSn;
@NotNull(message = "设备编号不能为空")
private String deviceNum;
@NotNull(message = "核身方式不能为空")
private Integer identityVerification;
@Valid
private List<DeviceOrderDetailInfoAddParam> orderDetailList;
}