解决新建订单时,订单Id使用使用了address Id的问题
Signed-off-by: plimlips <156839224@qq.com>
This commit is contained in:
parent
dbf237a1f3
commit
453669c7d9
@ -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"),
|
||||||
|
Loading…
Reference in New Issue
Block a user