道具券icon
This commit is contained in:
parent
af59e3588e
commit
f9b4d8468a
@ -113,6 +113,7 @@ public class PropCouponSendCmdExe {
|
||||
recordDO.setUserId(senderId);
|
||||
recordDO.setCouponType(propCoupon.getCouponType().getCode());
|
||||
recordDO.setPropId(propCoupon.getPropId());
|
||||
recordDO.setPropIcon(propCoupon.getPropIcon());
|
||||
recordDO.setPropName(propCoupon.getPropName());
|
||||
recordDO.setValidDays(propCoupon.getValidDays());
|
||||
recordDO.setActionType(2); // 2-赠送
|
||||
|
||||
@ -277,6 +277,7 @@ public class PropCouponUseCmdExe {
|
||||
recordDO.setUserId(userId);
|
||||
recordDO.setCouponType(propCoupon.getCouponType().getCode());
|
||||
recordDO.setPropId(propCoupon.getPropId());
|
||||
recordDO.setPropIcon(propCoupon.getPropIcon());
|
||||
recordDO.setPropName(propCoupon.getPropName());
|
||||
recordDO.setValidDays(propCoupon.getValidDays());
|
||||
recordDO.setActionType(1); // 1-使用
|
||||
|
||||
@ -33,6 +33,7 @@ public class PropCouponConvertor {
|
||||
co.setCouponTypeName(propCoupon.getCouponType().getDesc());
|
||||
co.setPropId(propCoupon.getPropId());
|
||||
co.setPropName(propCoupon.getPropName());
|
||||
co.setPropIcon(propCoupon.getPropIcon());
|
||||
co.setValidDays(propCoupon.getValidDays());
|
||||
co.setStatus(propCoupon.getStatus().getCode());
|
||||
co.setStatusName(propCoupon.getStatus().getDesc());
|
||||
@ -108,6 +109,7 @@ public class PropCouponConvertor {
|
||||
}
|
||||
|
||||
co.setPropId(recordDO.getPropId());
|
||||
co.setPropIcon(recordDO.getPropIcon());
|
||||
co.setPropName(recordDO.getPropName());
|
||||
co.setValidDays(recordDO.getValidDays());
|
||||
co.setActionType(recordDO.getActionType());
|
||||
|
||||
@ -40,6 +40,12 @@ public class PropCouponRecordCO {
|
||||
*/
|
||||
private Long propId;
|
||||
|
||||
|
||||
/**
|
||||
* 道具图标
|
||||
*/
|
||||
private String propIcon;
|
||||
|
||||
/**
|
||||
* 道具名称
|
||||
*/
|
||||
|
||||
@ -38,6 +38,12 @@ public class PropCoupon {
|
||||
*/
|
||||
private Long propId;
|
||||
|
||||
|
||||
/**
|
||||
* 道具图标
|
||||
*/
|
||||
private String propIcon;
|
||||
|
||||
/**
|
||||
* 道具名称
|
||||
*/
|
||||
|
||||
@ -44,6 +44,11 @@ public class PropCouponUseRecordDO {
|
||||
private Long propId;
|
||||
|
||||
/**
|
||||
* 道具图标
|
||||
*/
|
||||
private String propIcon;
|
||||
|
||||
/**
|
||||
* 道具名称
|
||||
*/
|
||||
private String propName;
|
||||
|
||||
@ -134,6 +134,7 @@ public class PropCouponGatewayImpl implements PropCouponGateway {
|
||||
propCoupon.setUserId(propCouponDO.getUserId());
|
||||
propCoupon.setCouponType(PropCouponType.getByCode(propCouponDO.getCouponType()));
|
||||
propCoupon.setPropId(propCouponDO.getPropId());
|
||||
propCoupon.setPropIcon(propCouponDO.getPropIcon());
|
||||
propCoupon.setPropName(propCouponDO.getPropName());
|
||||
propCoupon.setValidDays(propCouponDO.getValidDays());
|
||||
propCoupon.setStatus(PropCouponStatus.getByCode(propCouponDO.getStatus()));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user