1.代客下单 specSnap为null fix
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user