1.代客下单 specSnap为null fix

This commit is contained in:
2024-08-27 15:53:38 +08:00
parent 4929e467ab
commit 2e5cc6ab92

View File

@@ -772,7 +772,7 @@ public class TbProductServiceImpl implements TbProductService {
for (String res : result) {
boolean found = false;
for (Map<String, Object> spec : specList) {
if (res.equals(spec.get("specSnap").toString())) {
if (spec.get("specSnap")!= null && res.equals(spec.get("specSnap").toString())) {
spec.put("isGrounding", true);
found = true;
break;