解决新建订单时,订单Id使用使用了address Id的问题

Signed-off-by: plimlips <156839224@qq.com>
This commit is contained in:
plimlips 2022-11-20 14:18:13 +00:00 committed by Gitee
parent dbf237a1f3
commit 453669c7d9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -30,6 +30,7 @@ public interface TradeOrderConvert {
TradeOrderConvert INSTANCE = Mappers.getMapper(TradeOrderConvert.class); TradeOrderConvert INSTANCE = Mappers.getMapper(TradeOrderConvert.class);
@Mappings({ @Mappings({
@Mapping(target = "id", ignore = true),
@Mapping(source = "createReqVO.couponId", target = "couponId"), @Mapping(source = "createReqVO.couponId", target = "couponId"),
@Mapping(target = "remark", ignore = true), @Mapping(target = "remark", ignore = true),
@Mapping(source = "createReqVO.remark", target = "userRemark"), @Mapping(source = "createReqVO.remark", target = "userRemark"),