From 6cc97918a5a42e37a3c3867cc5b78a0b9fd43a24 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期五, 29 四月 2022 19:55:41 +0800 Subject: [PATCH] 功能完善 --- app/src/main/java/com/yeshi/makemoney/app/vo/admin/goldcorn/GoldCornGetPriceAdminVO.java | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/app/src/main/java/com/yeshi/makemoney/app/vo/admin/goldcorn/GoldCornGetPriceAdminVO.java b/app/src/main/java/com/yeshi/makemoney/app/vo/admin/goldcorn/GoldCornGetPriceAdminVO.java index 3546bbb..8701823 100644 --- a/app/src/main/java/com/yeshi/makemoney/app/vo/admin/goldcorn/GoldCornGetPriceAdminVO.java +++ b/app/src/main/java/com/yeshi/makemoney/app/vo/admin/goldcorn/GoldCornGetPriceAdminVO.java @@ -3,6 +3,7 @@ import com.yeshi.makemoney.app.entity.SystemEnum; import com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetPrice; import com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetType; +import com.yeshi.makemoney.app.entity.goldcorn.GoldCornPriceCountType; import org.yeshi.utils.TimeUtil; import java.math.BigDecimal; @@ -18,6 +19,7 @@ private String id; private GoldCornGetType type; + private GoldCornPriceCountType countType; private Integer cornNum; private String validateTime; private BigDecimal teamGainRate; @@ -33,6 +35,7 @@ entity.setTeamDivide("on".equalsIgnoreCase(teamDivide) ? true : false); entity.setSystem(system); entity.setType(type); + entity.setCountType(countType); entity.setValidateTime(new Date(TimeUtil.convertToTimeTemp(validateTime, "yyyy-MM-dd HH:mm:ss"))); return entity; } @@ -46,6 +49,7 @@ vo.setType(entity.getType()); vo.setTeamDivide(entity.getTeamDivide() ? "on" : null); vo.setTeamGainRate(entity.getTeamGainRate()); + vo.setCountType(entity.getCountType()); vo.setValidateTime(TimeUtil.getGernalTime(entity.getValidateTime().getTime(), "yyyy-MM-dd HH:mm:ss")); return vo; } @@ -105,4 +109,12 @@ public void setTeamDivide(String teamDivide) { this.teamDivide = teamDivide; } + + public GoldCornPriceCountType getCountType() { + return countType; + } + + public void setCountType(GoldCornPriceCountType countType) { + this.countType = countType; + } } -- Gitblit v1.8.0