Browse Source

no message

FengChaoYu 1 week ago
parent
commit
0c6b41fe7c

+ 1 - 1
mall-server-api/src/main/java/com/gree/mall/manager/logic/workorder/OrderBaseLogic.java

@@ -175,7 +175,7 @@ public class OrderBaseLogic {
             sqlBase = "pg_order_base2023";
         }
 
-        if (year.equals("2022") || Convert.toInt(year) < 2022) {
+        if (year.equals("2022") || (StringUtils.isNotBlank(year) && Convert.toInt(year) < 2022)) {
             sqlBase = "pg_order_base2022";
         }