parent
6c5529181a
commit
2225e74371
@ -0,0 +1,49 @@
|
|||||||
|
package com.ruoyi.web.controller.manager;
|
||||||
|
|
||||||
|
import com.ruoyi.system.domain.FsChannelRecord;
|
||||||
|
import com.ruoyi.system.domain.FsChannelRecordVo;
|
||||||
|
import com.ruoyi.system.service.FsChannelRecordService;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* packageName com.ruoyi.web.controller.manager
|
||||||
|
*
|
||||||
|
* @author wangxy
|
||||||
|
* @version JDK 8
|
||||||
|
* @className FsChannelRecordManager
|
||||||
|
* @date 2024/4/7
|
||||||
|
* @description 通话查询
|
||||||
|
*/
|
||||||
|
@Component
|
||||||
|
public class FsChannelRecordManager {
|
||||||
|
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private FsChannelRecordService recordService;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
public List<FsChannelRecordVo> selectFsChannelRecordList(FsChannelRecord record)
|
||||||
|
{
|
||||||
|
record.setChannelType(1);
|
||||||
|
return recordService.selectFsChannelRecordList(record);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public List<FsChannelRecordVo> selectOutboundList(FsChannelRecord record)
|
||||||
|
{
|
||||||
|
record.setChannelType(3);
|
||||||
|
return recordService.selectFsChannelRecordList(record);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,55 @@
|
|||||||
|
package com.ruoyi.web.controller.system;
|
||||||
|
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
import com.ruoyi.system.domain.FsChannelRecord;
|
||||||
|
import com.ruoyi.system.domain.FsChannelRecordVo;
|
||||||
|
import com.ruoyi.web.controller.manager.FsChannelRecordManager;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* packageName com.ruoyi.web.controller.home
|
||||||
|
*
|
||||||
|
* @author wangxy
|
||||||
|
* @version JDK 8
|
||||||
|
* @className 呼入通话
|
||||||
|
* @date 2024/4/7
|
||||||
|
* @description
|
||||||
|
*/
|
||||||
|
@Controller
|
||||||
|
@RequestMapping("/incoming")
|
||||||
|
public class IncomingCallController extends BaseController {
|
||||||
|
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private FsChannelRecordManager recordManager;
|
||||||
|
|
||||||
|
private String prefix = "system/incoming";
|
||||||
|
|
||||||
|
@GetMapping()
|
||||||
|
public String incoming()
|
||||||
|
{
|
||||||
|
return prefix + "/incoming";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询呼入列表
|
||||||
|
*/
|
||||||
|
@PostMapping("/list")
|
||||||
|
@ResponseBody
|
||||||
|
public TableDataInfo list(FsChannelRecord record)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<FsChannelRecordVo> list = recordManager.selectFsChannelRecordList(record);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,53 @@
|
|||||||
|
package com.ruoyi.web.controller.system;
|
||||||
|
|
||||||
|
import com.ruoyi.common.core.controller.BaseController;
|
||||||
|
import com.ruoyi.common.core.page.TableDataInfo;
|
||||||
|
import com.ruoyi.system.domain.FsChannelRecord;
|
||||||
|
import com.ruoyi.system.domain.FsChannelRecordVo;
|
||||||
|
import com.ruoyi.web.controller.manager.FsChannelRecordManager;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.PostMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.ResponseBody;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* packageName com.ruoyi.web.controller.system
|
||||||
|
*
|
||||||
|
* @author wangxy
|
||||||
|
* @version JDK 8
|
||||||
|
* @className OutboundController
|
||||||
|
* @date 2024/4/7
|
||||||
|
* @description 呼出通话
|
||||||
|
*/
|
||||||
|
@Controller
|
||||||
|
@RequestMapping("/outbound")
|
||||||
|
public class OutboundController extends BaseController {
|
||||||
|
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private FsChannelRecordManager recordManager;
|
||||||
|
|
||||||
|
private String prefix = "system/outbound";
|
||||||
|
|
||||||
|
@GetMapping()
|
||||||
|
public String outbound()
|
||||||
|
{
|
||||||
|
return prefix + "/outbound";
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询呼出列表
|
||||||
|
*/
|
||||||
|
@PostMapping("/list")
|
||||||
|
@ResponseBody
|
||||||
|
public TableDataInfo list(FsChannelRecord record)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<FsChannelRecordVo> list = recordManager.selectOutboundList(record);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,144 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
|
||||||
|
<head>
|
||||||
|
<th:block th:include="include :: header('呼入通话列表')" />
|
||||||
|
</head>
|
||||||
|
<body class="gray-bg">
|
||||||
|
<div class="container-div">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-12 search-collapse">
|
||||||
|
<form id="notice-form">
|
||||||
|
<div class="select-list">
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
客户号码:<input type="text" name="outside"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
号码区号:<input type="text" name="areacode"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i> 搜索</a>
|
||||||
|
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i> 重置</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-sm-12 select-table table-striped">
|
||||||
|
<table id="bootstrap-table"></table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer" />
|
||||||
|
<script th:inline="javascript">
|
||||||
|
var prefix = ctx + "incoming";
|
||||||
|
$(function() {
|
||||||
|
var options = {
|
||||||
|
uniqueId: "id",
|
||||||
|
url: prefix + "/list",
|
||||||
|
modalName: "呼入通话",
|
||||||
|
columns: [
|
||||||
|
{
|
||||||
|
field : 'routePhone',
|
||||||
|
title : '中继号码'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field : 'outside',
|
||||||
|
title : '客户号码'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field : 'areacode',
|
||||||
|
title : '号码区号'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field : 'cityGsd',
|
||||||
|
title : '归属地'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field : 'inside',
|
||||||
|
title : '坐席号码'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field : 'seatName',
|
||||||
|
title : '坐席账号'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field : 'code',
|
||||||
|
title : '所属部门'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field : 'other',
|
||||||
|
title : '第三方号码'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field : 'aj',
|
||||||
|
title : '按键'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field : 'start',
|
||||||
|
title : '呼入开始时间'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field : 'talk',
|
||||||
|
title : '通话开始时间'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field : 'end',
|
||||||
|
title : '呼叫结束时间'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field : 'listTime',
|
||||||
|
title : '排队时长'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field : 'ringTime',
|
||||||
|
title : '振铃时长'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field : 'calltime',
|
||||||
|
title : '通话时长'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field : 'endType',
|
||||||
|
title : '结束类型',
|
||||||
|
formatter: function(value, item, index) {
|
||||||
|
if (item.endType == '1') {
|
||||||
|
return '排队放弃';
|
||||||
|
} else if (item.endType == '2') {
|
||||||
|
return '呼入漏接';
|
||||||
|
}else if (item.endType == '3') {
|
||||||
|
return '呼入接听后挂断';
|
||||||
|
}else if (item.endType == '4') {
|
||||||
|
return '外呼无人接听挂断';
|
||||||
|
}else if (item.endType == '5') {
|
||||||
|
return '外呼接听后挂断';
|
||||||
|
}else if (item.endType == '0') {
|
||||||
|
return '呼入放弃';
|
||||||
|
}else{
|
||||||
|
return '呼入放弃';
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field : 'terminalType',
|
||||||
|
title : '终端类型',
|
||||||
|
formatter: function(value, item, index) {
|
||||||
|
if (item.terminalType == '1') {
|
||||||
|
return 'WEB';
|
||||||
|
}
|
||||||
|
else if (item.terminalType == '2') {
|
||||||
|
return '话机';
|
||||||
|
}else{
|
||||||
|
return '未知';
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
};
|
||||||
|
$.table.init(options);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,132 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
|
||||||
|
<head>
|
||||||
|
<th:block th:include="include :: header('呼出通话列表')" />
|
||||||
|
</head>
|
||||||
|
<body class="gray-bg">
|
||||||
|
<div class="container-div">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-12 search-collapse">
|
||||||
|
<form id="notice-form">
|
||||||
|
<div class="select-list">
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
客户号码:<input type="text" name="outside"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
号码区号:<input type="text" name="areacode"/>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i> 搜索</a>
|
||||||
|
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i> 重置</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="col-sm-12 select-table table-striped">
|
||||||
|
<table id="bootstrap-table"></table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer" />
|
||||||
|
<script th:inline="javascript">
|
||||||
|
var prefix = ctx + "outbound";
|
||||||
|
$(function() {
|
||||||
|
var options = {
|
||||||
|
uniqueId: "id",
|
||||||
|
url: prefix + "/list",
|
||||||
|
modalName: "呼入通话",
|
||||||
|
columns: [
|
||||||
|
{
|
||||||
|
field : 'routePhone',
|
||||||
|
title : '中继号码'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field : 'outside',
|
||||||
|
title : '客户号码'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field : 'areacode',
|
||||||
|
title : '号码区号'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field : 'cityGsd',
|
||||||
|
title : '归属地'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field : 'inside',
|
||||||
|
title : '坐席号码'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field : 'seatName',
|
||||||
|
title : '坐席账号'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field : 'code',
|
||||||
|
title : '所属部门'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field : 'other',
|
||||||
|
title : '第三方号码'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field : 'start',
|
||||||
|
title : '呼出开始时间'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field : 'talk',
|
||||||
|
title : '通话开始时间'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field : 'end',
|
||||||
|
title : '呼叫结束时间'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field : 'calltime',
|
||||||
|
title : '通话时长'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field : 'endType',
|
||||||
|
title : '结束类型',
|
||||||
|
formatter: function(value, item, index) {
|
||||||
|
if (item.endType == '1') {
|
||||||
|
return '排队放弃';
|
||||||
|
} else if (item.endType == '2') {
|
||||||
|
return '呼入漏接';
|
||||||
|
}else if (item.endType == '3') {
|
||||||
|
return '呼入接听后挂断';
|
||||||
|
}else if (item.endType == '4') {
|
||||||
|
return '外呼无人接听挂断';
|
||||||
|
}else if (item.endType == '5') {
|
||||||
|
return '外呼接听后挂断';
|
||||||
|
}else if (item.endType == '0') {
|
||||||
|
return '呼入放弃';
|
||||||
|
}else{
|
||||||
|
return '呼入放弃';
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field : 'terminalType',
|
||||||
|
title : '终端类型',
|
||||||
|
formatter: function(value, item, index) {
|
||||||
|
if (item.terminalType == '1') {
|
||||||
|
return 'WEB';
|
||||||
|
}
|
||||||
|
else if (item.terminalType == '2') {
|
||||||
|
return '话机';
|
||||||
|
}else{
|
||||||
|
return '未知';
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
};
|
||||||
|
$.table.init(options);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
@ -0,0 +1,224 @@
|
|||||||
|
package com.ruoyi.system.domain;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @TableName fs_channel_record
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class FsChannelRecord implements Serializable {
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
@TableId(type = IdType.AUTO)
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通话UUID
|
||||||
|
*/
|
||||||
|
private String uuid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* =1 呼入=2外呼转人工 =3普通呼出4坐席外呼5语音外呼6回访外呼
|
||||||
|
*/
|
||||||
|
private Integer channelType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 内线
|
||||||
|
*/
|
||||||
|
private String inside;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 外线
|
||||||
|
*/
|
||||||
|
private String outside;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 外线通道UUID
|
||||||
|
*/
|
||||||
|
private String chnIdOutside;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 第三方号码
|
||||||
|
*/
|
||||||
|
private String other;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 第三方UUID
|
||||||
|
*/
|
||||||
|
private String chnIdOther;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 座席帐号
|
||||||
|
*/
|
||||||
|
private String seatName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 呼叫时间
|
||||||
|
*/
|
||||||
|
private Date start;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 外线应答时间
|
||||||
|
*/
|
||||||
|
private Date answer;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通话时间
|
||||||
|
*/
|
||||||
|
private Date talk;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 结束时间
|
||||||
|
*/
|
||||||
|
private Date end;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 录音文件
|
||||||
|
*/
|
||||||
|
private String recordFilename;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 录音结果
|
||||||
|
*/
|
||||||
|
private String recordResult;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 实际通话时长
|
||||||
|
*/
|
||||||
|
private Date calltime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 按键
|
||||||
|
*/
|
||||||
|
private String aj;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 漏接标志=0默认未知=1漏接
|
||||||
|
*/
|
||||||
|
private Integer isLost;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 座席组号
|
||||||
|
*/
|
||||||
|
private Integer seatGroup;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 话费
|
||||||
|
*/
|
||||||
|
private Double money;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 按键记录
|
||||||
|
*/
|
||||||
|
private String ajJilu;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 满意度按键记录
|
||||||
|
*/
|
||||||
|
private Integer pleaseAj;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 路由号码
|
||||||
|
*/
|
||||||
|
private String routePhone;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 结束类型=0呼入放弃=1排队放弃=2呼入漏接=3呼入接听后挂断=4外呼无人接听挂断=5外呼接听后挂断
|
||||||
|
*/
|
||||||
|
private Integer endType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 部门编码
|
||||||
|
*/
|
||||||
|
private String code;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 点保存时间
|
||||||
|
*/
|
||||||
|
private Date save;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 省份
|
||||||
|
*/
|
||||||
|
private String province;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 城市
|
||||||
|
*/
|
||||||
|
private String city;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* =0未知=1新客户=2已分配老客户=3未分配老客户
|
||||||
|
*/
|
||||||
|
private Integer clientType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 区号
|
||||||
|
*/
|
||||||
|
private String areacode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目ID
|
||||||
|
*/
|
||||||
|
private Integer pid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 进入排队时间
|
||||||
|
*/
|
||||||
|
private Date listIn;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 退出排队时间
|
||||||
|
*/
|
||||||
|
private Date listEnd;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 排队时长
|
||||||
|
*/
|
||||||
|
private Date listTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 内线振铃时间
|
||||||
|
*/
|
||||||
|
private Date inRing;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 内线应答时间
|
||||||
|
*/
|
||||||
|
private Date inAnswer;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 内线振铃时长
|
||||||
|
*/
|
||||||
|
private Date ringTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通话终端类型=0未知=1WEB=2话机
|
||||||
|
*/
|
||||||
|
private Integer terminalType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 外线应答时长
|
||||||
|
*/
|
||||||
|
private Date answertime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 后处理时长
|
||||||
|
*/
|
||||||
|
private Date saveTime;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
}
|
@ -0,0 +1,294 @@
|
|||||||
|
package com.ruoyi.system.domain;
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @TableName fs_channel_record
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
public class FsChannelRecordVo implements Serializable {
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
private Integer id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通话UUID
|
||||||
|
*/
|
||||||
|
private String uuid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* =1 呼入=2外呼转人工 =3普通呼出4坐席外呼5语音外呼6回访外呼
|
||||||
|
*/
|
||||||
|
private Integer channelType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 内线
|
||||||
|
*/
|
||||||
|
private String inside;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 外线
|
||||||
|
*/
|
||||||
|
private String outside;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 外线通道UUID
|
||||||
|
*/
|
||||||
|
private String chnIdOutside;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 第三方号码
|
||||||
|
*/
|
||||||
|
private String other;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 第三方UUID
|
||||||
|
*/
|
||||||
|
private String chnIdOther;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 座席帐号
|
||||||
|
*/
|
||||||
|
private String seatName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 呼叫时间
|
||||||
|
*/
|
||||||
|
private Date start;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 外线应答时间
|
||||||
|
*/
|
||||||
|
private Date answer;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通话时间
|
||||||
|
*/
|
||||||
|
private Date talk;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 结束时间
|
||||||
|
*/
|
||||||
|
private Date end;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 录音文件
|
||||||
|
*/
|
||||||
|
private String recordFilename;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 录音结果
|
||||||
|
*/
|
||||||
|
private String recordResult;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 实际通话时长
|
||||||
|
*/
|
||||||
|
@JsonFormat(pattern = "HH:mm:ss")
|
||||||
|
private Date calltime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 按键
|
||||||
|
*/
|
||||||
|
private String aj;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 漏接标志=0默认未知=1漏接
|
||||||
|
*/
|
||||||
|
private Integer isLost;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 座席组号
|
||||||
|
*/
|
||||||
|
private Integer seatGroup;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 话费
|
||||||
|
*/
|
||||||
|
private Double money;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 按键记录
|
||||||
|
*/
|
||||||
|
private String ajJilu;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 满意度按键记录
|
||||||
|
*/
|
||||||
|
private Integer pleaseAj;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 路由号码
|
||||||
|
*/
|
||||||
|
private String routePhone;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 结束类型=0呼入放弃=1排队放弃=2呼入漏接=3呼入接听后挂断=4外呼无人接听挂断=5外呼接听后挂断
|
||||||
|
*/
|
||||||
|
private Integer endType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 部门编码
|
||||||
|
*/
|
||||||
|
private String code;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 点保存时间
|
||||||
|
*/
|
||||||
|
private Date save;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 省份
|
||||||
|
*/
|
||||||
|
private String province;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 城市
|
||||||
|
*/
|
||||||
|
private String city;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 归属地
|
||||||
|
*/
|
||||||
|
private String cityGsd;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* =0未知=1新客户=2已分配老客户=3未分配老客户
|
||||||
|
*/
|
||||||
|
private Integer clientType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 区号
|
||||||
|
*/
|
||||||
|
private String areacode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目ID
|
||||||
|
*/
|
||||||
|
private Integer pid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 进入排队时间
|
||||||
|
*/
|
||||||
|
private Date listIn;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 退出排队时间
|
||||||
|
*/
|
||||||
|
private Date listEnd;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 排队时长
|
||||||
|
*/
|
||||||
|
@JsonFormat(pattern = "HH:mm:ss")
|
||||||
|
private Date listTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 内线振铃时间
|
||||||
|
*/
|
||||||
|
private Date inRing;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 内线应答时间
|
||||||
|
*/
|
||||||
|
private Date inAnswer;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 内线振铃时长
|
||||||
|
*/
|
||||||
|
@JsonFormat(pattern = "HH:mm:ss")
|
||||||
|
private Date ringTime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通话终端类型=0未知=1WEB=2话机
|
||||||
|
*/
|
||||||
|
private Integer terminalType;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 外线应答时长
|
||||||
|
*/
|
||||||
|
private Date answertime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 后处理时长
|
||||||
|
*/
|
||||||
|
private Date saveTime;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
private String remark;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备用1
|
||||||
|
*/
|
||||||
|
private String bak1;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 客户状态
|
||||||
|
*/
|
||||||
|
private String clientstatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 业务类型
|
||||||
|
*/
|
||||||
|
private String businesstype;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 办事处
|
||||||
|
*/
|
||||||
|
private String office;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 店铺名称
|
||||||
|
*/
|
||||||
|
private String shopname;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 店铺地址
|
||||||
|
*/
|
||||||
|
private String shopaddress;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 附件
|
||||||
|
*/
|
||||||
|
private String enclosure;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 处理提交时间
|
||||||
|
*/
|
||||||
|
private Date dealtime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 联动1
|
||||||
|
*/
|
||||||
|
private String linkage11;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 联动2
|
||||||
|
*/
|
||||||
|
private String linkage12;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 复选框
|
||||||
|
*/
|
||||||
|
private String checkbox1;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,134 @@
|
|||||||
|
package com.ruoyi.system.domain;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.Date;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @TableName fs_remark_record
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
@Accessors(chain = true)
|
||||||
|
public class FsRemarkRecord implements Serializable {
|
||||||
|
/**
|
||||||
|
* 通话UUID
|
||||||
|
*/
|
||||||
|
@TableId
|
||||||
|
private String uuid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 通话类型
|
||||||
|
*/
|
||||||
|
private String calltype;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备注
|
||||||
|
*/
|
||||||
|
private String remark;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 客户状态
|
||||||
|
*/
|
||||||
|
private String clientstatus;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 处理提交时间
|
||||||
|
*/
|
||||||
|
private Date dealtime;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 所属省份
|
||||||
|
*/
|
||||||
|
private String province;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 所属城市
|
||||||
|
*/
|
||||||
|
private String city;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 区号
|
||||||
|
*/
|
||||||
|
private String areacode;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 备用1
|
||||||
|
*/
|
||||||
|
private String bak1;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 处理座席
|
||||||
|
*/
|
||||||
|
private String dealseat;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 外线号码
|
||||||
|
*/
|
||||||
|
private String phonenum;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 项目pid
|
||||||
|
*/
|
||||||
|
private Integer pid;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 所属部门
|
||||||
|
*/
|
||||||
|
private String code;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 处理座席号码
|
||||||
|
*/
|
||||||
|
private String dealseatnum;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 业务类型
|
||||||
|
*/
|
||||||
|
private String businesstype;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 办事处
|
||||||
|
*/
|
||||||
|
private String office;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 店铺名称
|
||||||
|
*/
|
||||||
|
private String shopname;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 店铺地址
|
||||||
|
*/
|
||||||
|
private String shopaddress;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 附件
|
||||||
|
*/
|
||||||
|
private String enclosure;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 联动1
|
||||||
|
*/
|
||||||
|
private String linkage11;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 联动2
|
||||||
|
*/
|
||||||
|
private String linkage12;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 复选框
|
||||||
|
*/
|
||||||
|
private String checkbox1;
|
||||||
|
|
||||||
|
@TableField(exist = false)
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
}
|
@ -0,0 +1,26 @@
|
|||||||
|
package com.ruoyi.system.mapper;
|
||||||
|
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import com.ruoyi.system.domain.FsChannelRecord;
|
||||||
|
import com.ruoyi.system.domain.FsChannelRecordVo;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 13560
|
||||||
|
* @description 针对表【fs_channel_record】的数据库操作Mapper
|
||||||
|
* @createDate 2024-04-07 14:25:04
|
||||||
|
* @Entity generator.domain.FsChannelRecord
|
||||||
|
*/
|
||||||
|
public interface FsChannelRecordMapper extends BaseMapper<FsChannelRecord> {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
List<FsChannelRecordVo> selectFsChannelRecordList(FsChannelRecord record);
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,19 @@
|
|||||||
|
package com.ruoyi.system.mapper;
|
||||||
|
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import com.ruoyi.system.domain.FsRemarkRecord;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 13560
|
||||||
|
* @description 针对表【fs_remark_record】的数据库操作Mapper
|
||||||
|
* @createDate 2024-04-07 14:29:10
|
||||||
|
* @Entity generator.domain.FsRemarkRecord
|
||||||
|
*/
|
||||||
|
public interface FsRemarkRecordMapper extends BaseMapper<FsRemarkRecord> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,20 @@
|
|||||||
|
package com.ruoyi.system.service;
|
||||||
|
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
import com.ruoyi.system.domain.FsChannelRecord;
|
||||||
|
import com.ruoyi.system.domain.FsChannelRecordVo;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 13560
|
||||||
|
* @description 针对表【fs_channel_record】的数据库操作Service
|
||||||
|
* @createDate 2024-04-07 14:25:04
|
||||||
|
*/
|
||||||
|
public interface FsChannelRecordService extends IService<FsChannelRecord> {
|
||||||
|
|
||||||
|
|
||||||
|
List<FsChannelRecordVo> selectFsChannelRecordList(FsChannelRecord record);
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,14 @@
|
|||||||
|
package com.ruoyi.system.service;
|
||||||
|
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
import com.ruoyi.system.domain.FsRemarkRecord;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 13560
|
||||||
|
* @description 针对表【fs_remark_record】的数据库操作Service
|
||||||
|
* @createDate 2024-04-07 14:29:10
|
||||||
|
*/
|
||||||
|
public interface FsRemarkRecordService extends IService<FsRemarkRecord> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,38 @@
|
|||||||
|
package com.ruoyi.system.service.impl;
|
||||||
|
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.ruoyi.system.domain.FsChannelRecordVo;
|
||||||
|
import com.ruoyi.system.mapper.FsChannelRecordMapper;
|
||||||
|
import com.ruoyi.system.service.FsChannelRecordService;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import com.ruoyi.system.domain.FsChannelRecord;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 13560
|
||||||
|
* @description 针对表【fs_channel_record】的数据库操作Service实现
|
||||||
|
* @createDate 2024-04-07 14:25:04
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class FsChannelRecordServiceImpl extends ServiceImpl<FsChannelRecordMapper, FsChannelRecord>
|
||||||
|
implements FsChannelRecordService {
|
||||||
|
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private FsChannelRecordMapper recordMapper;
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<FsChannelRecordVo> selectFsChannelRecordList(FsChannelRecord record)
|
||||||
|
{
|
||||||
|
return recordMapper.selectFsChannelRecordList(record);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,22 @@
|
|||||||
|
package com.ruoyi.system.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.ruoyi.system.domain.FsRemarkRecord;
|
||||||
|
import com.ruoyi.system.mapper.FsRemarkRecordMapper;
|
||||||
|
import com.ruoyi.system.service.FsRemarkRecordService;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 13560
|
||||||
|
* @description 针对表【fs_remark_record】的数据库操作Service实现
|
||||||
|
* @createDate 2024-04-07 14:29:10
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class FsRemarkRecordServiceImpl extends ServiceImpl<FsRemarkRecordMapper, FsRemarkRecord>
|
||||||
|
implements FsRemarkRecordService {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,129 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.ruoyi.system.mapper.FsChannelRecordMapper">
|
||||||
|
|
||||||
|
<resultMap id="BaseResultMap" type="com.ruoyi.system.domain.FsChannelRecord">
|
||||||
|
<id property="id" column="id" jdbcType="INTEGER"/>
|
||||||
|
<result property="uuid" column="uuid" jdbcType="VARCHAR"/>
|
||||||
|
<result property="channelType" column="channel_type" jdbcType="INTEGER"/>
|
||||||
|
<result property="inside" column="inside" jdbcType="VARCHAR"/>
|
||||||
|
<result property="outside" column="outside" jdbcType="VARCHAR"/>
|
||||||
|
<result property="chnIdOutside" column="chn_id_outside" jdbcType="VARCHAR"/>
|
||||||
|
<result property="other" column="other" jdbcType="VARCHAR"/>
|
||||||
|
<result property="chnIdOther" column="chn_id_other" jdbcType="VARCHAR"/>
|
||||||
|
<result property="seatName" column="seat_name" jdbcType="VARCHAR"/>
|
||||||
|
<result property="start" column="start" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="answer" column="answer" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="talk" column="talk" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="end" column="end" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="recordFilename" column="record_filename" jdbcType="VARCHAR"/>
|
||||||
|
<result property="recordResult" column="record_result" jdbcType="VARCHAR"/>
|
||||||
|
<result property="calltime" column="calltime" jdbcType="TIME"/>
|
||||||
|
<result property="aj" column="aj" jdbcType="VARCHAR"/>
|
||||||
|
<result property="isLost" column="is_lost" jdbcType="INTEGER"/>
|
||||||
|
<result property="seatGroup" column="seat_group" jdbcType="INTEGER"/>
|
||||||
|
<result property="money" column="money" jdbcType="FLOAT"/>
|
||||||
|
<result property="ajJilu" column="aj_jilu" jdbcType="VARCHAR"/>
|
||||||
|
<result property="pleaseAj" column="please_aj" jdbcType="INTEGER"/>
|
||||||
|
<result property="routePhone" column="route_phone" jdbcType="VARCHAR"/>
|
||||||
|
<result property="endType" column="end_type" jdbcType="INTEGER"/>
|
||||||
|
<result property="code" column="code" jdbcType="VARCHAR"/>
|
||||||
|
<result property="save" column="save" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="province" column="province" jdbcType="VARCHAR"/>
|
||||||
|
<result property="city" column="city" jdbcType="VARCHAR"/>
|
||||||
|
<result property="clientType" column="client_type" jdbcType="INTEGER"/>
|
||||||
|
<result property="areacode" column="areacode" jdbcType="VARCHAR"/>
|
||||||
|
<result property="pid" column="pid" jdbcType="INTEGER"/>
|
||||||
|
<result property="listIn" column="list_in" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="listEnd" column="list_end" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="listTime" column="list_time" jdbcType="TIME"/>
|
||||||
|
<result property="inRing" column="in_ring" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="inAnswer" column="in_answer" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="ringTime" column="ring_time" jdbcType="TIME"/>
|
||||||
|
<result property="terminalType" column="terminal_type" jdbcType="INTEGER"/>
|
||||||
|
<result property="answertime" column="answertime" jdbcType="TIME"/>
|
||||||
|
<result property="saveTime" column="save_time" jdbcType="TIME"/>
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="Base_Column_List">
|
||||||
|
id,uuid,channel_type,
|
||||||
|
inside,outside,chn_id_outside,
|
||||||
|
other,chn_id_other,seat_name,
|
||||||
|
start,answer,talk,
|
||||||
|
end,record_filename,record_result,
|
||||||
|
calltime,aj,is_lost,
|
||||||
|
seat_group,money,aj_jilu,
|
||||||
|
please_aj,route_phone,end_type,
|
||||||
|
code,save,province,
|
||||||
|
city,client_type,areacode,
|
||||||
|
pid,list_in,list_end,
|
||||||
|
list_time,in_ring,in_answer,
|
||||||
|
ring_time,terminal_type,answertime,
|
||||||
|
save_time
|
||||||
|
</sql>
|
||||||
|
<select id="selectFsChannelRecordList" parameterType="FsChannelRecord" resultType="com.ruoyi.system.domain.FsChannelRecordVo">
|
||||||
|
SELECT
|
||||||
|
a.uuid AS uuid,
|
||||||
|
a.channel_type AS channel_type,
|
||||||
|
a.inside AS inside,
|
||||||
|
a.outside AS outside,
|
||||||
|
a.other AS other,
|
||||||
|
a.seat_name AS seat_name,
|
||||||
|
a.start AS start,
|
||||||
|
a.answer AS answer,
|
||||||
|
a.talk AS talk,
|
||||||
|
a.end AS end,
|
||||||
|
a.record_filename AS record_filename,
|
||||||
|
a.record_result AS record_result,
|
||||||
|
a.calltime AS calltime,
|
||||||
|
a.aj AS aj,
|
||||||
|
a.is_lost AS is_lost,
|
||||||
|
a.code AS code,
|
||||||
|
a.pid AS pid,
|
||||||
|
a.ring_time AS ring_time,
|
||||||
|
a.list_in AS list_in,
|
||||||
|
a.list_end AS list_end,
|
||||||
|
a.list_time AS list_time,
|
||||||
|
a.in_ring AS in_ring,
|
||||||
|
a.in_answer AS in_answer,
|
||||||
|
a.seat_group AS seat_group,
|
||||||
|
a.money AS money,
|
||||||
|
a.aj_jilu AS aj_jilu,
|
||||||
|
a.please_aj AS please_aj,
|
||||||
|
a.end_type AS end_type,
|
||||||
|
a.save AS save,
|
||||||
|
a.route_phone AS route_phone,
|
||||||
|
a.terminal_type AS terminal_type,
|
||||||
|
b.remark AS remark,
|
||||||
|
a.province AS province,
|
||||||
|
b.bak1 AS bak1,
|
||||||
|
b.clientstatus AS clientstatus,
|
||||||
|
a.city AS city,
|
||||||
|
CONCAT(a.province, a.city) AS cityGsd,
|
||||||
|
a.areacode AS areacode,
|
||||||
|
b.businesstype AS businesstype,
|
||||||
|
b.office AS office,
|
||||||
|
b.shopname AS shopname,
|
||||||
|
b.shopaddress AS shopaddress,
|
||||||
|
b.enclosure AS enclosure,
|
||||||
|
b.dealtime AS dealtime,
|
||||||
|
b.linkage11 AS linkage11,
|
||||||
|
b.linkage12 AS linkage12,
|
||||||
|
b.checkbox1 AS checkbox1 from fs_channel_record a
|
||||||
|
LEFT JOIN fs_remark_record b ON a.uuid = b.uuid
|
||||||
|
<where>
|
||||||
|
<if test="channelType != null">
|
||||||
|
AND a.channel_type = #{channelType}
|
||||||
|
</if>
|
||||||
|
<if test="outside != null and outside != ''">
|
||||||
|
AND a.outside = #{outside}
|
||||||
|
</if>
|
||||||
|
<if test="areacode != null and areacode != ''">
|
||||||
|
AND a.areacode = #{areacode}
|
||||||
|
</if>
|
||||||
|
</where>
|
||||||
|
order by end desc
|
||||||
|
</select>
|
||||||
|
</mapper>
|
@ -0,0 +1,42 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE mapper
|
||||||
|
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
|
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
|
<mapper namespace="com.ruoyi.system.mapper.FsRemarkRecordMapper">
|
||||||
|
|
||||||
|
<resultMap id="BaseResultMap" type="com.ruoyi.system.domain.FsRemarkRecord">
|
||||||
|
<id property="uuid" column="uuid" jdbcType="VARCHAR"/>
|
||||||
|
<result property="calltype" column="calltype" jdbcType="VARCHAR"/>
|
||||||
|
<result property="remark" column="remark" jdbcType="VARCHAR"/>
|
||||||
|
<result property="clientstatus" column="clientstatus" jdbcType="VARCHAR"/>
|
||||||
|
<result property="dealtime" column="dealtime" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="province" column="province" jdbcType="VARCHAR"/>
|
||||||
|
<result property="city" column="city" jdbcType="VARCHAR"/>
|
||||||
|
<result property="areacode" column="areacode" jdbcType="VARCHAR"/>
|
||||||
|
<result property="bak1" column="bak1" jdbcType="VARCHAR"/>
|
||||||
|
<result property="dealseat" column="dealseat" jdbcType="VARCHAR"/>
|
||||||
|
<result property="phonenum" column="phonenum" jdbcType="VARCHAR"/>
|
||||||
|
<result property="pid" column="pid" jdbcType="INTEGER"/>
|
||||||
|
<result property="code" column="code" jdbcType="VARCHAR"/>
|
||||||
|
<result property="dealseatnum" column="dealseatnum" jdbcType="VARCHAR"/>
|
||||||
|
<result property="businesstype" column="businesstype" jdbcType="VARCHAR"/>
|
||||||
|
<result property="office" column="office" jdbcType="VARCHAR"/>
|
||||||
|
<result property="shopname" column="shopname" jdbcType="VARCHAR"/>
|
||||||
|
<result property="shopaddress" column="shopaddress" jdbcType="VARCHAR"/>
|
||||||
|
<result property="enclosure" column="enclosure" jdbcType="VARCHAR"/>
|
||||||
|
<result property="linkage11" column="linkage11" jdbcType="VARCHAR"/>
|
||||||
|
<result property="linkage12" column="linkage12" jdbcType="VARCHAR"/>
|
||||||
|
<result property="checkbox1" column="checkbox1" jdbcType="VARCHAR"/>
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="Base_Column_List">
|
||||||
|
uuid,calltype,remark,
|
||||||
|
clientstatus,dealtime,province,
|
||||||
|
city,areacode,bak1,
|
||||||
|
dealseat,phonenum,pid,
|
||||||
|
code,dealseatnum,businesstype,
|
||||||
|
office,shopname,shopaddress,
|
||||||
|
enclosure,linkage11,linkage12,
|
||||||
|
checkbox1
|
||||||
|
</sql>
|
||||||
|
</mapper>
|
Loading…
Reference in new issue