diff --git a/src/main/resources/mapper/szwh/AccountRatioSettingMapper.xml b/src/main/resources/mapper/szwh/AccountRatioSettingMapper.xml
index cf42e0d..1b8b2b1 100644
--- a/src/main/resources/mapper/szwh/AccountRatioSettingMapper.xml
+++ b/src/main/resources/mapper/szwh/AccountRatioSettingMapper.xml
@@ -23,7 +23,7 @@
from
- where status=1 and is_delete=0
+ where status=1 and is_deleted=0
limit 1;
diff --git a/src/test/java/cn/chjyj/szwh/OtherTest.java b/src/test/java/cn/chjyj/szwh/OtherTest.java
index 93dc711..5014c49 100644
--- a/src/test/java/cn/chjyj/szwh/OtherTest.java
+++ b/src/test/java/cn/chjyj/szwh/OtherTest.java
@@ -3,6 +3,7 @@ package cn.chjyj.szwh;
import cn.chjyj.szwh.utils.RedisKeys;
import cn.chjyj.szwh.utils.RedisUtil;
import cn.chjyj.szwh.utils.RedisUtils;
+import cn.chjyj.szwh.utils.SzCarUtils;
import com.alibaba.fastjson2.JSONArray;
import com.alibaba.fastjson2.JSONObject;
import org.junit.Test;
@@ -75,4 +76,15 @@ public class OtherTest {
System.out.println(jsonArray.get(a));
}
}
+
+ /**
+ * 测试购物车
+ */
+ @Test
+ public void getCarInfoTest(){
+ String useris="899998-000000001640-3";
+ String key="car_"+useris;
+ Map mp =SzCarUtils.getCar(key);
+ System.out.println(mp);
+ }
}