song 1 week ago
parent
commit
3b89018556
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/main/java/com/dashitech/callcenter/socket/HandlerThread.java

+ 3 - 2
src/main/java/com/dashitech/callcenter/socket/HandlerThread.java

@@ -78,7 +78,7 @@ public class HandlerThread  {
78 78
 
79 79
     private static IHsmsDepartmentDAO hsmsDepartmentDAO;
80 80
     @Autowired
81
-    public static void setHsmsDepartmentDAO(IHsmsDepartmentDAO hsmsDepartmentDAO) {
81
+    public void setHsmsDepartmentDAO(IHsmsDepartmentDAO hsmsDepartmentDAO) {
82 82
         HandlerThread.hsmsDepartmentDAO = hsmsDepartmentDAO;
83 83
     }
84 84
 
@@ -453,7 +453,7 @@ public class HandlerThread  {
453 453
         }
454 454
     }
455 455
 
456
-    private void getDeptByDTMFA(String phone,CallLogEntity callLog){
456
+    public void getDeptByDTMFA(String phone,CallLogEntity callLog){
457 457
         try {
458 458
             if (StringUtils.isNotBlank(phone)){
459 459
                 //给来电科室赋值
@@ -669,4 +669,5 @@ public class HandlerThread  {
669 669
     public static void main(String[] args) {
670 670
         System.out.println(System.currentTimeMillis() / 1000);
671 671
     }
672
+
672 673
 }