xie.kaifeng 7 meses atrás
pai
commit
c7cba57a73

+ 3 - 3
mtp3-century/src/main/java/com/muchinfo/mtp3century/service/impl/OrderQueryServiceImpl.java

@@ -75,7 +75,7 @@ public class OrderQueryServiceImpl implements IOrderQueryService {
             if (CollectionUtils.isNotEmpty(redisData)) {
                 for (HolderDetailExRedisVo vo : redisData) {
                     if (vo != null && vo.getTradeid() != null && vo.getTradeid().equals(a.getTradeid())) {
-                        a.setDepositratedisplay(new BigDecimal(vo.getDepositratedisplay()));
+                        a.setDepositratedisplay(vo.getDepositratedisplay());
                     }
                 }
             }
@@ -99,7 +99,7 @@ public class OrderQueryServiceImpl implements IOrderQueryService {
         if (CollectionUtils.isNotEmpty(redisData)) {
             for (HolderDetailExRedisVo vo : redisData) {
                 if (vo != null && vo.getTradeid() != null && vo.getTradeid().equals(result.get(0).getTradeid())) {
-                    result.get(0).setDepositratedisplay(new BigDecimal(vo.getDepositratedisplay()));
+                    result.get(0).setDepositratedisplay(vo.getDepositratedisplay());
                 }
             }
         }
@@ -151,7 +151,7 @@ public class OrderQueryServiceImpl implements IOrderQueryService {
                 if (CollectionUtils.isNotEmpty(redisData)) {
                     for (HolderDetailExRedisVo vo : redisData) {
                         if (vo != null && vo.getTradeid() != null && vo.getTradeid().equals(a.getTradeid())) {
-                            a.setDepositratedisplay(new BigDecimal(vo.getDepositratedisplay()));
+                            a.setDepositratedisplay(vo.getDepositratedisplay());
                         }
                     }
                 }

+ 1 - 1
mtp3-pojos/src/main/java/com/muchinfo/mtp3pojos/vo/query/order/OrderQueryResult.java

@@ -67,7 +67,7 @@ public class OrderQueryResult {
     @ExcelProperty("风险率")
     @ColumnWidth(20)
     @ApiModelProperty(value = "风险率")
-    private BigDecimal depositratedisplay;
+    private String depositratedisplay;
 
     @ExcelProperty("订单金额")
     @ColumnWidth(20)