Browse Source

模具询价角色信息错误处理

hejq 7 years ago
parent
commit
be74019d2b

+ 1 - 1
src/main/java/com/uas/platform/b2b/controller/SnapshotController.java

@@ -107,7 +107,7 @@ public class SnapshotController {
 		}).task(() -> {
             //客户模具询价
             SystemSession.setUser(user);
-            Map<String, Integer> count = redDotService.getInquiryMouldCount("sale");
+            Map<String, Integer> count = redDotService.getInquiryMouldCount(Role.SELLER);
             hashMap.put("mould", count.containsKey("all") ? count.get("all") : 0);
             SystemSession.clear();
 		}).task(() -> {