改为set

dev_0531
yechenhao 5 years ago
parent f51ce39cab
commit 0b667f4acb

@ -682,7 +682,7 @@ public class RedisUtil {
for (OpSellerCustomerRelation opCustomer : dataList) { for (OpSellerCustomerRelation opCustomer : dataList) {
// "KEY_VAIL_CUSTOMER", opCustomer.getId() // "KEY_VAIL_CUSTOMER", opCustomer.getId()
String str = opCustomer.getId() + ""; String str = opCustomer.getId() + "";
connection.set("KEY_VAIL_CUSTOMER".getBytes(), str.getBytes()); connection.sAdd("KEY_VAIL_CUSTOMER".getBytes(), str.getBytes());
} }
return null; return null;
} }

Loading…
Cancel
Save