Przeglądaj źródła

外呼系统开发

anderx 1 rok temu
rodzic
commit
076f1f51dd

+ 1 - 1
src/main/java/com/goafanti/common/controller/PublicController.java

@@ -986,6 +986,6 @@ public class PublicController extends CertifyApiController {
 	@ResponseBody
 	public Result callCompleted(@RequestBody InputCallCompleter in) {
 		System.out.println(in);
-		return new Result<>().data(userOutboundService.pushcallCompleted(in));
+		return new Result<>().data(userOutboundService.pushCallCompleted(in));
 	}
 }

+ 1 - 1
src/main/java/com/goafanti/customer/service/UserOutboundService.java

@@ -11,7 +11,7 @@ public interface UserOutboundService {
 
     Result blindTransferByAgent(InputCallNumber in);
 
-    Object pushcallCompleted(InputCallCompleter in);
+    Object pushCallCompleted(InputCallCompleter in);
 
     Object agentList();
 

+ 2 - 1
src/main/java/com/goafanti/customer/service/impl/UserOutboundServiceImpl.java

@@ -138,7 +138,7 @@ public class UserOutboundServiceImpl extends BaseMybatisDao<UserArchivesMapper>
     }
 
     @Override
-    public Object pushcallCompleted(InputCallCompleter in) {
+    public Object pushCallCompleted(InputCallCompleter in) {
         //{authentication=authenticationBo{customer='C322', timestamp='1732070407', seq='68197723', digest='c310ec894cee31765baa1b4f97426014'},
         // notify={type=billing, startTime=2024-11-20 10:39:37, ringTime=2024-11-20 10:39:39, answerTime=2024-11-20 10:39:53,
         // byeTime=2024-11-20 10:40:05, staffNo=1863336, group1=默认班组, group2=, callee=13297312076, caller=15574937814,
@@ -172,6 +172,7 @@ public class UserOutboundServiceImpl extends BaseMybatisDao<UserArchivesMapper>
         String substring = callee.substring(callee.length() - 4);
         callLog.setMobileLastDigits(substring);
         callLog.setDuration(Integer.parseInt(timeLength));
+        callLog.setStatus(0);
         callLog.setRemarks(callResultMsg);
         callLogMapper.insert(callLog);
         //需要关闭客户呼叫中