Showing
1 changed file
with
5 additions
and
1 deletions
@@ -166,7 +166,11 @@ public class DepositServiceImpl implements DepositService { | @@ -166,7 +166,11 @@ public class DepositServiceImpl implements DepositService { | ||
166 | bo.setFlashMinPrice(least == null ? "" : least.toString()); | 166 | bo.setFlashMinPrice(least == null ? "" : least.toString()); |
167 | bo.setDepositCode(depo.getDepositCode()); | 167 | bo.setDepositCode(depo.getDepositCode()); |
168 | } | 168 | } |
169 | - bo.setButtons(Arrays.asList(ButtonShowBo.back(), /*ButtonShowBo.addDepositDays(),*/ depo.getOrderStatus() == 0 ? ButtonShowBo.grounding() : ButtonShowBo.detail("详情"))); | 169 | + if(depo.getOrderStatus() == 0) { |
170 | + bo.setButtons(Arrays.asList(ButtonShowBo.back(), /*ButtonShowBo.addDepositDays(),*/ depo.getOrderStatus() == 0 ? ButtonShowBo.grounding() : ButtonShowBo.detail("详情"))); | ||
171 | + } else { | ||
172 | + bo.setButtons(Arrays.asList(/*ButtonShowBo.addDepositDays(),*/ depo.getOrderStatus() == 0 ? ButtonShowBo.grounding() : ButtonShowBo.detail("详情"))); | ||
173 | + } | ||
170 | result.add(bo); | 174 | result.add(bo); |
171 | } | 175 | } |
172 | PageResp resp = new PageResp(); | 176 | PageResp resp = new PageResp(); |
-
Please register or login to post a comment