song 1 week ago
parent
commit
3b89018556

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

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