lyhzzz 4 місяців тому
батько
коміт
24abc469ea

+ 4 - 1
doc/update-2.9.0.sql

@@ -1,4 +1,7 @@
 ALTER TABLE `4dkankan_v4`.`t_authorize_camera`
     ADD COLUMN `amount` decimal(15, 2) NULL AFTER `update_time`,
     ADD COLUMN `currency_symbol` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT 'CNY' AFTER `amount`,
-    ADD COLUMN `order_sn` varchar(255) NULL AFTER `currency_symbol`;
+    ADD COLUMN `order_sn` varchar(255) NULL AFTER `currency_symbol`;
+
+
+update t_rtk_device set rtk_type = 1 WHERE rtk_type = 0 ;

+ 4 - 4
src/main/java/com/fdkankan/manage/vo/response/OrderVoStatus.java

@@ -7,13 +7,13 @@ public class OrderVoStatus {
 
     public static String getPayStatus(String payStatus, String customerPayTime, Integer useType) {
         if(payStatus == null){
-            return "-";
+            return "";
         }
         if(StringUtils.isBlank(customerPayTime)){
-            return "-";
+            return "";
         }
         if(useType != null && useType == 3){
-            return "-";
+            return "";
         }
         switch (payStatus){
             case "-1" :
@@ -21,7 +21,7 @@ public class OrderVoStatus {
                 return "未付款";
             case "-2" : return "已退款";
             case "1" : return "已付款";
-            default: return "-";
+            default: return "";
         }
     }