From 2225e74371284a6453f177d24483c958ec742a16 Mon Sep 17 00:00:00 2001 From: wangxy <1356089412@qq.com> Date: Sun, 7 Apr 2024 17:32:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=BC=E5=85=A5=EF=BC=8C=E5=91=BC=E5=87=BA?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../manager/FsChannelRecordManager.java | 49 +++ .../system/IncomingCallController.java | 55 ++++ .../controller/system/OutboundController.java | 53 ++++ .../src/main/resources/application-dev.yml | 2 +- .../src/main/resources/application-prod.yml | 2 +- .../src/main/resources/application.yml | 2 +- .../templates/system/incoming/incoming.html | 144 +++++++++ .../templates/system/outbound/outbound.html | 132 ++++++++ .../ruoyi/framework/config/ShiroConfig.java | 2 + .../ruoyi/system/domain/FsChannelRecord.java | 224 +++++++++++++ .../system/domain/FsChannelRecordVo.java | 294 ++++++++++++++++++ .../ruoyi/system/domain/FsRemarkRecord.java | 134 ++++++++ .../system/mapper/FsChannelRecordMapper.java | 26 ++ .../system/mapper/FsRemarkRecordMapper.java | 19 ++ .../service/FsChannelRecordService.java | 20 ++ .../system/service/FsRemarkRecordService.java | 14 + .../impl/FsChannelRecordServiceImpl.java | 38 +++ .../impl/FsRemarkRecordServiceImpl.java | 22 ++ .../mapper/system/FsChannelRecordMapper.xml | 129 ++++++++ .../mapper/system/FsRemarkRecordMapper.xml | 42 +++ 20 files changed, 1400 insertions(+), 3 deletions(-) create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/web/controller/manager/FsChannelRecordManager.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/IncomingCallController.java create mode 100644 ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/OutboundController.java create mode 100644 ruoyi-admin/src/main/resources/templates/system/incoming/incoming.html create mode 100644 ruoyi-admin/src/main/resources/templates/system/outbound/outbound.html create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/domain/FsChannelRecord.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/domain/FsChannelRecordVo.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/domain/FsRemarkRecord.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/mapper/FsChannelRecordMapper.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/mapper/FsRemarkRecordMapper.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/service/FsChannelRecordService.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/service/FsRemarkRecordService.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/service/impl/FsChannelRecordServiceImpl.java create mode 100644 ruoyi-system/src/main/java/com/ruoyi/system/service/impl/FsRemarkRecordServiceImpl.java create mode 100644 ruoyi-system/src/main/resources/mapper/system/FsChannelRecordMapper.xml create mode 100644 ruoyi-system/src/main/resources/mapper/system/FsRemarkRecordMapper.xml diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/manager/FsChannelRecordManager.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/manager/FsChannelRecordManager.java new file mode 100644 index 0000000..915c078 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/manager/FsChannelRecordManager.java @@ -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 selectFsChannelRecordList(FsChannelRecord record) + { + record.setChannelType(1); + return recordService.selectFsChannelRecordList(record); + } + + + public List selectOutboundList(FsChannelRecord record) + { + record.setChannelType(3); + return recordService.selectFsChannelRecordList(record); + } + + + + + + + + +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/IncomingCallController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/IncomingCallController.java new file mode 100644 index 0000000..133e732 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/IncomingCallController.java @@ -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 list = recordManager.selectFsChannelRecordList(record); + return getDataTable(list); + } + + +} diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/OutboundController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/OutboundController.java new file mode 100644 index 0000000..2f2b887 --- /dev/null +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/OutboundController.java @@ -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 list = recordManager.selectOutboundList(record); + return getDataTable(list); + } +} diff --git a/ruoyi-admin/src/main/resources/application-dev.yml b/ruoyi-admin/src/main/resources/application-dev.yml index ac07a58..8f2e3cc 100644 --- a/ruoyi-admin/src/main/resources/application-dev.yml +++ b/ruoyi-admin/src/main/resources/application-dev.yml @@ -7,7 +7,7 @@ spring: # 主库数据源 master: #url: jdbc:mysql://192.168.254.6:3306/work-portal?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 - url: jdbc:mysql://192.168.254.83:3306/java_cti?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + url: jdbc:mysql://192.168.254.85:3306/java_cti?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 #username: root #password: fq3gG@Ep username: ENC(qIDwFzwTd7W+6W3NTJsfsQ==) diff --git a/ruoyi-admin/src/main/resources/application-prod.yml b/ruoyi-admin/src/main/resources/application-prod.yml index 7730fed..b46f615 100644 --- a/ruoyi-admin/src/main/resources/application-prod.yml +++ b/ruoyi-admin/src/main/resources/application-prod.yml @@ -7,7 +7,7 @@ spring: # 主库数据源 master: #url: jdbc:mysql://192.168.254.6:3306/work-portal?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 - url: jdbc:mysql://192.168.254.83:3306/java_cti?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 + url: jdbc:mysql://192.168.254.85:3306/java_cti?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 #username: root #password: fq3gG@Ep username: ENC(qIDwFzwTd7W+6W3NTJsfsQ==) diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 618f611..9b05f41 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -16,7 +16,7 @@ ruoyi: # 开发环境配置 server: # 服务器的HTTP端口,默认为80 - port: 5000 + port: 8087 servlet: # 应用的访问路径 context-path: / diff --git a/ruoyi-admin/src/main/resources/templates/system/incoming/incoming.html b/ruoyi-admin/src/main/resources/templates/system/incoming/incoming.html new file mode 100644 index 0000000..84d2eb5 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/incoming/incoming.html @@ -0,0 +1,144 @@ + + + + + + +
+
+
+
+
+ +
+
+
+ +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/outbound/outbound.html b/ruoyi-admin/src/main/resources/templates/system/outbound/outbound.html new file mode 100644 index 0000000..a0bfaf4 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/system/outbound/outbound.html @@ -0,0 +1,132 @@ + + + + + + +
+
+
+
+
+ +
+
+
+ +
+
+
+
+
+ + + + \ No newline at end of file diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/ShiroConfig.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/ShiroConfig.java index d84dec9..f7ad6d7 100644 --- a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/ShiroConfig.java +++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/ShiroConfig.java @@ -299,6 +299,8 @@ public class ShiroConfig filterChainDefinitionMap.put("/profile/**", "anon"); filterChainDefinitionMap.put("/search", "anon"); filterChainDefinitionMap.put("/getTree", "anon"); + filterChainDefinitionMap.put("/incoming/**", "anon"); + filterChainDefinitionMap.put("/outbound/**", "anon"); // 注册相关 filterChainDefinitionMap.put("/register", "anon,captchaValidate"); diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/FsChannelRecord.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/FsChannelRecord.java new file mode 100644 index 0000000..1c15953 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/FsChannelRecord.java @@ -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; +} \ No newline at end of file diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/FsChannelRecordVo.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/FsChannelRecordVo.java new file mode 100644 index 0000000..b2acc12 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/FsChannelRecordVo.java @@ -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; + + + + + + + +} \ No newline at end of file diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/FsRemarkRecord.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/FsRemarkRecord.java new file mode 100644 index 0000000..acf3c68 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/FsRemarkRecord.java @@ -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; +} \ No newline at end of file diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/FsChannelRecordMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/FsChannelRecordMapper.java new file mode 100644 index 0000000..e30e6db --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/FsChannelRecordMapper.java @@ -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 { + + + + List selectFsChannelRecordList(FsChannelRecord record); + +} + + + + diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/FsRemarkRecordMapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/FsRemarkRecordMapper.java new file mode 100644 index 0000000..59a7fc7 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/FsRemarkRecordMapper.java @@ -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 { + +} + + + + diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/FsChannelRecordService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/FsChannelRecordService.java new file mode 100644 index 0000000..28e1ad2 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/FsChannelRecordService.java @@ -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 { + + + List selectFsChannelRecordList(FsChannelRecord record); + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/FsRemarkRecordService.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/FsRemarkRecordService.java new file mode 100644 index 0000000..3fdd72f --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/FsRemarkRecordService.java @@ -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 { + +} diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/FsChannelRecordServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/FsChannelRecordServiceImpl.java new file mode 100644 index 0000000..fb00131 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/FsChannelRecordServiceImpl.java @@ -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 + implements FsChannelRecordService { + + + @Autowired + private FsChannelRecordMapper recordMapper; + + + @Override + public List selectFsChannelRecordList(FsChannelRecord record) + { + return recordMapper.selectFsChannelRecordList(record); + } + +} + + + + diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/FsRemarkRecordServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/FsRemarkRecordServiceImpl.java new file mode 100644 index 0000000..6258e99 --- /dev/null +++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/FsRemarkRecordServiceImpl.java @@ -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 + implements FsRemarkRecordService { + +} + + + + diff --git a/ruoyi-system/src/main/resources/mapper/system/FsChannelRecordMapper.xml b/ruoyi-system/src/main/resources/mapper/system/FsChannelRecordMapper.xml new file mode 100644 index 0000000..87914de --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/system/FsChannelRecordMapper.xml @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + diff --git a/ruoyi-system/src/main/resources/mapper/system/FsRemarkRecordMapper.xml b/ruoyi-system/src/main/resources/mapper/system/FsRemarkRecordMapper.xml new file mode 100644 index 0000000..2b65742 --- /dev/null +++ b/ruoyi-system/src/main/resources/mapper/system/FsRemarkRecordMapper.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + uuid,calltype,remark, + clientstatus,dealtime,province, + city,areacode,bak1, + dealseat,phonenum,pid, + code,dealseatnum,businesstype, + office,shopname,shopaddress, + enclosure,linkage11,linkage12, + checkbox1 + +