yxh
yxh
2023-03-06 6bf863f0a47aa990f9c4bc0f76f73db2329e83d7
yxh
已添加120个文件
13097 ■■■■■ 文件已修改
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/BaseSmsaccountController.java 104 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrLibIntentController.java 104 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrLibIntentcategoryController.java 104 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrLibScriptController.java 104 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrLibScriptcategoryController.java 104 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrLibScriptmodelController.java 104 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneController.java 104 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneExecuteconfigController.java 104 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneFlowController.java 104 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneFlownodeController.java 104 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneFlownodebranchController.java 104 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneGlobalconfigController.java 104 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneIntentController.java 104 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneRecallController.java 104 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneScriptController.java 104 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneScriptmodelController.java 104 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrScenecategoryController.java 104 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/SmsParamController.java 104 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/SmsRecordsController.java 104 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/SmsTempletController.java 104 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/domain/BaseSmsaccount.java 156 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/domain/IvrLibIntent.java 155 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/domain/IvrLibIntentcategory.java 113 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/domain/IvrLibScript.java 183 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/domain/IvrLibScriptcategory.java 113 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/domain/IvrLibScriptmodel.java 253 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/domain/IvrScene.java 281 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/domain/IvrSceneExecuteconfig.java 239 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/domain/IvrSceneFlow.java 239 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/domain/IvrSceneFlownode.java 295 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/domain/IvrSceneFlownodebranch.java 225 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/domain/IvrSceneGlobalconfig.java 211 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/domain/IvrSceneIntent.java 309 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/domain/IvrSceneRecall.java 169 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/domain/IvrSceneScript.java 225 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/domain/IvrSceneScriptmodel.java 267 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/domain/IvrScenecategory.java 113 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/domain/SmsParam.java 140 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/domain/SmsRecords.java 340 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/domain/SmsTemplet.java 126 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/mapper/BaseSmsaccountMapper.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/mapper/IvrLibIntentMapper.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/mapper/IvrLibIntentcategoryMapper.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/mapper/IvrLibScriptMapper.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/mapper/IvrLibScriptcategoryMapper.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/mapper/IvrLibScriptmodelMapper.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/mapper/IvrSceneExecuteconfigMapper.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/mapper/IvrSceneFlowMapper.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/mapper/IvrSceneFlownodeMapper.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/mapper/IvrSceneFlownodebranchMapper.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/mapper/IvrSceneGlobalconfigMapper.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/mapper/IvrSceneIntentMapper.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/mapper/IvrSceneMapper.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/mapper/IvrSceneRecallMapper.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/mapper/IvrSceneScriptMapper.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/mapper/IvrSceneScriptmodelMapper.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/mapper/IvrScenecategoryMapper.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/mapper/SmsParamMapper.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/mapper/SmsRecordsMapper.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/mapper/SmsTempletMapper.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/IBaseSmsaccountService.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/IIvrLibIntentService.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/IIvrLibIntentcategoryService.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/IIvrLibScriptService.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/IIvrLibScriptcategoryService.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/IIvrLibScriptmodelService.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/IIvrSceneExecuteconfigService.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/IIvrSceneFlowService.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/IIvrSceneFlownodeService.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/IIvrSceneFlownodebranchService.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/IIvrSceneGlobalconfigService.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/IIvrSceneIntentService.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/IIvrSceneRecallService.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/IIvrSceneScriptService.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/IIvrSceneScriptmodelService.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/IIvrSceneService.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/IIvrScenecategoryService.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/ISmsParamService.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/ISmsRecordsService.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/ISmsTempletService.java 61 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/impl/BaseSmsaccountServiceImpl.java 96 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/impl/IvrLibIntentServiceImpl.java 96 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/impl/IvrLibIntentcategoryServiceImpl.java 96 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/impl/IvrLibScriptServiceImpl.java 96 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/impl/IvrLibScriptcategoryServiceImpl.java 96 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/impl/IvrLibScriptmodelServiceImpl.java 96 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/impl/IvrSceneExecuteconfigServiceImpl.java 96 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/impl/IvrSceneFlowServiceImpl.java 96 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/impl/IvrSceneFlownodeServiceImpl.java 96 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/impl/IvrSceneFlownodebranchServiceImpl.java 96 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/impl/IvrSceneGlobalconfigServiceImpl.java 96 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/impl/IvrSceneIntentServiceImpl.java 96 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/impl/IvrSceneRecallServiceImpl.java 96 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/impl/IvrSceneScriptServiceImpl.java 96 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/impl/IvrSceneScriptmodelServiceImpl.java 96 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/impl/IvrSceneServiceImpl.java 96 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/impl/IvrScenecategoryServiceImpl.java 96 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/impl/SmsParamServiceImpl.java 96 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/impl/SmsRecordsServiceImpl.java 96 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/java/com/smartor/service/impl/SmsTempletServiceImpl.java 96 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/resources/mapper/smartor/BaseSmsaccountMapper.xml 110 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/resources/mapper/smartor/IvrLibIntentMapper.xml 106 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/resources/mapper/smartor/IvrLibIntentcategoryMapper.xml 91 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/resources/mapper/smartor/IvrLibScriptMapper.xml 116 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/resources/mapper/smartor/IvrLibScriptcategoryMapper.xml 91 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/resources/mapper/smartor/IvrLibScriptmodelMapper.xml 141 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/resources/mapper/smartor/IvrSceneExecuteconfigMapper.xml 136 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/resources/mapper/smartor/IvrSceneFlowMapper.xml 136 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/resources/mapper/smartor/IvrSceneFlownodeMapper.xml 156 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/resources/mapper/smartor/IvrSceneFlownodebranchMapper.xml 131 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/resources/mapper/smartor/IvrSceneGlobalconfigMapper.xml 126 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/resources/mapper/smartor/IvrSceneIntentMapper.xml 161 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/resources/mapper/smartor/IvrSceneMapper.xml 151 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/resources/mapper/smartor/IvrSceneRecallMapper.xml 111 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/resources/mapper/smartor/IvrSceneScriptMapper.xml 131 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/resources/mapper/smartor/IvrSceneScriptmodelMapper.xml 146 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/resources/mapper/smartor/IvrScenecategoryMapper.xml 91 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/resources/mapper/smartor/SmsParamMapper.xml 103 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/resources/mapper/smartor/SmsRecordsMapper.xml 173 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
smartor/src/main/resources/mapper/smartor/SmsTempletMapper.xml 98 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/BaseSmsaccountController.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,104 @@
package com.smartor.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.smartor.domain.BaseSmsaccount;
import com.smartor.service.IBaseSmsaccountService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
 * çŸ­ä¿¡è´¦å·Controller
 *
 * @author smartor
 * @date 2023-03-06
 */
@RestController
@RequestMapping("/smartor/smsaccount")
public class BaseSmsaccountController extends BaseController
{
    @Autowired
    private IBaseSmsaccountService baseSmsaccountService;
    /**
     * æŸ¥è¯¢çŸ­ä¿¡è´¦å·åˆ—表
     */
    @PreAuthorize("@ss.hasPermi('smartor:smsaccount:list')")
    @GetMapping("/list")
    public TableDataInfo list(BaseSmsaccount baseSmsaccount)
    {
        startPage();
        List<BaseSmsaccount> list = baseSmsaccountService.selectBaseSmsaccountList(baseSmsaccount);
        return getDataTable(list);
    }
    /**
     * å¯¼å‡ºçŸ­ä¿¡è´¦å·åˆ—表
     */
    @PreAuthorize("@ss.hasPermi('smartor:smsaccount:export')")
    @Log(title = "短信账号", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, BaseSmsaccount baseSmsaccount)
    {
        List<BaseSmsaccount> list = baseSmsaccountService.selectBaseSmsaccountList(baseSmsaccount);
        ExcelUtil<BaseSmsaccount> util = new ExcelUtil<BaseSmsaccount>(BaseSmsaccount.class);
        util.exportExcel(response, list, "短信账号数据");
    }
    /**
     * èŽ·å–çŸ­ä¿¡è´¦å·è¯¦ç»†ä¿¡æ¯
     */
    @PreAuthorize("@ss.hasPermi('smartor:smsaccount:query')")
    @GetMapping(value = "/{smsacountid}")
    public AjaxResult getInfo(@PathVariable("smsacountid") Long smsacountid)
    {
        return success(baseSmsaccountService.selectBaseSmsaccountBySmsacountid(smsacountid));
    }
    /**
     * æ–°å¢žçŸ­ä¿¡è´¦å·
     */
    @PreAuthorize("@ss.hasPermi('smartor:smsaccount:add')")
    @Log(title = "短信账号", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody BaseSmsaccount baseSmsaccount)
    {
        return toAjax(baseSmsaccountService.insertBaseSmsaccount(baseSmsaccount));
    }
    /**
     * ä¿®æ”¹çŸ­ä¿¡è´¦å·
     */
    @PreAuthorize("@ss.hasPermi('smartor:smsaccount:edit')")
    @Log(title = "短信账号", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody BaseSmsaccount baseSmsaccount)
    {
        return toAjax(baseSmsaccountService.updateBaseSmsaccount(baseSmsaccount));
    }
    /**
     * åˆ é™¤çŸ­ä¿¡è´¦å·
     */
    @PreAuthorize("@ss.hasPermi('smartor:smsaccount:remove')")
    @Log(title = "短信账号", businessType = BusinessType.DELETE)
    @DeleteMapping("/{smsacountids}")
    public AjaxResult remove(@PathVariable Long[] smsacountids)
    {
        return toAjax(baseSmsaccountService.deleteBaseSmsaccountBySmsacountids(smsacountids));
    }
}
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrLibIntentController.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,104 @@
package com.smartor.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.smartor.domain.IvrLibIntent;
import com.smartor.service.IIvrLibIntentService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
 * AI意图库Controller
 *
 * @author smartor
 * @date 2023-03-06
 */
@RestController
@RequestMapping("/smartor/ivrlibintent")
public class IvrLibIntentController extends BaseController
{
    @Autowired
    private IIvrLibIntentService ivrLibIntentService;
    /**
     * æŸ¥è¯¢AI意图库列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintent:list')")
    @GetMapping("/list")
    public TableDataInfo list(IvrLibIntent ivrLibIntent)
    {
        startPage();
        List<IvrLibIntent> list = ivrLibIntentService.selectIvrLibIntentList(ivrLibIntent);
        return getDataTable(list);
    }
    /**
     * å¯¼å‡ºAI意图库列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintent:export')")
    @Log(title = "AI意图库", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IvrLibIntent ivrLibIntent)
    {
        List<IvrLibIntent> list = ivrLibIntentService.selectIvrLibIntentList(ivrLibIntent);
        ExcelUtil<IvrLibIntent> util = new ExcelUtil<IvrLibIntent>(IvrLibIntent.class);
        util.exportExcel(response, list, "AI意图库数据");
    }
    /**
     * èŽ·å–AI意图库详细信息
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintent:query')")
    @GetMapping(value = "/{intentid}")
    public AjaxResult getInfo(@PathVariable("intentid") Long intentid)
    {
        return success(ivrLibIntentService.selectIvrLibIntentByIntentid(intentid));
    }
    /**
     * æ–°å¢žAI意图库
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintent:add')")
    @Log(title = "AI意图库", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody IvrLibIntent ivrLibIntent)
    {
        return toAjax(ivrLibIntentService.insertIvrLibIntent(ivrLibIntent));
    }
    /**
     * ä¿®æ”¹AI意图库
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintent:edit')")
    @Log(title = "AI意图库", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody IvrLibIntent ivrLibIntent)
    {
        return toAjax(ivrLibIntentService.updateIvrLibIntent(ivrLibIntent));
    }
    /**
     * åˆ é™¤AI意图库
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintent:remove')")
    @Log(title = "AI意图库", businessType = BusinessType.DELETE)
    @DeleteMapping("/{intentids}")
    public AjaxResult remove(@PathVariable Long[] intentids)
    {
        return toAjax(ivrLibIntentService.deleteIvrLibIntentByIntentids(intentids));
    }
}
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrLibIntentcategoryController.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,104 @@
package com.smartor.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.smartor.domain.IvrLibIntentcategory;
import com.smartor.service.IIvrLibIntentcategoryService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
 * AI意图库分类Controller
 *
 * @author smartor
 * @date 2023-03-06
 */
@RestController
@RequestMapping("/smartor/ivrlibintentcategory")
public class IvrLibIntentcategoryController extends BaseController
{
    @Autowired
    private IIvrLibIntentcategoryService ivrLibIntentcategoryService;
    /**
     * æŸ¥è¯¢AI意图库分类列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:list')")
    @GetMapping("/list")
    public TableDataInfo list(IvrLibIntentcategory ivrLibIntentcategory)
    {
        startPage();
        List<IvrLibIntentcategory> list = ivrLibIntentcategoryService.selectIvrLibIntentcategoryList(ivrLibIntentcategory);
        return getDataTable(list);
    }
    /**
     * å¯¼å‡ºAI意图库分类列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:export')")
    @Log(title = "AI意图库分类", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IvrLibIntentcategory ivrLibIntentcategory)
    {
        List<IvrLibIntentcategory> list = ivrLibIntentcategoryService.selectIvrLibIntentcategoryList(ivrLibIntentcategory);
        ExcelUtil<IvrLibIntentcategory> util = new ExcelUtil<IvrLibIntentcategory>(IvrLibIntentcategory.class);
        util.exportExcel(response, list, "AI意图库分类数据");
    }
    /**
     * èŽ·å–AI意图库分类详细信息
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:query')")
    @GetMapping(value = "/{intertcatid}")
    public AjaxResult getInfo(@PathVariable("intertcatid") Long intertcatid)
    {
        return success(ivrLibIntentcategoryService.selectIvrLibIntentcategoryByIntertcatid(intertcatid));
    }
    /**
     * æ–°å¢žAI意图库分类
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:add')")
    @Log(title = "AI意图库分类", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody IvrLibIntentcategory ivrLibIntentcategory)
    {
        return toAjax(ivrLibIntentcategoryService.insertIvrLibIntentcategory(ivrLibIntentcategory));
    }
    /**
     * ä¿®æ”¹AI意图库分类
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:edit')")
    @Log(title = "AI意图库分类", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody IvrLibIntentcategory ivrLibIntentcategory)
    {
        return toAjax(ivrLibIntentcategoryService.updateIvrLibIntentcategory(ivrLibIntentcategory));
    }
    /**
     * åˆ é™¤AI意图库分类
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibintentcategory:remove')")
    @Log(title = "AI意图库分类", businessType = BusinessType.DELETE)
    @DeleteMapping("/{intertcatids}")
    public AjaxResult remove(@PathVariable Long[] intertcatids)
    {
        return toAjax(ivrLibIntentcategoryService.deleteIvrLibIntentcategoryByIntertcatids(intertcatids));
    }
}
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrLibScriptController.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,104 @@
package com.smartor.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.smartor.domain.IvrLibScript;
import com.smartor.service.IIvrLibScriptService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
 * AI话术库Controller
 *
 * @author smartor
 * @date 2023-03-06
 */
@RestController
@RequestMapping("/smartor/ivrlibscript")
public class IvrLibScriptController extends BaseController
{
    @Autowired
    private IIvrLibScriptService ivrLibScriptService;
    /**
     * æŸ¥è¯¢AI话术库列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibscript:list')")
    @GetMapping("/list")
    public TableDataInfo list(IvrLibScript ivrLibScript)
    {
        startPage();
        List<IvrLibScript> list = ivrLibScriptService.selectIvrLibScriptList(ivrLibScript);
        return getDataTable(list);
    }
    /**
     * å¯¼å‡ºAI话术库列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibscript:export')")
    @Log(title = "AI话术库", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IvrLibScript ivrLibScript)
    {
        List<IvrLibScript> list = ivrLibScriptService.selectIvrLibScriptList(ivrLibScript);
        ExcelUtil<IvrLibScript> util = new ExcelUtil<IvrLibScript>(IvrLibScript.class);
        util.exportExcel(response, list, "AI话术库数据");
    }
    /**
     * èŽ·å–AI话术库详细信息
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibscript:query')")
    @GetMapping(value = "/{scriptid}")
    public AjaxResult getInfo(@PathVariable("scriptid") Long scriptid)
    {
        return success(ivrLibScriptService.selectIvrLibScriptByScriptid(scriptid));
    }
    /**
     * æ–°å¢žAI话术库
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibscript:add')")
    @Log(title = "AI话术库", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody IvrLibScript ivrLibScript)
    {
        return toAjax(ivrLibScriptService.insertIvrLibScript(ivrLibScript));
    }
    /**
     * ä¿®æ”¹AI话术库
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibscript:edit')")
    @Log(title = "AI话术库", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody IvrLibScript ivrLibScript)
    {
        return toAjax(ivrLibScriptService.updateIvrLibScript(ivrLibScript));
    }
    /**
     * åˆ é™¤AI话术库
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibscript:remove')")
    @Log(title = "AI话术库", businessType = BusinessType.DELETE)
    @DeleteMapping("/{scriptids}")
    public AjaxResult remove(@PathVariable Long[] scriptids)
    {
        return toAjax(ivrLibScriptService.deleteIvrLibScriptByScriptids(scriptids));
    }
}
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrLibScriptcategoryController.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,104 @@
package com.smartor.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.smartor.domain.IvrLibScriptcategory;
import com.smartor.service.IIvrLibScriptcategoryService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
 * AI话术库分类Controller
 *
 * @author smartor
 * @date 2023-03-06
 */
@RestController
@RequestMapping("/smartor/ivrlibscriptcategory")
public class IvrLibScriptcategoryController extends BaseController
{
    @Autowired
    private IIvrLibScriptcategoryService ivrLibScriptcategoryService;
    /**
     * æŸ¥è¯¢AI话术库分类列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:list')")
    @GetMapping("/list")
    public TableDataInfo list(IvrLibScriptcategory ivrLibScriptcategory)
    {
        startPage();
        List<IvrLibScriptcategory> list = ivrLibScriptcategoryService.selectIvrLibScriptcategoryList(ivrLibScriptcategory);
        return getDataTable(list);
    }
    /**
     * å¯¼å‡ºAI话术库分类列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:export')")
    @Log(title = "AI话术库分类", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IvrLibScriptcategory ivrLibScriptcategory)
    {
        List<IvrLibScriptcategory> list = ivrLibScriptcategoryService.selectIvrLibScriptcategoryList(ivrLibScriptcategory);
        ExcelUtil<IvrLibScriptcategory> util = new ExcelUtil<IvrLibScriptcategory>(IvrLibScriptcategory.class);
        util.exportExcel(response, list, "AI话术库分类数据");
    }
    /**
     * èŽ·å–AI话术库分类详细信息
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:query')")
    @GetMapping(value = "/{categoryid}")
    public AjaxResult getInfo(@PathVariable("categoryid") Long categoryid)
    {
        return success(ivrLibScriptcategoryService.selectIvrLibScriptcategoryByCategoryid(categoryid));
    }
    /**
     * æ–°å¢žAI话术库分类
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:add')")
    @Log(title = "AI话术库分类", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody IvrLibScriptcategory ivrLibScriptcategory)
    {
        return toAjax(ivrLibScriptcategoryService.insertIvrLibScriptcategory(ivrLibScriptcategory));
    }
    /**
     * ä¿®æ”¹AI话术库分类
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:edit')")
    @Log(title = "AI话术库分类", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody IvrLibScriptcategory ivrLibScriptcategory)
    {
        return toAjax(ivrLibScriptcategoryService.updateIvrLibScriptcategory(ivrLibScriptcategory));
    }
    /**
     * åˆ é™¤AI话术库分类
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptcategory:remove')")
    @Log(title = "AI话术库分类", businessType = BusinessType.DELETE)
    @DeleteMapping("/{categoryids}")
    public AjaxResult remove(@PathVariable Long[] categoryids)
    {
        return toAjax(ivrLibScriptcategoryService.deleteIvrLibScriptcategoryByCategoryids(categoryids));
    }
}
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrLibScriptmodelController.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,104 @@
package com.smartor.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.smartor.domain.IvrLibScriptmodel;
import com.smartor.service.IIvrLibScriptmodelService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
 * AI话术模块Controller
 *
 * @author smartor
 * @date 2023-03-06
 */
@RestController
@RequestMapping("/smartor/ivrlibscriptmodel")
public class IvrLibScriptmodelController extends BaseController
{
    @Autowired
    private IIvrLibScriptmodelService ivrLibScriptmodelService;
    /**
     * æŸ¥è¯¢AI话术模块列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptmodel:list')")
    @GetMapping("/list")
    public TableDataInfo list(IvrLibScriptmodel ivrLibScriptmodel)
    {
        startPage();
        List<IvrLibScriptmodel> list = ivrLibScriptmodelService.selectIvrLibScriptmodelList(ivrLibScriptmodel);
        return getDataTable(list);
    }
    /**
     * å¯¼å‡ºAI话术模块列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptmodel:export')")
    @Log(title = "AI话术模块", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IvrLibScriptmodel ivrLibScriptmodel)
    {
        List<IvrLibScriptmodel> list = ivrLibScriptmodelService.selectIvrLibScriptmodelList(ivrLibScriptmodel);
        ExcelUtil<IvrLibScriptmodel> util = new ExcelUtil<IvrLibScriptmodel>(IvrLibScriptmodel.class);
        util.exportExcel(response, list, "AI话术模块数据");
    }
    /**
     * èŽ·å–AI话术模块详细信息
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptmodel:query')")
    @GetMapping(value = "/{modelid}")
    public AjaxResult getInfo(@PathVariable("modelid") Long modelid)
    {
        return success(ivrLibScriptmodelService.selectIvrLibScriptmodelByModelid(modelid));
    }
    /**
     * æ–°å¢žAI话术模块
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptmodel:add')")
    @Log(title = "AI话术模块", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody IvrLibScriptmodel ivrLibScriptmodel)
    {
        return toAjax(ivrLibScriptmodelService.insertIvrLibScriptmodel(ivrLibScriptmodel));
    }
    /**
     * ä¿®æ”¹AI话术模块
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptmodel:edit')")
    @Log(title = "AI话术模块", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody IvrLibScriptmodel ivrLibScriptmodel)
    {
        return toAjax(ivrLibScriptmodelService.updateIvrLibScriptmodel(ivrLibScriptmodel));
    }
    /**
     * åˆ é™¤AI话术模块
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrlibscriptmodel:remove')")
    @Log(title = "AI话术模块", businessType = BusinessType.DELETE)
    @DeleteMapping("/{modelids}")
    public AjaxResult remove(@PathVariable Long[] modelids)
    {
        return toAjax(ivrLibScriptmodelService.deleteIvrLibScriptmodelByModelids(modelids));
    }
}
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneController.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,104 @@
package com.smartor.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.smartor.domain.IvrScene;
import com.smartor.service.IIvrSceneService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
 * AI外呼场景管理Controller
 *
 * @author smartor
 * @date 2023-03-06
 */
@RestController
@RequestMapping("/smartor/ivrscene")
public class IvrSceneController extends BaseController
{
    @Autowired
    private IIvrSceneService ivrSceneService;
    /**
     * æŸ¥è¯¢AI外呼场景管理列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscene:list')")
    @GetMapping("/list")
    public TableDataInfo list(IvrScene ivrScene)
    {
        startPage();
        List<IvrScene> list = ivrSceneService.selectIvrSceneList(ivrScene);
        return getDataTable(list);
    }
    /**
     * å¯¼å‡ºAI外呼场景管理列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscene:export')")
    @Log(title = "AI外呼场景管理", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IvrScene ivrScene)
    {
        List<IvrScene> list = ivrSceneService.selectIvrSceneList(ivrScene);
        ExcelUtil<IvrScene> util = new ExcelUtil<IvrScene>(IvrScene.class);
        util.exportExcel(response, list, "AI外呼场景管理数据");
    }
    /**
     * èŽ·å–AI外呼场景管理详细信息
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscene:query')")
    @GetMapping(value = "/{sceneid}")
    public AjaxResult getInfo(@PathVariable("sceneid") Long sceneid)
    {
        return success(ivrSceneService.selectIvrSceneBySceneid(sceneid));
    }
    /**
     * æ–°å¢žAI外呼场景管理
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscene:add')")
    @Log(title = "AI外呼场景管理", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody IvrScene ivrScene)
    {
        return toAjax(ivrSceneService.insertIvrScene(ivrScene));
    }
    /**
     * ä¿®æ”¹AI外呼场景管理
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscene:edit')")
    @Log(title = "AI外呼场景管理", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody IvrScene ivrScene)
    {
        return toAjax(ivrSceneService.updateIvrScene(ivrScene));
    }
    /**
     * åˆ é™¤AI外呼场景管理
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscene:remove')")
    @Log(title = "AI外呼场景管理", businessType = BusinessType.DELETE)
    @DeleteMapping("/{sceneids}")
    public AjaxResult remove(@PathVariable Long[] sceneids)
    {
        return toAjax(ivrSceneService.deleteIvrSceneBySceneids(sceneids));
    }
}
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneExecuteconfigController.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,104 @@
package com.smartor.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.smartor.domain.IvrSceneExecuteconfig;
import com.smartor.service.IIvrSceneExecuteconfigService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
 * AI外呼执行配置Controller
 *
 * @author smartor
 * @date 2023-03-06
 */
@RestController
@RequestMapping("/smartor/ivrexecuteconfig")
public class IvrSceneExecuteconfigController extends BaseController
{
    @Autowired
    private IIvrSceneExecuteconfigService ivrSceneExecuteconfigService;
    /**
     * æŸ¥è¯¢AI外呼执行配置列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrexecuteconfig:list')")
    @GetMapping("/list")
    public TableDataInfo list(IvrSceneExecuteconfig ivrSceneExecuteconfig)
    {
        startPage();
        List<IvrSceneExecuteconfig> list = ivrSceneExecuteconfigService.selectIvrSceneExecuteconfigList(ivrSceneExecuteconfig);
        return getDataTable(list);
    }
    /**
     * å¯¼å‡ºAI外呼执行配置列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrexecuteconfig:export')")
    @Log(title = "AI外呼执行配置", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IvrSceneExecuteconfig ivrSceneExecuteconfig)
    {
        List<IvrSceneExecuteconfig> list = ivrSceneExecuteconfigService.selectIvrSceneExecuteconfigList(ivrSceneExecuteconfig);
        ExcelUtil<IvrSceneExecuteconfig> util = new ExcelUtil<IvrSceneExecuteconfig>(IvrSceneExecuteconfig.class);
        util.exportExcel(response, list, "AI外呼执行配置数据");
    }
    /**
     * èŽ·å–AI外呼执行配置详细信息
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrexecuteconfig:query')")
    @GetMapping(value = "/{scenecfgid}")
    public AjaxResult getInfo(@PathVariable("scenecfgid") Long scenecfgid)
    {
        return success(ivrSceneExecuteconfigService.selectIvrSceneExecuteconfigByScenecfgid(scenecfgid));
    }
    /**
     * æ–°å¢žAI外呼执行配置
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrexecuteconfig:add')")
    @Log(title = "AI外呼执行配置", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody IvrSceneExecuteconfig ivrSceneExecuteconfig)
    {
        return toAjax(ivrSceneExecuteconfigService.insertIvrSceneExecuteconfig(ivrSceneExecuteconfig));
    }
    /**
     * ä¿®æ”¹AI外呼执行配置
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrexecuteconfig:edit')")
    @Log(title = "AI外呼执行配置", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody IvrSceneExecuteconfig ivrSceneExecuteconfig)
    {
        return toAjax(ivrSceneExecuteconfigService.updateIvrSceneExecuteconfig(ivrSceneExecuteconfig));
    }
    /**
     * åˆ é™¤AI外呼执行配置
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrexecuteconfig:remove')")
    @Log(title = "AI外呼执行配置", businessType = BusinessType.DELETE)
    @DeleteMapping("/{scenecfgids}")
    public AjaxResult remove(@PathVariable Long[] scenecfgids)
    {
        return toAjax(ivrSceneExecuteconfigService.deleteIvrSceneExecuteconfigByScenecfgids(scenecfgids));
    }
}
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneFlowController.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,104 @@
package com.smartor.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.smartor.domain.IvrSceneFlow;
import com.smartor.service.IIvrSceneFlowService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
 * AI外呼流程Controller
 *
 * @author smartor
 * @date 2023-03-06
 */
@RestController
@RequestMapping("/smartor/ivrflow")
public class IvrSceneFlowController extends BaseController
{
    @Autowired
    private IIvrSceneFlowService ivrSceneFlowService;
    /**
     * æŸ¥è¯¢AI外呼流程列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflow:list')")
    @GetMapping("/list")
    public TableDataInfo list(IvrSceneFlow ivrSceneFlow)
    {
        startPage();
        List<IvrSceneFlow> list = ivrSceneFlowService.selectIvrSceneFlowList(ivrSceneFlow);
        return getDataTable(list);
    }
    /**
     * å¯¼å‡ºAI外呼流程列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflow:export')")
    @Log(title = "AI外呼流程", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IvrSceneFlow ivrSceneFlow)
    {
        List<IvrSceneFlow> list = ivrSceneFlowService.selectIvrSceneFlowList(ivrSceneFlow);
        ExcelUtil<IvrSceneFlow> util = new ExcelUtil<IvrSceneFlow>(IvrSceneFlow.class);
        util.exportExcel(response, list, "AI外呼流程数据");
    }
    /**
     * èŽ·å–AI外呼流程详细信息
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflow:query')")
    @GetMapping(value = "/{flowid}")
    public AjaxResult getInfo(@PathVariable("flowid") Long flowid)
    {
        return success(ivrSceneFlowService.selectIvrSceneFlowByFlowid(flowid));
    }
    /**
     * æ–°å¢žAI外呼流程
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflow:add')")
    @Log(title = "AI外呼流程", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody IvrSceneFlow ivrSceneFlow)
    {
        return toAjax(ivrSceneFlowService.insertIvrSceneFlow(ivrSceneFlow));
    }
    /**
     * ä¿®æ”¹AI外呼流程
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflow:edit')")
    @Log(title = "AI外呼流程", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody IvrSceneFlow ivrSceneFlow)
    {
        return toAjax(ivrSceneFlowService.updateIvrSceneFlow(ivrSceneFlow));
    }
    /**
     * åˆ é™¤AI外呼流程
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflow:remove')")
    @Log(title = "AI外呼流程", businessType = BusinessType.DELETE)
    @DeleteMapping("/{flowids}")
    public AjaxResult remove(@PathVariable Long[] flowids)
    {
        return toAjax(ivrSceneFlowService.deleteIvrSceneFlowByFlowids(flowids));
    }
}
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneFlownodeController.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,104 @@
package com.smartor.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.smartor.domain.IvrSceneFlownode;
import com.smartor.service.IIvrSceneFlownodeService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
 * AI外呼流程节点Controller
 *
 * @author smartor
 * @date 2023-03-06
 */
@RestController
@RequestMapping("/smartor/ivrflownode")
public class IvrSceneFlownodeController extends BaseController
{
    @Autowired
    private IIvrSceneFlownodeService ivrSceneFlownodeService;
    /**
     * æŸ¥è¯¢AI外呼流程节点列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:list')")
    @GetMapping("/list")
    public TableDataInfo list(IvrSceneFlownode ivrSceneFlownode)
    {
        startPage();
        List<IvrSceneFlownode> list = ivrSceneFlownodeService.selectIvrSceneFlownodeList(ivrSceneFlownode);
        return getDataTable(list);
    }
    /**
     * å¯¼å‡ºAI外呼流程节点列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:export')")
    @Log(title = "AI外呼流程节点", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IvrSceneFlownode ivrSceneFlownode)
    {
        List<IvrSceneFlownode> list = ivrSceneFlownodeService.selectIvrSceneFlownodeList(ivrSceneFlownode);
        ExcelUtil<IvrSceneFlownode> util = new ExcelUtil<IvrSceneFlownode>(IvrSceneFlownode.class);
        util.exportExcel(response, list, "AI外呼流程节点数据");
    }
    /**
     * èŽ·å–AI外呼流程节点详细信息
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:query')")
    @GetMapping(value = "/{flownodeid}")
    public AjaxResult getInfo(@PathVariable("flownodeid") Long flownodeid)
    {
        return success(ivrSceneFlownodeService.selectIvrSceneFlownodeByFlownodeid(flownodeid));
    }
    /**
     * æ–°å¢žAI外呼流程节点
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:add')")
    @Log(title = "AI外呼流程节点", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody IvrSceneFlownode ivrSceneFlownode)
    {
        return toAjax(ivrSceneFlownodeService.insertIvrSceneFlownode(ivrSceneFlownode));
    }
    /**
     * ä¿®æ”¹AI外呼流程节点
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:edit')")
    @Log(title = "AI外呼流程节点", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody IvrSceneFlownode ivrSceneFlownode)
    {
        return toAjax(ivrSceneFlownodeService.updateIvrSceneFlownode(ivrSceneFlownode));
    }
    /**
     * åˆ é™¤AI外呼流程节点
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflownode:remove')")
    @Log(title = "AI外呼流程节点", businessType = BusinessType.DELETE)
    @DeleteMapping("/{flownodeids}")
    public AjaxResult remove(@PathVariable Long[] flownodeids)
    {
        return toAjax(ivrSceneFlownodeService.deleteIvrSceneFlownodeByFlownodeids(flownodeids));
    }
}
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneFlownodebranchController.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,104 @@
package com.smartor.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.smartor.domain.IvrSceneFlownodebranch;
import com.smartor.service.IIvrSceneFlownodebranchService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
 * AI外呼流程节点分支Controller
 *
 * @author smartor
 * @date 2023-03-06
 */
@RestController
@RequestMapping("/smartor/ivrflownodebranch")
public class IvrSceneFlownodebranchController extends BaseController
{
    @Autowired
    private IIvrSceneFlownodebranchService ivrSceneFlownodebranchService;
    /**
     * æŸ¥è¯¢AI外呼流程节点分支列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflownodebranch:list')")
    @GetMapping("/list")
    public TableDataInfo list(IvrSceneFlownodebranch ivrSceneFlownodebranch)
    {
        startPage();
        List<IvrSceneFlownodebranch> list = ivrSceneFlownodebranchService.selectIvrSceneFlownodebranchList(ivrSceneFlownodebranch);
        return getDataTable(list);
    }
    /**
     * å¯¼å‡ºAI外呼流程节点分支列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflownodebranch:export')")
    @Log(title = "AI外呼流程节点分支", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IvrSceneFlownodebranch ivrSceneFlownodebranch)
    {
        List<IvrSceneFlownodebranch> list = ivrSceneFlownodebranchService.selectIvrSceneFlownodebranchList(ivrSceneFlownodebranch);
        ExcelUtil<IvrSceneFlownodebranch> util = new ExcelUtil<IvrSceneFlownodebranch>(IvrSceneFlownodebranch.class);
        util.exportExcel(response, list, "AI外呼流程节点分支数据");
    }
    /**
     * èŽ·å–AI外呼流程节点分支详细信息
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflownodebranch:query')")
    @GetMapping(value = "/{branchid}")
    public AjaxResult getInfo(@PathVariable("branchid") Long branchid)
    {
        return success(ivrSceneFlownodebranchService.selectIvrSceneFlownodebranchByBranchid(branchid));
    }
    /**
     * æ–°å¢žAI外呼流程节点分支
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflownodebranch:add')")
    @Log(title = "AI外呼流程节点分支", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody IvrSceneFlownodebranch ivrSceneFlownodebranch)
    {
        return toAjax(ivrSceneFlownodebranchService.insertIvrSceneFlownodebranch(ivrSceneFlownodebranch));
    }
    /**
     * ä¿®æ”¹AI外呼流程节点分支
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflownodebranch:edit')")
    @Log(title = "AI外呼流程节点分支", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody IvrSceneFlownodebranch ivrSceneFlownodebranch)
    {
        return toAjax(ivrSceneFlownodebranchService.updateIvrSceneFlownodebranch(ivrSceneFlownodebranch));
    }
    /**
     * åˆ é™¤AI外呼流程节点分支
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrflownodebranch:remove')")
    @Log(title = "AI外呼流程节点分支", businessType = BusinessType.DELETE)
    @DeleteMapping("/{branchids}")
    public AjaxResult remove(@PathVariable Long[] branchids)
    {
        return toAjax(ivrSceneFlownodebranchService.deleteIvrSceneFlownodebranchByBranchids(branchids));
    }
}
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneGlobalconfigController.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,104 @@
package com.smartor.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.smartor.domain.IvrSceneGlobalconfig;
import com.smartor.service.IIvrSceneGlobalconfigService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
 * AI外呼全局配置Controller
 *
 * @author smartor
 * @date 2023-03-06
 */
@RestController
@RequestMapping("/smartor/ivrglobalconfig")
public class IvrSceneGlobalconfigController extends BaseController
{
    @Autowired
    private IIvrSceneGlobalconfigService ivrSceneGlobalconfigService;
    /**
     * æŸ¥è¯¢AI外呼全局配置列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrglobalconfig:list')")
    @GetMapping("/list")
    public TableDataInfo list(IvrSceneGlobalconfig ivrSceneGlobalconfig)
    {
        startPage();
        List<IvrSceneGlobalconfig> list = ivrSceneGlobalconfigService.selectIvrSceneGlobalconfigList(ivrSceneGlobalconfig);
        return getDataTable(list);
    }
    /**
     * å¯¼å‡ºAI外呼全局配置列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrglobalconfig:export')")
    @Log(title = "AI外呼全局配置", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IvrSceneGlobalconfig ivrSceneGlobalconfig)
    {
        List<IvrSceneGlobalconfig> list = ivrSceneGlobalconfigService.selectIvrSceneGlobalconfigList(ivrSceneGlobalconfig);
        ExcelUtil<IvrSceneGlobalconfig> util = new ExcelUtil<IvrSceneGlobalconfig>(IvrSceneGlobalconfig.class);
        util.exportExcel(response, list, "AI外呼全局配置数据");
    }
    /**
     * èŽ·å–AI外呼全局配置详细信息
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrglobalconfig:query')")
    @GetMapping(value = "/{gblconfigid}")
    public AjaxResult getInfo(@PathVariable("gblconfigid") Long gblconfigid)
    {
        return success(ivrSceneGlobalconfigService.selectIvrSceneGlobalconfigByGblconfigid(gblconfigid));
    }
    /**
     * æ–°å¢žAI外呼全局配置
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrglobalconfig:add')")
    @Log(title = "AI外呼全局配置", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody IvrSceneGlobalconfig ivrSceneGlobalconfig)
    {
        return toAjax(ivrSceneGlobalconfigService.insertIvrSceneGlobalconfig(ivrSceneGlobalconfig));
    }
    /**
     * ä¿®æ”¹AI外呼全局配置
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrglobalconfig:edit')")
    @Log(title = "AI外呼全局配置", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody IvrSceneGlobalconfig ivrSceneGlobalconfig)
    {
        return toAjax(ivrSceneGlobalconfigService.updateIvrSceneGlobalconfig(ivrSceneGlobalconfig));
    }
    /**
     * åˆ é™¤AI外呼全局配置
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrglobalconfig:remove')")
    @Log(title = "AI外呼全局配置", businessType = BusinessType.DELETE)
    @DeleteMapping("/{gblconfigids}")
    public AjaxResult remove(@PathVariable Long[] gblconfigids)
    {
        return toAjax(ivrSceneGlobalconfigService.deleteIvrSceneGlobalconfigByGblconfigids(gblconfigids));
    }
}
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneIntentController.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,104 @@
package com.smartor.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.smartor.domain.IvrSceneIntent;
import com.smartor.service.IIvrSceneIntentService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
 * AI外呼意图Controller
 *
 * @author smartor
 * @date 2023-03-06
 */
@RestController
@RequestMapping("/smartor/ivrintent")
public class IvrSceneIntentController extends BaseController
{
    @Autowired
    private IIvrSceneIntentService ivrSceneIntentService;
    /**
     * æŸ¥è¯¢AI外呼意图列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrintent:list')")
    @GetMapping("/list")
    public TableDataInfo list(IvrSceneIntent ivrSceneIntent)
    {
        startPage();
        List<IvrSceneIntent> list = ivrSceneIntentService.selectIvrSceneIntentList(ivrSceneIntent);
        return getDataTable(list);
    }
    /**
     * å¯¼å‡ºAI外呼意图列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrintent:export')")
    @Log(title = "AI外呼意图", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IvrSceneIntent ivrSceneIntent)
    {
        List<IvrSceneIntent> list = ivrSceneIntentService.selectIvrSceneIntentList(ivrSceneIntent);
        ExcelUtil<IvrSceneIntent> util = new ExcelUtil<IvrSceneIntent>(IvrSceneIntent.class);
        util.exportExcel(response, list, "AI外呼意图数据");
    }
    /**
     * èŽ·å–AI外呼意图详细信息
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrintent:query')")
    @GetMapping(value = "/{sceneintentid}")
    public AjaxResult getInfo(@PathVariable("sceneintentid") Long sceneintentid)
    {
        return success(ivrSceneIntentService.selectIvrSceneIntentBySceneintentid(sceneintentid));
    }
    /**
     * æ–°å¢žAI外呼意图
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrintent:add')")
    @Log(title = "AI外呼意图", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody IvrSceneIntent ivrSceneIntent)
    {
        return toAjax(ivrSceneIntentService.insertIvrSceneIntent(ivrSceneIntent));
    }
    /**
     * ä¿®æ”¹AI外呼意图
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrintent:edit')")
    @Log(title = "AI外呼意图", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody IvrSceneIntent ivrSceneIntent)
    {
        return toAjax(ivrSceneIntentService.updateIvrSceneIntent(ivrSceneIntent));
    }
    /**
     * åˆ é™¤AI外呼意图
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrintent:remove')")
    @Log(title = "AI外呼意图", businessType = BusinessType.DELETE)
    @DeleteMapping("/{sceneintentids}")
    public AjaxResult remove(@PathVariable Long[] sceneintentids)
    {
        return toAjax(ivrSceneIntentService.deleteIvrSceneIntentBySceneintentids(sceneintentids));
    }
}
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneRecallController.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,104 @@
package com.smartor.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.smartor.domain.IvrSceneRecall;
import com.smartor.service.IIvrSceneRecallService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
 * AI外呼重拨配置Controller
 *
 * @author smartor
 * @date 2023-03-06
 */
@RestController
@RequestMapping("/smartor/ivrrecall")
public class IvrSceneRecallController extends BaseController
{
    @Autowired
    private IIvrSceneRecallService ivrSceneRecallService;
    /**
     * æŸ¥è¯¢AI外呼重拨配置列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrrecall:list')")
    @GetMapping("/list")
    public TableDataInfo list(IvrSceneRecall ivrSceneRecall)
    {
        startPage();
        List<IvrSceneRecall> list = ivrSceneRecallService.selectIvrSceneRecallList(ivrSceneRecall);
        return getDataTable(list);
    }
    /**
     * å¯¼å‡ºAI外呼重拨配置列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrrecall:export')")
    @Log(title = "AI外呼重拨配置", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IvrSceneRecall ivrSceneRecall)
    {
        List<IvrSceneRecall> list = ivrSceneRecallService.selectIvrSceneRecallList(ivrSceneRecall);
        ExcelUtil<IvrSceneRecall> util = new ExcelUtil<IvrSceneRecall>(IvrSceneRecall.class);
        util.exportExcel(response, list, "AI外呼重拨配置数据");
    }
    /**
     * èŽ·å–AI外呼重拨配置详细信息
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrrecall:query')")
    @GetMapping(value = "/{recallid}")
    public AjaxResult getInfo(@PathVariable("recallid") Long recallid)
    {
        return success(ivrSceneRecallService.selectIvrSceneRecallByRecallid(recallid));
    }
    /**
     * æ–°å¢žAI外呼重拨配置
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrrecall:add')")
    @Log(title = "AI外呼重拨配置", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody IvrSceneRecall ivrSceneRecall)
    {
        return toAjax(ivrSceneRecallService.insertIvrSceneRecall(ivrSceneRecall));
    }
    /**
     * ä¿®æ”¹AI外呼重拨配置
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrrecall:edit')")
    @Log(title = "AI外呼重拨配置", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody IvrSceneRecall ivrSceneRecall)
    {
        return toAjax(ivrSceneRecallService.updateIvrSceneRecall(ivrSceneRecall));
    }
    /**
     * åˆ é™¤AI外呼重拨配置
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrrecall:remove')")
    @Log(title = "AI外呼重拨配置", businessType = BusinessType.DELETE)
    @DeleteMapping("/{recallids}")
    public AjaxResult remove(@PathVariable Long[] recallids)
    {
        return toAjax(ivrSceneRecallService.deleteIvrSceneRecallByRecallids(recallids));
    }
}
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneScriptController.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,104 @@
package com.smartor.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.smartor.domain.IvrSceneScript;
import com.smartor.service.IIvrSceneScriptService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
 * AI外呼话术Controller
 *
 * @author smartor
 * @date 2023-03-06
 */
@RestController
@RequestMapping("/smartor/ivrscript")
public class IvrSceneScriptController extends BaseController
{
    @Autowired
    private IIvrSceneScriptService ivrSceneScriptService;
    /**
     * æŸ¥è¯¢AI外呼话术列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscript:list')")
    @GetMapping("/list")
    public TableDataInfo list(IvrSceneScript ivrSceneScript)
    {
        startPage();
        List<IvrSceneScript> list = ivrSceneScriptService.selectIvrSceneScriptList(ivrSceneScript);
        return getDataTable(list);
    }
    /**
     * å¯¼å‡ºAI外呼话术列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscript:export')")
    @Log(title = "AI外呼话术", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IvrSceneScript ivrSceneScript)
    {
        List<IvrSceneScript> list = ivrSceneScriptService.selectIvrSceneScriptList(ivrSceneScript);
        ExcelUtil<IvrSceneScript> util = new ExcelUtil<IvrSceneScript>(IvrSceneScript.class);
        util.exportExcel(response, list, "AI外呼话术数据");
    }
    /**
     * èŽ·å–AI外呼话术详细信息
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscript:query')")
    @GetMapping(value = "/{scenescrid}")
    public AjaxResult getInfo(@PathVariable("scenescrid") Long scenescrid)
    {
        return success(ivrSceneScriptService.selectIvrSceneScriptByScenescrid(scenescrid));
    }
    /**
     * æ–°å¢žAI外呼话术
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscript:add')")
    @Log(title = "AI外呼话术", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody IvrSceneScript ivrSceneScript)
    {
        return toAjax(ivrSceneScriptService.insertIvrSceneScript(ivrSceneScript));
    }
    /**
     * ä¿®æ”¹AI外呼话术
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscript:edit')")
    @Log(title = "AI外呼话术", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody IvrSceneScript ivrSceneScript)
    {
        return toAjax(ivrSceneScriptService.updateIvrSceneScript(ivrSceneScript));
    }
    /**
     * åˆ é™¤AI外呼话术
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscript:remove')")
    @Log(title = "AI外呼话术", businessType = BusinessType.DELETE)
    @DeleteMapping("/{scenescrids}")
    public AjaxResult remove(@PathVariable Long[] scenescrids)
    {
        return toAjax(ivrSceneScriptService.deleteIvrSceneScriptByScenescrids(scenescrids));
    }
}
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrSceneScriptmodelController.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,104 @@
package com.smartor.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.smartor.domain.IvrSceneScriptmodel;
import com.smartor.service.IIvrSceneScriptmodelService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
 * AI外呼话术模块Controller
 *
 * @author smartor
 * @date 2023-03-06
 */
@RestController
@RequestMapping("/smartor/ivrscriptmodel")
public class IvrSceneScriptmodelController extends BaseController
{
    @Autowired
    private IIvrSceneScriptmodelService ivrSceneScriptmodelService;
    /**
     * æŸ¥è¯¢AI外呼话术模块列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscriptmodel:list')")
    @GetMapping("/list")
    public TableDataInfo list(IvrSceneScriptmodel ivrSceneScriptmodel)
    {
        startPage();
        List<IvrSceneScriptmodel> list = ivrSceneScriptmodelService.selectIvrSceneScriptmodelList(ivrSceneScriptmodel);
        return getDataTable(list);
    }
    /**
     * å¯¼å‡ºAI外呼话术模块列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscriptmodel:export')")
    @Log(title = "AI外呼话术模块", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IvrSceneScriptmodel ivrSceneScriptmodel)
    {
        List<IvrSceneScriptmodel> list = ivrSceneScriptmodelService.selectIvrSceneScriptmodelList(ivrSceneScriptmodel);
        ExcelUtil<IvrSceneScriptmodel> util = new ExcelUtil<IvrSceneScriptmodel>(IvrSceneScriptmodel.class);
        util.exportExcel(response, list, "AI外呼话术模块数据");
    }
    /**
     * èŽ·å–AI外呼话术模块详细信息
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscriptmodel:query')")
    @GetMapping(value = "/{scenemodid}")
    public AjaxResult getInfo(@PathVariable("scenemodid") Long scenemodid)
    {
        return success(ivrSceneScriptmodelService.selectIvrSceneScriptmodelByScenemodid(scenemodid));
    }
    /**
     * æ–°å¢žAI外呼话术模块
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscriptmodel:add')")
    @Log(title = "AI外呼话术模块", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody IvrSceneScriptmodel ivrSceneScriptmodel)
    {
        return toAjax(ivrSceneScriptmodelService.insertIvrSceneScriptmodel(ivrSceneScriptmodel));
    }
    /**
     * ä¿®æ”¹AI外呼话术模块
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscriptmodel:edit')")
    @Log(title = "AI外呼话术模块", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody IvrSceneScriptmodel ivrSceneScriptmodel)
    {
        return toAjax(ivrSceneScriptmodelService.updateIvrSceneScriptmodel(ivrSceneScriptmodel));
    }
    /**
     * åˆ é™¤AI外呼话术模块
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscriptmodel:remove')")
    @Log(title = "AI外呼话术模块", businessType = BusinessType.DELETE)
    @DeleteMapping("/{scenemodids}")
    public AjaxResult remove(@PathVariable Long[] scenemodids)
    {
        return toAjax(ivrSceneScriptmodelService.deleteIvrSceneScriptmodelByScenemodids(scenemodids));
    }
}
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrScenecategoryController.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,104 @@
package com.smartor.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.smartor.domain.IvrScenecategory;
import com.smartor.service.IIvrScenecategoryService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
 * AI服务场景管理分类Controller
 *
 * @author smartor
 * @date 2023-03-06
 */
@RestController
@RequestMapping("/smartor/ivrscenecategory")
public class IvrScenecategoryController extends BaseController
{
    @Autowired
    private IIvrScenecategoryService ivrScenecategoryService;
    /**
     * æŸ¥è¯¢AI服务场景管理分类列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscenecategory:list')")
    @GetMapping("/list")
    public TableDataInfo list(IvrScenecategory ivrScenecategory)
    {
        startPage();
        List<IvrScenecategory> list = ivrScenecategoryService.selectIvrScenecategoryList(ivrScenecategory);
        return getDataTable(list);
    }
    /**
     * å¯¼å‡ºAI服务场景管理分类列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscenecategory:export')")
    @Log(title = "AI服务场景管理分类", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, IvrScenecategory ivrScenecategory)
    {
        List<IvrScenecategory> list = ivrScenecategoryService.selectIvrScenecategoryList(ivrScenecategory);
        ExcelUtil<IvrScenecategory> util = new ExcelUtil<IvrScenecategory>(IvrScenecategory.class);
        util.exportExcel(response, list, "AI服务场景管理分类数据");
    }
    /**
     * èŽ·å–AI服务场景管理分类详细信息
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscenecategory:query')")
    @GetMapping(value = "/{scenecatid}")
    public AjaxResult getInfo(@PathVariable("scenecatid") Long scenecatid)
    {
        return success(ivrScenecategoryService.selectIvrScenecategoryByScenecatid(scenecatid));
    }
    /**
     * æ–°å¢žAI服务场景管理分类
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscenecategory:add')")
    @Log(title = "AI服务场景管理分类", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody IvrScenecategory ivrScenecategory)
    {
        return toAjax(ivrScenecategoryService.insertIvrScenecategory(ivrScenecategory));
    }
    /**
     * ä¿®æ”¹AI服务场景管理分类
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscenecategory:edit')")
    @Log(title = "AI服务场景管理分类", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody IvrScenecategory ivrScenecategory)
    {
        return toAjax(ivrScenecategoryService.updateIvrScenecategory(ivrScenecategory));
    }
    /**
     * åˆ é™¤AI服务场景管理分类
     */
    @PreAuthorize("@ss.hasPermi('smartor:ivrscenecategory:remove')")
    @Log(title = "AI服务场景管理分类", businessType = BusinessType.DELETE)
    @DeleteMapping("/{scenecatids}")
    public AjaxResult remove(@PathVariable Long[] scenecatids)
    {
        return toAjax(ivrScenecategoryService.deleteIvrScenecategoryByScenecatids(scenecatids));
    }
}
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/SmsParamController.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,104 @@
package com.smartor.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.smartor.domain.SmsParam;
import com.smartor.service.ISmsParamService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
 * çŸ­ä¿¡å‚æ•°Controller
 *
 * @author smartor
 * @date 2023-03-06
 */
@RestController
@RequestMapping("/smartor/smsparam")
public class SmsParamController extends BaseController
{
    @Autowired
    private ISmsParamService smsParamService;
    /**
     * æŸ¥è¯¢çŸ­ä¿¡å‚数列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:smsparam:list')")
    @GetMapping("/list")
    public TableDataInfo list(SmsParam smsParam)
    {
        startPage();
        List<SmsParam> list = smsParamService.selectSmsParamList(smsParam);
        return getDataTable(list);
    }
    /**
     * å¯¼å‡ºçŸ­ä¿¡å‚数列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:smsparam:export')")
    @Log(title = "短信参数", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, SmsParam smsParam)
    {
        List<SmsParam> list = smsParamService.selectSmsParamList(smsParam);
        ExcelUtil<SmsParam> util = new ExcelUtil<SmsParam>(SmsParam.class);
        util.exportExcel(response, list, "短信参数数据");
    }
    /**
     * èŽ·å–çŸ­ä¿¡å‚æ•°è¯¦ç»†ä¿¡æ¯
     */
    @PreAuthorize("@ss.hasPermi('smartor:smsparam:query')")
    @GetMapping(value = "/{paramid}")
    public AjaxResult getInfo(@PathVariable("paramid") Long paramid)
    {
        return success(smsParamService.selectSmsParamByParamid(paramid));
    }
    /**
     * æ–°å¢žçŸ­ä¿¡å‚æ•°
     */
    @PreAuthorize("@ss.hasPermi('smartor:smsparam:add')")
    @Log(title = "短信参数", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody SmsParam smsParam)
    {
        return toAjax(smsParamService.insertSmsParam(smsParam));
    }
    /**
     * ä¿®æ”¹çŸ­ä¿¡å‚æ•°
     */
    @PreAuthorize("@ss.hasPermi('smartor:smsparam:edit')")
    @Log(title = "短信参数", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody SmsParam smsParam)
    {
        return toAjax(smsParamService.updateSmsParam(smsParam));
    }
    /**
     * åˆ é™¤çŸ­ä¿¡å‚æ•°
     */
    @PreAuthorize("@ss.hasPermi('smartor:smsparam:remove')")
    @Log(title = "短信参数", businessType = BusinessType.DELETE)
    @DeleteMapping("/{paramids}")
    public AjaxResult remove(@PathVariable Long[] paramids)
    {
        return toAjax(smsParamService.deleteSmsParamByParamids(paramids));
    }
}
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/SmsRecordsController.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,104 @@
package com.smartor.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.smartor.domain.SmsRecords;
import com.smartor.service.ISmsRecordsService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
 * çŸ­ä¿¡è®°å½•Controller
 *
 * @author smartor
 * @date 2023-03-06
 */
@RestController
@RequestMapping("/smartor/smsrecords")
public class SmsRecordsController extends BaseController
{
    @Autowired
    private ISmsRecordsService smsRecordsService;
    /**
     * æŸ¥è¯¢çŸ­ä¿¡è®°å½•列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:smsrecords:list')")
    @GetMapping("/list")
    public TableDataInfo list(SmsRecords smsRecords)
    {
        startPage();
        List<SmsRecords> list = smsRecordsService.selectSmsRecordsList(smsRecords);
        return getDataTable(list);
    }
    /**
     * å¯¼å‡ºçŸ­ä¿¡è®°å½•列表
     */
    @PreAuthorize("@ss.hasPermi('smartor:smsrecords:export')")
    @Log(title = "短信记录", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, SmsRecords smsRecords)
    {
        List<SmsRecords> list = smsRecordsService.selectSmsRecordsList(smsRecords);
        ExcelUtil<SmsRecords> util = new ExcelUtil<SmsRecords>(SmsRecords.class);
        util.exportExcel(response, list, "短信记录数据");
    }
    /**
     * èŽ·å–çŸ­ä¿¡è®°å½•è¯¦ç»†ä¿¡æ¯
     */
    @PreAuthorize("@ss.hasPermi('smartor:smsrecords:query')")
    @GetMapping(value = "/{recordid}")
    public AjaxResult getInfo(@PathVariable("recordid") Long recordid)
    {
        return success(smsRecordsService.selectSmsRecordsByRecordid(recordid));
    }
    /**
     * æ–°å¢žçŸ­ä¿¡è®°å½•
     */
    @PreAuthorize("@ss.hasPermi('smartor:smsrecords:add')")
    @Log(title = "短信记录", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody SmsRecords smsRecords)
    {
        return toAjax(smsRecordsService.insertSmsRecords(smsRecords));
    }
    /**
     * ä¿®æ”¹çŸ­ä¿¡è®°å½•
     */
    @PreAuthorize("@ss.hasPermi('smartor:smsrecords:edit')")
    @Log(title = "短信记录", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody SmsRecords smsRecords)
    {
        return toAjax(smsRecordsService.updateSmsRecords(smsRecords));
    }
    /**
     * åˆ é™¤çŸ­ä¿¡è®°å½•
     */
    @PreAuthorize("@ss.hasPermi('smartor:smsrecords:remove')")
    @Log(title = "短信记录", businessType = BusinessType.DELETE)
    @DeleteMapping("/{recordids}")
    public AjaxResult remove(@PathVariable Long[] recordids)
    {
        return toAjax(smsRecordsService.deleteSmsRecordsByRecordids(recordids));
    }
}
ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/SmsTempletController.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,104 @@
package com.smartor.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.smartor.domain.SmsTemplet;
import com.smartor.service.ISmsTempletService;
import com.ruoyi.common.utils.poi.ExcelUtil;
import com.ruoyi.common.core.page.TableDataInfo;
/**
 * çŸ­ä¿¡æ¨¡æ¿Controller
 *
 * @author smartor
 * @date 2023-03-06
 */
@RestController
@RequestMapping("/smartor/smstemplet")
public class SmsTempletController extends BaseController
{
    @Autowired
    private ISmsTempletService smsTempletService;
    /**
     * æŸ¥è¯¢çŸ­ä¿¡æ¨¡æ¿åˆ—表
     */
    @PreAuthorize("@ss.hasPermi('smartor:smstemplet:list')")
    @GetMapping("/list")
    public TableDataInfo list(SmsTemplet smsTemplet)
    {
        startPage();
        List<SmsTemplet> list = smsTempletService.selectSmsTempletList(smsTemplet);
        return getDataTable(list);
    }
    /**
     * å¯¼å‡ºçŸ­ä¿¡æ¨¡æ¿åˆ—表
     */
    @PreAuthorize("@ss.hasPermi('smartor:smstemplet:export')")
    @Log(title = "短信模板", businessType = BusinessType.EXPORT)
    @PostMapping("/export")
    public void export(HttpServletResponse response, SmsTemplet smsTemplet)
    {
        List<SmsTemplet> list = smsTempletService.selectSmsTempletList(smsTemplet);
        ExcelUtil<SmsTemplet> util = new ExcelUtil<SmsTemplet>(SmsTemplet.class);
        util.exportExcel(response, list, "短信模板数据");
    }
    /**
     * èŽ·å–çŸ­ä¿¡æ¨¡æ¿è¯¦ç»†ä¿¡æ¯
     */
    @PreAuthorize("@ss.hasPermi('smartor:smstemplet:query')")
    @GetMapping(value = "/{templetid}")
    public AjaxResult getInfo(@PathVariable("templetid") Long templetid)
    {
        return success(smsTempletService.selectSmsTempletByTempletid(templetid));
    }
    /**
     * æ–°å¢žçŸ­ä¿¡æ¨¡æ¿
     */
    @PreAuthorize("@ss.hasPermi('smartor:smstemplet:add')")
    @Log(title = "短信模板", businessType = BusinessType.INSERT)
    @PostMapping
    public AjaxResult add(@RequestBody SmsTemplet smsTemplet)
    {
        return toAjax(smsTempletService.insertSmsTemplet(smsTemplet));
    }
    /**
     * ä¿®æ”¹çŸ­ä¿¡æ¨¡æ¿
     */
    @PreAuthorize("@ss.hasPermi('smartor:smstemplet:edit')")
    @Log(title = "短信模板", businessType = BusinessType.UPDATE)
    @PutMapping
    public AjaxResult edit(@RequestBody SmsTemplet smsTemplet)
    {
        return toAjax(smsTempletService.updateSmsTemplet(smsTemplet));
    }
    /**
     * åˆ é™¤çŸ­ä¿¡æ¨¡æ¿
     */
    @PreAuthorize("@ss.hasPermi('smartor:smstemplet:remove')")
    @Log(title = "短信模板", businessType = BusinessType.DELETE)
    @DeleteMapping("/{templetids}")
    public AjaxResult remove(@PathVariable Long[] templetids)
    {
        return toAjax(smsTempletService.deleteSmsTempletByTempletids(templetids));
    }
}
smartor/src/main/java/com/smartor/domain/BaseSmsaccount.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,156 @@
package com.smartor.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * çŸ­ä¿¡è´¦å·å¯¹è±¡ base_smsaccount
 *
 * @author smartor
 * @date 2023-03-06
 */
public class BaseSmsaccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /**  è‡ªå¢žID  */
    private Long smsacountid;
    /**  æ ‡ç­¾åç§°  */
    @Excel(name = " æ ‡ç­¾åç§° ")
    private String smsname;
    /**  å¹³å°è´¦å·  */
    @Excel(name = " å¹³å°è´¦å· ")
    private String account;
    /**  å¹³å°å¯†ç   */
    @Excel(name = " å¹³å°å¯†ç  ")
    private String password;
    /**  æœºæž„ID  */
    @Excel(name = " æœºæž„ID ")
    private String orgid;
    /**  åˆ é™¤æ ‡è®°  */
    private String delFlag;
    /**  ä¸Šä¼ æ ‡è®°  */
    @Excel(name = " ä¸Šä¼ æ ‡è®° ")
    private Long isupload;
    /**  ä¸Šä¼ æ—¶é—´  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " ä¸Šä¼ æ—¶é—´ ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;
    /**  æ˜¯å¦å¼€å¯  */
    @Excel(name = " æ˜¯å¦å¼€å¯ ")
    private Long isenable;
    public void setSmsacountid(Long smsacountid)
    {
        this.smsacountid = smsacountid;
    }
    public Long getSmsacountid()
    {
        return smsacountid;
    }
    public void setSmsname(String smsname)
    {
        this.smsname = smsname;
    }
    public String getSmsname()
    {
        return smsname;
    }
    public void setAccount(String account)
    {
        this.account = account;
    }
    public String getAccount()
    {
        return account;
    }
    public void setPassword(String password)
    {
        this.password = password;
    }
    public String getPassword()
    {
        return password;
    }
    public void setOrgid(String orgid)
    {
        this.orgid = orgid;
    }
    public String getOrgid()
    {
        return orgid;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }
    public String getDelFlag()
    {
        return delFlag;
    }
    public void setIsupload(Long isupload)
    {
        this.isupload = isupload;
    }
    public Long getIsupload()
    {
        return isupload;
    }
    public void setUploadTime(Date uploadTime)
    {
        this.uploadTime = uploadTime;
    }
    public Date getUploadTime()
    {
        return uploadTime;
    }
    public void setIsenable(Long isenable)
    {
        this.isenable = isenable;
    }
    public Long getIsenable()
    {
        return isenable;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("smsacountid", getSmsacountid())
            .append("smsname", getSmsname())
            .append("account", getAccount())
            .append("password", getPassword())
            .append("remark", getRemark())
            .append("orgid", getOrgid())
            .append("delFlag", getDelFlag())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("isupload", getIsupload())
            .append("uploadTime", getUploadTime())
            .append("isenable", getIsenable())
            .toString();
    }
}
smartor/src/main/java/com/smartor/domain/IvrLibIntent.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,155 @@
package com.smartor.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * AI意图库对象 ivr_lib_intent
 *
 * @author smartor
 * @date 2023-03-06
 */
public class IvrLibIntent extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /**  è‡ªå¢žID  */
    private Long intentid;
    /**  æœºæž„ID  */
    @Excel(name = " æœºæž„ID ")
    private String orgid;
    /**  æ„å›¾åç§°  */
    @Excel(name = " æ„å›¾åç§° ")
    private String intentionname;
    /**  åˆ†ç±»ID  */
    @Excel(name = " åˆ†ç±»ID ")
    private Long categoryid;
    /**  æ„å›¾åˆ†ç±»åç§°  */
    @Excel(name = " æ„å›¾åˆ†ç±»åç§° ")
    private String categoryname;
    /**  æ„å›¾å…³é”®å­—(正则)  */
    @Excel(name = " æ„å›¾å…³é”®å­—", readConverterExp = "æ­£=则")
    private String intentionword;
    /**  åˆ é™¤æ ‡è®°  */
    private String delFlag;
    /**  ä¸Šä¼ æ ‡è®°  */
    @Excel(name = " ä¸Šä¼ æ ‡è®° ")
    private Long isupload;
    /**  ä¸Šä¼ æ—¶é—´  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " ä¸Šä¼ æ—¶é—´ ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;
    public void setIntentid(Long intentid)
    {
        this.intentid = intentid;
    }
    public Long getIntentid()
    {
        return intentid;
    }
    public void setOrgid(String orgid)
    {
        this.orgid = orgid;
    }
    public String getOrgid()
    {
        return orgid;
    }
    public void setIntentionname(String intentionname)
    {
        this.intentionname = intentionname;
    }
    public String getIntentionname()
    {
        return intentionname;
    }
    public void setCategoryid(Long categoryid)
    {
        this.categoryid = categoryid;
    }
    public Long getCategoryid()
    {
        return categoryid;
    }
    public void setCategoryname(String categoryname)
    {
        this.categoryname = categoryname;
    }
    public String getCategoryname()
    {
        return categoryname;
    }
    public void setIntentionword(String intentionword)
    {
        this.intentionword = intentionword;
    }
    public String getIntentionword()
    {
        return intentionword;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }
    public String getDelFlag()
    {
        return delFlag;
    }
    public void setIsupload(Long isupload)
    {
        this.isupload = isupload;
    }
    public Long getIsupload()
    {
        return isupload;
    }
    public void setUploadTime(Date uploadTime)
    {
        this.uploadTime = uploadTime;
    }
    public Date getUploadTime()
    {
        return uploadTime;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("intentid", getIntentid())
            .append("orgid", getOrgid())
            .append("intentionname", getIntentionname())
            .append("categoryid", getCategoryid())
            .append("categoryname", getCategoryname())
            .append("intentionword", getIntentionword())
            .append("delFlag", getDelFlag())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("isupload", getIsupload())
            .append("uploadTime", getUploadTime())
            .toString();
    }
}
smartor/src/main/java/com/smartor/domain/IvrLibIntentcategory.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,113 @@
package com.smartor.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * AI意图库分类对象 ivr_lib_intentcategory
 *
 * @author smartor
 * @date 2023-03-06
 */
public class IvrLibIntentcategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /**  è‡ªå¢žID  */
    private Long intertcatid;
    /**  åˆ†ç±»åç§°  */
    @Excel(name = " åˆ†ç±»åç§° ")
    private String categoryname;
    /**  æœºæž„ID  */
    @Excel(name = " æœºæž„ID ")
    private String orgid;
    /**  åˆ é™¤æ ‡è®°  */
    private String delFlag;
    /**  ä¸Šä¼ æ ‡è®°  */
    @Excel(name = " ä¸Šä¼ æ ‡è®° ")
    private Long isupload;
    /**  ä¸Šä¼ æ—¶é—´  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " ä¸Šä¼ æ—¶é—´ ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;
    public void setIntertcatid(Long intertcatid)
    {
        this.intertcatid = intertcatid;
    }
    public Long getIntertcatid()
    {
        return intertcatid;
    }
    public void setCategoryname(String categoryname)
    {
        this.categoryname = categoryname;
    }
    public String getCategoryname()
    {
        return categoryname;
    }
    public void setOrgid(String orgid)
    {
        this.orgid = orgid;
    }
    public String getOrgid()
    {
        return orgid;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }
    public String getDelFlag()
    {
        return delFlag;
    }
    public void setIsupload(Long isupload)
    {
        this.isupload = isupload;
    }
    public Long getIsupload()
    {
        return isupload;
    }
    public void setUploadTime(Date uploadTime)
    {
        this.uploadTime = uploadTime;
    }
    public Date getUploadTime()
    {
        return uploadTime;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("intertcatid", getIntertcatid())
            .append("categoryname", getCategoryname())
            .append("orgid", getOrgid())
            .append("delFlag", getDelFlag())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("isupload", getIsupload())
            .append("uploadTime", getUploadTime())
            .toString();
    }
}
smartor/src/main/java/com/smartor/domain/IvrLibScript.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,183 @@
package com.smartor.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * AI话术库对象 ivr_lib_script
 *
 * @author smartor
 * @date 2023-03-06
 */
public class IvrLibScript extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /**  è‡ªå¢žID  */
    private Long scriptid;
    /**  æœºæž„ID  */
    @Excel(name = " æœºæž„ID ")
    private String orgid;
    /**  åˆ†ç±»  */
    @Excel(name = " åˆ†ç±» ")
    private Long categoryid;
    /**  åˆ†ç±»åç§°  */
    @Excel(name = " åˆ†ç±»åç§° ")
    private String categoryname;
    /**  è¯æœ¯å†…容(完整)  */
    @Excel(name = " è¯æœ¯å†…容", readConverterExp = "完=整")
    private String speakbody;
    /**  è¯æœ¯æ–‡ä»¶è·¯å¾„(完整)  */
    @Excel(name = " è¯æœ¯æ–‡ä»¶è·¯å¾„", readConverterExp = "完=整")
    private String speakfilepath;
    /**  æ˜¯å¦å…¨å±€ã€0否1是】  */
    @Excel(name = " æ˜¯å¦å…¨å±€ã€0否1是】 ")
    private Long isall;
    /**  è¯æœ¯åç§°  */
    @Excel(name = " è¯æœ¯åç§° ")
    private String speakname;
    /**  åˆ é™¤æ ‡è®°  */
    private String delFlag;
    /**  ä¸Šä¼ æ ‡è®°  */
    @Excel(name = " ä¸Šä¼ æ ‡è®° ")
    private Long isupload;
    /**  ä¸Šä¼ æ—¶é—´  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " ä¸Šä¼ æ—¶é—´ ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;
    public void setScriptid(Long scriptid)
    {
        this.scriptid = scriptid;
    }
    public Long getScriptid()
    {
        return scriptid;
    }
    public void setOrgid(String orgid)
    {
        this.orgid = orgid;
    }
    public String getOrgid()
    {
        return orgid;
    }
    public void setCategoryid(Long categoryid)
    {
        this.categoryid = categoryid;
    }
    public Long getCategoryid()
    {
        return categoryid;
    }
    public void setCategoryname(String categoryname)
    {
        this.categoryname = categoryname;
    }
    public String getCategoryname()
    {
        return categoryname;
    }
    public void setSpeakbody(String speakbody)
    {
        this.speakbody = speakbody;
    }
    public String getSpeakbody()
    {
        return speakbody;
    }
    public void setSpeakfilepath(String speakfilepath)
    {
        this.speakfilepath = speakfilepath;
    }
    public String getSpeakfilepath()
    {
        return speakfilepath;
    }
    public void setIsall(Long isall)
    {
        this.isall = isall;
    }
    public Long getIsall()
    {
        return isall;
    }
    public void setSpeakname(String speakname)
    {
        this.speakname = speakname;
    }
    public String getSpeakname()
    {
        return speakname;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }
    public String getDelFlag()
    {
        return delFlag;
    }
    public void setIsupload(Long isupload)
    {
        this.isupload = isupload;
    }
    public Long getIsupload()
    {
        return isupload;
    }
    public void setUploadTime(Date uploadTime)
    {
        this.uploadTime = uploadTime;
    }
    public Date getUploadTime()
    {
        return uploadTime;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("scriptid", getScriptid())
            .append("orgid", getOrgid())
            .append("categoryid", getCategoryid())
            .append("categoryname", getCategoryname())
            .append("speakbody", getSpeakbody())
            .append("speakfilepath", getSpeakfilepath())
            .append("isall", getIsall())
            .append("speakname", getSpeakname())
            .append("delFlag", getDelFlag())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("isupload", getIsupload())
            .append("uploadTime", getUploadTime())
            .toString();
    }
}
smartor/src/main/java/com/smartor/domain/IvrLibScriptcategory.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,113 @@
package com.smartor.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * AI话术库分类对象 ivr_lib_scriptcategory
 *
 * @author smartor
 * @date 2023-03-06
 */
public class IvrLibScriptcategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /**  è‡ªå¢žID  */
    private Long categoryid;
    /**  åˆ†ç±»åç§°  */
    @Excel(name = " åˆ†ç±»åç§° ")
    private String categoryname;
    /**  æœºæž„ID  */
    @Excel(name = " æœºæž„ID ")
    private String orgid;
    /**  åˆ é™¤æ ‡è®°  */
    private String delFlag;
    /**  ä¸Šä¼ æ ‡è®°  */
    @Excel(name = " ä¸Šä¼ æ ‡è®° ")
    private Long isupload;
    /**  ä¸Šä¼ æ—¶é—´  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " ä¸Šä¼ æ—¶é—´ ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;
    public void setCategoryid(Long categoryid)
    {
        this.categoryid = categoryid;
    }
    public Long getCategoryid()
    {
        return categoryid;
    }
    public void setCategoryname(String categoryname)
    {
        this.categoryname = categoryname;
    }
    public String getCategoryname()
    {
        return categoryname;
    }
    public void setOrgid(String orgid)
    {
        this.orgid = orgid;
    }
    public String getOrgid()
    {
        return orgid;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }
    public String getDelFlag()
    {
        return delFlag;
    }
    public void setIsupload(Long isupload)
    {
        this.isupload = isupload;
    }
    public Long getIsupload()
    {
        return isupload;
    }
    public void setUploadTime(Date uploadTime)
    {
        this.uploadTime = uploadTime;
    }
    public Date getUploadTime()
    {
        return uploadTime;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("categoryid", getCategoryid())
            .append("categoryname", getCategoryname())
            .append("orgid", getOrgid())
            .append("delFlag", getDelFlag())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("isupload", getIsupload())
            .append("uploadTime", getUploadTime())
            .toString();
    }
}
smartor/src/main/java/com/smartor/domain/IvrLibScriptmodel.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,253 @@
package com.smartor.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * AI话术模块对象 ivr_lib_scriptmodel
 *
 * @author smartor
 * @date 2023-03-06
 */
public class IvrLibScriptmodel extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /**  è‡ªå¢žID  */
    private Long modelid;
    /**  æœºæž„ID  */
    @Excel(name = " æœºæž„ID ")
    private String orgid;
    /**  è¯æœ¯ID  */
    @Excel(name = " è¯æœ¯ID ")
    private Long scriptid;
    /**  è¯æœ¯ç±»åž‹ã€0:普通话术 1:变量话术】  */
    @Excel(name = " è¯æœ¯ç±»åž‹ã€0:普通话术 1:变量话术】 ")
    private Long speaktype;
    /**  è¯æœ¯å†…容  */
    @Excel(name = " è¯æœ¯å†…容 ")
    private String speakbody;
    /**  è¯­éŸ³ç±»åž‹ã€0:真人录音 1:合成语音】  */
    @Excel(name = " è¯­éŸ³ç±»åž‹ã€0:真人录音 1:合成语音】 ")
    private Long voicetype;
    /**  è¯­éŸ³æ–‡ä»¶  */
    @Excel(name = " è¯­éŸ³æ–‡ä»¶ ")
    private String speakfilepath;
    /**  åˆæˆåނ商  */
    @Excel(name = " åˆæˆåނ商 ")
    private String manufactor;
    /**  å£°éŸ³ç±»åž‹  */
    @Excel(name = " å£°éŸ³ç±»åž‹ ")
    private String soundtype;
    /**  è¯­é€Ÿ  */
    @Excel(name = " è¯­é€Ÿ ")
    private Long speechnum;
    /**  éŸ³é«˜  */
    @Excel(name = " éŸ³é«˜ ")
    private Long pitch;
    /**  éŸ³é‡  */
    @Excel(name = " éŸ³é‡ ")
    private Long volume;
    /**  åˆ é™¤æ ‡è®°  */
    private String delFlag;
    /**  ä¸Šä¼ æ ‡è®°  */
    @Excel(name = " ä¸Šä¼ æ ‡è®° ")
    private Long isupload;
    /**  ä¸Šä¼ æ—¶é—´  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " ä¸Šä¼ æ—¶é—´ ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;
    /**  å˜é‡è¯æœ¯å˜é‡  */
    @Excel(name = " å˜é‡è¯æœ¯å˜é‡ ")
    private String speakvariable;
    public void setModelid(Long modelid)
    {
        this.modelid = modelid;
    }
    public Long getModelid()
    {
        return modelid;
    }
    public void setOrgid(String orgid)
    {
        this.orgid = orgid;
    }
    public String getOrgid()
    {
        return orgid;
    }
    public void setScriptid(Long scriptid)
    {
        this.scriptid = scriptid;
    }
    public Long getScriptid()
    {
        return scriptid;
    }
    public void setSpeaktype(Long speaktype)
    {
        this.speaktype = speaktype;
    }
    public Long getSpeaktype()
    {
        return speaktype;
    }
    public void setSpeakbody(String speakbody)
    {
        this.speakbody = speakbody;
    }
    public String getSpeakbody()
    {
        return speakbody;
    }
    public void setVoicetype(Long voicetype)
    {
        this.voicetype = voicetype;
    }
    public Long getVoicetype()
    {
        return voicetype;
    }
    public void setSpeakfilepath(String speakfilepath)
    {
        this.speakfilepath = speakfilepath;
    }
    public String getSpeakfilepath()
    {
        return speakfilepath;
    }
    public void setManufactor(String manufactor)
    {
        this.manufactor = manufactor;
    }
    public String getManufactor()
    {
        return manufactor;
    }
    public void setSoundtype(String soundtype)
    {
        this.soundtype = soundtype;
    }
    public String getSoundtype()
    {
        return soundtype;
    }
    public void setSpeechnum(Long speechnum)
    {
        this.speechnum = speechnum;
    }
    public Long getSpeechnum()
    {
        return speechnum;
    }
    public void setPitch(Long pitch)
    {
        this.pitch = pitch;
    }
    public Long getPitch()
    {
        return pitch;
    }
    public void setVolume(Long volume)
    {
        this.volume = volume;
    }
    public Long getVolume()
    {
        return volume;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }
    public String getDelFlag()
    {
        return delFlag;
    }
    public void setIsupload(Long isupload)
    {
        this.isupload = isupload;
    }
    public Long getIsupload()
    {
        return isupload;
    }
    public void setUploadTime(Date uploadTime)
    {
        this.uploadTime = uploadTime;
    }
    public Date getUploadTime()
    {
        return uploadTime;
    }
    public void setSpeakvariable(String speakvariable)
    {
        this.speakvariable = speakvariable;
    }
    public String getSpeakvariable()
    {
        return speakvariable;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("modelid", getModelid())
            .append("orgid", getOrgid())
            .append("scriptid", getScriptid())
            .append("speaktype", getSpeaktype())
            .append("speakbody", getSpeakbody())
            .append("voicetype", getVoicetype())
            .append("speakfilepath", getSpeakfilepath())
            .append("manufactor", getManufactor())
            .append("soundtype", getSoundtype())
            .append("speechnum", getSpeechnum())
            .append("pitch", getPitch())
            .append("volume", getVolume())
            .append("delFlag", getDelFlag())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("isupload", getIsupload())
            .append("uploadTime", getUploadTime())
            .append("speakvariable", getSpeakvariable())
            .toString();
    }
}
smartor/src/main/java/com/smartor/domain/IvrScene.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,281 @@
package com.smartor.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * AI外呼场景管理对象 ivr_scene
 *
 * @author smartor
 * @date 2023-03-06
 */
public class IvrScene extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /**  è‡ªå¢žID  */
    private Long sceneid;
    /**  åˆ†ç±»ID  */
    @Excel(name = " åˆ†ç±»ID ")
    private String categoryid;
    /**  åœºæ™¯åç§°  */
    @Excel(name = " åœºæ™¯åç§° ")
    private String scenename;
    /**  ç‰ˆæœ¬å·  */
    @Excel(name = " ç‰ˆæœ¬å· ")
    private String version;
    /**  å…³è”ID(问卷)  */
    @Excel(name = " å…³è”ID", readConverterExp = "问=卷")
    private Long relationid;
    /**  åå¸­ID;多个坐席逗号  */
    @Excel(name = " åå¸­ID;多个坐席逗号 ")
    private String seatsid;
    /**  åœºæ™¯ç¼–号;同一场景唯一,用于区分版本  */
    @Excel(name = " åœºæ™¯ç¼–号;同一场景唯一,用于区分版本 ")
    private String scenecode;
    /**  ç‰ˆæœ¬æ˜¯å¦å¯ç”¨;0.否 1.是  */
    @Excel(name = " ç‰ˆæœ¬æ˜¯å¦å¯ç”¨;0.否 1.是 ")
    private Long versionenable;
    /**  æ˜¯å¦å¯ç”¨;0.否 1.是  */
    @Excel(name = " æ˜¯å¦å¯ç”¨;0.否 1.是 ")
    private Long isenable;
    /**  æ˜¯å¦å‘布  */
    @Excel(name = " æ˜¯å¦å‘布 ")
    private String isrelease;
    /**  æœ€é•¿æ‰§è¡Œå‘¨æœŸ;0-15正整数,默认为5  */
    @Excel(name = " æœ€é•¿æ‰§è¡Œå‘¨æœŸ;0-15正整数,默认为5 ")
    private Long executecycle;
    /**  æ˜¯å¦å¤æ ¸;0.否 1.是  */
    @Excel(name = " æ˜¯å¦å¤æ ¸;0.否 1.是 ")
    private Long isreview;
    /**  æœºæž„ID  */
    @Excel(name = " æœºæž„ID ")
    private String orgid;
    /**  åˆ é™¤æ ‡è®°  */
    private String delFlag;
    /**  ä¸Šä¼ æ ‡è®°  */
    @Excel(name = " ä¸Šä¼ æ ‡è®° ")
    private Long isupload;
    /**  ä¸Šä¼ æ—¶é—´  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " ä¸Šä¼ æ—¶é—´ ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;
    /**  å‘布说明  */
    @Excel(name = " å‘布说明 ")
    private String releasenotes;
    /**  è‰ç¨¿ID  */
    @Excel(name = " è‰ç¨¿ID ")
    private Long draftid;
    public void setSceneid(Long sceneid)
    {
        this.sceneid = sceneid;
    }
    public Long getSceneid()
    {
        return sceneid;
    }
    public void setCategoryid(String categoryid)
    {
        this.categoryid = categoryid;
    }
    public String getCategoryid()
    {
        return categoryid;
    }
    public void setScenename(String scenename)
    {
        this.scenename = scenename;
    }
    public String getScenename()
    {
        return scenename;
    }
    public void setVersion(String version)
    {
        this.version = version;
    }
    public String getVersion()
    {
        return version;
    }
    public void setRelationid(Long relationid)
    {
        this.relationid = relationid;
    }
    public Long getRelationid()
    {
        return relationid;
    }
    public void setSeatsid(String seatsid)
    {
        this.seatsid = seatsid;
    }
    public String getSeatsid()
    {
        return seatsid;
    }
    public void setScenecode(String scenecode)
    {
        this.scenecode = scenecode;
    }
    public String getScenecode()
    {
        return scenecode;
    }
    public void setVersionenable(Long versionenable)
    {
        this.versionenable = versionenable;
    }
    public Long getVersionenable()
    {
        return versionenable;
    }
    public void setIsenable(Long isenable)
    {
        this.isenable = isenable;
    }
    public Long getIsenable()
    {
        return isenable;
    }
    public void setIsrelease(String isrelease)
    {
        this.isrelease = isrelease;
    }
    public String getIsrelease()
    {
        return isrelease;
    }
    public void setExecutecycle(Long executecycle)
    {
        this.executecycle = executecycle;
    }
    public Long getExecutecycle()
    {
        return executecycle;
    }
    public void setIsreview(Long isreview)
    {
        this.isreview = isreview;
    }
    public Long getIsreview()
    {
        return isreview;
    }
    public void setOrgid(String orgid)
    {
        this.orgid = orgid;
    }
    public String getOrgid()
    {
        return orgid;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }
    public String getDelFlag()
    {
        return delFlag;
    }
    public void setIsupload(Long isupload)
    {
        this.isupload = isupload;
    }
    public Long getIsupload()
    {
        return isupload;
    }
    public void setUploadTime(Date uploadTime)
    {
        this.uploadTime = uploadTime;
    }
    public Date getUploadTime()
    {
        return uploadTime;
    }
    public void setReleasenotes(String releasenotes)
    {
        this.releasenotes = releasenotes;
    }
    public String getReleasenotes()
    {
        return releasenotes;
    }
    public void setDraftid(Long draftid)
    {
        this.draftid = draftid;
    }
    public Long getDraftid()
    {
        return draftid;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sceneid", getSceneid())
            .append("categoryid", getCategoryid())
            .append("scenename", getScenename())
            .append("version", getVersion())
            .append("relationid", getRelationid())
            .append("seatsid", getSeatsid())
            .append("scenecode", getScenecode())
            .append("versionenable", getVersionenable())
            .append("isenable", getIsenable())
            .append("isrelease", getIsrelease())
            .append("executecycle", getExecutecycle())
            .append("isreview", getIsreview())
            .append("orgid", getOrgid())
            .append("delFlag", getDelFlag())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("isupload", getIsupload())
            .append("uploadTime", getUploadTime())
            .append("releasenotes", getReleasenotes())
            .append("draftid", getDraftid())
            .toString();
    }
}
smartor/src/main/java/com/smartor/domain/IvrSceneExecuteconfig.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,239 @@
package com.smartor.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * AI外呼执行配置对象 ivr_scene_executeconfig
 *
 * @author smartor
 * @date 2023-03-06
 */
public class IvrSceneExecuteconfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /**  è‡ªå¢žID  */
    private Long scenecfgid;
    /**  æœºæž„ID  */
    @Excel(name = " æœºæž„ID ")
    private String orgid;
    /**  æ¥æºç±»åž‹;0.全局 1.主线  */
    @Excel(name = " æ¥æºç±»åž‹;0.全局 1.主线 ")
    private Long sourcetype;
    /**  å…¨å±€é…ç½®ID;全局配置ID  */
    @Excel(name = " å…¨å±€é…ç½®ID;全局配置ID ")
    private Long globalid;
    /**  å¤–呼节点ID  */
    @Excel(name = " å¤–呼节点ID ")
    private Long flownodebranchid;
    /**  æ‰§è¡Œç±»åž‹;0.问卷答案 1.患者标签  */
    @Excel(name = " æ‰§è¡Œç±»åž‹;0.问卷答案 1.患者标签 ")
    private Long executetype;
    /**  æ‰§è¡Œæ¡ä»¶;为问卷时填问卷题目/为患者标签时不填  */
    @Excel(name = " æ‰§è¡Œæ¡ä»¶;为问卷时填问卷题目/为患者标签时不填 ")
    private String executeconditions;
    /**  æ‰§è¡Œç»“æžœ;单选题主键/多选题主键/填空题文本/标签主键可多选/多选逗号隔开  */
    @Excel(name = " æ‰§è¡Œç»“æžœ;单选题主键/多选题主键/填空题文本/标签主键可多选/多选逗号隔开 ")
    private String executeresult;
    /**  åˆ é™¤æ ‡è®°  */
    private String delFlag;
    /**  ä¸Šä¼ æ ‡è®°  */
    @Excel(name = " ä¸Šä¼ æ ‡è®° ")
    private Long isupload;
    /**  ä¸Šä¼ æ—¶é—´  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " ä¸Šä¼ æ—¶é—´ ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;
    /**  å¤–呼场景ID  */
    @Excel(name = " å¤–呼场景ID ")
    private Long sceneid;
    /**  æ‰§è¡Œæ¡ä»¶ä»£ç ;为问卷时填问卷题目Code  */
    @Excel(name = " æ‰§è¡Œæ¡ä»¶ä»£ç ;为问卷时填问卷题目Code ")
    private String executeconditionscode;
    /**  æ‰§è¡Œç»“果代码;单选题主键/多选题主键的选项Code  */
    @Excel(name = " æ‰§è¡Œç»“果代码;单选题主键/多选题主键的选项Code ")
    private String executeresultcode;
    /**  æµç¨‹èŠ‚ç‚¹ID  */
    @Excel(name = " æµç¨‹èŠ‚ç‚¹ID ")
    private Long flownodeid;
    public void setScenecfgid(Long scenecfgid)
    {
        this.scenecfgid = scenecfgid;
    }
    public Long getScenecfgid()
    {
        return scenecfgid;
    }
    public void setOrgid(String orgid)
    {
        this.orgid = orgid;
    }
    public String getOrgid()
    {
        return orgid;
    }
    public void setSourcetype(Long sourcetype)
    {
        this.sourcetype = sourcetype;
    }
    public Long getSourcetype()
    {
        return sourcetype;
    }
    public void setGlobalid(Long globalid)
    {
        this.globalid = globalid;
    }
    public Long getGlobalid()
    {
        return globalid;
    }
    public void setFlownodebranchid(Long flownodebranchid)
    {
        this.flownodebranchid = flownodebranchid;
    }
    public Long getFlownodebranchid()
    {
        return flownodebranchid;
    }
    public void setExecutetype(Long executetype)
    {
        this.executetype = executetype;
    }
    public Long getExecutetype()
    {
        return executetype;
    }
    public void setExecuteconditions(String executeconditions)
    {
        this.executeconditions = executeconditions;
    }
    public String getExecuteconditions()
    {
        return executeconditions;
    }
    public void setExecuteresult(String executeresult)
    {
        this.executeresult = executeresult;
    }
    public String getExecuteresult()
    {
        return executeresult;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }
    public String getDelFlag()
    {
        return delFlag;
    }
    public void setIsupload(Long isupload)
    {
        this.isupload = isupload;
    }
    public Long getIsupload()
    {
        return isupload;
    }
    public void setUploadTime(Date uploadTime)
    {
        this.uploadTime = uploadTime;
    }
    public Date getUploadTime()
    {
        return uploadTime;
    }
    public void setSceneid(Long sceneid)
    {
        this.sceneid = sceneid;
    }
    public Long getSceneid()
    {
        return sceneid;
    }
    public void setExecuteconditionscode(String executeconditionscode)
    {
        this.executeconditionscode = executeconditionscode;
    }
    public String getExecuteconditionscode()
    {
        return executeconditionscode;
    }
    public void setExecuteresultcode(String executeresultcode)
    {
        this.executeresultcode = executeresultcode;
    }
    public String getExecuteresultcode()
    {
        return executeresultcode;
    }
    public void setFlownodeid(Long flownodeid)
    {
        this.flownodeid = flownodeid;
    }
    public Long getFlownodeid()
    {
        return flownodeid;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("scenecfgid", getScenecfgid())
            .append("orgid", getOrgid())
            .append("sourcetype", getSourcetype())
            .append("globalid", getGlobalid())
            .append("flownodebranchid", getFlownodebranchid())
            .append("executetype", getExecutetype())
            .append("executeconditions", getExecuteconditions())
            .append("executeresult", getExecuteresult())
            .append("delFlag", getDelFlag())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("isupload", getIsupload())
            .append("uploadTime", getUploadTime())
            .append("sceneid", getSceneid())
            .append("executeconditionscode", getExecuteconditionscode())
            .append("executeresultcode", getExecuteresultcode())
            .append("flownodeid", getFlownodeid())
            .toString();
    }
}
smartor/src/main/java/com/smartor/domain/IvrSceneFlow.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,239 @@
package com.smartor.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * AI外呼流程对象 ivr_scene_flow
 *
 * @author smartor
 * @date 2023-03-06
 */
public class IvrSceneFlow extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /**  è‡ªå¢žID  */
    private Long flowid;
    /**  æœºæž„ID  */
    @Excel(name = " æœºæž„ID ")
    private String orgid;
    /**  åˆ é™¤æ ‡è®°  */
    private String delFlag;
    /**  ä¸Šä¼ æ ‡è®°  */
    @Excel(name = " ä¸Šä¼ æ ‡è®° ")
    private Long isupload;
    /**  ä¸Šä¼ æ—¶é—´  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " ä¸Šä¼ æ—¶é—´ ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;
    /**  AI外呼场景ID  */
    @Excel(name = " AI外呼场景ID ")
    private Long sceneid;
    /**  æµç¨‹åç§°  */
    @Excel(name = " æµç¨‹åç§° ")
    private String flowname;
    /**  å…³è”问卷ID  */
    @Excel(name = " å…³è”问卷ID ")
    private Long relevantqsid;
    /**  å…³è”题目ID(多选逗号隔开)  */
    @Excel(name = " å…³è”题目ID", readConverterExp = "多=选逗号隔开")
    private String relevanttopicid;
    /**  å…³è”题目Code(多选逗号隔开;与关联题目ID对应  */
    @Excel(name = " å…³è”题目Code", readConverterExp = " å…³è”题目Code(多选逗号隔开;与关联题目ID对应 ")
    private String relevanttopiccode;
    /**  æ˜¯å¦æ ¡éªŒ;0否 1是  */
    @Excel(name = " æ˜¯å¦æ ¡éªŒ;0否 1是 ")
    private Long ischeck;
    /**  æµç¨‹å›¾JSON数据  */
    @Excel(name = " æµç¨‹å›¾JSON数据 ")
    private String flowdata;
    /**  åºå·  */
    @Excel(name = " åºå· ")
    private Long sort;
    /**  èµ·å§‹èŠ‚ç‚¹ID  */
    @Excel(name = " èµ·å§‹èŠ‚ç‚¹ID ")
    private Long startnode;
    /**  æ‹·è´ID  */
    @Excel(name = " æ‹·è´ID ")
    private Long oldid;
    public void setFlowid(Long flowid)
    {
        this.flowid = flowid;
    }
    public Long getFlowid()
    {
        return flowid;
    }
    public void setOrgid(String orgid)
    {
        this.orgid = orgid;
    }
    public String getOrgid()
    {
        return orgid;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }
    public String getDelFlag()
    {
        return delFlag;
    }
    public void setIsupload(Long isupload)
    {
        this.isupload = isupload;
    }
    public Long getIsupload()
    {
        return isupload;
    }
    public void setUploadTime(Date uploadTime)
    {
        this.uploadTime = uploadTime;
    }
    public Date getUploadTime()
    {
        return uploadTime;
    }
    public void setSceneid(Long sceneid)
    {
        this.sceneid = sceneid;
    }
    public Long getSceneid()
    {
        return sceneid;
    }
    public void setFlowname(String flowname)
    {
        this.flowname = flowname;
    }
    public String getFlowname()
    {
        return flowname;
    }
    public void setRelevantqsid(Long relevantqsid)
    {
        this.relevantqsid = relevantqsid;
    }
    public Long getRelevantqsid()
    {
        return relevantqsid;
    }
    public void setRelevanttopicid(String relevanttopicid)
    {
        this.relevanttopicid = relevanttopicid;
    }
    public String getRelevanttopicid()
    {
        return relevanttopicid;
    }
    public void setRelevanttopiccode(String relevanttopiccode)
    {
        this.relevanttopiccode = relevanttopiccode;
    }
    public String getRelevanttopiccode()
    {
        return relevanttopiccode;
    }
    public void setIscheck(Long ischeck)
    {
        this.ischeck = ischeck;
    }
    public Long getIscheck()
    {
        return ischeck;
    }
    public void setFlowdata(String flowdata)
    {
        this.flowdata = flowdata;
    }
    public String getFlowdata()
    {
        return flowdata;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }
    public Long getSort()
    {
        return sort;
    }
    public void setStartnode(Long startnode)
    {
        this.startnode = startnode;
    }
    public Long getStartnode()
    {
        return startnode;
    }
    public void setOldid(Long oldid)
    {
        this.oldid = oldid;
    }
    public Long getOldid()
    {
        return oldid;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("flowid", getFlowid())
            .append("orgid", getOrgid())
            .append("delFlag", getDelFlag())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("isupload", getIsupload())
            .append("uploadTime", getUploadTime())
            .append("sceneid", getSceneid())
            .append("flowname", getFlowname())
            .append("relevantqsid", getRelevantqsid())
            .append("relevanttopicid", getRelevanttopicid())
            .append("relevanttopiccode", getRelevanttopiccode())
            .append("ischeck", getIscheck())
            .append("flowdata", getFlowdata())
            .append("sort", getSort())
            .append("startnode", getStartnode())
            .append("oldid", getOldid())
            .toString();
    }
}
smartor/src/main/java/com/smartor/domain/IvrSceneFlownode.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,295 @@
package com.smartor.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * AI外呼流程节点对象 ivr_scene_flownode
 *
 * @author smartor
 * @date 2023-03-06
 */
public class IvrSceneFlownode extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /**  è‡ªå¢žID  */
    private Long flownodeid;
    /**  æœºæž„ID  */
    @Excel(name = " æœºæž„ID ")
    private String orgid;
    /**  åˆ é™¤æ ‡è®°  */
    private String delFlag;
    /**  ä¸Šä¼ æ ‡è®°  */
    @Excel(name = " ä¸Šä¼ æ ‡è®° ")
    private Long isupload;
    /**  ä¸Šä¼ æ—¶é—´  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " ä¸Šä¼ æ—¶é—´ ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;
    /**  AI外呼场景ID  */
    @Excel(name = " AI外呼场景ID ")
    private Long sceneid;
    /**  æµç¨‹ID  */
    @Excel(name = " æµç¨‹ID ")
    private Long flowid;
    /**  èŠ‚ç‚¹ç±»åž‹;0.普通节点 1.跳转节点 2.循环节点  */
    @Excel(name = " èŠ‚ç‚¹ç±»åž‹;0.普通节点 1.跳转节点 2.循环节点 ")
    private Long nodetype;
    /**  èŠ‚ç‚¹åç§°  */
    @Excel(name = " èŠ‚ç‚¹åç§° ")
    private String nodename;
    /**  åœé¡¿æ—¶é•¿ï¼ˆms);1ms-1500ms  */
    @Excel(name = " åœé¡¿æ—¶é•¿", readConverterExp = "m=s")
    private Long maxsentencesilence;
    /**  ç­‰å¾…时长(s);1s-60s  */
    @Excel(name = " ç­‰å¾…æ—¶é•¿", readConverterExp = "s=")
    private String waittime;
    /**  è¯æœ¯ç±»åž‹;循环节点用 0.原节点话术 1.使用新话术  */
    @Excel(name = " è¯æœ¯ç±»åž‹;循环节点用 0.原节点话术 1.使用新话术 ")
    private Long corpustype;
    /**  æ–°è¯æœ¯ç­‰å¾…时长(s);循环节点用  */
    @Excel(name = " æ–°è¯æœ¯ç­‰å¾…æ—¶é•¿", readConverterExp = "s=")
    private String corpuswaittime;
    /**  æœ€å¤§é‡å¤æ¬¡æ•°;循环节点用  */
    @Excel(name = " æœ€å¤§é‡å¤æ¬¡æ•°;循环节点用 ")
    private Long maxrepetition;
    /**  è·³è½¬ç±»åž‹;跳转节点用 0.挂机 1.跳转流程  */
    @Excel(name = " è·³è½¬ç±»åž‹;跳转节点用 0.挂机 1.跳转流程 ")
    private Long jumptype;
    /**  è·³è½¬è‡³;跳转节点用 ç›®å‰æ”¾æµç¨‹ID  */
    @Excel(name = " è·³è½¬è‡³;跳转节点用 ç›®å‰æ”¾æµç¨‹ID ")
    private String jumpto;
    /**  æµç¨‹å›¾ç”ŸæˆID  */
    @Excel(name = " æµç¨‹å›¾ç”ŸæˆID ")
    private String flowcode;
    /**  è·³è½¬ç›®æ ‡èŠ‚ç‚¹ID  */
    @Excel(name = " è·³è½¬ç›®æ ‡èŠ‚ç‚¹ID ")
    private Long targetid;
    /**  æ‹·è´ID  */
    @Excel(name = " æ‹·è´ID ")
    private Long oldid;
    public void setFlownodeid(Long flownodeid)
    {
        this.flownodeid = flownodeid;
    }
    public Long getFlownodeid()
    {
        return flownodeid;
    }
    public void setOrgid(String orgid)
    {
        this.orgid = orgid;
    }
    public String getOrgid()
    {
        return orgid;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }
    public String getDelFlag()
    {
        return delFlag;
    }
    public void setIsupload(Long isupload)
    {
        this.isupload = isupload;
    }
    public Long getIsupload()
    {
        return isupload;
    }
    public void setUploadTime(Date uploadTime)
    {
        this.uploadTime = uploadTime;
    }
    public Date getUploadTime()
    {
        return uploadTime;
    }
    public void setSceneid(Long sceneid)
    {
        this.sceneid = sceneid;
    }
    public Long getSceneid()
    {
        return sceneid;
    }
    public void setFlowid(Long flowid)
    {
        this.flowid = flowid;
    }
    public Long getFlowid()
    {
        return flowid;
    }
    public void setNodetype(Long nodetype)
    {
        this.nodetype = nodetype;
    }
    public Long getNodetype()
    {
        return nodetype;
    }
    public void setNodename(String nodename)
    {
        this.nodename = nodename;
    }
    public String getNodename()
    {
        return nodename;
    }
    public void setMaxsentencesilence(Long maxsentencesilence)
    {
        this.maxsentencesilence = maxsentencesilence;
    }
    public Long getMaxsentencesilence()
    {
        return maxsentencesilence;
    }
    public void setWaittime(String waittime)
    {
        this.waittime = waittime;
    }
    public String getWaittime()
    {
        return waittime;
    }
    public void setCorpustype(Long corpustype)
    {
        this.corpustype = corpustype;
    }
    public Long getCorpustype()
    {
        return corpustype;
    }
    public void setCorpuswaittime(String corpuswaittime)
    {
        this.corpuswaittime = corpuswaittime;
    }
    public String getCorpuswaittime()
    {
        return corpuswaittime;
    }
    public void setMaxrepetition(Long maxrepetition)
    {
        this.maxrepetition = maxrepetition;
    }
    public Long getMaxrepetition()
    {
        return maxrepetition;
    }
    public void setJumptype(Long jumptype)
    {
        this.jumptype = jumptype;
    }
    public Long getJumptype()
    {
        return jumptype;
    }
    public void setJumpto(String jumpto)
    {
        this.jumpto = jumpto;
    }
    public String getJumpto()
    {
        return jumpto;
    }
    public void setFlowcode(String flowcode)
    {
        this.flowcode = flowcode;
    }
    public String getFlowcode()
    {
        return flowcode;
    }
    public void setTargetid(Long targetid)
    {
        this.targetid = targetid;
    }
    public Long getTargetid()
    {
        return targetid;
    }
    public void setOldid(Long oldid)
    {
        this.oldid = oldid;
    }
    public Long getOldid()
    {
        return oldid;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("flownodeid", getFlownodeid())
            .append("orgid", getOrgid())
            .append("delFlag", getDelFlag())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("isupload", getIsupload())
            .append("uploadTime", getUploadTime())
            .append("sceneid", getSceneid())
            .append("flowid", getFlowid())
            .append("nodetype", getNodetype())
            .append("nodename", getNodename())
            .append("maxsentencesilence", getMaxsentencesilence())
            .append("waittime", getWaittime())
            .append("corpustype", getCorpustype())
            .append("corpuswaittime", getCorpuswaittime())
            .append("maxrepetition", getMaxrepetition())
            .append("jumptype", getJumptype())
            .append("jumpto", getJumpto())
            .append("flowcode", getFlowcode())
            .append("targetid", getTargetid())
            .append("oldid", getOldid())
            .toString();
    }
}
smartor/src/main/java/com/smartor/domain/IvrSceneFlownodebranch.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,225 @@
package com.smartor.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * AI外呼流程节点分支对象 ivr_scene_flownodebranch
 *
 * @author smartor
 * @date 2023-03-06
 */
public class IvrSceneFlownodebranch extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /**  è‡ªå¢žID  */
    private Long branchid;
    /**  æœºæž„ID  */
    @Excel(name = " æœºæž„ID ")
    private String orgid;
    /**  åˆ é™¤æ ‡è®°  */
    private String delFlag;
    /**  ä¸Šä¼ æ ‡è®°  */
    @Excel(name = " ä¸Šä¼ æ ‡è®° ")
    private Long isupload;
    /**  ä¸Šä¼ æ—¶é—´  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " ä¸Šä¼ æ—¶é—´ ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;
    /**  AI外呼场景ID  */
    @Excel(name = " AI外呼场景ID ")
    private Long sceneid;
    /**  æµç¨‹ID  */
    @Excel(name = " æµç¨‹ID ")
    private Long flowid;
    /**  èŠ‚ç‚¹ID  */
    @Excel(name = " èŠ‚ç‚¹ID ")
    private Long flownodeid;
    /**  åˆ†æ”¯åç§°  */
    @Excel(name = " åˆ†æ”¯åç§° ")
    private String branchname;
    /**  æ˜¯å¦å¯ç”¨;0.否 1.是  */
    @Excel(name = " æ˜¯å¦å¯ç”¨;0.否 1.是 ")
    private Long isenable;
    /**  æŽ’序  */
    @Excel(name = " æŽ’序 ")
    private Long sort;
    /**  åˆ†æ”¯ç±»åž‹;1 ä»»ä½•回复,2无回复,3未识别 9.普通分支  */
    @Excel(name = " åˆ†æ”¯ç±»åž‹;1 ä»»ä½•回复,2无回复,3未识别 9.普通分支 ")
    private Long nodetype;
    /**  è·³è½¬ç›®æ ‡èŠ‚ç‚¹ID  */
    @Excel(name = " è·³è½¬ç›®æ ‡èŠ‚ç‚¹ID ")
    private Long targetid;
    /**  æ‹·è´ID  */
    @Excel(name = " æ‹·è´ID ")
    private Long oldid;
    public void setBranchid(Long branchid)
    {
        this.branchid = branchid;
    }
    public Long getBranchid()
    {
        return branchid;
    }
    public void setOrgid(String orgid)
    {
        this.orgid = orgid;
    }
    public String getOrgid()
    {
        return orgid;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }
    public String getDelFlag()
    {
        return delFlag;
    }
    public void setIsupload(Long isupload)
    {
        this.isupload = isupload;
    }
    public Long getIsupload()
    {
        return isupload;
    }
    public void setUploadTime(Date uploadTime)
    {
        this.uploadTime = uploadTime;
    }
    public Date getUploadTime()
    {
        return uploadTime;
    }
    public void setSceneid(Long sceneid)
    {
        this.sceneid = sceneid;
    }
    public Long getSceneid()
    {
        return sceneid;
    }
    public void setFlowid(Long flowid)
    {
        this.flowid = flowid;
    }
    public Long getFlowid()
    {
        return flowid;
    }
    public void setFlownodeid(Long flownodeid)
    {
        this.flownodeid = flownodeid;
    }
    public Long getFlownodeid()
    {
        return flownodeid;
    }
    public void setBranchname(String branchname)
    {
        this.branchname = branchname;
    }
    public String getBranchname()
    {
        return branchname;
    }
    public void setIsenable(Long isenable)
    {
        this.isenable = isenable;
    }
    public Long getIsenable()
    {
        return isenable;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }
    public Long getSort()
    {
        return sort;
    }
    public void setNodetype(Long nodetype)
    {
        this.nodetype = nodetype;
    }
    public Long getNodetype()
    {
        return nodetype;
    }
    public void setTargetid(Long targetid)
    {
        this.targetid = targetid;
    }
    public Long getTargetid()
    {
        return targetid;
    }
    public void setOldid(Long oldid)
    {
        this.oldid = oldid;
    }
    public Long getOldid()
    {
        return oldid;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("branchid", getBranchid())
            .append("orgid", getOrgid())
            .append("delFlag", getDelFlag())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("isupload", getIsupload())
            .append("uploadTime", getUploadTime())
            .append("sceneid", getSceneid())
            .append("flowid", getFlowid())
            .append("flownodeid", getFlownodeid())
            .append("branchname", getBranchname())
            .append("isenable", getIsenable())
            .append("sort", getSort())
            .append("nodetype", getNodetype())
            .append("targetid", getTargetid())
            .append("oldid", getOldid())
            .toString();
    }
}
smartor/src/main/java/com/smartor/domain/IvrSceneGlobalconfig.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,211 @@
package com.smartor.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * AI外呼全局配置对象 ivr_scene_globalconfig
 *
 * @author smartor
 * @date 2023-03-06
 */
public class IvrSceneGlobalconfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /**  è‡ªå¢žID  */
    private Long gblconfigid;
    /**  AI外呼场景ID  */
    @Excel(name = " AI外呼场景ID ")
    private Long sceneid;
    /**  é…ç½®åç§°  */
    @Excel(name = " é…ç½®åç§° ")
    private String configname;
    /**  é…ç½®æè¿°  */
    @Excel(name = " é…ç½®æè¿° ")
    private String description;
    /**  ä¼˜å…ˆçº§  */
    @Excel(name = " ä¼˜å…ˆçº§ ")
    private Long sort;
    /**  ä¼˜å…ˆæ‰§è¡Œç±»åž‹;1.分支动作 2.配置动作  */
    @Excel(name = " ä¼˜å…ˆæ‰§è¡Œç±»åž‹;1.分支动作 2.配置动作 ")
    private Long executetype;
    /**  æ˜¯å¦å¯ç”¨;0.否 1.是  */
    @Excel(name = " æ˜¯å¦å¯ç”¨;0.否 1.是 ")
    private Long isenable;
    /**  è·³è½¬ç±»åž‹;0.挂机 1.重复节点  */
    @Excel(name = " è·³è½¬ç±»åž‹;0.挂机 1.重复节点 ")
    private Long jumpto;
    /**  é‡å¤æ¬¡æ•°  */
    @Excel(name = " é‡å¤æ¬¡æ•° ")
    private Long repeatcount;
    /**  æœºæž„ID  */
    @Excel(name = " æœºæž„ID ")
    private String orgid;
    /**  åˆ é™¤æ ‡è®°  */
    private String delFlag;
    /**  ä¸Šä¼ æ ‡è®°  */
    @Excel(name = " ä¸Šä¼ æ ‡è®° ")
    private Long isupload;
    /**  ä¸Šä¼ æ—¶é—´  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " ä¸Šä¼ æ—¶é—´ ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;
    public void setGblconfigid(Long gblconfigid)
    {
        this.gblconfigid = gblconfigid;
    }
    public Long getGblconfigid()
    {
        return gblconfigid;
    }
    public void setSceneid(Long sceneid)
    {
        this.sceneid = sceneid;
    }
    public Long getSceneid()
    {
        return sceneid;
    }
    public void setConfigname(String configname)
    {
        this.configname = configname;
    }
    public String getConfigname()
    {
        return configname;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }
    public String getDescription()
    {
        return description;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }
    public Long getSort()
    {
        return sort;
    }
    public void setExecutetype(Long executetype)
    {
        this.executetype = executetype;
    }
    public Long getExecutetype()
    {
        return executetype;
    }
    public void setIsenable(Long isenable)
    {
        this.isenable = isenable;
    }
    public Long getIsenable()
    {
        return isenable;
    }
    public void setJumpto(Long jumpto)
    {
        this.jumpto = jumpto;
    }
    public Long getJumpto()
    {
        return jumpto;
    }
    public void setRepeatcount(Long repeatcount)
    {
        this.repeatcount = repeatcount;
    }
    public Long getRepeatcount()
    {
        return repeatcount;
    }
    public void setOrgid(String orgid)
    {
        this.orgid = orgid;
    }
    public String getOrgid()
    {
        return orgid;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }
    public String getDelFlag()
    {
        return delFlag;
    }
    public void setIsupload(Long isupload)
    {
        this.isupload = isupload;
    }
    public Long getIsupload()
    {
        return isupload;
    }
    public void setUploadTime(Date uploadTime)
    {
        this.uploadTime = uploadTime;
    }
    public Date getUploadTime()
    {
        return uploadTime;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("gblconfigid", getGblconfigid())
            .append("sceneid", getSceneid())
            .append("configname", getConfigname())
            .append("description", getDescription())
            .append("sort", getSort())
            .append("executetype", getExecutetype())
            .append("isenable", getIsenable())
            .append("jumpto", getJumpto())
            .append("repeatcount", getRepeatcount())
            .append("orgid", getOrgid())
            .append("delFlag", getDelFlag())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("isupload", getIsupload())
            .append("uploadTime", getUploadTime())
            .toString();
    }
}
smartor/src/main/java/com/smartor/domain/IvrSceneIntent.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,309 @@
package com.smartor.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * AI外呼意图对象 ivr_scene_intent
 *
 * @author smartor
 * @date 2023-03-06
 */
public class IvrSceneIntent extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /**  è‡ªå¢žID  */
    private Long sceneintentid;
    /**  æœºæž„ID  */
    @Excel(name = " æœºæž„ID ")
    private String orgid;
    /**  æ¥æºç±»åž‹;0.全局 1.主线  */
    @Excel(name = " æ¥æºç±»åž‹;0.全局 1.主线 ")
    private Long sourcetype;
    /**  å…¨å±€é…ç½®ID;全局配置ID  */
    @Excel(name = " å…¨å±€é…ç½®ID;全局配置ID ")
    private Long gbiconfigid;
    /**  åœºæ™¯ID  */
    @Excel(name = " åœºæ™¯ID ")
    private Long sceneid;
    /**  æµç¨‹ID  */
    @Excel(name = " æµç¨‹ID ")
    private Long flowid;
    /**  æµç¨‹èŠ‚ç‚¹ID  */
    @Excel(name = " æµç¨‹èŠ‚ç‚¹ID ")
    private Long flownodeid;
    /**  æµç¨‹èŠ‚ç‚¹åˆ†æ”¯ID  */
    @Excel(name = " æµç¨‹èŠ‚ç‚¹åˆ†æ”¯ID ")
    private Long flownodebranchid;
    /**  å¼•用意图模板ID  */
    @Excel(name = " å¼•用意图模板ID ")
    private Long templateid;
    /**  æ„å›¾åç§°  */
    @Excel(name = " æ„å›¾åç§° ")
    private String intentionname;
    /**  æ„å›¾å…³é”®å­—(正则)  */
    @Excel(name = " æ„å›¾å…³é”®å­—", readConverterExp = "æ­£=则")
    private String intentionword;
    /**  æ¡ä»¶ç±»åž‹;0.意图识别 1.患者标签  */
    @Excel(name = " æ¡ä»¶ç±»åž‹;0.意图识别 1.患者标签 ")
    private Long conditionstype;
    /**  éªŒè¯è§„则;多选逗号隔开(1、2、3);相应类型的主键  */
    @Excel(name = " éªŒè¯è§„则;多选逗号隔开", readConverterExp = "1=、2、3")
    private String verifyrule;
    /**  å­ä¸”或;0.或 1.且  */
    @Excel(name = " å­ä¸”或;0.或 1.且 ")
    private Long orand;
    /**  çˆ¶æ¡ä»¶  */
    @Excel(name = " çˆ¶æ¡ä»¶ ")
    private String parentresultconditionsid;
    /**  çˆ¶çº§åˆ†ç»„  */
    @Excel(name = " çˆ¶çº§åˆ†ç»„ ")
    private Long groupnumber;
    /**  çˆ¶ä¸”或  */
    @Excel(name = " çˆ¶ä¸”或 ")
    private Long grouporand;
    /**  åˆ é™¤æ ‡è®°  */
    private String delFlag;
    /**  ä¸Šä¼ æ ‡è®°  */
    @Excel(name = " ä¸Šä¼ æ ‡è®° ")
    private Long isupload;
    /**  ä¸Šä¼ æ—¶é—´  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " ä¸Šä¼ æ—¶é—´ ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;
    public void setSceneintentid(Long sceneintentid)
    {
        this.sceneintentid = sceneintentid;
    }
    public Long getSceneintentid()
    {
        return sceneintentid;
    }
    public void setOrgid(String orgid)
    {
        this.orgid = orgid;
    }
    public String getOrgid()
    {
        return orgid;
    }
    public void setSourcetype(Long sourcetype)
    {
        this.sourcetype = sourcetype;
    }
    public Long getSourcetype()
    {
        return sourcetype;
    }
    public void setGbiconfigid(Long gbiconfigid)
    {
        this.gbiconfigid = gbiconfigid;
    }
    public Long getGbiconfigid()
    {
        return gbiconfigid;
    }
    public void setSceneid(Long sceneid)
    {
        this.sceneid = sceneid;
    }
    public Long getSceneid()
    {
        return sceneid;
    }
    public void setFlowid(Long flowid)
    {
        this.flowid = flowid;
    }
    public Long getFlowid()
    {
        return flowid;
    }
    public void setFlownodeid(Long flownodeid)
    {
        this.flownodeid = flownodeid;
    }
    public Long getFlownodeid()
    {
        return flownodeid;
    }
    public void setFlownodebranchid(Long flownodebranchid)
    {
        this.flownodebranchid = flownodebranchid;
    }
    public Long getFlownodebranchid()
    {
        return flownodebranchid;
    }
    public void setTemplateid(Long templateid)
    {
        this.templateid = templateid;
    }
    public Long getTemplateid()
    {
        return templateid;
    }
    public void setIntentionname(String intentionname)
    {
        this.intentionname = intentionname;
    }
    public String getIntentionname()
    {
        return intentionname;
    }
    public void setIntentionword(String intentionword)
    {
        this.intentionword = intentionword;
    }
    public String getIntentionword()
    {
        return intentionword;
    }
    public void setConditionstype(Long conditionstype)
    {
        this.conditionstype = conditionstype;
    }
    public Long getConditionstype()
    {
        return conditionstype;
    }
    public void setVerifyrule(String verifyrule)
    {
        this.verifyrule = verifyrule;
    }
    public String getVerifyrule()
    {
        return verifyrule;
    }
    public void setOrand(Long orand)
    {
        this.orand = orand;
    }
    public Long getOrand()
    {
        return orand;
    }
    public void setParentresultconditionsid(String parentresultconditionsid)
    {
        this.parentresultconditionsid = parentresultconditionsid;
    }
    public String getParentresultconditionsid()
    {
        return parentresultconditionsid;
    }
    public void setGroupnumber(Long groupnumber)
    {
        this.groupnumber = groupnumber;
    }
    public Long getGroupnumber()
    {
        return groupnumber;
    }
    public void setGrouporand(Long grouporand)
    {
        this.grouporand = grouporand;
    }
    public Long getGrouporand()
    {
        return grouporand;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }
    public String getDelFlag()
    {
        return delFlag;
    }
    public void setIsupload(Long isupload)
    {
        this.isupload = isupload;
    }
    public Long getIsupload()
    {
        return isupload;
    }
    public void setUploadTime(Date uploadTime)
    {
        this.uploadTime = uploadTime;
    }
    public Date getUploadTime()
    {
        return uploadTime;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sceneintentid", getSceneintentid())
            .append("orgid", getOrgid())
            .append("sourcetype", getSourcetype())
            .append("gbiconfigid", getGbiconfigid())
            .append("sceneid", getSceneid())
            .append("flowid", getFlowid())
            .append("flownodeid", getFlownodeid())
            .append("flownodebranchid", getFlownodebranchid())
            .append("templateid", getTemplateid())
            .append("intentionname", getIntentionname())
            .append("intentionword", getIntentionword())
            .append("conditionstype", getConditionstype())
            .append("verifyrule", getVerifyrule())
            .append("orand", getOrand())
            .append("parentresultconditionsid", getParentresultconditionsid())
            .append("groupnumber", getGroupnumber())
            .append("grouporand", getGrouporand())
            .append("delFlag", getDelFlag())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("isupload", getIsupload())
            .append("uploadTime", getUploadTime())
            .toString();
    }
}
smartor/src/main/java/com/smartor/domain/IvrSceneRecall.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,169 @@
package com.smartor.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * AI外呼重拨配置对象 ivr_scene_recall
 *
 * @author smartor
 * @date 2023-03-06
 */
public class IvrSceneRecall extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /**  è‡ªå¢žID  */
    private Long recallid;
    /**  æœºæž„ID  */
    @Excel(name = " æœºæž„ID ")
    private String orgid;
    /**  åœºæ™¯ID  */
    @Excel(name = " åœºæ™¯ID ")
    private Long sceneid;
    /**  é‡æ‹¨æƒ…景类型;0.任务执行失败 1.未接通 2.无人接听 3.患者拒绝 4.接通无应答 å¤šé€‰ é€—号隔开  */
    @Excel(name = " é‡æ‹¨æƒ…景类型;0.任务执行失败 1.未接通 2.无人接听 3.患者拒绝 4.接通无应答 å¤šé€‰ é€—号隔开 ")
    private String recalltype;
    /**  æ¬¡æ•°  */
    @Excel(name = " æ¬¡æ•° ")
    private Long recallcount;
    /**  é‡æ‹¨é—´éš”  */
    @Excel(name = " é‡æ‹¨é—´éš” ")
    private Long recallinterval;
    /**  é‡æ‹¨æ—¶é—´å•位;0.分钟 1.秒 2.小时  */
    @Excel(name = " é‡æ‹¨æ—¶é—´å•位;0.分钟 1.秒 2.小时 ")
    private Long recallunit;
    /**  åˆ é™¤æ ‡è®°  */
    private String delFlag;
    /**  ä¸Šä¼ æ ‡è®°  */
    @Excel(name = " ä¸Šä¼ æ ‡è®° ")
    private Long isupload;
    /**  ä¸Šä¼ æ—¶é—´  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " ä¸Šä¼ æ—¶é—´ ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;
    public void setRecallid(Long recallid)
    {
        this.recallid = recallid;
    }
    public Long getRecallid()
    {
        return recallid;
    }
    public void setOrgid(String orgid)
    {
        this.orgid = orgid;
    }
    public String getOrgid()
    {
        return orgid;
    }
    public void setSceneid(Long sceneid)
    {
        this.sceneid = sceneid;
    }
    public Long getSceneid()
    {
        return sceneid;
    }
    public void setRecalltype(String recalltype)
    {
        this.recalltype = recalltype;
    }
    public String getRecalltype()
    {
        return recalltype;
    }
    public void setRecallcount(Long recallcount)
    {
        this.recallcount = recallcount;
    }
    public Long getRecallcount()
    {
        return recallcount;
    }
    public void setRecallinterval(Long recallinterval)
    {
        this.recallinterval = recallinterval;
    }
    public Long getRecallinterval()
    {
        return recallinterval;
    }
    public void setRecallunit(Long recallunit)
    {
        this.recallunit = recallunit;
    }
    public Long getRecallunit()
    {
        return recallunit;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }
    public String getDelFlag()
    {
        return delFlag;
    }
    public void setIsupload(Long isupload)
    {
        this.isupload = isupload;
    }
    public Long getIsupload()
    {
        return isupload;
    }
    public void setUploadTime(Date uploadTime)
    {
        this.uploadTime = uploadTime;
    }
    public Date getUploadTime()
    {
        return uploadTime;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recallid", getRecallid())
            .append("orgid", getOrgid())
            .append("sceneid", getSceneid())
            .append("recalltype", getRecalltype())
            .append("recallcount", getRecallcount())
            .append("recallinterval", getRecallinterval())
            .append("recallunit", getRecallunit())
            .append("delFlag", getDelFlag())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("isupload", getIsupload())
            .append("uploadTime", getUploadTime())
            .toString();
    }
}
smartor/src/main/java/com/smartor/domain/IvrSceneScript.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,225 @@
package com.smartor.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * AI外呼话术对象 ivr_scene_script
 *
 * @author smartor
 * @date 2023-03-06
 */
public class IvrSceneScript extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /**  è‡ªå¢žID  */
    private Long scenescrid;
    /**  æœºæž„ID  */
    @Excel(name = " æœºæž„ID ")
    private String orgid;
    /**  æ¥æºç±»åž‹;0.全局 1.主线  */
    @Excel(name = " æ¥æºç±»åž‹;0.全局 1.主线 ")
    private Long sourcetype;
    /**  å…¨å±€é…ç½®ID;全局配置ID  */
    @Excel(name = " å…¨å±€é…ç½®ID;全局配置ID ")
    private Long globalid;
    /**  åœºæ™¯id  */
    @Excel(name = " åœºæ™¯id ")
    private Long sceneid;
    /**  æµç¨‹ID  */
    @Excel(name = " æµç¨‹ID ")
    private Long flowid;
    /**  æµç¨‹èŠ‚ç‚¹ID  */
    @Excel(name = " æµç¨‹èŠ‚ç‚¹ID ")
    private Long flownodeid;
    /**  å¼•用话术模板ID  */
    @Excel(name = " å¼•用话术模板ID ")
    private Long templateid;
    /**  è¯æœ¯å†…容(完整)  */
    @Excel(name = " è¯æœ¯å†…容", readConverterExp = "完=整")
    private String speakbody;
    /**  è¯æœ¯æ–‡ä»¶è·¯å¾„(完整)  */
    @Excel(name = " è¯æœ¯æ–‡ä»¶è·¯å¾„", readConverterExp = "完=整")
    private String speakfilepath;
    /**  è¯æœ¯åç§°  */
    @Excel(name = " è¯æœ¯åç§° ")
    private String speakname;
    /**  åˆ é™¤æ ‡è®°  */
    private String delFlag;
    /**  ä¸Šä¼ æ ‡è®°  */
    @Excel(name = " ä¸Šä¼ æ ‡è®° ")
    private Long isupload;
    /**  ä¸Šä¼ æ—¶é—´  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " ä¸Šä¼ æ—¶é—´ ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;
    public void setScenescrid(Long scenescrid)
    {
        this.scenescrid = scenescrid;
    }
    public Long getScenescrid()
    {
        return scenescrid;
    }
    public void setOrgid(String orgid)
    {
        this.orgid = orgid;
    }
    public String getOrgid()
    {
        return orgid;
    }
    public void setSourcetype(Long sourcetype)
    {
        this.sourcetype = sourcetype;
    }
    public Long getSourcetype()
    {
        return sourcetype;
    }
    public void setGlobalid(Long globalid)
    {
        this.globalid = globalid;
    }
    public Long getGlobalid()
    {
        return globalid;
    }
    public void setSceneid(Long sceneid)
    {
        this.sceneid = sceneid;
    }
    public Long getSceneid()
    {
        return sceneid;
    }
    public void setFlowid(Long flowid)
    {
        this.flowid = flowid;
    }
    public Long getFlowid()
    {
        return flowid;
    }
    public void setFlownodeid(Long flownodeid)
    {
        this.flownodeid = flownodeid;
    }
    public Long getFlownodeid()
    {
        return flownodeid;
    }
    public void setTemplateid(Long templateid)
    {
        this.templateid = templateid;
    }
    public Long getTemplateid()
    {
        return templateid;
    }
    public void setSpeakbody(String speakbody)
    {
        this.speakbody = speakbody;
    }
    public String getSpeakbody()
    {
        return speakbody;
    }
    public void setSpeakfilepath(String speakfilepath)
    {
        this.speakfilepath = speakfilepath;
    }
    public String getSpeakfilepath()
    {
        return speakfilepath;
    }
    public void setSpeakname(String speakname)
    {
        this.speakname = speakname;
    }
    public String getSpeakname()
    {
        return speakname;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }
    public String getDelFlag()
    {
        return delFlag;
    }
    public void setIsupload(Long isupload)
    {
        this.isupload = isupload;
    }
    public Long getIsupload()
    {
        return isupload;
    }
    public void setUploadTime(Date uploadTime)
    {
        this.uploadTime = uploadTime;
    }
    public Date getUploadTime()
    {
        return uploadTime;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("scenescrid", getScenescrid())
            .append("orgid", getOrgid())
            .append("sourcetype", getSourcetype())
            .append("globalid", getGlobalid())
            .append("sceneid", getSceneid())
            .append("flowid", getFlowid())
            .append("flownodeid", getFlownodeid())
            .append("templateid", getTemplateid())
            .append("speakbody", getSpeakbody())
            .append("speakfilepath", getSpeakfilepath())
            .append("speakname", getSpeakname())
            .append("delFlag", getDelFlag())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("isupload", getIsupload())
            .append("uploadTime", getUploadTime())
            .toString();
    }
}
smartor/src/main/java/com/smartor/domain/IvrSceneScriptmodel.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,267 @@
package com.smartor.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * AI外呼话术模块对象 ivr_scene_scriptmodel
 *
 * @author smartor
 * @date 2023-03-06
 */
public class IvrSceneScriptmodel extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /**  è‡ªå¢žID  */
    private Long scenemodid;
    /**  æœºæž„ID  */
    @Excel(name = " æœºæž„ID ")
    private String orgid;
    /**  è¯æœ¯ID  */
    @Excel(name = " è¯æœ¯ID ")
    private Long scenescrid;
    /**  è¯æœ¯ç±»åž‹ã€0:普通话术 1:变量话术】  */
    @Excel(name = " è¯æœ¯ç±»åž‹ã€0:普通话术 1:变量话术】 ")
    private Long speaktype;
    /**  è¯æœ¯å†…容  */
    @Excel(name = " è¯æœ¯å†…容 ")
    private String speakbody;
    /**  è¯­éŸ³ç±»åž‹ã€0:真人录音 1:合成语音】  */
    @Excel(name = " è¯­éŸ³ç±»åž‹ã€0:真人录音 1:合成语音】 ")
    private Long voicetype;
    /**  è¯­éŸ³æ–‡ä»¶  */
    @Excel(name = " è¯­éŸ³æ–‡ä»¶ ")
    private String speakfilepath;
    /**  åˆæˆåނ商  */
    @Excel(name = " åˆæˆåނ商 ")
    private String manufactor;
    /**  å£°éŸ³ç±»åž‹  */
    @Excel(name = " å£°éŸ³ç±»åž‹ ")
    private String soundtype;
    /**  è¯­é€Ÿ  */
    @Excel(name = " è¯­é€Ÿ ")
    private Long speechnum;
    /**  éŸ³é«˜  */
    @Excel(name = " éŸ³é«˜ ")
    private Long pitch;
    /**  éŸ³é‡  */
    @Excel(name = " éŸ³é‡ ")
    private Long volume;
    /**  åˆ é™¤æ ‡è®°  */
    private String delFlag;
    /**  ä¸Šä¼ æ ‡è®°  */
    @Excel(name = " ä¸Šä¼ æ ‡è®° ")
    private Long isupload;
    /**  ä¸Šä¼ æ—¶é—´  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " ä¸Šä¼ æ—¶é—´ ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;
    /**  å˜é‡è¯æœ¯å˜é‡  */
    @Excel(name = " å˜é‡è¯æœ¯å˜é‡ ")
    private String speakvariable;
    /**  åœºæ™¯ID  */
    @Excel(name = " åœºæ™¯ID ")
    private Long sceneid;
    public void setScenemodid(Long scenemodid)
    {
        this.scenemodid = scenemodid;
    }
    public Long getScenemodid()
    {
        return scenemodid;
    }
    public void setOrgid(String orgid)
    {
        this.orgid = orgid;
    }
    public String getOrgid()
    {
        return orgid;
    }
    public void setScenescrid(Long scenescrid)
    {
        this.scenescrid = scenescrid;
    }
    public Long getScenescrid()
    {
        return scenescrid;
    }
    public void setSpeaktype(Long speaktype)
    {
        this.speaktype = speaktype;
    }
    public Long getSpeaktype()
    {
        return speaktype;
    }
    public void setSpeakbody(String speakbody)
    {
        this.speakbody = speakbody;
    }
    public String getSpeakbody()
    {
        return speakbody;
    }
    public void setVoicetype(Long voicetype)
    {
        this.voicetype = voicetype;
    }
    public Long getVoicetype()
    {
        return voicetype;
    }
    public void setSpeakfilepath(String speakfilepath)
    {
        this.speakfilepath = speakfilepath;
    }
    public String getSpeakfilepath()
    {
        return speakfilepath;
    }
    public void setManufactor(String manufactor)
    {
        this.manufactor = manufactor;
    }
    public String getManufactor()
    {
        return manufactor;
    }
    public void setSoundtype(String soundtype)
    {
        this.soundtype = soundtype;
    }
    public String getSoundtype()
    {
        return soundtype;
    }
    public void setSpeechnum(Long speechnum)
    {
        this.speechnum = speechnum;
    }
    public Long getSpeechnum()
    {
        return speechnum;
    }
    public void setPitch(Long pitch)
    {
        this.pitch = pitch;
    }
    public Long getPitch()
    {
        return pitch;
    }
    public void setVolume(Long volume)
    {
        this.volume = volume;
    }
    public Long getVolume()
    {
        return volume;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }
    public String getDelFlag()
    {
        return delFlag;
    }
    public void setIsupload(Long isupload)
    {
        this.isupload = isupload;
    }
    public Long getIsupload()
    {
        return isupload;
    }
    public void setUploadTime(Date uploadTime)
    {
        this.uploadTime = uploadTime;
    }
    public Date getUploadTime()
    {
        return uploadTime;
    }
    public void setSpeakvariable(String speakvariable)
    {
        this.speakvariable = speakvariable;
    }
    public String getSpeakvariable()
    {
        return speakvariable;
    }
    public void setSceneid(Long sceneid)
    {
        this.sceneid = sceneid;
    }
    public Long getSceneid()
    {
        return sceneid;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("scenemodid", getScenemodid())
            .append("orgid", getOrgid())
            .append("scenescrid", getScenescrid())
            .append("speaktype", getSpeaktype())
            .append("speakbody", getSpeakbody())
            .append("voicetype", getVoicetype())
            .append("speakfilepath", getSpeakfilepath())
            .append("manufactor", getManufactor())
            .append("soundtype", getSoundtype())
            .append("speechnum", getSpeechnum())
            .append("pitch", getPitch())
            .append("volume", getVolume())
            .append("delFlag", getDelFlag())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("isupload", getIsupload())
            .append("uploadTime", getUploadTime())
            .append("speakvariable", getSpeakvariable())
            .append("sceneid", getSceneid())
            .toString();
    }
}
smartor/src/main/java/com/smartor/domain/IvrScenecategory.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,113 @@
package com.smartor.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * AI服务场景管理分类对象 ivr_scenecategory
 *
 * @author smartor
 * @date 2023-03-06
 */
public class IvrScenecategory extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /**  è‡ªå¢žID  */
    private Long scenecatid;
    /**  åˆ†ç±»åç§°  */
    @Excel(name = " åˆ†ç±»åç§° ")
    private String categoryname;
    /**  æœºæž„ID  */
    @Excel(name = " æœºæž„ID ")
    private String orgid;
    /**  åˆ é™¤æ ‡è®°  */
    private String delFlag;
    /**  ä¸Šä¼ æ ‡è®°  */
    @Excel(name = " ä¸Šä¼ æ ‡è®° ")
    private Long isupload;
    /**  ä¸Šä¼ æ—¶é—´  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = " ä¸Šä¼ æ—¶é—´ ", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;
    public void setScenecatid(Long scenecatid)
    {
        this.scenecatid = scenecatid;
    }
    public Long getScenecatid()
    {
        return scenecatid;
    }
    public void setCategoryname(String categoryname)
    {
        this.categoryname = categoryname;
    }
    public String getCategoryname()
    {
        return categoryname;
    }
    public void setOrgid(String orgid)
    {
        this.orgid = orgid;
    }
    public String getOrgid()
    {
        return orgid;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }
    public String getDelFlag()
    {
        return delFlag;
    }
    public void setIsupload(Long isupload)
    {
        this.isupload = isupload;
    }
    public Long getIsupload()
    {
        return isupload;
    }
    public void setUploadTime(Date uploadTime)
    {
        this.uploadTime = uploadTime;
    }
    public Date getUploadTime()
    {
        return uploadTime;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("scenecatid", getScenecatid())
            .append("categoryname", getCategoryname())
            .append("orgid", getOrgid())
            .append("delFlag", getDelFlag())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("isupload", getIsupload())
            .append("uploadTime", getUploadTime())
            .toString();
    }
}
smartor/src/main/java/com/smartor/domain/SmsParam.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,140 @@
package com.smartor.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * çŸ­ä¿¡å‚数对象 sms_param
 *
 * @author smartor
 * @date 2023-03-06
 */
public class SmsParam extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /** $column.columnComment */
    private Long paramid;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String paramname;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String paramval;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String descirbe;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long usestatus;
    /** $column.columnComment */
    private String delFlag;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long isupload;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date uploadTime;
    public void setParamid(Long paramid)
    {
        this.paramid = paramid;
    }
    public Long getParamid()
    {
        return paramid;
    }
    public void setParamname(String paramname)
    {
        this.paramname = paramname;
    }
    public String getParamname()
    {
        return paramname;
    }
    public void setParamval(String paramval)
    {
        this.paramval = paramval;
    }
    public String getParamval()
    {
        return paramval;
    }
    public void setDescirbe(String descirbe)
    {
        this.descirbe = descirbe;
    }
    public String getDescirbe()
    {
        return descirbe;
    }
    public void setUsestatus(Long usestatus)
    {
        this.usestatus = usestatus;
    }
    public Long getUsestatus()
    {
        return usestatus;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }
    public String getDelFlag()
    {
        return delFlag;
    }
    public void setIsupload(Long isupload)
    {
        this.isupload = isupload;
    }
    public Long getIsupload()
    {
        return isupload;
    }
    public void setUploadTime(Date uploadTime)
    {
        this.uploadTime = uploadTime;
    }
    public Date getUploadTime()
    {
        return uploadTime;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("paramid", getParamid())
            .append("paramname", getParamname())
            .append("paramval", getParamval())
            .append("descirbe", getDescirbe())
            .append("usestatus", getUsestatus())
            .append("delFlag", getDelFlag())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("isupload", getIsupload())
            .append("uploadTime", getUploadTime())
            .toString();
    }
}
smartor/src/main/java/com/smartor/domain/SmsRecords.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,340 @@
package com.smartor.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * çŸ­ä¿¡è®°å½•对象 sms_records
 *
 * @author smartor
 * @date 2023-03-06
 */
public class SmsRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /** $column.columnComment */
    private Long recordid;
    /**  */
    @Excel(name = "")
    private String userid;
    /**  */
    @Excel(name = "")
    private String username;
    /**  */
    @Excel(name = "")
    private String phone;
    /**  */
    @Excel(name = "")
    private String msgno;
    /**  */
    @Excel(name = "")
    private String msg;
    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inserttime;
    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sendtime;
    /**  */
    @Excel(name = "")
    private Long sendfailedcount;
    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date resulttime;
    /**  */
    @Excel(name = "")
    private String resultmsg;
    /**  */
    @Excel(name = "")
    private Long sendstate;
    /**  */
    @Excel(name = "")
    private Long inserttype;
    /**  */
    @Excel(name = "")
    private Long insertsystem;
    /**  */
    @Excel(name = "")
    private String insertmodule;
    /**  */
    @Excel(name = "")
    private String moduleid;
    /**  */
    @Excel(name = "")
    private String msgidentify;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long accountid;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String orgid;
    /**  */
    private String delFlag;
    /**  */
    @Excel(name = "")
    private Long isupload;
    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date uploadTime;
    public void setRecordid(Long recordid)
    {
        this.recordid = recordid;
    }
    public Long getRecordid()
    {
        return recordid;
    }
    public void setUserid(String userid)
    {
        this.userid = userid;
    }
    public String getUserid()
    {
        return userid;
    }
    public void setUsername(String username)
    {
        this.username = username;
    }
    public String getUsername()
    {
        return username;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }
    public String getPhone()
    {
        return phone;
    }
    public void setMsgno(String msgno)
    {
        this.msgno = msgno;
    }
    public String getMsgno()
    {
        return msgno;
    }
    public void setMsg(String msg)
    {
        this.msg = msg;
    }
    public String getMsg()
    {
        return msg;
    }
    public void setInserttime(Date inserttime)
    {
        this.inserttime = inserttime;
    }
    public Date getInserttime()
    {
        return inserttime;
    }
    public void setSendtime(Date sendtime)
    {
        this.sendtime = sendtime;
    }
    public Date getSendtime()
    {
        return sendtime;
    }
    public void setSendfailedcount(Long sendfailedcount)
    {
        this.sendfailedcount = sendfailedcount;
    }
    public Long getSendfailedcount()
    {
        return sendfailedcount;
    }
    public void setResulttime(Date resulttime)
    {
        this.resulttime = resulttime;
    }
    public Date getResulttime()
    {
        return resulttime;
    }
    public void setResultmsg(String resultmsg)
    {
        this.resultmsg = resultmsg;
    }
    public String getResultmsg()
    {
        return resultmsg;
    }
    public void setSendstate(Long sendstate)
    {
        this.sendstate = sendstate;
    }
    public Long getSendstate()
    {
        return sendstate;
    }
    public void setInserttype(Long inserttype)
    {
        this.inserttype = inserttype;
    }
    public Long getInserttype()
    {
        return inserttype;
    }
    public void setInsertsystem(Long insertsystem)
    {
        this.insertsystem = insertsystem;
    }
    public Long getInsertsystem()
    {
        return insertsystem;
    }
    public void setInsertmodule(String insertmodule)
    {
        this.insertmodule = insertmodule;
    }
    public String getInsertmodule()
    {
        return insertmodule;
    }
    public void setModuleid(String moduleid)
    {
        this.moduleid = moduleid;
    }
    public String getModuleid()
    {
        return moduleid;
    }
    public void setMsgidentify(String msgidentify)
    {
        this.msgidentify = msgidentify;
    }
    public String getMsgidentify()
    {
        return msgidentify;
    }
    public void setAccountid(Long accountid)
    {
        this.accountid = accountid;
    }
    public Long getAccountid()
    {
        return accountid;
    }
    public void setOrgid(String orgid)
    {
        this.orgid = orgid;
    }
    public String getOrgid()
    {
        return orgid;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }
    public String getDelFlag()
    {
        return delFlag;
    }
    public void setIsupload(Long isupload)
    {
        this.isupload = isupload;
    }
    public Long getIsupload()
    {
        return isupload;
    }
    public void setUploadTime(Date uploadTime)
    {
        this.uploadTime = uploadTime;
    }
    public Date getUploadTime()
    {
        return uploadTime;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordid", getRecordid())
            .append("userid", getUserid())
            .append("username", getUsername())
            .append("phone", getPhone())
            .append("msgno", getMsgno())
            .append("msg", getMsg())
            .append("inserttime", getInserttime())
            .append("sendtime", getSendtime())
            .append("sendfailedcount", getSendfailedcount())
            .append("resulttime", getResulttime())
            .append("resultmsg", getResultmsg())
            .append("sendstate", getSendstate())
            .append("inserttype", getInserttype())
            .append("insertsystem", getInsertsystem())
            .append("insertmodule", getInsertmodule())
            .append("moduleid", getModuleid())
            .append("msgidentify", getMsgidentify())
            .append("accountid", getAccountid())
            .append("orgid", getOrgid())
            .append("delFlag", getDelFlag())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("isupload", getIsupload())
            .append("uploadTime", getUploadTime())
            .toString();
    }
}
smartor/src/main/java/com/smartor/domain/SmsTemplet.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,126 @@
package com.smartor.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
/**
 * çŸ­ä¿¡æ¨¡æ¿å¯¹è±¡ sms_templet
 *
 * @author smartor
 * @date 2023-03-06
 */
public class SmsTemplet extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /** $column.columnComment */
    private Long templetid;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String templetno;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String templetname;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String templetcontent;
    /** $column.columnComment */
    private String delFlag;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long isupload;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date uploadTime;
    public void setTempletid(Long templetid)
    {
        this.templetid = templetid;
    }
    public Long getTempletid()
    {
        return templetid;
    }
    public void setTempletno(String templetno)
    {
        this.templetno = templetno;
    }
    public String getTempletno()
    {
        return templetno;
    }
    public void setTempletname(String templetname)
    {
        this.templetname = templetname;
    }
    public String getTempletname()
    {
        return templetname;
    }
    public void setTempletcontent(String templetcontent)
    {
        this.templetcontent = templetcontent;
    }
    public String getTempletcontent()
    {
        return templetcontent;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }
    public String getDelFlag()
    {
        return delFlag;
    }
    public void setIsupload(Long isupload)
    {
        this.isupload = isupload;
    }
    public Long getIsupload()
    {
        return isupload;
    }
    public void setUploadTime(Date uploadTime)
    {
        this.uploadTime = uploadTime;
    }
    public Date getUploadTime()
    {
        return uploadTime;
    }
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("templetid", getTempletid())
            .append("templetno", getTempletno())
            .append("templetname", getTempletname())
            .append("templetcontent", getTempletcontent())
            .append("delFlag", getDelFlag())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("isupload", getIsupload())
            .append("uploadTime", getUploadTime())
            .toString();
    }
}
smartor/src/main/java/com/smartor/mapper/BaseSmsaccountMapper.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.mapper;
import java.util.List;
import com.smartor.domain.BaseSmsaccount;
/**
 * çŸ­ä¿¡è´¦å·Mapper接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface BaseSmsaccountMapper
{
    /**
     * æŸ¥è¯¢çŸ­ä¿¡è´¦å·
     *
     * @param smsacountid çŸ­ä¿¡è´¦å·ä¸»é”®
     * @return çŸ­ä¿¡è´¦å·
     */
    public BaseSmsaccount selectBaseSmsaccountBySmsacountid(Long smsacountid);
    /**
     * æŸ¥è¯¢çŸ­ä¿¡è´¦å·åˆ—表
     *
     * @param baseSmsaccount çŸ­ä¿¡è´¦å·
     * @return çŸ­ä¿¡è´¦å·é›†åˆ
     */
    public List<BaseSmsaccount> selectBaseSmsaccountList(BaseSmsaccount baseSmsaccount);
    /**
     * æ–°å¢žçŸ­ä¿¡è´¦å·
     *
     * @param baseSmsaccount çŸ­ä¿¡è´¦å·
     * @return ç»“æžœ
     */
    public int insertBaseSmsaccount(BaseSmsaccount baseSmsaccount);
    /**
     * ä¿®æ”¹çŸ­ä¿¡è´¦å·
     *
     * @param baseSmsaccount çŸ­ä¿¡è´¦å·
     * @return ç»“æžœ
     */
    public int updateBaseSmsaccount(BaseSmsaccount baseSmsaccount);
    /**
     * åˆ é™¤çŸ­ä¿¡è´¦å·
     *
     * @param smsacountid çŸ­ä¿¡è´¦å·ä¸»é”®
     * @return ç»“æžœ
     */
    public int deleteBaseSmsaccountBySmsacountid(Long smsacountid);
    /**
     * æ‰¹é‡åˆ é™¤çŸ­ä¿¡è´¦å·
     *
     * @param smsacountids éœ€è¦åˆ é™¤çš„æ•°æ®ä¸»é”®é›†åˆ
     * @return ç»“æžœ
     */
    public int deleteBaseSmsaccountBySmsacountids(Long[] smsacountids);
}
smartor/src/main/java/com/smartor/mapper/IvrLibIntentMapper.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.mapper;
import java.util.List;
import com.smartor.domain.IvrLibIntent;
/**
 * AI意图库Mapper接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IvrLibIntentMapper
{
    /**
     * æŸ¥è¯¢AI意图库
     *
     * @param intentid AI意图库主键
     * @return AI意图库
     */
    public IvrLibIntent selectIvrLibIntentByIntentid(Long intentid);
    /**
     * æŸ¥è¯¢AI意图库列表
     *
     * @param ivrLibIntent AI意图库
     * @return AI意图库集合
     */
    public List<IvrLibIntent> selectIvrLibIntentList(IvrLibIntent ivrLibIntent);
    /**
     * æ–°å¢žAI意图库
     *
     * @param ivrLibIntent AI意图库
     * @return ç»“æžœ
     */
    public int insertIvrLibIntent(IvrLibIntent ivrLibIntent);
    /**
     * ä¿®æ”¹AI意图库
     *
     * @param ivrLibIntent AI意图库
     * @return ç»“æžœ
     */
    public int updateIvrLibIntent(IvrLibIntent ivrLibIntent);
    /**
     * åˆ é™¤AI意图库
     *
     * @param intentid AI意图库主键
     * @return ç»“æžœ
     */
    public int deleteIvrLibIntentByIntentid(Long intentid);
    /**
     * æ‰¹é‡åˆ é™¤AI意图库
     *
     * @param intentids éœ€è¦åˆ é™¤çš„æ•°æ®ä¸»é”®é›†åˆ
     * @return ç»“æžœ
     */
    public int deleteIvrLibIntentByIntentids(Long[] intentids);
}
smartor/src/main/java/com/smartor/mapper/IvrLibIntentcategoryMapper.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.mapper;
import java.util.List;
import com.smartor.domain.IvrLibIntentcategory;
/**
 * AI意图库分类Mapper接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IvrLibIntentcategoryMapper
{
    /**
     * æŸ¥è¯¢AI意图库分类
     *
     * @param intertcatid AI意图库分类主键
     * @return AI意图库分类
     */
    public IvrLibIntentcategory selectIvrLibIntentcategoryByIntertcatid(Long intertcatid);
    /**
     * æŸ¥è¯¢AI意图库分类列表
     *
     * @param ivrLibIntentcategory AI意图库分类
     * @return AI意图库分类集合
     */
    public List<IvrLibIntentcategory> selectIvrLibIntentcategoryList(IvrLibIntentcategory ivrLibIntentcategory);
    /**
     * æ–°å¢žAI意图库分类
     *
     * @param ivrLibIntentcategory AI意图库分类
     * @return ç»“æžœ
     */
    public int insertIvrLibIntentcategory(IvrLibIntentcategory ivrLibIntentcategory);
    /**
     * ä¿®æ”¹AI意图库分类
     *
     * @param ivrLibIntentcategory AI意图库分类
     * @return ç»“æžœ
     */
    public int updateIvrLibIntentcategory(IvrLibIntentcategory ivrLibIntentcategory);
    /**
     * åˆ é™¤AI意图库分类
     *
     * @param intertcatid AI意图库分类主键
     * @return ç»“æžœ
     */
    public int deleteIvrLibIntentcategoryByIntertcatid(Long intertcatid);
    /**
     * æ‰¹é‡åˆ é™¤AI意图库分类
     *
     * @param intertcatids éœ€è¦åˆ é™¤çš„æ•°æ®ä¸»é”®é›†åˆ
     * @return ç»“æžœ
     */
    public int deleteIvrLibIntentcategoryByIntertcatids(Long[] intertcatids);
}
smartor/src/main/java/com/smartor/mapper/IvrLibScriptMapper.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.mapper;
import java.util.List;
import com.smartor.domain.IvrLibScript;
/**
 * AI话术库Mapper接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IvrLibScriptMapper
{
    /**
     * æŸ¥è¯¢AI话术库
     *
     * @param scriptid AI话术库主键
     * @return AI话术库
     */
    public IvrLibScript selectIvrLibScriptByScriptid(Long scriptid);
    /**
     * æŸ¥è¯¢AI话术库列表
     *
     * @param ivrLibScript AI话术库
     * @return AI话术库集合
     */
    public List<IvrLibScript> selectIvrLibScriptList(IvrLibScript ivrLibScript);
    /**
     * æ–°å¢žAI话术库
     *
     * @param ivrLibScript AI话术库
     * @return ç»“æžœ
     */
    public int insertIvrLibScript(IvrLibScript ivrLibScript);
    /**
     * ä¿®æ”¹AI话术库
     *
     * @param ivrLibScript AI话术库
     * @return ç»“æžœ
     */
    public int updateIvrLibScript(IvrLibScript ivrLibScript);
    /**
     * åˆ é™¤AI话术库
     *
     * @param scriptid AI话术库主键
     * @return ç»“æžœ
     */
    public int deleteIvrLibScriptByScriptid(Long scriptid);
    /**
     * æ‰¹é‡åˆ é™¤AI话术库
     *
     * @param scriptids éœ€è¦åˆ é™¤çš„æ•°æ®ä¸»é”®é›†åˆ
     * @return ç»“æžœ
     */
    public int deleteIvrLibScriptByScriptids(Long[] scriptids);
}
smartor/src/main/java/com/smartor/mapper/IvrLibScriptcategoryMapper.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.mapper;
import java.util.List;
import com.smartor.domain.IvrLibScriptcategory;
/**
 * AI话术库分类Mapper接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IvrLibScriptcategoryMapper
{
    /**
     * æŸ¥è¯¢AI话术库分类
     *
     * @param categoryid AI话术库分类主键
     * @return AI话术库分类
     */
    public IvrLibScriptcategory selectIvrLibScriptcategoryByCategoryid(Long categoryid);
    /**
     * æŸ¥è¯¢AI话术库分类列表
     *
     * @param ivrLibScriptcategory AI话术库分类
     * @return AI话术库分类集合
     */
    public List<IvrLibScriptcategory> selectIvrLibScriptcategoryList(IvrLibScriptcategory ivrLibScriptcategory);
    /**
     * æ–°å¢žAI话术库分类
     *
     * @param ivrLibScriptcategory AI话术库分类
     * @return ç»“æžœ
     */
    public int insertIvrLibScriptcategory(IvrLibScriptcategory ivrLibScriptcategory);
    /**
     * ä¿®æ”¹AI话术库分类
     *
     * @param ivrLibScriptcategory AI话术库分类
     * @return ç»“æžœ
     */
    public int updateIvrLibScriptcategory(IvrLibScriptcategory ivrLibScriptcategory);
    /**
     * åˆ é™¤AI话术库分类
     *
     * @param categoryid AI话术库分类主键
     * @return ç»“æžœ
     */
    public int deleteIvrLibScriptcategoryByCategoryid(Long categoryid);
    /**
     * æ‰¹é‡åˆ é™¤AI话术库分类
     *
     * @param categoryids éœ€è¦åˆ é™¤çš„æ•°æ®ä¸»é”®é›†åˆ
     * @return ç»“æžœ
     */
    public int deleteIvrLibScriptcategoryByCategoryids(Long[] categoryids);
}
smartor/src/main/java/com/smartor/mapper/IvrLibScriptmodelMapper.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.mapper;
import java.util.List;
import com.smartor.domain.IvrLibScriptmodel;
/**
 * AI话术模块Mapper接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IvrLibScriptmodelMapper
{
    /**
     * æŸ¥è¯¢AI话术模块
     *
     * @param modelid AI话术模块主键
     * @return AI话术模块
     */
    public IvrLibScriptmodel selectIvrLibScriptmodelByModelid(Long modelid);
    /**
     * æŸ¥è¯¢AI话术模块列表
     *
     * @param ivrLibScriptmodel AI话术模块
     * @return AI话术模块集合
     */
    public List<IvrLibScriptmodel> selectIvrLibScriptmodelList(IvrLibScriptmodel ivrLibScriptmodel);
    /**
     * æ–°å¢žAI话术模块
     *
     * @param ivrLibScriptmodel AI话术模块
     * @return ç»“æžœ
     */
    public int insertIvrLibScriptmodel(IvrLibScriptmodel ivrLibScriptmodel);
    /**
     * ä¿®æ”¹AI话术模块
     *
     * @param ivrLibScriptmodel AI话术模块
     * @return ç»“æžœ
     */
    public int updateIvrLibScriptmodel(IvrLibScriptmodel ivrLibScriptmodel);
    /**
     * åˆ é™¤AI话术模块
     *
     * @param modelid AI话术模块主键
     * @return ç»“æžœ
     */
    public int deleteIvrLibScriptmodelByModelid(Long modelid);
    /**
     * æ‰¹é‡åˆ é™¤AI话术模块
     *
     * @param modelids éœ€è¦åˆ é™¤çš„æ•°æ®ä¸»é”®é›†åˆ
     * @return ç»“æžœ
     */
    public int deleteIvrLibScriptmodelByModelids(Long[] modelids);
}
smartor/src/main/java/com/smartor/mapper/IvrSceneExecuteconfigMapper.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.mapper;
import java.util.List;
import com.smartor.domain.IvrSceneExecuteconfig;
/**
 * AI外呼执行配置Mapper接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IvrSceneExecuteconfigMapper
{
    /**
     * æŸ¥è¯¢AI外呼执行配置
     *
     * @param scenecfgid AI外呼执行配置主键
     * @return AI外呼执行配置
     */
    public IvrSceneExecuteconfig selectIvrSceneExecuteconfigByScenecfgid(Long scenecfgid);
    /**
     * æŸ¥è¯¢AI外呼执行配置列表
     *
     * @param ivrSceneExecuteconfig AI外呼执行配置
     * @return AI外呼执行配置集合
     */
    public List<IvrSceneExecuteconfig> selectIvrSceneExecuteconfigList(IvrSceneExecuteconfig ivrSceneExecuteconfig);
    /**
     * æ–°å¢žAI外呼执行配置
     *
     * @param ivrSceneExecuteconfig AI外呼执行配置
     * @return ç»“æžœ
     */
    public int insertIvrSceneExecuteconfig(IvrSceneExecuteconfig ivrSceneExecuteconfig);
    /**
     * ä¿®æ”¹AI外呼执行配置
     *
     * @param ivrSceneExecuteconfig AI外呼执行配置
     * @return ç»“æžœ
     */
    public int updateIvrSceneExecuteconfig(IvrSceneExecuteconfig ivrSceneExecuteconfig);
    /**
     * åˆ é™¤AI外呼执行配置
     *
     * @param scenecfgid AI外呼执行配置主键
     * @return ç»“æžœ
     */
    public int deleteIvrSceneExecuteconfigByScenecfgid(Long scenecfgid);
    /**
     * æ‰¹é‡åˆ é™¤AI外呼执行配置
     *
     * @param scenecfgids éœ€è¦åˆ é™¤çš„æ•°æ®ä¸»é”®é›†åˆ
     * @return ç»“æžœ
     */
    public int deleteIvrSceneExecuteconfigByScenecfgids(Long[] scenecfgids);
}
smartor/src/main/java/com/smartor/mapper/IvrSceneFlowMapper.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.mapper;
import java.util.List;
import com.smartor.domain.IvrSceneFlow;
/**
 * AI外呼流程Mapper接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IvrSceneFlowMapper
{
    /**
     * æŸ¥è¯¢AI外呼流程
     *
     * @param flowid AI外呼流程主键
     * @return AI外呼流程
     */
    public IvrSceneFlow selectIvrSceneFlowByFlowid(Long flowid);
    /**
     * æŸ¥è¯¢AI外呼流程列表
     *
     * @param ivrSceneFlow AI外呼流程
     * @return AI外呼流程集合
     */
    public List<IvrSceneFlow> selectIvrSceneFlowList(IvrSceneFlow ivrSceneFlow);
    /**
     * æ–°å¢žAI外呼流程
     *
     * @param ivrSceneFlow AI外呼流程
     * @return ç»“æžœ
     */
    public int insertIvrSceneFlow(IvrSceneFlow ivrSceneFlow);
    /**
     * ä¿®æ”¹AI外呼流程
     *
     * @param ivrSceneFlow AI外呼流程
     * @return ç»“æžœ
     */
    public int updateIvrSceneFlow(IvrSceneFlow ivrSceneFlow);
    /**
     * åˆ é™¤AI外呼流程
     *
     * @param flowid AI外呼流程主键
     * @return ç»“æžœ
     */
    public int deleteIvrSceneFlowByFlowid(Long flowid);
    /**
     * æ‰¹é‡åˆ é™¤AI外呼流程
     *
     * @param flowids éœ€è¦åˆ é™¤çš„æ•°æ®ä¸»é”®é›†åˆ
     * @return ç»“æžœ
     */
    public int deleteIvrSceneFlowByFlowids(Long[] flowids);
}
smartor/src/main/java/com/smartor/mapper/IvrSceneFlownodeMapper.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.mapper;
import java.util.List;
import com.smartor.domain.IvrSceneFlownode;
/**
 * AI外呼流程节点Mapper接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IvrSceneFlownodeMapper
{
    /**
     * æŸ¥è¯¢AI外呼流程节点
     *
     * @param flownodeid AI外呼流程节点主键
     * @return AI外呼流程节点
     */
    public IvrSceneFlownode selectIvrSceneFlownodeByFlownodeid(Long flownodeid);
    /**
     * æŸ¥è¯¢AI外呼流程节点列表
     *
     * @param ivrSceneFlownode AI外呼流程节点
     * @return AI外呼流程节点集合
     */
    public List<IvrSceneFlownode> selectIvrSceneFlownodeList(IvrSceneFlownode ivrSceneFlownode);
    /**
     * æ–°å¢žAI外呼流程节点
     *
     * @param ivrSceneFlownode AI外呼流程节点
     * @return ç»“æžœ
     */
    public int insertIvrSceneFlownode(IvrSceneFlownode ivrSceneFlownode);
    /**
     * ä¿®æ”¹AI外呼流程节点
     *
     * @param ivrSceneFlownode AI外呼流程节点
     * @return ç»“æžœ
     */
    public int updateIvrSceneFlownode(IvrSceneFlownode ivrSceneFlownode);
    /**
     * åˆ é™¤AI外呼流程节点
     *
     * @param flownodeid AI外呼流程节点主键
     * @return ç»“æžœ
     */
    public int deleteIvrSceneFlownodeByFlownodeid(Long flownodeid);
    /**
     * æ‰¹é‡åˆ é™¤AI外呼流程节点
     *
     * @param flownodeids éœ€è¦åˆ é™¤çš„æ•°æ®ä¸»é”®é›†åˆ
     * @return ç»“æžœ
     */
    public int deleteIvrSceneFlownodeByFlownodeids(Long[] flownodeids);
}
smartor/src/main/java/com/smartor/mapper/IvrSceneFlownodebranchMapper.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.mapper;
import java.util.List;
import com.smartor.domain.IvrSceneFlownodebranch;
/**
 * AI外呼流程节点分支Mapper接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IvrSceneFlownodebranchMapper
{
    /**
     * æŸ¥è¯¢AI外呼流程节点分支
     *
     * @param branchid AI外呼流程节点分支主键
     * @return AI外呼流程节点分支
     */
    public IvrSceneFlownodebranch selectIvrSceneFlownodebranchByBranchid(Long branchid);
    /**
     * æŸ¥è¯¢AI外呼流程节点分支列表
     *
     * @param ivrSceneFlownodebranch AI外呼流程节点分支
     * @return AI外呼流程节点分支集合
     */
    public List<IvrSceneFlownodebranch> selectIvrSceneFlownodebranchList(IvrSceneFlownodebranch ivrSceneFlownodebranch);
    /**
     * æ–°å¢žAI外呼流程节点分支
     *
     * @param ivrSceneFlownodebranch AI外呼流程节点分支
     * @return ç»“æžœ
     */
    public int insertIvrSceneFlownodebranch(IvrSceneFlownodebranch ivrSceneFlownodebranch);
    /**
     * ä¿®æ”¹AI外呼流程节点分支
     *
     * @param ivrSceneFlownodebranch AI外呼流程节点分支
     * @return ç»“æžœ
     */
    public int updateIvrSceneFlownodebranch(IvrSceneFlownodebranch ivrSceneFlownodebranch);
    /**
     * åˆ é™¤AI外呼流程节点分支
     *
     * @param branchid AI外呼流程节点分支主键
     * @return ç»“æžœ
     */
    public int deleteIvrSceneFlownodebranchByBranchid(Long branchid);
    /**
     * æ‰¹é‡åˆ é™¤AI外呼流程节点分支
     *
     * @param branchids éœ€è¦åˆ é™¤çš„æ•°æ®ä¸»é”®é›†åˆ
     * @return ç»“æžœ
     */
    public int deleteIvrSceneFlownodebranchByBranchids(Long[] branchids);
}
smartor/src/main/java/com/smartor/mapper/IvrSceneGlobalconfigMapper.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.mapper;
import java.util.List;
import com.smartor.domain.IvrSceneGlobalconfig;
/**
 * AI外呼全局配置Mapper接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IvrSceneGlobalconfigMapper
{
    /**
     * æŸ¥è¯¢AI外呼全局配置
     *
     * @param gblconfigid AI外呼全局配置主键
     * @return AI外呼全局配置
     */
    public IvrSceneGlobalconfig selectIvrSceneGlobalconfigByGblconfigid(Long gblconfigid);
    /**
     * æŸ¥è¯¢AI外呼全局配置列表
     *
     * @param ivrSceneGlobalconfig AI外呼全局配置
     * @return AI外呼全局配置集合
     */
    public List<IvrSceneGlobalconfig> selectIvrSceneGlobalconfigList(IvrSceneGlobalconfig ivrSceneGlobalconfig);
    /**
     * æ–°å¢žAI外呼全局配置
     *
     * @param ivrSceneGlobalconfig AI外呼全局配置
     * @return ç»“æžœ
     */
    public int insertIvrSceneGlobalconfig(IvrSceneGlobalconfig ivrSceneGlobalconfig);
    /**
     * ä¿®æ”¹AI外呼全局配置
     *
     * @param ivrSceneGlobalconfig AI外呼全局配置
     * @return ç»“æžœ
     */
    public int updateIvrSceneGlobalconfig(IvrSceneGlobalconfig ivrSceneGlobalconfig);
    /**
     * åˆ é™¤AI外呼全局配置
     *
     * @param gblconfigid AI外呼全局配置主键
     * @return ç»“æžœ
     */
    public int deleteIvrSceneGlobalconfigByGblconfigid(Long gblconfigid);
    /**
     * æ‰¹é‡åˆ é™¤AI外呼全局配置
     *
     * @param gblconfigids éœ€è¦åˆ é™¤çš„æ•°æ®ä¸»é”®é›†åˆ
     * @return ç»“æžœ
     */
    public int deleteIvrSceneGlobalconfigByGblconfigids(Long[] gblconfigids);
}
smartor/src/main/java/com/smartor/mapper/IvrSceneIntentMapper.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.mapper;
import java.util.List;
import com.smartor.domain.IvrSceneIntent;
/**
 * AI外呼意图Mapper接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IvrSceneIntentMapper
{
    /**
     * æŸ¥è¯¢AI外呼意图
     *
     * @param sceneintentid AI外呼意图主键
     * @return AI外呼意图
     */
    public IvrSceneIntent selectIvrSceneIntentBySceneintentid(Long sceneintentid);
    /**
     * æŸ¥è¯¢AI外呼意图列表
     *
     * @param ivrSceneIntent AI外呼意图
     * @return AI外呼意图集合
     */
    public List<IvrSceneIntent> selectIvrSceneIntentList(IvrSceneIntent ivrSceneIntent);
    /**
     * æ–°å¢žAI外呼意图
     *
     * @param ivrSceneIntent AI外呼意图
     * @return ç»“æžœ
     */
    public int insertIvrSceneIntent(IvrSceneIntent ivrSceneIntent);
    /**
     * ä¿®æ”¹AI外呼意图
     *
     * @param ivrSceneIntent AI外呼意图
     * @return ç»“æžœ
     */
    public int updateIvrSceneIntent(IvrSceneIntent ivrSceneIntent);
    /**
     * åˆ é™¤AI外呼意图
     *
     * @param sceneintentid AI外呼意图主键
     * @return ç»“æžœ
     */
    public int deleteIvrSceneIntentBySceneintentid(Long sceneintentid);
    /**
     * æ‰¹é‡åˆ é™¤AI外呼意图
     *
     * @param sceneintentids éœ€è¦åˆ é™¤çš„æ•°æ®ä¸»é”®é›†åˆ
     * @return ç»“æžœ
     */
    public int deleteIvrSceneIntentBySceneintentids(Long[] sceneintentids);
}
smartor/src/main/java/com/smartor/mapper/IvrSceneMapper.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.mapper;
import java.util.List;
import com.smartor.domain.IvrScene;
/**
 * AI外呼场景管理Mapper接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IvrSceneMapper
{
    /**
     * æŸ¥è¯¢AI外呼场景管理
     *
     * @param sceneid AI外呼场景管理主键
     * @return AI外呼场景管理
     */
    public IvrScene selectIvrSceneBySceneid(Long sceneid);
    /**
     * æŸ¥è¯¢AI外呼场景管理列表
     *
     * @param ivrScene AI外呼场景管理
     * @return AI外呼场景管理集合
     */
    public List<IvrScene> selectIvrSceneList(IvrScene ivrScene);
    /**
     * æ–°å¢žAI外呼场景管理
     *
     * @param ivrScene AI外呼场景管理
     * @return ç»“æžœ
     */
    public int insertIvrScene(IvrScene ivrScene);
    /**
     * ä¿®æ”¹AI外呼场景管理
     *
     * @param ivrScene AI外呼场景管理
     * @return ç»“æžœ
     */
    public int updateIvrScene(IvrScene ivrScene);
    /**
     * åˆ é™¤AI外呼场景管理
     *
     * @param sceneid AI外呼场景管理主键
     * @return ç»“æžœ
     */
    public int deleteIvrSceneBySceneid(Long sceneid);
    /**
     * æ‰¹é‡åˆ é™¤AI外呼场景管理
     *
     * @param sceneids éœ€è¦åˆ é™¤çš„æ•°æ®ä¸»é”®é›†åˆ
     * @return ç»“æžœ
     */
    public int deleteIvrSceneBySceneids(Long[] sceneids);
}
smartor/src/main/java/com/smartor/mapper/IvrSceneRecallMapper.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.mapper;
import java.util.List;
import com.smartor.domain.IvrSceneRecall;
/**
 * AI外呼重拨配置Mapper接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IvrSceneRecallMapper
{
    /**
     * æŸ¥è¯¢AI外呼重拨配置
     *
     * @param recallid AI外呼重拨配置主键
     * @return AI外呼重拨配置
     */
    public IvrSceneRecall selectIvrSceneRecallByRecallid(Long recallid);
    /**
     * æŸ¥è¯¢AI外呼重拨配置列表
     *
     * @param ivrSceneRecall AI外呼重拨配置
     * @return AI外呼重拨配置集合
     */
    public List<IvrSceneRecall> selectIvrSceneRecallList(IvrSceneRecall ivrSceneRecall);
    /**
     * æ–°å¢žAI外呼重拨配置
     *
     * @param ivrSceneRecall AI外呼重拨配置
     * @return ç»“æžœ
     */
    public int insertIvrSceneRecall(IvrSceneRecall ivrSceneRecall);
    /**
     * ä¿®æ”¹AI外呼重拨配置
     *
     * @param ivrSceneRecall AI外呼重拨配置
     * @return ç»“æžœ
     */
    public int updateIvrSceneRecall(IvrSceneRecall ivrSceneRecall);
    /**
     * åˆ é™¤AI外呼重拨配置
     *
     * @param recallid AI外呼重拨配置主键
     * @return ç»“æžœ
     */
    public int deleteIvrSceneRecallByRecallid(Long recallid);
    /**
     * æ‰¹é‡åˆ é™¤AI外呼重拨配置
     *
     * @param recallids éœ€è¦åˆ é™¤çš„æ•°æ®ä¸»é”®é›†åˆ
     * @return ç»“æžœ
     */
    public int deleteIvrSceneRecallByRecallids(Long[] recallids);
}
smartor/src/main/java/com/smartor/mapper/IvrSceneScriptMapper.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.mapper;
import java.util.List;
import com.smartor.domain.IvrSceneScript;
/**
 * AI外呼话术Mapper接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IvrSceneScriptMapper
{
    /**
     * æŸ¥è¯¢AI外呼话术
     *
     * @param scenescrid AI外呼话术主键
     * @return AI外呼话术
     */
    public IvrSceneScript selectIvrSceneScriptByScenescrid(Long scenescrid);
    /**
     * æŸ¥è¯¢AI外呼话术列表
     *
     * @param ivrSceneScript AI外呼话术
     * @return AI外呼话术集合
     */
    public List<IvrSceneScript> selectIvrSceneScriptList(IvrSceneScript ivrSceneScript);
    /**
     * æ–°å¢žAI外呼话术
     *
     * @param ivrSceneScript AI外呼话术
     * @return ç»“æžœ
     */
    public int insertIvrSceneScript(IvrSceneScript ivrSceneScript);
    /**
     * ä¿®æ”¹AI外呼话术
     *
     * @param ivrSceneScript AI外呼话术
     * @return ç»“æžœ
     */
    public int updateIvrSceneScript(IvrSceneScript ivrSceneScript);
    /**
     * åˆ é™¤AI外呼话术
     *
     * @param scenescrid AI外呼话术主键
     * @return ç»“æžœ
     */
    public int deleteIvrSceneScriptByScenescrid(Long scenescrid);
    /**
     * æ‰¹é‡åˆ é™¤AI外呼话术
     *
     * @param scenescrids éœ€è¦åˆ é™¤çš„æ•°æ®ä¸»é”®é›†åˆ
     * @return ç»“æžœ
     */
    public int deleteIvrSceneScriptByScenescrids(Long[] scenescrids);
}
smartor/src/main/java/com/smartor/mapper/IvrSceneScriptmodelMapper.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.mapper;
import java.util.List;
import com.smartor.domain.IvrSceneScriptmodel;
/**
 * AI外呼话术模块Mapper接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IvrSceneScriptmodelMapper
{
    /**
     * æŸ¥è¯¢AI外呼话术模块
     *
     * @param scenemodid AI外呼话术模块主键
     * @return AI外呼话术模块
     */
    public IvrSceneScriptmodel selectIvrSceneScriptmodelByScenemodid(Long scenemodid);
    /**
     * æŸ¥è¯¢AI外呼话术模块列表
     *
     * @param ivrSceneScriptmodel AI外呼话术模块
     * @return AI外呼话术模块集合
     */
    public List<IvrSceneScriptmodel> selectIvrSceneScriptmodelList(IvrSceneScriptmodel ivrSceneScriptmodel);
    /**
     * æ–°å¢žAI外呼话术模块
     *
     * @param ivrSceneScriptmodel AI外呼话术模块
     * @return ç»“æžœ
     */
    public int insertIvrSceneScriptmodel(IvrSceneScriptmodel ivrSceneScriptmodel);
    /**
     * ä¿®æ”¹AI外呼话术模块
     *
     * @param ivrSceneScriptmodel AI外呼话术模块
     * @return ç»“æžœ
     */
    public int updateIvrSceneScriptmodel(IvrSceneScriptmodel ivrSceneScriptmodel);
    /**
     * åˆ é™¤AI外呼话术模块
     *
     * @param scenemodid AI外呼话术模块主键
     * @return ç»“æžœ
     */
    public int deleteIvrSceneScriptmodelByScenemodid(Long scenemodid);
    /**
     * æ‰¹é‡åˆ é™¤AI外呼话术模块
     *
     * @param scenemodids éœ€è¦åˆ é™¤çš„æ•°æ®ä¸»é”®é›†åˆ
     * @return ç»“æžœ
     */
    public int deleteIvrSceneScriptmodelByScenemodids(Long[] scenemodids);
}
smartor/src/main/java/com/smartor/mapper/IvrScenecategoryMapper.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.mapper;
import java.util.List;
import com.smartor.domain.IvrScenecategory;
/**
 * AI服务场景管理分类Mapper接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IvrScenecategoryMapper
{
    /**
     * æŸ¥è¯¢AI服务场景管理分类
     *
     * @param scenecatid AI服务场景管理分类主键
     * @return AI服务场景管理分类
     */
    public IvrScenecategory selectIvrScenecategoryByScenecatid(Long scenecatid);
    /**
     * æŸ¥è¯¢AI服务场景管理分类列表
     *
     * @param ivrScenecategory AI服务场景管理分类
     * @return AI服务场景管理分类集合
     */
    public List<IvrScenecategory> selectIvrScenecategoryList(IvrScenecategory ivrScenecategory);
    /**
     * æ–°å¢žAI服务场景管理分类
     *
     * @param ivrScenecategory AI服务场景管理分类
     * @return ç»“æžœ
     */
    public int insertIvrScenecategory(IvrScenecategory ivrScenecategory);
    /**
     * ä¿®æ”¹AI服务场景管理分类
     *
     * @param ivrScenecategory AI服务场景管理分类
     * @return ç»“æžœ
     */
    public int updateIvrScenecategory(IvrScenecategory ivrScenecategory);
    /**
     * åˆ é™¤AI服务场景管理分类
     *
     * @param scenecatid AI服务场景管理分类主键
     * @return ç»“æžœ
     */
    public int deleteIvrScenecategoryByScenecatid(Long scenecatid);
    /**
     * æ‰¹é‡åˆ é™¤AI服务场景管理分类
     *
     * @param scenecatids éœ€è¦åˆ é™¤çš„æ•°æ®ä¸»é”®é›†åˆ
     * @return ç»“æžœ
     */
    public int deleteIvrScenecategoryByScenecatids(Long[] scenecatids);
}
smartor/src/main/java/com/smartor/mapper/SmsParamMapper.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.mapper;
import java.util.List;
import com.smartor.domain.SmsParam;
/**
 * çŸ­ä¿¡å‚æ•°Mapper接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface SmsParamMapper
{
    /**
     * æŸ¥è¯¢çŸ­ä¿¡å‚æ•°
     *
     * @param paramid çŸ­ä¿¡å‚数主键
     * @return çŸ­ä¿¡å‚æ•°
     */
    public SmsParam selectSmsParamByParamid(Long paramid);
    /**
     * æŸ¥è¯¢çŸ­ä¿¡å‚数列表
     *
     * @param smsParam çŸ­ä¿¡å‚æ•°
     * @return çŸ­ä¿¡å‚数集合
     */
    public List<SmsParam> selectSmsParamList(SmsParam smsParam);
    /**
     * æ–°å¢žçŸ­ä¿¡å‚æ•°
     *
     * @param smsParam çŸ­ä¿¡å‚æ•°
     * @return ç»“æžœ
     */
    public int insertSmsParam(SmsParam smsParam);
    /**
     * ä¿®æ”¹çŸ­ä¿¡å‚æ•°
     *
     * @param smsParam çŸ­ä¿¡å‚æ•°
     * @return ç»“æžœ
     */
    public int updateSmsParam(SmsParam smsParam);
    /**
     * åˆ é™¤çŸ­ä¿¡å‚æ•°
     *
     * @param paramid çŸ­ä¿¡å‚数主键
     * @return ç»“æžœ
     */
    public int deleteSmsParamByParamid(Long paramid);
    /**
     * æ‰¹é‡åˆ é™¤çŸ­ä¿¡å‚æ•°
     *
     * @param paramids éœ€è¦åˆ é™¤çš„æ•°æ®ä¸»é”®é›†åˆ
     * @return ç»“æžœ
     */
    public int deleteSmsParamByParamids(Long[] paramids);
}
smartor/src/main/java/com/smartor/mapper/SmsRecordsMapper.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.mapper;
import java.util.List;
import com.smartor.domain.SmsRecords;
/**
 * çŸ­ä¿¡è®°å½•Mapper接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface SmsRecordsMapper
{
    /**
     * æŸ¥è¯¢çŸ­ä¿¡è®°å½•
     *
     * @param recordid çŸ­ä¿¡è®°å½•主键
     * @return çŸ­ä¿¡è®°å½•
     */
    public SmsRecords selectSmsRecordsByRecordid(Long recordid);
    /**
     * æŸ¥è¯¢çŸ­ä¿¡è®°å½•列表
     *
     * @param smsRecords çŸ­ä¿¡è®°å½•
     * @return çŸ­ä¿¡è®°å½•集合
     */
    public List<SmsRecords> selectSmsRecordsList(SmsRecords smsRecords);
    /**
     * æ–°å¢žçŸ­ä¿¡è®°å½•
     *
     * @param smsRecords çŸ­ä¿¡è®°å½•
     * @return ç»“æžœ
     */
    public int insertSmsRecords(SmsRecords smsRecords);
    /**
     * ä¿®æ”¹çŸ­ä¿¡è®°å½•
     *
     * @param smsRecords çŸ­ä¿¡è®°å½•
     * @return ç»“æžœ
     */
    public int updateSmsRecords(SmsRecords smsRecords);
    /**
     * åˆ é™¤çŸ­ä¿¡è®°å½•
     *
     * @param recordid çŸ­ä¿¡è®°å½•主键
     * @return ç»“æžœ
     */
    public int deleteSmsRecordsByRecordid(Long recordid);
    /**
     * æ‰¹é‡åˆ é™¤çŸ­ä¿¡è®°å½•
     *
     * @param recordids éœ€è¦åˆ é™¤çš„æ•°æ®ä¸»é”®é›†åˆ
     * @return ç»“æžœ
     */
    public int deleteSmsRecordsByRecordids(Long[] recordids);
}
smartor/src/main/java/com/smartor/mapper/SmsTempletMapper.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.mapper;
import java.util.List;
import com.smartor.domain.SmsTemplet;
/**
 * çŸ­ä¿¡æ¨¡æ¿Mapper接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface SmsTempletMapper
{
    /**
     * æŸ¥è¯¢çŸ­ä¿¡æ¨¡æ¿
     *
     * @param templetid çŸ­ä¿¡æ¨¡æ¿ä¸»é”®
     * @return çŸ­ä¿¡æ¨¡æ¿
     */
    public SmsTemplet selectSmsTempletByTempletid(Long templetid);
    /**
     * æŸ¥è¯¢çŸ­ä¿¡æ¨¡æ¿åˆ—表
     *
     * @param smsTemplet çŸ­ä¿¡æ¨¡æ¿
     * @return çŸ­ä¿¡æ¨¡æ¿é›†åˆ
     */
    public List<SmsTemplet> selectSmsTempletList(SmsTemplet smsTemplet);
    /**
     * æ–°å¢žçŸ­ä¿¡æ¨¡æ¿
     *
     * @param smsTemplet çŸ­ä¿¡æ¨¡æ¿
     * @return ç»“æžœ
     */
    public int insertSmsTemplet(SmsTemplet smsTemplet);
    /**
     * ä¿®æ”¹çŸ­ä¿¡æ¨¡æ¿
     *
     * @param smsTemplet çŸ­ä¿¡æ¨¡æ¿
     * @return ç»“æžœ
     */
    public int updateSmsTemplet(SmsTemplet smsTemplet);
    /**
     * åˆ é™¤çŸ­ä¿¡æ¨¡æ¿
     *
     * @param templetid çŸ­ä¿¡æ¨¡æ¿ä¸»é”®
     * @return ç»“æžœ
     */
    public int deleteSmsTempletByTempletid(Long templetid);
    /**
     * æ‰¹é‡åˆ é™¤çŸ­ä¿¡æ¨¡æ¿
     *
     * @param templetids éœ€è¦åˆ é™¤çš„æ•°æ®ä¸»é”®é›†åˆ
     * @return ç»“æžœ
     */
    public int deleteSmsTempletByTempletids(Long[] templetids);
}
smartor/src/main/java/com/smartor/service/IBaseSmsaccountService.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.service;
import java.util.List;
import com.smartor.domain.BaseSmsaccount;
/**
 * çŸ­ä¿¡è´¦å·Service接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IBaseSmsaccountService
{
    /**
     * æŸ¥è¯¢çŸ­ä¿¡è´¦å·
     *
     * @param smsacountid çŸ­ä¿¡è´¦å·ä¸»é”®
     * @return çŸ­ä¿¡è´¦å·
     */
    public BaseSmsaccount selectBaseSmsaccountBySmsacountid(Long smsacountid);
    /**
     * æŸ¥è¯¢çŸ­ä¿¡è´¦å·åˆ—表
     *
     * @param baseSmsaccount çŸ­ä¿¡è´¦å·
     * @return çŸ­ä¿¡è´¦å·é›†åˆ
     */
    public List<BaseSmsaccount> selectBaseSmsaccountList(BaseSmsaccount baseSmsaccount);
    /**
     * æ–°å¢žçŸ­ä¿¡è´¦å·
     *
     * @param baseSmsaccount çŸ­ä¿¡è´¦å·
     * @return ç»“æžœ
     */
    public int insertBaseSmsaccount(BaseSmsaccount baseSmsaccount);
    /**
     * ä¿®æ”¹çŸ­ä¿¡è´¦å·
     *
     * @param baseSmsaccount çŸ­ä¿¡è´¦å·
     * @return ç»“æžœ
     */
    public int updateBaseSmsaccount(BaseSmsaccount baseSmsaccount);
    /**
     * æ‰¹é‡åˆ é™¤çŸ­ä¿¡è´¦å·
     *
     * @param smsacountids éœ€è¦åˆ é™¤çš„短信账号主键集合
     * @return ç»“æžœ
     */
    public int deleteBaseSmsaccountBySmsacountids(Long[] smsacountids);
    /**
     * åˆ é™¤çŸ­ä¿¡è´¦å·ä¿¡æ¯
     *
     * @param smsacountid çŸ­ä¿¡è´¦å·ä¸»é”®
     * @return ç»“æžœ
     */
    public int deleteBaseSmsaccountBySmsacountid(Long smsacountid);
}
smartor/src/main/java/com/smartor/service/IIvrLibIntentService.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.service;
import java.util.List;
import com.smartor.domain.IvrLibIntent;
/**
 * AI意图库Service接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IIvrLibIntentService
{
    /**
     * æŸ¥è¯¢AI意图库
     *
     * @param intentid AI意图库主键
     * @return AI意图库
     */
    public IvrLibIntent selectIvrLibIntentByIntentid(Long intentid);
    /**
     * æŸ¥è¯¢AI意图库列表
     *
     * @param ivrLibIntent AI意图库
     * @return AI意图库集合
     */
    public List<IvrLibIntent> selectIvrLibIntentList(IvrLibIntent ivrLibIntent);
    /**
     * æ–°å¢žAI意图库
     *
     * @param ivrLibIntent AI意图库
     * @return ç»“æžœ
     */
    public int insertIvrLibIntent(IvrLibIntent ivrLibIntent);
    /**
     * ä¿®æ”¹AI意图库
     *
     * @param ivrLibIntent AI意图库
     * @return ç»“æžœ
     */
    public int updateIvrLibIntent(IvrLibIntent ivrLibIntent);
    /**
     * æ‰¹é‡åˆ é™¤AI意图库
     *
     * @param intentids éœ€è¦åˆ é™¤çš„AI意图库主键集合
     * @return ç»“æžœ
     */
    public int deleteIvrLibIntentByIntentids(Long[] intentids);
    /**
     * åˆ é™¤AI意图库信息
     *
     * @param intentid AI意图库主键
     * @return ç»“æžœ
     */
    public int deleteIvrLibIntentByIntentid(Long intentid);
}
smartor/src/main/java/com/smartor/service/IIvrLibIntentcategoryService.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.service;
import java.util.List;
import com.smartor.domain.IvrLibIntentcategory;
/**
 * AI意图库分类Service接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IIvrLibIntentcategoryService
{
    /**
     * æŸ¥è¯¢AI意图库分类
     *
     * @param intertcatid AI意图库分类主键
     * @return AI意图库分类
     */
    public IvrLibIntentcategory selectIvrLibIntentcategoryByIntertcatid(Long intertcatid);
    /**
     * æŸ¥è¯¢AI意图库分类列表
     *
     * @param ivrLibIntentcategory AI意图库分类
     * @return AI意图库分类集合
     */
    public List<IvrLibIntentcategory> selectIvrLibIntentcategoryList(IvrLibIntentcategory ivrLibIntentcategory);
    /**
     * æ–°å¢žAI意图库分类
     *
     * @param ivrLibIntentcategory AI意图库分类
     * @return ç»“æžœ
     */
    public int insertIvrLibIntentcategory(IvrLibIntentcategory ivrLibIntentcategory);
    /**
     * ä¿®æ”¹AI意图库分类
     *
     * @param ivrLibIntentcategory AI意图库分类
     * @return ç»“æžœ
     */
    public int updateIvrLibIntentcategory(IvrLibIntentcategory ivrLibIntentcategory);
    /**
     * æ‰¹é‡åˆ é™¤AI意图库分类
     *
     * @param intertcatids éœ€è¦åˆ é™¤çš„AI意图库分类主键集合
     * @return ç»“æžœ
     */
    public int deleteIvrLibIntentcategoryByIntertcatids(Long[] intertcatids);
    /**
     * åˆ é™¤AI意图库分类信息
     *
     * @param intertcatid AI意图库分类主键
     * @return ç»“æžœ
     */
    public int deleteIvrLibIntentcategoryByIntertcatid(Long intertcatid);
}
smartor/src/main/java/com/smartor/service/IIvrLibScriptService.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.service;
import java.util.List;
import com.smartor.domain.IvrLibScript;
/**
 * AI话术库Service接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IIvrLibScriptService
{
    /**
     * æŸ¥è¯¢AI话术库
     *
     * @param scriptid AI话术库主键
     * @return AI话术库
     */
    public IvrLibScript selectIvrLibScriptByScriptid(Long scriptid);
    /**
     * æŸ¥è¯¢AI话术库列表
     *
     * @param ivrLibScript AI话术库
     * @return AI话术库集合
     */
    public List<IvrLibScript> selectIvrLibScriptList(IvrLibScript ivrLibScript);
    /**
     * æ–°å¢žAI话术库
     *
     * @param ivrLibScript AI话术库
     * @return ç»“æžœ
     */
    public int insertIvrLibScript(IvrLibScript ivrLibScript);
    /**
     * ä¿®æ”¹AI话术库
     *
     * @param ivrLibScript AI话术库
     * @return ç»“æžœ
     */
    public int updateIvrLibScript(IvrLibScript ivrLibScript);
    /**
     * æ‰¹é‡åˆ é™¤AI话术库
     *
     * @param scriptids éœ€è¦åˆ é™¤çš„AI话术库主键集合
     * @return ç»“æžœ
     */
    public int deleteIvrLibScriptByScriptids(Long[] scriptids);
    /**
     * åˆ é™¤AI话术库信息
     *
     * @param scriptid AI话术库主键
     * @return ç»“æžœ
     */
    public int deleteIvrLibScriptByScriptid(Long scriptid);
}
smartor/src/main/java/com/smartor/service/IIvrLibScriptcategoryService.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.service;
import java.util.List;
import com.smartor.domain.IvrLibScriptcategory;
/**
 * AI话术库分类Service接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IIvrLibScriptcategoryService
{
    /**
     * æŸ¥è¯¢AI话术库分类
     *
     * @param categoryid AI话术库分类主键
     * @return AI话术库分类
     */
    public IvrLibScriptcategory selectIvrLibScriptcategoryByCategoryid(Long categoryid);
    /**
     * æŸ¥è¯¢AI话术库分类列表
     *
     * @param ivrLibScriptcategory AI话术库分类
     * @return AI话术库分类集合
     */
    public List<IvrLibScriptcategory> selectIvrLibScriptcategoryList(IvrLibScriptcategory ivrLibScriptcategory);
    /**
     * æ–°å¢žAI话术库分类
     *
     * @param ivrLibScriptcategory AI话术库分类
     * @return ç»“æžœ
     */
    public int insertIvrLibScriptcategory(IvrLibScriptcategory ivrLibScriptcategory);
    /**
     * ä¿®æ”¹AI话术库分类
     *
     * @param ivrLibScriptcategory AI话术库分类
     * @return ç»“æžœ
     */
    public int updateIvrLibScriptcategory(IvrLibScriptcategory ivrLibScriptcategory);
    /**
     * æ‰¹é‡åˆ é™¤AI话术库分类
     *
     * @param categoryids éœ€è¦åˆ é™¤çš„AI话术库分类主键集合
     * @return ç»“æžœ
     */
    public int deleteIvrLibScriptcategoryByCategoryids(Long[] categoryids);
    /**
     * åˆ é™¤AI话术库分类信息
     *
     * @param categoryid AI话术库分类主键
     * @return ç»“æžœ
     */
    public int deleteIvrLibScriptcategoryByCategoryid(Long categoryid);
}
smartor/src/main/java/com/smartor/service/IIvrLibScriptmodelService.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.service;
import java.util.List;
import com.smartor.domain.IvrLibScriptmodel;
/**
 * AI话术模块Service接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IIvrLibScriptmodelService
{
    /**
     * æŸ¥è¯¢AI话术模块
     *
     * @param modelid AI话术模块主键
     * @return AI话术模块
     */
    public IvrLibScriptmodel selectIvrLibScriptmodelByModelid(Long modelid);
    /**
     * æŸ¥è¯¢AI话术模块列表
     *
     * @param ivrLibScriptmodel AI话术模块
     * @return AI话术模块集合
     */
    public List<IvrLibScriptmodel> selectIvrLibScriptmodelList(IvrLibScriptmodel ivrLibScriptmodel);
    /**
     * æ–°å¢žAI话术模块
     *
     * @param ivrLibScriptmodel AI话术模块
     * @return ç»“æžœ
     */
    public int insertIvrLibScriptmodel(IvrLibScriptmodel ivrLibScriptmodel);
    /**
     * ä¿®æ”¹AI话术模块
     *
     * @param ivrLibScriptmodel AI话术模块
     * @return ç»“æžœ
     */
    public int updateIvrLibScriptmodel(IvrLibScriptmodel ivrLibScriptmodel);
    /**
     * æ‰¹é‡åˆ é™¤AI话术模块
     *
     * @param modelids éœ€è¦åˆ é™¤çš„AI话术模块主键集合
     * @return ç»“æžœ
     */
    public int deleteIvrLibScriptmodelByModelids(Long[] modelids);
    /**
     * åˆ é™¤AI话术模块信息
     *
     * @param modelid AI话术模块主键
     * @return ç»“æžœ
     */
    public int deleteIvrLibScriptmodelByModelid(Long modelid);
}
smartor/src/main/java/com/smartor/service/IIvrSceneExecuteconfigService.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.service;
import java.util.List;
import com.smartor.domain.IvrSceneExecuteconfig;
/**
 * AI外呼执行配置Service接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IIvrSceneExecuteconfigService
{
    /**
     * æŸ¥è¯¢AI外呼执行配置
     *
     * @param scenecfgid AI外呼执行配置主键
     * @return AI外呼执行配置
     */
    public IvrSceneExecuteconfig selectIvrSceneExecuteconfigByScenecfgid(Long scenecfgid);
    /**
     * æŸ¥è¯¢AI外呼执行配置列表
     *
     * @param ivrSceneExecuteconfig AI外呼执行配置
     * @return AI外呼执行配置集合
     */
    public List<IvrSceneExecuteconfig> selectIvrSceneExecuteconfigList(IvrSceneExecuteconfig ivrSceneExecuteconfig);
    /**
     * æ–°å¢žAI外呼执行配置
     *
     * @param ivrSceneExecuteconfig AI外呼执行配置
     * @return ç»“æžœ
     */
    public int insertIvrSceneExecuteconfig(IvrSceneExecuteconfig ivrSceneExecuteconfig);
    /**
     * ä¿®æ”¹AI外呼执行配置
     *
     * @param ivrSceneExecuteconfig AI外呼执行配置
     * @return ç»“æžœ
     */
    public int updateIvrSceneExecuteconfig(IvrSceneExecuteconfig ivrSceneExecuteconfig);
    /**
     * æ‰¹é‡åˆ é™¤AI外呼执行配置
     *
     * @param scenecfgids éœ€è¦åˆ é™¤çš„AI外呼执行配置主键集合
     * @return ç»“æžœ
     */
    public int deleteIvrSceneExecuteconfigByScenecfgids(Long[] scenecfgids);
    /**
     * åˆ é™¤AI外呼执行配置信息
     *
     * @param scenecfgid AI外呼执行配置主键
     * @return ç»“æžœ
     */
    public int deleteIvrSceneExecuteconfigByScenecfgid(Long scenecfgid);
}
smartor/src/main/java/com/smartor/service/IIvrSceneFlowService.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.service;
import java.util.List;
import com.smartor.domain.IvrSceneFlow;
/**
 * AI外呼流程Service接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IIvrSceneFlowService
{
    /**
     * æŸ¥è¯¢AI外呼流程
     *
     * @param flowid AI外呼流程主键
     * @return AI外呼流程
     */
    public IvrSceneFlow selectIvrSceneFlowByFlowid(Long flowid);
    /**
     * æŸ¥è¯¢AI外呼流程列表
     *
     * @param ivrSceneFlow AI外呼流程
     * @return AI外呼流程集合
     */
    public List<IvrSceneFlow> selectIvrSceneFlowList(IvrSceneFlow ivrSceneFlow);
    /**
     * æ–°å¢žAI外呼流程
     *
     * @param ivrSceneFlow AI外呼流程
     * @return ç»“æžœ
     */
    public int insertIvrSceneFlow(IvrSceneFlow ivrSceneFlow);
    /**
     * ä¿®æ”¹AI外呼流程
     *
     * @param ivrSceneFlow AI外呼流程
     * @return ç»“æžœ
     */
    public int updateIvrSceneFlow(IvrSceneFlow ivrSceneFlow);
    /**
     * æ‰¹é‡åˆ é™¤AI外呼流程
     *
     * @param flowids éœ€è¦åˆ é™¤çš„AI外呼流程主键集合
     * @return ç»“æžœ
     */
    public int deleteIvrSceneFlowByFlowids(Long[] flowids);
    /**
     * åˆ é™¤AI外呼流程信息
     *
     * @param flowid AI外呼流程主键
     * @return ç»“æžœ
     */
    public int deleteIvrSceneFlowByFlowid(Long flowid);
}
smartor/src/main/java/com/smartor/service/IIvrSceneFlownodeService.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.service;
import java.util.List;
import com.smartor.domain.IvrSceneFlownode;
/**
 * AI外呼流程节点Service接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IIvrSceneFlownodeService
{
    /**
     * æŸ¥è¯¢AI外呼流程节点
     *
     * @param flownodeid AI外呼流程节点主键
     * @return AI外呼流程节点
     */
    public IvrSceneFlownode selectIvrSceneFlownodeByFlownodeid(Long flownodeid);
    /**
     * æŸ¥è¯¢AI外呼流程节点列表
     *
     * @param ivrSceneFlownode AI外呼流程节点
     * @return AI外呼流程节点集合
     */
    public List<IvrSceneFlownode> selectIvrSceneFlownodeList(IvrSceneFlownode ivrSceneFlownode);
    /**
     * æ–°å¢žAI外呼流程节点
     *
     * @param ivrSceneFlownode AI外呼流程节点
     * @return ç»“æžœ
     */
    public int insertIvrSceneFlownode(IvrSceneFlownode ivrSceneFlownode);
    /**
     * ä¿®æ”¹AI外呼流程节点
     *
     * @param ivrSceneFlownode AI外呼流程节点
     * @return ç»“æžœ
     */
    public int updateIvrSceneFlownode(IvrSceneFlownode ivrSceneFlownode);
    /**
     * æ‰¹é‡åˆ é™¤AI外呼流程节点
     *
     * @param flownodeids éœ€è¦åˆ é™¤çš„AI外呼流程节点主键集合
     * @return ç»“æžœ
     */
    public int deleteIvrSceneFlownodeByFlownodeids(Long[] flownodeids);
    /**
     * åˆ é™¤AI外呼流程节点信息
     *
     * @param flownodeid AI外呼流程节点主键
     * @return ç»“æžœ
     */
    public int deleteIvrSceneFlownodeByFlownodeid(Long flownodeid);
}
smartor/src/main/java/com/smartor/service/IIvrSceneFlownodebranchService.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.service;
import java.util.List;
import com.smartor.domain.IvrSceneFlownodebranch;
/**
 * AI外呼流程节点分支Service接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IIvrSceneFlownodebranchService
{
    /**
     * æŸ¥è¯¢AI外呼流程节点分支
     *
     * @param branchid AI外呼流程节点分支主键
     * @return AI外呼流程节点分支
     */
    public IvrSceneFlownodebranch selectIvrSceneFlownodebranchByBranchid(Long branchid);
    /**
     * æŸ¥è¯¢AI外呼流程节点分支列表
     *
     * @param ivrSceneFlownodebranch AI外呼流程节点分支
     * @return AI外呼流程节点分支集合
     */
    public List<IvrSceneFlownodebranch> selectIvrSceneFlownodebranchList(IvrSceneFlownodebranch ivrSceneFlownodebranch);
    /**
     * æ–°å¢žAI外呼流程节点分支
     *
     * @param ivrSceneFlownodebranch AI外呼流程节点分支
     * @return ç»“æžœ
     */
    public int insertIvrSceneFlownodebranch(IvrSceneFlownodebranch ivrSceneFlownodebranch);
    /**
     * ä¿®æ”¹AI外呼流程节点分支
     *
     * @param ivrSceneFlownodebranch AI外呼流程节点分支
     * @return ç»“æžœ
     */
    public int updateIvrSceneFlownodebranch(IvrSceneFlownodebranch ivrSceneFlownodebranch);
    /**
     * æ‰¹é‡åˆ é™¤AI外呼流程节点分支
     *
     * @param branchids éœ€è¦åˆ é™¤çš„AI外呼流程节点分支主键集合
     * @return ç»“æžœ
     */
    public int deleteIvrSceneFlownodebranchByBranchids(Long[] branchids);
    /**
     * åˆ é™¤AI外呼流程节点分支信息
     *
     * @param branchid AI外呼流程节点分支主键
     * @return ç»“æžœ
     */
    public int deleteIvrSceneFlownodebranchByBranchid(Long branchid);
}
smartor/src/main/java/com/smartor/service/IIvrSceneGlobalconfigService.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.service;
import java.util.List;
import com.smartor.domain.IvrSceneGlobalconfig;
/**
 * AI外呼全局配置Service接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IIvrSceneGlobalconfigService
{
    /**
     * æŸ¥è¯¢AI外呼全局配置
     *
     * @param gblconfigid AI外呼全局配置主键
     * @return AI外呼全局配置
     */
    public IvrSceneGlobalconfig selectIvrSceneGlobalconfigByGblconfigid(Long gblconfigid);
    /**
     * æŸ¥è¯¢AI外呼全局配置列表
     *
     * @param ivrSceneGlobalconfig AI外呼全局配置
     * @return AI外呼全局配置集合
     */
    public List<IvrSceneGlobalconfig> selectIvrSceneGlobalconfigList(IvrSceneGlobalconfig ivrSceneGlobalconfig);
    /**
     * æ–°å¢žAI外呼全局配置
     *
     * @param ivrSceneGlobalconfig AI外呼全局配置
     * @return ç»“æžœ
     */
    public int insertIvrSceneGlobalconfig(IvrSceneGlobalconfig ivrSceneGlobalconfig);
    /**
     * ä¿®æ”¹AI外呼全局配置
     *
     * @param ivrSceneGlobalconfig AI外呼全局配置
     * @return ç»“æžœ
     */
    public int updateIvrSceneGlobalconfig(IvrSceneGlobalconfig ivrSceneGlobalconfig);
    /**
     * æ‰¹é‡åˆ é™¤AI外呼全局配置
     *
     * @param gblconfigids éœ€è¦åˆ é™¤çš„AI外呼全局配置主键集合
     * @return ç»“æžœ
     */
    public int deleteIvrSceneGlobalconfigByGblconfigids(Long[] gblconfigids);
    /**
     * åˆ é™¤AI外呼全局配置信息
     *
     * @param gblconfigid AI外呼全局配置主键
     * @return ç»“æžœ
     */
    public int deleteIvrSceneGlobalconfigByGblconfigid(Long gblconfigid);
}
smartor/src/main/java/com/smartor/service/IIvrSceneIntentService.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.service;
import java.util.List;
import com.smartor.domain.IvrSceneIntent;
/**
 * AI外呼意图Service接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IIvrSceneIntentService
{
    /**
     * æŸ¥è¯¢AI外呼意图
     *
     * @param sceneintentid AI外呼意图主键
     * @return AI外呼意图
     */
    public IvrSceneIntent selectIvrSceneIntentBySceneintentid(Long sceneintentid);
    /**
     * æŸ¥è¯¢AI外呼意图列表
     *
     * @param ivrSceneIntent AI外呼意图
     * @return AI外呼意图集合
     */
    public List<IvrSceneIntent> selectIvrSceneIntentList(IvrSceneIntent ivrSceneIntent);
    /**
     * æ–°å¢žAI外呼意图
     *
     * @param ivrSceneIntent AI外呼意图
     * @return ç»“æžœ
     */
    public int insertIvrSceneIntent(IvrSceneIntent ivrSceneIntent);
    /**
     * ä¿®æ”¹AI外呼意图
     *
     * @param ivrSceneIntent AI外呼意图
     * @return ç»“æžœ
     */
    public int updateIvrSceneIntent(IvrSceneIntent ivrSceneIntent);
    /**
     * æ‰¹é‡åˆ é™¤AI外呼意图
     *
     * @param sceneintentids éœ€è¦åˆ é™¤çš„AI外呼意图主键集合
     * @return ç»“æžœ
     */
    public int deleteIvrSceneIntentBySceneintentids(Long[] sceneintentids);
    /**
     * åˆ é™¤AI外呼意图信息
     *
     * @param sceneintentid AI外呼意图主键
     * @return ç»“æžœ
     */
    public int deleteIvrSceneIntentBySceneintentid(Long sceneintentid);
}
smartor/src/main/java/com/smartor/service/IIvrSceneRecallService.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.service;
import java.util.List;
import com.smartor.domain.IvrSceneRecall;
/**
 * AI外呼重拨配置Service接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IIvrSceneRecallService
{
    /**
     * æŸ¥è¯¢AI外呼重拨配置
     *
     * @param recallid AI外呼重拨配置主键
     * @return AI外呼重拨配置
     */
    public IvrSceneRecall selectIvrSceneRecallByRecallid(Long recallid);
    /**
     * æŸ¥è¯¢AI外呼重拨配置列表
     *
     * @param ivrSceneRecall AI外呼重拨配置
     * @return AI外呼重拨配置集合
     */
    public List<IvrSceneRecall> selectIvrSceneRecallList(IvrSceneRecall ivrSceneRecall);
    /**
     * æ–°å¢žAI外呼重拨配置
     *
     * @param ivrSceneRecall AI外呼重拨配置
     * @return ç»“æžœ
     */
    public int insertIvrSceneRecall(IvrSceneRecall ivrSceneRecall);
    /**
     * ä¿®æ”¹AI外呼重拨配置
     *
     * @param ivrSceneRecall AI外呼重拨配置
     * @return ç»“æžœ
     */
    public int updateIvrSceneRecall(IvrSceneRecall ivrSceneRecall);
    /**
     * æ‰¹é‡åˆ é™¤AI外呼重拨配置
     *
     * @param recallids éœ€è¦åˆ é™¤çš„AI外呼重拨配置主键集合
     * @return ç»“æžœ
     */
    public int deleteIvrSceneRecallByRecallids(Long[] recallids);
    /**
     * åˆ é™¤AI外呼重拨配置信息
     *
     * @param recallid AI外呼重拨配置主键
     * @return ç»“æžœ
     */
    public int deleteIvrSceneRecallByRecallid(Long recallid);
}
smartor/src/main/java/com/smartor/service/IIvrSceneScriptService.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.service;
import java.util.List;
import com.smartor.domain.IvrSceneScript;
/**
 * AI外呼话术Service接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IIvrSceneScriptService
{
    /**
     * æŸ¥è¯¢AI外呼话术
     *
     * @param scenescrid AI外呼话术主键
     * @return AI外呼话术
     */
    public IvrSceneScript selectIvrSceneScriptByScenescrid(Long scenescrid);
    /**
     * æŸ¥è¯¢AI外呼话术列表
     *
     * @param ivrSceneScript AI外呼话术
     * @return AI外呼话术集合
     */
    public List<IvrSceneScript> selectIvrSceneScriptList(IvrSceneScript ivrSceneScript);
    /**
     * æ–°å¢žAI外呼话术
     *
     * @param ivrSceneScript AI外呼话术
     * @return ç»“æžœ
     */
    public int insertIvrSceneScript(IvrSceneScript ivrSceneScript);
    /**
     * ä¿®æ”¹AI外呼话术
     *
     * @param ivrSceneScript AI外呼话术
     * @return ç»“æžœ
     */
    public int updateIvrSceneScript(IvrSceneScript ivrSceneScript);
    /**
     * æ‰¹é‡åˆ é™¤AI外呼话术
     *
     * @param scenescrids éœ€è¦åˆ é™¤çš„AI外呼话术主键集合
     * @return ç»“æžœ
     */
    public int deleteIvrSceneScriptByScenescrids(Long[] scenescrids);
    /**
     * åˆ é™¤AI外呼话术信息
     *
     * @param scenescrid AI外呼话术主键
     * @return ç»“æžœ
     */
    public int deleteIvrSceneScriptByScenescrid(Long scenescrid);
}
smartor/src/main/java/com/smartor/service/IIvrSceneScriptmodelService.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.service;
import java.util.List;
import com.smartor.domain.IvrSceneScriptmodel;
/**
 * AI外呼话术模块Service接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IIvrSceneScriptmodelService
{
    /**
     * æŸ¥è¯¢AI外呼话术模块
     *
     * @param scenemodid AI外呼话术模块主键
     * @return AI外呼话术模块
     */
    public IvrSceneScriptmodel selectIvrSceneScriptmodelByScenemodid(Long scenemodid);
    /**
     * æŸ¥è¯¢AI外呼话术模块列表
     *
     * @param ivrSceneScriptmodel AI外呼话术模块
     * @return AI外呼话术模块集合
     */
    public List<IvrSceneScriptmodel> selectIvrSceneScriptmodelList(IvrSceneScriptmodel ivrSceneScriptmodel);
    /**
     * æ–°å¢žAI外呼话术模块
     *
     * @param ivrSceneScriptmodel AI外呼话术模块
     * @return ç»“æžœ
     */
    public int insertIvrSceneScriptmodel(IvrSceneScriptmodel ivrSceneScriptmodel);
    /**
     * ä¿®æ”¹AI外呼话术模块
     *
     * @param ivrSceneScriptmodel AI外呼话术模块
     * @return ç»“æžœ
     */
    public int updateIvrSceneScriptmodel(IvrSceneScriptmodel ivrSceneScriptmodel);
    /**
     * æ‰¹é‡åˆ é™¤AI外呼话术模块
     *
     * @param scenemodids éœ€è¦åˆ é™¤çš„AI外呼话术模块主键集合
     * @return ç»“æžœ
     */
    public int deleteIvrSceneScriptmodelByScenemodids(Long[] scenemodids);
    /**
     * åˆ é™¤AI外呼话术模块信息
     *
     * @param scenemodid AI外呼话术模块主键
     * @return ç»“æžœ
     */
    public int deleteIvrSceneScriptmodelByScenemodid(Long scenemodid);
}
smartor/src/main/java/com/smartor/service/IIvrSceneService.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.service;
import java.util.List;
import com.smartor.domain.IvrScene;
/**
 * AI外呼场景管理Service接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IIvrSceneService
{
    /**
     * æŸ¥è¯¢AI外呼场景管理
     *
     * @param sceneid AI外呼场景管理主键
     * @return AI外呼场景管理
     */
    public IvrScene selectIvrSceneBySceneid(Long sceneid);
    /**
     * æŸ¥è¯¢AI外呼场景管理列表
     *
     * @param ivrScene AI外呼场景管理
     * @return AI外呼场景管理集合
     */
    public List<IvrScene> selectIvrSceneList(IvrScene ivrScene);
    /**
     * æ–°å¢žAI外呼场景管理
     *
     * @param ivrScene AI外呼场景管理
     * @return ç»“æžœ
     */
    public int insertIvrScene(IvrScene ivrScene);
    /**
     * ä¿®æ”¹AI外呼场景管理
     *
     * @param ivrScene AI外呼场景管理
     * @return ç»“æžœ
     */
    public int updateIvrScene(IvrScene ivrScene);
    /**
     * æ‰¹é‡åˆ é™¤AI外呼场景管理
     *
     * @param sceneids éœ€è¦åˆ é™¤çš„AI外呼场景管理主键集合
     * @return ç»“æžœ
     */
    public int deleteIvrSceneBySceneids(Long[] sceneids);
    /**
     * åˆ é™¤AI外呼场景管理信息
     *
     * @param sceneid AI外呼场景管理主键
     * @return ç»“æžœ
     */
    public int deleteIvrSceneBySceneid(Long sceneid);
}
smartor/src/main/java/com/smartor/service/IIvrScenecategoryService.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.service;
import java.util.List;
import com.smartor.domain.IvrScenecategory;
/**
 * AI服务场景管理分类Service接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface IIvrScenecategoryService
{
    /**
     * æŸ¥è¯¢AI服务场景管理分类
     *
     * @param scenecatid AI服务场景管理分类主键
     * @return AI服务场景管理分类
     */
    public IvrScenecategory selectIvrScenecategoryByScenecatid(Long scenecatid);
    /**
     * æŸ¥è¯¢AI服务场景管理分类列表
     *
     * @param ivrScenecategory AI服务场景管理分类
     * @return AI服务场景管理分类集合
     */
    public List<IvrScenecategory> selectIvrScenecategoryList(IvrScenecategory ivrScenecategory);
    /**
     * æ–°å¢žAI服务场景管理分类
     *
     * @param ivrScenecategory AI服务场景管理分类
     * @return ç»“æžœ
     */
    public int insertIvrScenecategory(IvrScenecategory ivrScenecategory);
    /**
     * ä¿®æ”¹AI服务场景管理分类
     *
     * @param ivrScenecategory AI服务场景管理分类
     * @return ç»“æžœ
     */
    public int updateIvrScenecategory(IvrScenecategory ivrScenecategory);
    /**
     * æ‰¹é‡åˆ é™¤AI服务场景管理分类
     *
     * @param scenecatids éœ€è¦åˆ é™¤çš„AI服务场景管理分类主键集合
     * @return ç»“æžœ
     */
    public int deleteIvrScenecategoryByScenecatids(Long[] scenecatids);
    /**
     * åˆ é™¤AI服务场景管理分类信息
     *
     * @param scenecatid AI服务场景管理分类主键
     * @return ç»“æžœ
     */
    public int deleteIvrScenecategoryByScenecatid(Long scenecatid);
}
smartor/src/main/java/com/smartor/service/ISmsParamService.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.service;
import java.util.List;
import com.smartor.domain.SmsParam;
/**
 * çŸ­ä¿¡å‚æ•°Service接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface ISmsParamService
{
    /**
     * æŸ¥è¯¢çŸ­ä¿¡å‚æ•°
     *
     * @param paramid çŸ­ä¿¡å‚数主键
     * @return çŸ­ä¿¡å‚æ•°
     */
    public SmsParam selectSmsParamByParamid(Long paramid);
    /**
     * æŸ¥è¯¢çŸ­ä¿¡å‚数列表
     *
     * @param smsParam çŸ­ä¿¡å‚æ•°
     * @return çŸ­ä¿¡å‚数集合
     */
    public List<SmsParam> selectSmsParamList(SmsParam smsParam);
    /**
     * æ–°å¢žçŸ­ä¿¡å‚æ•°
     *
     * @param smsParam çŸ­ä¿¡å‚æ•°
     * @return ç»“æžœ
     */
    public int insertSmsParam(SmsParam smsParam);
    /**
     * ä¿®æ”¹çŸ­ä¿¡å‚æ•°
     *
     * @param smsParam çŸ­ä¿¡å‚æ•°
     * @return ç»“æžœ
     */
    public int updateSmsParam(SmsParam smsParam);
    /**
     * æ‰¹é‡åˆ é™¤çŸ­ä¿¡å‚æ•°
     *
     * @param paramids éœ€è¦åˆ é™¤çš„短信参数主键集合
     * @return ç»“æžœ
     */
    public int deleteSmsParamByParamids(Long[] paramids);
    /**
     * åˆ é™¤çŸ­ä¿¡å‚数信息
     *
     * @param paramid çŸ­ä¿¡å‚数主键
     * @return ç»“æžœ
     */
    public int deleteSmsParamByParamid(Long paramid);
}
smartor/src/main/java/com/smartor/service/ISmsRecordsService.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.service;
import java.util.List;
import com.smartor.domain.SmsRecords;
/**
 * çŸ­ä¿¡è®°å½•Service接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface ISmsRecordsService
{
    /**
     * æŸ¥è¯¢çŸ­ä¿¡è®°å½•
     *
     * @param recordid çŸ­ä¿¡è®°å½•主键
     * @return çŸ­ä¿¡è®°å½•
     */
    public SmsRecords selectSmsRecordsByRecordid(Long recordid);
    /**
     * æŸ¥è¯¢çŸ­ä¿¡è®°å½•列表
     *
     * @param smsRecords çŸ­ä¿¡è®°å½•
     * @return çŸ­ä¿¡è®°å½•集合
     */
    public List<SmsRecords> selectSmsRecordsList(SmsRecords smsRecords);
    /**
     * æ–°å¢žçŸ­ä¿¡è®°å½•
     *
     * @param smsRecords çŸ­ä¿¡è®°å½•
     * @return ç»“æžœ
     */
    public int insertSmsRecords(SmsRecords smsRecords);
    /**
     * ä¿®æ”¹çŸ­ä¿¡è®°å½•
     *
     * @param smsRecords çŸ­ä¿¡è®°å½•
     * @return ç»“æžœ
     */
    public int updateSmsRecords(SmsRecords smsRecords);
    /**
     * æ‰¹é‡åˆ é™¤çŸ­ä¿¡è®°å½•
     *
     * @param recordids éœ€è¦åˆ é™¤çš„短信记录主键集合
     * @return ç»“æžœ
     */
    public int deleteSmsRecordsByRecordids(Long[] recordids);
    /**
     * åˆ é™¤çŸ­ä¿¡è®°å½•信息
     *
     * @param recordid çŸ­ä¿¡è®°å½•主键
     * @return ç»“æžœ
     */
    public int deleteSmsRecordsByRecordid(Long recordid);
}
smartor/src/main/java/com/smartor/service/ISmsTempletService.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,61 @@
package com.smartor.service;
import java.util.List;
import com.smartor.domain.SmsTemplet;
/**
 * çŸ­ä¿¡æ¨¡æ¿Service接口
 *
 * @author smartor
 * @date 2023-03-06
 */
public interface ISmsTempletService
{
    /**
     * æŸ¥è¯¢çŸ­ä¿¡æ¨¡æ¿
     *
     * @param templetid çŸ­ä¿¡æ¨¡æ¿ä¸»é”®
     * @return çŸ­ä¿¡æ¨¡æ¿
     */
    public SmsTemplet selectSmsTempletByTempletid(Long templetid);
    /**
     * æŸ¥è¯¢çŸ­ä¿¡æ¨¡æ¿åˆ—表
     *
     * @param smsTemplet çŸ­ä¿¡æ¨¡æ¿
     * @return çŸ­ä¿¡æ¨¡æ¿é›†åˆ
     */
    public List<SmsTemplet> selectSmsTempletList(SmsTemplet smsTemplet);
    /**
     * æ–°å¢žçŸ­ä¿¡æ¨¡æ¿
     *
     * @param smsTemplet çŸ­ä¿¡æ¨¡æ¿
     * @return ç»“æžœ
     */
    public int insertSmsTemplet(SmsTemplet smsTemplet);
    /**
     * ä¿®æ”¹çŸ­ä¿¡æ¨¡æ¿
     *
     * @param smsTemplet çŸ­ä¿¡æ¨¡æ¿
     * @return ç»“æžœ
     */
    public int updateSmsTemplet(SmsTemplet smsTemplet);
    /**
     * æ‰¹é‡åˆ é™¤çŸ­ä¿¡æ¨¡æ¿
     *
     * @param templetids éœ€è¦åˆ é™¤çš„短信模板主键集合
     * @return ç»“æžœ
     */
    public int deleteSmsTempletByTempletids(Long[] templetids);
    /**
     * åˆ é™¤çŸ­ä¿¡æ¨¡æ¿ä¿¡æ¯
     *
     * @param templetid çŸ­ä¿¡æ¨¡æ¿ä¸»é”®
     * @return ç»“æžœ
     */
    public int deleteSmsTempletByTempletid(Long templetid);
}
smartor/src/main/java/com/smartor/service/impl/BaseSmsaccountServiceImpl.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,96 @@
package com.smartor.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.smartor.mapper.BaseSmsaccountMapper;
import com.smartor.domain.BaseSmsaccount;
import com.smartor.service.IBaseSmsaccountService;
/**
 * çŸ­ä¿¡è´¦å·Service业务层处理
 *
 * @author smartor
 * @date 2023-03-06
 */
@Service
public class BaseSmsaccountServiceImpl implements IBaseSmsaccountService
{
    @Autowired
    private BaseSmsaccountMapper baseSmsaccountMapper;
    /**
     * æŸ¥è¯¢çŸ­ä¿¡è´¦å·
     *
     * @param smsacountid çŸ­ä¿¡è´¦å·ä¸»é”®
     * @return çŸ­ä¿¡è´¦å·
     */
    @Override
    public BaseSmsaccount selectBaseSmsaccountBySmsacountid(Long smsacountid)
    {
        return baseSmsaccountMapper.selectBaseSmsaccountBySmsacountid(smsacountid);
    }
    /**
     * æŸ¥è¯¢çŸ­ä¿¡è´¦å·åˆ—表
     *
     * @param baseSmsaccount çŸ­ä¿¡è´¦å·
     * @return çŸ­ä¿¡è´¦å·
     */
    @Override
    public List<BaseSmsaccount> selectBaseSmsaccountList(BaseSmsaccount baseSmsaccount)
    {
        return baseSmsaccountMapper.selectBaseSmsaccountList(baseSmsaccount);
    }
    /**
     * æ–°å¢žçŸ­ä¿¡è´¦å·
     *
     * @param baseSmsaccount çŸ­ä¿¡è´¦å·
     * @return ç»“æžœ
     */
    @Override
    public int insertBaseSmsaccount(BaseSmsaccount baseSmsaccount)
    {
        baseSmsaccount.setCreateTime(DateUtils.getNowDate());
        return baseSmsaccountMapper.insertBaseSmsaccount(baseSmsaccount);
    }
    /**
     * ä¿®æ”¹çŸ­ä¿¡è´¦å·
     *
     * @param baseSmsaccount çŸ­ä¿¡è´¦å·
     * @return ç»“æžœ
     */
    @Override
    public int updateBaseSmsaccount(BaseSmsaccount baseSmsaccount)
    {
        baseSmsaccount.setUpdateTime(DateUtils.getNowDate());
        return baseSmsaccountMapper.updateBaseSmsaccount(baseSmsaccount);
    }
    /**
     * æ‰¹é‡åˆ é™¤çŸ­ä¿¡è´¦å·
     *
     * @param smsacountids éœ€è¦åˆ é™¤çš„短信账号主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteBaseSmsaccountBySmsacountids(Long[] smsacountids)
    {
        return baseSmsaccountMapper.deleteBaseSmsaccountBySmsacountids(smsacountids);
    }
    /**
     * åˆ é™¤çŸ­ä¿¡è´¦å·ä¿¡æ¯
     *
     * @param smsacountid çŸ­ä¿¡è´¦å·ä¸»é”®
     * @return ç»“æžœ
     */
    @Override
    public int deleteBaseSmsaccountBySmsacountid(Long smsacountid)
    {
        return baseSmsaccountMapper.deleteBaseSmsaccountBySmsacountid(smsacountid);
    }
}
smartor/src/main/java/com/smartor/service/impl/IvrLibIntentServiceImpl.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,96 @@
package com.smartor.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.smartor.mapper.IvrLibIntentMapper;
import com.smartor.domain.IvrLibIntent;
import com.smartor.service.IIvrLibIntentService;
/**
 * AI意图库Service业务层处理
 *
 * @author smartor
 * @date 2023-03-06
 */
@Service
public class IvrLibIntentServiceImpl implements IIvrLibIntentService
{
    @Autowired
    private IvrLibIntentMapper ivrLibIntentMapper;
    /**
     * æŸ¥è¯¢AI意图库
     *
     * @param intentid AI意图库主键
     * @return AI意图库
     */
    @Override
    public IvrLibIntent selectIvrLibIntentByIntentid(Long intentid)
    {
        return ivrLibIntentMapper.selectIvrLibIntentByIntentid(intentid);
    }
    /**
     * æŸ¥è¯¢AI意图库列表
     *
     * @param ivrLibIntent AI意图库
     * @return AI意图库
     */
    @Override
    public List<IvrLibIntent> selectIvrLibIntentList(IvrLibIntent ivrLibIntent)
    {
        return ivrLibIntentMapper.selectIvrLibIntentList(ivrLibIntent);
    }
    /**
     * æ–°å¢žAI意图库
     *
     * @param ivrLibIntent AI意图库
     * @return ç»“æžœ
     */
    @Override
    public int insertIvrLibIntent(IvrLibIntent ivrLibIntent)
    {
        ivrLibIntent.setCreateTime(DateUtils.getNowDate());
        return ivrLibIntentMapper.insertIvrLibIntent(ivrLibIntent);
    }
    /**
     * ä¿®æ”¹AI意图库
     *
     * @param ivrLibIntent AI意图库
     * @return ç»“æžœ
     */
    @Override
    public int updateIvrLibIntent(IvrLibIntent ivrLibIntent)
    {
        ivrLibIntent.setUpdateTime(DateUtils.getNowDate());
        return ivrLibIntentMapper.updateIvrLibIntent(ivrLibIntent);
    }
    /**
     * æ‰¹é‡åˆ é™¤AI意图库
     *
     * @param intentids éœ€è¦åˆ é™¤çš„AI意图库主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrLibIntentByIntentids(Long[] intentids)
    {
        return ivrLibIntentMapper.deleteIvrLibIntentByIntentids(intentids);
    }
    /**
     * åˆ é™¤AI意图库信息
     *
     * @param intentid AI意图库主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrLibIntentByIntentid(Long intentid)
    {
        return ivrLibIntentMapper.deleteIvrLibIntentByIntentid(intentid);
    }
}
smartor/src/main/java/com/smartor/service/impl/IvrLibIntentcategoryServiceImpl.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,96 @@
package com.smartor.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.smartor.mapper.IvrLibIntentcategoryMapper;
import com.smartor.domain.IvrLibIntentcategory;
import com.smartor.service.IIvrLibIntentcategoryService;
/**
 * AI意图库分类Service业务层处理
 *
 * @author smartor
 * @date 2023-03-06
 */
@Service
public class IvrLibIntentcategoryServiceImpl implements IIvrLibIntentcategoryService
{
    @Autowired
    private IvrLibIntentcategoryMapper ivrLibIntentcategoryMapper;
    /**
     * æŸ¥è¯¢AI意图库分类
     *
     * @param intertcatid AI意图库分类主键
     * @return AI意图库分类
     */
    @Override
    public IvrLibIntentcategory selectIvrLibIntentcategoryByIntertcatid(Long intertcatid)
    {
        return ivrLibIntentcategoryMapper.selectIvrLibIntentcategoryByIntertcatid(intertcatid);
    }
    /**
     * æŸ¥è¯¢AI意图库分类列表
     *
     * @param ivrLibIntentcategory AI意图库分类
     * @return AI意图库分类
     */
    @Override
    public List<IvrLibIntentcategory> selectIvrLibIntentcategoryList(IvrLibIntentcategory ivrLibIntentcategory)
    {
        return ivrLibIntentcategoryMapper.selectIvrLibIntentcategoryList(ivrLibIntentcategory);
    }
    /**
     * æ–°å¢žAI意图库分类
     *
     * @param ivrLibIntentcategory AI意图库分类
     * @return ç»“æžœ
     */
    @Override
    public int insertIvrLibIntentcategory(IvrLibIntentcategory ivrLibIntentcategory)
    {
        ivrLibIntentcategory.setCreateTime(DateUtils.getNowDate());
        return ivrLibIntentcategoryMapper.insertIvrLibIntentcategory(ivrLibIntentcategory);
    }
    /**
     * ä¿®æ”¹AI意图库分类
     *
     * @param ivrLibIntentcategory AI意图库分类
     * @return ç»“æžœ
     */
    @Override
    public int updateIvrLibIntentcategory(IvrLibIntentcategory ivrLibIntentcategory)
    {
        ivrLibIntentcategory.setUpdateTime(DateUtils.getNowDate());
        return ivrLibIntentcategoryMapper.updateIvrLibIntentcategory(ivrLibIntentcategory);
    }
    /**
     * æ‰¹é‡åˆ é™¤AI意图库分类
     *
     * @param intertcatids éœ€è¦åˆ é™¤çš„AI意图库分类主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrLibIntentcategoryByIntertcatids(Long[] intertcatids)
    {
        return ivrLibIntentcategoryMapper.deleteIvrLibIntentcategoryByIntertcatids(intertcatids);
    }
    /**
     * åˆ é™¤AI意图库分类信息
     *
     * @param intertcatid AI意图库分类主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrLibIntentcategoryByIntertcatid(Long intertcatid)
    {
        return ivrLibIntentcategoryMapper.deleteIvrLibIntentcategoryByIntertcatid(intertcatid);
    }
}
smartor/src/main/java/com/smartor/service/impl/IvrLibScriptServiceImpl.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,96 @@
package com.smartor.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.smartor.mapper.IvrLibScriptMapper;
import com.smartor.domain.IvrLibScript;
import com.smartor.service.IIvrLibScriptService;
/**
 * AI话术库Service业务层处理
 *
 * @author smartor
 * @date 2023-03-06
 */
@Service
public class IvrLibScriptServiceImpl implements IIvrLibScriptService
{
    @Autowired
    private IvrLibScriptMapper ivrLibScriptMapper;
    /**
     * æŸ¥è¯¢AI话术库
     *
     * @param scriptid AI话术库主键
     * @return AI话术库
     */
    @Override
    public IvrLibScript selectIvrLibScriptByScriptid(Long scriptid)
    {
        return ivrLibScriptMapper.selectIvrLibScriptByScriptid(scriptid);
    }
    /**
     * æŸ¥è¯¢AI话术库列表
     *
     * @param ivrLibScript AI话术库
     * @return AI话术库
     */
    @Override
    public List<IvrLibScript> selectIvrLibScriptList(IvrLibScript ivrLibScript)
    {
        return ivrLibScriptMapper.selectIvrLibScriptList(ivrLibScript);
    }
    /**
     * æ–°å¢žAI话术库
     *
     * @param ivrLibScript AI话术库
     * @return ç»“æžœ
     */
    @Override
    public int insertIvrLibScript(IvrLibScript ivrLibScript)
    {
        ivrLibScript.setCreateTime(DateUtils.getNowDate());
        return ivrLibScriptMapper.insertIvrLibScript(ivrLibScript);
    }
    /**
     * ä¿®æ”¹AI话术库
     *
     * @param ivrLibScript AI话术库
     * @return ç»“æžœ
     */
    @Override
    public int updateIvrLibScript(IvrLibScript ivrLibScript)
    {
        ivrLibScript.setUpdateTime(DateUtils.getNowDate());
        return ivrLibScriptMapper.updateIvrLibScript(ivrLibScript);
    }
    /**
     * æ‰¹é‡åˆ é™¤AI话术库
     *
     * @param scriptids éœ€è¦åˆ é™¤çš„AI话术库主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrLibScriptByScriptids(Long[] scriptids)
    {
        return ivrLibScriptMapper.deleteIvrLibScriptByScriptids(scriptids);
    }
    /**
     * åˆ é™¤AI话术库信息
     *
     * @param scriptid AI话术库主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrLibScriptByScriptid(Long scriptid)
    {
        return ivrLibScriptMapper.deleteIvrLibScriptByScriptid(scriptid);
    }
}
smartor/src/main/java/com/smartor/service/impl/IvrLibScriptcategoryServiceImpl.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,96 @@
package com.smartor.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.smartor.mapper.IvrLibScriptcategoryMapper;
import com.smartor.domain.IvrLibScriptcategory;
import com.smartor.service.IIvrLibScriptcategoryService;
/**
 * AI话术库分类Service业务层处理
 *
 * @author smartor
 * @date 2023-03-06
 */
@Service
public class IvrLibScriptcategoryServiceImpl implements IIvrLibScriptcategoryService
{
    @Autowired
    private IvrLibScriptcategoryMapper ivrLibScriptcategoryMapper;
    /**
     * æŸ¥è¯¢AI话术库分类
     *
     * @param categoryid AI话术库分类主键
     * @return AI话术库分类
     */
    @Override
    public IvrLibScriptcategory selectIvrLibScriptcategoryByCategoryid(Long categoryid)
    {
        return ivrLibScriptcategoryMapper.selectIvrLibScriptcategoryByCategoryid(categoryid);
    }
    /**
     * æŸ¥è¯¢AI话术库分类列表
     *
     * @param ivrLibScriptcategory AI话术库分类
     * @return AI话术库分类
     */
    @Override
    public List<IvrLibScriptcategory> selectIvrLibScriptcategoryList(IvrLibScriptcategory ivrLibScriptcategory)
    {
        return ivrLibScriptcategoryMapper.selectIvrLibScriptcategoryList(ivrLibScriptcategory);
    }
    /**
     * æ–°å¢žAI话术库分类
     *
     * @param ivrLibScriptcategory AI话术库分类
     * @return ç»“æžœ
     */
    @Override
    public int insertIvrLibScriptcategory(IvrLibScriptcategory ivrLibScriptcategory)
    {
        ivrLibScriptcategory.setCreateTime(DateUtils.getNowDate());
        return ivrLibScriptcategoryMapper.insertIvrLibScriptcategory(ivrLibScriptcategory);
    }
    /**
     * ä¿®æ”¹AI话术库分类
     *
     * @param ivrLibScriptcategory AI话术库分类
     * @return ç»“æžœ
     */
    @Override
    public int updateIvrLibScriptcategory(IvrLibScriptcategory ivrLibScriptcategory)
    {
        ivrLibScriptcategory.setUpdateTime(DateUtils.getNowDate());
        return ivrLibScriptcategoryMapper.updateIvrLibScriptcategory(ivrLibScriptcategory);
    }
    /**
     * æ‰¹é‡åˆ é™¤AI话术库分类
     *
     * @param categoryids éœ€è¦åˆ é™¤çš„AI话术库分类主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrLibScriptcategoryByCategoryids(Long[] categoryids)
    {
        return ivrLibScriptcategoryMapper.deleteIvrLibScriptcategoryByCategoryids(categoryids);
    }
    /**
     * åˆ é™¤AI话术库分类信息
     *
     * @param categoryid AI话术库分类主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrLibScriptcategoryByCategoryid(Long categoryid)
    {
        return ivrLibScriptcategoryMapper.deleteIvrLibScriptcategoryByCategoryid(categoryid);
    }
}
smartor/src/main/java/com/smartor/service/impl/IvrLibScriptmodelServiceImpl.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,96 @@
package com.smartor.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.smartor.mapper.IvrLibScriptmodelMapper;
import com.smartor.domain.IvrLibScriptmodel;
import com.smartor.service.IIvrLibScriptmodelService;
/**
 * AI话术模块Service业务层处理
 *
 * @author smartor
 * @date 2023-03-06
 */
@Service
public class IvrLibScriptmodelServiceImpl implements IIvrLibScriptmodelService
{
    @Autowired
    private IvrLibScriptmodelMapper ivrLibScriptmodelMapper;
    /**
     * æŸ¥è¯¢AI话术模块
     *
     * @param modelid AI话术模块主键
     * @return AI话术模块
     */
    @Override
    public IvrLibScriptmodel selectIvrLibScriptmodelByModelid(Long modelid)
    {
        return ivrLibScriptmodelMapper.selectIvrLibScriptmodelByModelid(modelid);
    }
    /**
     * æŸ¥è¯¢AI话术模块列表
     *
     * @param ivrLibScriptmodel AI话术模块
     * @return AI话术模块
     */
    @Override
    public List<IvrLibScriptmodel> selectIvrLibScriptmodelList(IvrLibScriptmodel ivrLibScriptmodel)
    {
        return ivrLibScriptmodelMapper.selectIvrLibScriptmodelList(ivrLibScriptmodel);
    }
    /**
     * æ–°å¢žAI话术模块
     *
     * @param ivrLibScriptmodel AI话术模块
     * @return ç»“æžœ
     */
    @Override
    public int insertIvrLibScriptmodel(IvrLibScriptmodel ivrLibScriptmodel)
    {
        ivrLibScriptmodel.setCreateTime(DateUtils.getNowDate());
        return ivrLibScriptmodelMapper.insertIvrLibScriptmodel(ivrLibScriptmodel);
    }
    /**
     * ä¿®æ”¹AI话术模块
     *
     * @param ivrLibScriptmodel AI话术模块
     * @return ç»“æžœ
     */
    @Override
    public int updateIvrLibScriptmodel(IvrLibScriptmodel ivrLibScriptmodel)
    {
        ivrLibScriptmodel.setUpdateTime(DateUtils.getNowDate());
        return ivrLibScriptmodelMapper.updateIvrLibScriptmodel(ivrLibScriptmodel);
    }
    /**
     * æ‰¹é‡åˆ é™¤AI话术模块
     *
     * @param modelids éœ€è¦åˆ é™¤çš„AI话术模块主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrLibScriptmodelByModelids(Long[] modelids)
    {
        return ivrLibScriptmodelMapper.deleteIvrLibScriptmodelByModelids(modelids);
    }
    /**
     * åˆ é™¤AI话术模块信息
     *
     * @param modelid AI话术模块主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrLibScriptmodelByModelid(Long modelid)
    {
        return ivrLibScriptmodelMapper.deleteIvrLibScriptmodelByModelid(modelid);
    }
}
smartor/src/main/java/com/smartor/service/impl/IvrSceneExecuteconfigServiceImpl.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,96 @@
package com.smartor.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.smartor.mapper.IvrSceneExecuteconfigMapper;
import com.smartor.domain.IvrSceneExecuteconfig;
import com.smartor.service.IIvrSceneExecuteconfigService;
/**
 * AI外呼执行配置Service业务层处理
 *
 * @author smartor
 * @date 2023-03-06
 */
@Service
public class IvrSceneExecuteconfigServiceImpl implements IIvrSceneExecuteconfigService
{
    @Autowired
    private IvrSceneExecuteconfigMapper ivrSceneExecuteconfigMapper;
    /**
     * æŸ¥è¯¢AI外呼执行配置
     *
     * @param scenecfgid AI外呼执行配置主键
     * @return AI外呼执行配置
     */
    @Override
    public IvrSceneExecuteconfig selectIvrSceneExecuteconfigByScenecfgid(Long scenecfgid)
    {
        return ivrSceneExecuteconfigMapper.selectIvrSceneExecuteconfigByScenecfgid(scenecfgid);
    }
    /**
     * æŸ¥è¯¢AI外呼执行配置列表
     *
     * @param ivrSceneExecuteconfig AI外呼执行配置
     * @return AI外呼执行配置
     */
    @Override
    public List<IvrSceneExecuteconfig> selectIvrSceneExecuteconfigList(IvrSceneExecuteconfig ivrSceneExecuteconfig)
    {
        return ivrSceneExecuteconfigMapper.selectIvrSceneExecuteconfigList(ivrSceneExecuteconfig);
    }
    /**
     * æ–°å¢žAI外呼执行配置
     *
     * @param ivrSceneExecuteconfig AI外呼执行配置
     * @return ç»“æžœ
     */
    @Override
    public int insertIvrSceneExecuteconfig(IvrSceneExecuteconfig ivrSceneExecuteconfig)
    {
        ivrSceneExecuteconfig.setCreateTime(DateUtils.getNowDate());
        return ivrSceneExecuteconfigMapper.insertIvrSceneExecuteconfig(ivrSceneExecuteconfig);
    }
    /**
     * ä¿®æ”¹AI外呼执行配置
     *
     * @param ivrSceneExecuteconfig AI外呼执行配置
     * @return ç»“æžœ
     */
    @Override
    public int updateIvrSceneExecuteconfig(IvrSceneExecuteconfig ivrSceneExecuteconfig)
    {
        ivrSceneExecuteconfig.setUpdateTime(DateUtils.getNowDate());
        return ivrSceneExecuteconfigMapper.updateIvrSceneExecuteconfig(ivrSceneExecuteconfig);
    }
    /**
     * æ‰¹é‡åˆ é™¤AI外呼执行配置
     *
     * @param scenecfgids éœ€è¦åˆ é™¤çš„AI外呼执行配置主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrSceneExecuteconfigByScenecfgids(Long[] scenecfgids)
    {
        return ivrSceneExecuteconfigMapper.deleteIvrSceneExecuteconfigByScenecfgids(scenecfgids);
    }
    /**
     * åˆ é™¤AI外呼执行配置信息
     *
     * @param scenecfgid AI外呼执行配置主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrSceneExecuteconfigByScenecfgid(Long scenecfgid)
    {
        return ivrSceneExecuteconfigMapper.deleteIvrSceneExecuteconfigByScenecfgid(scenecfgid);
    }
}
smartor/src/main/java/com/smartor/service/impl/IvrSceneFlowServiceImpl.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,96 @@
package com.smartor.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.smartor.mapper.IvrSceneFlowMapper;
import com.smartor.domain.IvrSceneFlow;
import com.smartor.service.IIvrSceneFlowService;
/**
 * AI外呼流程Service业务层处理
 *
 * @author smartor
 * @date 2023-03-06
 */
@Service
public class IvrSceneFlowServiceImpl implements IIvrSceneFlowService
{
    @Autowired
    private IvrSceneFlowMapper ivrSceneFlowMapper;
    /**
     * æŸ¥è¯¢AI外呼流程
     *
     * @param flowid AI外呼流程主键
     * @return AI外呼流程
     */
    @Override
    public IvrSceneFlow selectIvrSceneFlowByFlowid(Long flowid)
    {
        return ivrSceneFlowMapper.selectIvrSceneFlowByFlowid(flowid);
    }
    /**
     * æŸ¥è¯¢AI外呼流程列表
     *
     * @param ivrSceneFlow AI外呼流程
     * @return AI外呼流程
     */
    @Override
    public List<IvrSceneFlow> selectIvrSceneFlowList(IvrSceneFlow ivrSceneFlow)
    {
        return ivrSceneFlowMapper.selectIvrSceneFlowList(ivrSceneFlow);
    }
    /**
     * æ–°å¢žAI外呼流程
     *
     * @param ivrSceneFlow AI外呼流程
     * @return ç»“æžœ
     */
    @Override
    public int insertIvrSceneFlow(IvrSceneFlow ivrSceneFlow)
    {
        ivrSceneFlow.setCreateTime(DateUtils.getNowDate());
        return ivrSceneFlowMapper.insertIvrSceneFlow(ivrSceneFlow);
    }
    /**
     * ä¿®æ”¹AI外呼流程
     *
     * @param ivrSceneFlow AI外呼流程
     * @return ç»“æžœ
     */
    @Override
    public int updateIvrSceneFlow(IvrSceneFlow ivrSceneFlow)
    {
        ivrSceneFlow.setUpdateTime(DateUtils.getNowDate());
        return ivrSceneFlowMapper.updateIvrSceneFlow(ivrSceneFlow);
    }
    /**
     * æ‰¹é‡åˆ é™¤AI外呼流程
     *
     * @param flowids éœ€è¦åˆ é™¤çš„AI外呼流程主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrSceneFlowByFlowids(Long[] flowids)
    {
        return ivrSceneFlowMapper.deleteIvrSceneFlowByFlowids(flowids);
    }
    /**
     * åˆ é™¤AI外呼流程信息
     *
     * @param flowid AI外呼流程主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrSceneFlowByFlowid(Long flowid)
    {
        return ivrSceneFlowMapper.deleteIvrSceneFlowByFlowid(flowid);
    }
}
smartor/src/main/java/com/smartor/service/impl/IvrSceneFlownodeServiceImpl.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,96 @@
package com.smartor.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.smartor.mapper.IvrSceneFlownodeMapper;
import com.smartor.domain.IvrSceneFlownode;
import com.smartor.service.IIvrSceneFlownodeService;
/**
 * AI外呼流程节点Service业务层处理
 *
 * @author smartor
 * @date 2023-03-06
 */
@Service
public class IvrSceneFlownodeServiceImpl implements IIvrSceneFlownodeService
{
    @Autowired
    private IvrSceneFlownodeMapper ivrSceneFlownodeMapper;
    /**
     * æŸ¥è¯¢AI外呼流程节点
     *
     * @param flownodeid AI外呼流程节点主键
     * @return AI外呼流程节点
     */
    @Override
    public IvrSceneFlownode selectIvrSceneFlownodeByFlownodeid(Long flownodeid)
    {
        return ivrSceneFlownodeMapper.selectIvrSceneFlownodeByFlownodeid(flownodeid);
    }
    /**
     * æŸ¥è¯¢AI外呼流程节点列表
     *
     * @param ivrSceneFlownode AI外呼流程节点
     * @return AI外呼流程节点
     */
    @Override
    public List<IvrSceneFlownode> selectIvrSceneFlownodeList(IvrSceneFlownode ivrSceneFlownode)
    {
        return ivrSceneFlownodeMapper.selectIvrSceneFlownodeList(ivrSceneFlownode);
    }
    /**
     * æ–°å¢žAI外呼流程节点
     *
     * @param ivrSceneFlownode AI外呼流程节点
     * @return ç»“æžœ
     */
    @Override
    public int insertIvrSceneFlownode(IvrSceneFlownode ivrSceneFlownode)
    {
        ivrSceneFlownode.setCreateTime(DateUtils.getNowDate());
        return ivrSceneFlownodeMapper.insertIvrSceneFlownode(ivrSceneFlownode);
    }
    /**
     * ä¿®æ”¹AI外呼流程节点
     *
     * @param ivrSceneFlownode AI外呼流程节点
     * @return ç»“æžœ
     */
    @Override
    public int updateIvrSceneFlownode(IvrSceneFlownode ivrSceneFlownode)
    {
        ivrSceneFlownode.setUpdateTime(DateUtils.getNowDate());
        return ivrSceneFlownodeMapper.updateIvrSceneFlownode(ivrSceneFlownode);
    }
    /**
     * æ‰¹é‡åˆ é™¤AI外呼流程节点
     *
     * @param flownodeids éœ€è¦åˆ é™¤çš„AI外呼流程节点主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrSceneFlownodeByFlownodeids(Long[] flownodeids)
    {
        return ivrSceneFlownodeMapper.deleteIvrSceneFlownodeByFlownodeids(flownodeids);
    }
    /**
     * åˆ é™¤AI外呼流程节点信息
     *
     * @param flownodeid AI外呼流程节点主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrSceneFlownodeByFlownodeid(Long flownodeid)
    {
        return ivrSceneFlownodeMapper.deleteIvrSceneFlownodeByFlownodeid(flownodeid);
    }
}
smartor/src/main/java/com/smartor/service/impl/IvrSceneFlownodebranchServiceImpl.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,96 @@
package com.smartor.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.smartor.mapper.IvrSceneFlownodebranchMapper;
import com.smartor.domain.IvrSceneFlownodebranch;
import com.smartor.service.IIvrSceneFlownodebranchService;
/**
 * AI外呼流程节点分支Service业务层处理
 *
 * @author smartor
 * @date 2023-03-06
 */
@Service
public class IvrSceneFlownodebranchServiceImpl implements IIvrSceneFlownodebranchService
{
    @Autowired
    private IvrSceneFlownodebranchMapper ivrSceneFlownodebranchMapper;
    /**
     * æŸ¥è¯¢AI外呼流程节点分支
     *
     * @param branchid AI外呼流程节点分支主键
     * @return AI外呼流程节点分支
     */
    @Override
    public IvrSceneFlownodebranch selectIvrSceneFlownodebranchByBranchid(Long branchid)
    {
        return ivrSceneFlownodebranchMapper.selectIvrSceneFlownodebranchByBranchid(branchid);
    }
    /**
     * æŸ¥è¯¢AI外呼流程节点分支列表
     *
     * @param ivrSceneFlownodebranch AI外呼流程节点分支
     * @return AI外呼流程节点分支
     */
    @Override
    public List<IvrSceneFlownodebranch> selectIvrSceneFlownodebranchList(IvrSceneFlownodebranch ivrSceneFlownodebranch)
    {
        return ivrSceneFlownodebranchMapper.selectIvrSceneFlownodebranchList(ivrSceneFlownodebranch);
    }
    /**
     * æ–°å¢žAI外呼流程节点分支
     *
     * @param ivrSceneFlownodebranch AI外呼流程节点分支
     * @return ç»“æžœ
     */
    @Override
    public int insertIvrSceneFlownodebranch(IvrSceneFlownodebranch ivrSceneFlownodebranch)
    {
        ivrSceneFlownodebranch.setCreateTime(DateUtils.getNowDate());
        return ivrSceneFlownodebranchMapper.insertIvrSceneFlownodebranch(ivrSceneFlownodebranch);
    }
    /**
     * ä¿®æ”¹AI外呼流程节点分支
     *
     * @param ivrSceneFlownodebranch AI外呼流程节点分支
     * @return ç»“æžœ
     */
    @Override
    public int updateIvrSceneFlownodebranch(IvrSceneFlownodebranch ivrSceneFlownodebranch)
    {
        ivrSceneFlownodebranch.setUpdateTime(DateUtils.getNowDate());
        return ivrSceneFlownodebranchMapper.updateIvrSceneFlownodebranch(ivrSceneFlownodebranch);
    }
    /**
     * æ‰¹é‡åˆ é™¤AI外呼流程节点分支
     *
     * @param branchids éœ€è¦åˆ é™¤çš„AI外呼流程节点分支主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrSceneFlownodebranchByBranchids(Long[] branchids)
    {
        return ivrSceneFlownodebranchMapper.deleteIvrSceneFlownodebranchByBranchids(branchids);
    }
    /**
     * åˆ é™¤AI外呼流程节点分支信息
     *
     * @param branchid AI外呼流程节点分支主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrSceneFlownodebranchByBranchid(Long branchid)
    {
        return ivrSceneFlownodebranchMapper.deleteIvrSceneFlownodebranchByBranchid(branchid);
    }
}
smartor/src/main/java/com/smartor/service/impl/IvrSceneGlobalconfigServiceImpl.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,96 @@
package com.smartor.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.smartor.mapper.IvrSceneGlobalconfigMapper;
import com.smartor.domain.IvrSceneGlobalconfig;
import com.smartor.service.IIvrSceneGlobalconfigService;
/**
 * AI外呼全局配置Service业务层处理
 *
 * @author smartor
 * @date 2023-03-06
 */
@Service
public class IvrSceneGlobalconfigServiceImpl implements IIvrSceneGlobalconfigService
{
    @Autowired
    private IvrSceneGlobalconfigMapper ivrSceneGlobalconfigMapper;
    /**
     * æŸ¥è¯¢AI外呼全局配置
     *
     * @param gblconfigid AI外呼全局配置主键
     * @return AI外呼全局配置
     */
    @Override
    public IvrSceneGlobalconfig selectIvrSceneGlobalconfigByGblconfigid(Long gblconfigid)
    {
        return ivrSceneGlobalconfigMapper.selectIvrSceneGlobalconfigByGblconfigid(gblconfigid);
    }
    /**
     * æŸ¥è¯¢AI外呼全局配置列表
     *
     * @param ivrSceneGlobalconfig AI外呼全局配置
     * @return AI外呼全局配置
     */
    @Override
    public List<IvrSceneGlobalconfig> selectIvrSceneGlobalconfigList(IvrSceneGlobalconfig ivrSceneGlobalconfig)
    {
        return ivrSceneGlobalconfigMapper.selectIvrSceneGlobalconfigList(ivrSceneGlobalconfig);
    }
    /**
     * æ–°å¢žAI外呼全局配置
     *
     * @param ivrSceneGlobalconfig AI外呼全局配置
     * @return ç»“æžœ
     */
    @Override
    public int insertIvrSceneGlobalconfig(IvrSceneGlobalconfig ivrSceneGlobalconfig)
    {
        ivrSceneGlobalconfig.setCreateTime(DateUtils.getNowDate());
        return ivrSceneGlobalconfigMapper.insertIvrSceneGlobalconfig(ivrSceneGlobalconfig);
    }
    /**
     * ä¿®æ”¹AI外呼全局配置
     *
     * @param ivrSceneGlobalconfig AI外呼全局配置
     * @return ç»“æžœ
     */
    @Override
    public int updateIvrSceneGlobalconfig(IvrSceneGlobalconfig ivrSceneGlobalconfig)
    {
        ivrSceneGlobalconfig.setUpdateTime(DateUtils.getNowDate());
        return ivrSceneGlobalconfigMapper.updateIvrSceneGlobalconfig(ivrSceneGlobalconfig);
    }
    /**
     * æ‰¹é‡åˆ é™¤AI外呼全局配置
     *
     * @param gblconfigids éœ€è¦åˆ é™¤çš„AI外呼全局配置主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrSceneGlobalconfigByGblconfigids(Long[] gblconfigids)
    {
        return ivrSceneGlobalconfigMapper.deleteIvrSceneGlobalconfigByGblconfigids(gblconfigids);
    }
    /**
     * åˆ é™¤AI外呼全局配置信息
     *
     * @param gblconfigid AI外呼全局配置主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrSceneGlobalconfigByGblconfigid(Long gblconfigid)
    {
        return ivrSceneGlobalconfigMapper.deleteIvrSceneGlobalconfigByGblconfigid(gblconfigid);
    }
}
smartor/src/main/java/com/smartor/service/impl/IvrSceneIntentServiceImpl.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,96 @@
package com.smartor.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.smartor.mapper.IvrSceneIntentMapper;
import com.smartor.domain.IvrSceneIntent;
import com.smartor.service.IIvrSceneIntentService;
/**
 * AI外呼意图Service业务层处理
 *
 * @author smartor
 * @date 2023-03-06
 */
@Service
public class IvrSceneIntentServiceImpl implements IIvrSceneIntentService
{
    @Autowired
    private IvrSceneIntentMapper ivrSceneIntentMapper;
    /**
     * æŸ¥è¯¢AI外呼意图
     *
     * @param sceneintentid AI外呼意图主键
     * @return AI外呼意图
     */
    @Override
    public IvrSceneIntent selectIvrSceneIntentBySceneintentid(Long sceneintentid)
    {
        return ivrSceneIntentMapper.selectIvrSceneIntentBySceneintentid(sceneintentid);
    }
    /**
     * æŸ¥è¯¢AI外呼意图列表
     *
     * @param ivrSceneIntent AI外呼意图
     * @return AI外呼意图
     */
    @Override
    public List<IvrSceneIntent> selectIvrSceneIntentList(IvrSceneIntent ivrSceneIntent)
    {
        return ivrSceneIntentMapper.selectIvrSceneIntentList(ivrSceneIntent);
    }
    /**
     * æ–°å¢žAI外呼意图
     *
     * @param ivrSceneIntent AI外呼意图
     * @return ç»“æžœ
     */
    @Override
    public int insertIvrSceneIntent(IvrSceneIntent ivrSceneIntent)
    {
        ivrSceneIntent.setCreateTime(DateUtils.getNowDate());
        return ivrSceneIntentMapper.insertIvrSceneIntent(ivrSceneIntent);
    }
    /**
     * ä¿®æ”¹AI外呼意图
     *
     * @param ivrSceneIntent AI外呼意图
     * @return ç»“æžœ
     */
    @Override
    public int updateIvrSceneIntent(IvrSceneIntent ivrSceneIntent)
    {
        ivrSceneIntent.setUpdateTime(DateUtils.getNowDate());
        return ivrSceneIntentMapper.updateIvrSceneIntent(ivrSceneIntent);
    }
    /**
     * æ‰¹é‡åˆ é™¤AI外呼意图
     *
     * @param sceneintentids éœ€è¦åˆ é™¤çš„AI外呼意图主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrSceneIntentBySceneintentids(Long[] sceneintentids)
    {
        return ivrSceneIntentMapper.deleteIvrSceneIntentBySceneintentids(sceneintentids);
    }
    /**
     * åˆ é™¤AI外呼意图信息
     *
     * @param sceneintentid AI外呼意图主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrSceneIntentBySceneintentid(Long sceneintentid)
    {
        return ivrSceneIntentMapper.deleteIvrSceneIntentBySceneintentid(sceneintentid);
    }
}
smartor/src/main/java/com/smartor/service/impl/IvrSceneRecallServiceImpl.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,96 @@
package com.smartor.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.smartor.mapper.IvrSceneRecallMapper;
import com.smartor.domain.IvrSceneRecall;
import com.smartor.service.IIvrSceneRecallService;
/**
 * AI外呼重拨配置Service业务层处理
 *
 * @author smartor
 * @date 2023-03-06
 */
@Service
public class IvrSceneRecallServiceImpl implements IIvrSceneRecallService
{
    @Autowired
    private IvrSceneRecallMapper ivrSceneRecallMapper;
    /**
     * æŸ¥è¯¢AI外呼重拨配置
     *
     * @param recallid AI外呼重拨配置主键
     * @return AI外呼重拨配置
     */
    @Override
    public IvrSceneRecall selectIvrSceneRecallByRecallid(Long recallid)
    {
        return ivrSceneRecallMapper.selectIvrSceneRecallByRecallid(recallid);
    }
    /**
     * æŸ¥è¯¢AI外呼重拨配置列表
     *
     * @param ivrSceneRecall AI外呼重拨配置
     * @return AI外呼重拨配置
     */
    @Override
    public List<IvrSceneRecall> selectIvrSceneRecallList(IvrSceneRecall ivrSceneRecall)
    {
        return ivrSceneRecallMapper.selectIvrSceneRecallList(ivrSceneRecall);
    }
    /**
     * æ–°å¢žAI外呼重拨配置
     *
     * @param ivrSceneRecall AI外呼重拨配置
     * @return ç»“æžœ
     */
    @Override
    public int insertIvrSceneRecall(IvrSceneRecall ivrSceneRecall)
    {
        ivrSceneRecall.setCreateTime(DateUtils.getNowDate());
        return ivrSceneRecallMapper.insertIvrSceneRecall(ivrSceneRecall);
    }
    /**
     * ä¿®æ”¹AI外呼重拨配置
     *
     * @param ivrSceneRecall AI外呼重拨配置
     * @return ç»“æžœ
     */
    @Override
    public int updateIvrSceneRecall(IvrSceneRecall ivrSceneRecall)
    {
        ivrSceneRecall.setUpdateTime(DateUtils.getNowDate());
        return ivrSceneRecallMapper.updateIvrSceneRecall(ivrSceneRecall);
    }
    /**
     * æ‰¹é‡åˆ é™¤AI外呼重拨配置
     *
     * @param recallids éœ€è¦åˆ é™¤çš„AI外呼重拨配置主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrSceneRecallByRecallids(Long[] recallids)
    {
        return ivrSceneRecallMapper.deleteIvrSceneRecallByRecallids(recallids);
    }
    /**
     * åˆ é™¤AI外呼重拨配置信息
     *
     * @param recallid AI外呼重拨配置主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrSceneRecallByRecallid(Long recallid)
    {
        return ivrSceneRecallMapper.deleteIvrSceneRecallByRecallid(recallid);
    }
}
smartor/src/main/java/com/smartor/service/impl/IvrSceneScriptServiceImpl.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,96 @@
package com.smartor.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.smartor.mapper.IvrSceneScriptMapper;
import com.smartor.domain.IvrSceneScript;
import com.smartor.service.IIvrSceneScriptService;
/**
 * AI外呼话术Service业务层处理
 *
 * @author smartor
 * @date 2023-03-06
 */
@Service
public class IvrSceneScriptServiceImpl implements IIvrSceneScriptService
{
    @Autowired
    private IvrSceneScriptMapper ivrSceneScriptMapper;
    /**
     * æŸ¥è¯¢AI外呼话术
     *
     * @param scenescrid AI外呼话术主键
     * @return AI外呼话术
     */
    @Override
    public IvrSceneScript selectIvrSceneScriptByScenescrid(Long scenescrid)
    {
        return ivrSceneScriptMapper.selectIvrSceneScriptByScenescrid(scenescrid);
    }
    /**
     * æŸ¥è¯¢AI外呼话术列表
     *
     * @param ivrSceneScript AI外呼话术
     * @return AI外呼话术
     */
    @Override
    public List<IvrSceneScript> selectIvrSceneScriptList(IvrSceneScript ivrSceneScript)
    {
        return ivrSceneScriptMapper.selectIvrSceneScriptList(ivrSceneScript);
    }
    /**
     * æ–°å¢žAI外呼话术
     *
     * @param ivrSceneScript AI外呼话术
     * @return ç»“æžœ
     */
    @Override
    public int insertIvrSceneScript(IvrSceneScript ivrSceneScript)
    {
        ivrSceneScript.setCreateTime(DateUtils.getNowDate());
        return ivrSceneScriptMapper.insertIvrSceneScript(ivrSceneScript);
    }
    /**
     * ä¿®æ”¹AI外呼话术
     *
     * @param ivrSceneScript AI外呼话术
     * @return ç»“æžœ
     */
    @Override
    public int updateIvrSceneScript(IvrSceneScript ivrSceneScript)
    {
        ivrSceneScript.setUpdateTime(DateUtils.getNowDate());
        return ivrSceneScriptMapper.updateIvrSceneScript(ivrSceneScript);
    }
    /**
     * æ‰¹é‡åˆ é™¤AI外呼话术
     *
     * @param scenescrids éœ€è¦åˆ é™¤çš„AI外呼话术主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrSceneScriptByScenescrids(Long[] scenescrids)
    {
        return ivrSceneScriptMapper.deleteIvrSceneScriptByScenescrids(scenescrids);
    }
    /**
     * åˆ é™¤AI外呼话术信息
     *
     * @param scenescrid AI外呼话术主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrSceneScriptByScenescrid(Long scenescrid)
    {
        return ivrSceneScriptMapper.deleteIvrSceneScriptByScenescrid(scenescrid);
    }
}
smartor/src/main/java/com/smartor/service/impl/IvrSceneScriptmodelServiceImpl.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,96 @@
package com.smartor.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.smartor.mapper.IvrSceneScriptmodelMapper;
import com.smartor.domain.IvrSceneScriptmodel;
import com.smartor.service.IIvrSceneScriptmodelService;
/**
 * AI外呼话术模块Service业务层处理
 *
 * @author smartor
 * @date 2023-03-06
 */
@Service
public class IvrSceneScriptmodelServiceImpl implements IIvrSceneScriptmodelService
{
    @Autowired
    private IvrSceneScriptmodelMapper ivrSceneScriptmodelMapper;
    /**
     * æŸ¥è¯¢AI外呼话术模块
     *
     * @param scenemodid AI外呼话术模块主键
     * @return AI外呼话术模块
     */
    @Override
    public IvrSceneScriptmodel selectIvrSceneScriptmodelByScenemodid(Long scenemodid)
    {
        return ivrSceneScriptmodelMapper.selectIvrSceneScriptmodelByScenemodid(scenemodid);
    }
    /**
     * æŸ¥è¯¢AI外呼话术模块列表
     *
     * @param ivrSceneScriptmodel AI外呼话术模块
     * @return AI外呼话术模块
     */
    @Override
    public List<IvrSceneScriptmodel> selectIvrSceneScriptmodelList(IvrSceneScriptmodel ivrSceneScriptmodel)
    {
        return ivrSceneScriptmodelMapper.selectIvrSceneScriptmodelList(ivrSceneScriptmodel);
    }
    /**
     * æ–°å¢žAI外呼话术模块
     *
     * @param ivrSceneScriptmodel AI外呼话术模块
     * @return ç»“æžœ
     */
    @Override
    public int insertIvrSceneScriptmodel(IvrSceneScriptmodel ivrSceneScriptmodel)
    {
        ivrSceneScriptmodel.setCreateTime(DateUtils.getNowDate());
        return ivrSceneScriptmodelMapper.insertIvrSceneScriptmodel(ivrSceneScriptmodel);
    }
    /**
     * ä¿®æ”¹AI外呼话术模块
     *
     * @param ivrSceneScriptmodel AI外呼话术模块
     * @return ç»“æžœ
     */
    @Override
    public int updateIvrSceneScriptmodel(IvrSceneScriptmodel ivrSceneScriptmodel)
    {
        ivrSceneScriptmodel.setUpdateTime(DateUtils.getNowDate());
        return ivrSceneScriptmodelMapper.updateIvrSceneScriptmodel(ivrSceneScriptmodel);
    }
    /**
     * æ‰¹é‡åˆ é™¤AI外呼话术模块
     *
     * @param scenemodids éœ€è¦åˆ é™¤çš„AI外呼话术模块主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrSceneScriptmodelByScenemodids(Long[] scenemodids)
    {
        return ivrSceneScriptmodelMapper.deleteIvrSceneScriptmodelByScenemodids(scenemodids);
    }
    /**
     * åˆ é™¤AI外呼话术模块信息
     *
     * @param scenemodid AI外呼话术模块主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrSceneScriptmodelByScenemodid(Long scenemodid)
    {
        return ivrSceneScriptmodelMapper.deleteIvrSceneScriptmodelByScenemodid(scenemodid);
    }
}
smartor/src/main/java/com/smartor/service/impl/IvrSceneServiceImpl.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,96 @@
package com.smartor.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.smartor.mapper.IvrSceneMapper;
import com.smartor.domain.IvrScene;
import com.smartor.service.IIvrSceneService;
/**
 * AI外呼场景管理Service业务层处理
 *
 * @author smartor
 * @date 2023-03-06
 */
@Service
public class IvrSceneServiceImpl implements IIvrSceneService
{
    @Autowired
    private IvrSceneMapper ivrSceneMapper;
    /**
     * æŸ¥è¯¢AI外呼场景管理
     *
     * @param sceneid AI外呼场景管理主键
     * @return AI外呼场景管理
     */
    @Override
    public IvrScene selectIvrSceneBySceneid(Long sceneid)
    {
        return ivrSceneMapper.selectIvrSceneBySceneid(sceneid);
    }
    /**
     * æŸ¥è¯¢AI外呼场景管理列表
     *
     * @param ivrScene AI外呼场景管理
     * @return AI外呼场景管理
     */
    @Override
    public List<IvrScene> selectIvrSceneList(IvrScene ivrScene)
    {
        return ivrSceneMapper.selectIvrSceneList(ivrScene);
    }
    /**
     * æ–°å¢žAI外呼场景管理
     *
     * @param ivrScene AI外呼场景管理
     * @return ç»“æžœ
     */
    @Override
    public int insertIvrScene(IvrScene ivrScene)
    {
        ivrScene.setCreateTime(DateUtils.getNowDate());
        return ivrSceneMapper.insertIvrScene(ivrScene);
    }
    /**
     * ä¿®æ”¹AI外呼场景管理
     *
     * @param ivrScene AI外呼场景管理
     * @return ç»“æžœ
     */
    @Override
    public int updateIvrScene(IvrScene ivrScene)
    {
        ivrScene.setUpdateTime(DateUtils.getNowDate());
        return ivrSceneMapper.updateIvrScene(ivrScene);
    }
    /**
     * æ‰¹é‡åˆ é™¤AI外呼场景管理
     *
     * @param sceneids éœ€è¦åˆ é™¤çš„AI外呼场景管理主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrSceneBySceneids(Long[] sceneids)
    {
        return ivrSceneMapper.deleteIvrSceneBySceneids(sceneids);
    }
    /**
     * åˆ é™¤AI外呼场景管理信息
     *
     * @param sceneid AI外呼场景管理主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrSceneBySceneid(Long sceneid)
    {
        return ivrSceneMapper.deleteIvrSceneBySceneid(sceneid);
    }
}
smartor/src/main/java/com/smartor/service/impl/IvrScenecategoryServiceImpl.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,96 @@
package com.smartor.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.smartor.mapper.IvrScenecategoryMapper;
import com.smartor.domain.IvrScenecategory;
import com.smartor.service.IIvrScenecategoryService;
/**
 * AI服务场景管理分类Service业务层处理
 *
 * @author smartor
 * @date 2023-03-06
 */
@Service
public class IvrScenecategoryServiceImpl implements IIvrScenecategoryService
{
    @Autowired
    private IvrScenecategoryMapper ivrScenecategoryMapper;
    /**
     * æŸ¥è¯¢AI服务场景管理分类
     *
     * @param scenecatid AI服务场景管理分类主键
     * @return AI服务场景管理分类
     */
    @Override
    public IvrScenecategory selectIvrScenecategoryByScenecatid(Long scenecatid)
    {
        return ivrScenecategoryMapper.selectIvrScenecategoryByScenecatid(scenecatid);
    }
    /**
     * æŸ¥è¯¢AI服务场景管理分类列表
     *
     * @param ivrScenecategory AI服务场景管理分类
     * @return AI服务场景管理分类
     */
    @Override
    public List<IvrScenecategory> selectIvrScenecategoryList(IvrScenecategory ivrScenecategory)
    {
        return ivrScenecategoryMapper.selectIvrScenecategoryList(ivrScenecategory);
    }
    /**
     * æ–°å¢žAI服务场景管理分类
     *
     * @param ivrScenecategory AI服务场景管理分类
     * @return ç»“æžœ
     */
    @Override
    public int insertIvrScenecategory(IvrScenecategory ivrScenecategory)
    {
        ivrScenecategory.setCreateTime(DateUtils.getNowDate());
        return ivrScenecategoryMapper.insertIvrScenecategory(ivrScenecategory);
    }
    /**
     * ä¿®æ”¹AI服务场景管理分类
     *
     * @param ivrScenecategory AI服务场景管理分类
     * @return ç»“æžœ
     */
    @Override
    public int updateIvrScenecategory(IvrScenecategory ivrScenecategory)
    {
        ivrScenecategory.setUpdateTime(DateUtils.getNowDate());
        return ivrScenecategoryMapper.updateIvrScenecategory(ivrScenecategory);
    }
    /**
     * æ‰¹é‡åˆ é™¤AI服务场景管理分类
     *
     * @param scenecatids éœ€è¦åˆ é™¤çš„AI服务场景管理分类主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrScenecategoryByScenecatids(Long[] scenecatids)
    {
        return ivrScenecategoryMapper.deleteIvrScenecategoryByScenecatids(scenecatids);
    }
    /**
     * åˆ é™¤AI服务场景管理分类信息
     *
     * @param scenecatid AI服务场景管理分类主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteIvrScenecategoryByScenecatid(Long scenecatid)
    {
        return ivrScenecategoryMapper.deleteIvrScenecategoryByScenecatid(scenecatid);
    }
}
smartor/src/main/java/com/smartor/service/impl/SmsParamServiceImpl.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,96 @@
package com.smartor.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.smartor.mapper.SmsParamMapper;
import com.smartor.domain.SmsParam;
import com.smartor.service.ISmsParamService;
/**
 * çŸ­ä¿¡å‚æ•°Service业务层处理
 *
 * @author smartor
 * @date 2023-03-06
 */
@Service
public class SmsParamServiceImpl implements ISmsParamService
{
    @Autowired
    private SmsParamMapper smsParamMapper;
    /**
     * æŸ¥è¯¢çŸ­ä¿¡å‚æ•°
     *
     * @param paramid çŸ­ä¿¡å‚数主键
     * @return çŸ­ä¿¡å‚æ•°
     */
    @Override
    public SmsParam selectSmsParamByParamid(Long paramid)
    {
        return smsParamMapper.selectSmsParamByParamid(paramid);
    }
    /**
     * æŸ¥è¯¢çŸ­ä¿¡å‚数列表
     *
     * @param smsParam çŸ­ä¿¡å‚æ•°
     * @return çŸ­ä¿¡å‚æ•°
     */
    @Override
    public List<SmsParam> selectSmsParamList(SmsParam smsParam)
    {
        return smsParamMapper.selectSmsParamList(smsParam);
    }
    /**
     * æ–°å¢žçŸ­ä¿¡å‚æ•°
     *
     * @param smsParam çŸ­ä¿¡å‚æ•°
     * @return ç»“æžœ
     */
    @Override
    public int insertSmsParam(SmsParam smsParam)
    {
        smsParam.setCreateTime(DateUtils.getNowDate());
        return smsParamMapper.insertSmsParam(smsParam);
    }
    /**
     * ä¿®æ”¹çŸ­ä¿¡å‚æ•°
     *
     * @param smsParam çŸ­ä¿¡å‚æ•°
     * @return ç»“æžœ
     */
    @Override
    public int updateSmsParam(SmsParam smsParam)
    {
        smsParam.setUpdateTime(DateUtils.getNowDate());
        return smsParamMapper.updateSmsParam(smsParam);
    }
    /**
     * æ‰¹é‡åˆ é™¤çŸ­ä¿¡å‚æ•°
     *
     * @param paramids éœ€è¦åˆ é™¤çš„短信参数主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteSmsParamByParamids(Long[] paramids)
    {
        return smsParamMapper.deleteSmsParamByParamids(paramids);
    }
    /**
     * åˆ é™¤çŸ­ä¿¡å‚数信息
     *
     * @param paramid çŸ­ä¿¡å‚数主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteSmsParamByParamid(Long paramid)
    {
        return smsParamMapper.deleteSmsParamByParamid(paramid);
    }
}
smartor/src/main/java/com/smartor/service/impl/SmsRecordsServiceImpl.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,96 @@
package com.smartor.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.smartor.mapper.SmsRecordsMapper;
import com.smartor.domain.SmsRecords;
import com.smartor.service.ISmsRecordsService;
/**
 * çŸ­ä¿¡è®°å½•Service业务层处理
 *
 * @author smartor
 * @date 2023-03-06
 */
@Service
public class SmsRecordsServiceImpl implements ISmsRecordsService
{
    @Autowired
    private SmsRecordsMapper smsRecordsMapper;
    /**
     * æŸ¥è¯¢çŸ­ä¿¡è®°å½•
     *
     * @param recordid çŸ­ä¿¡è®°å½•主键
     * @return çŸ­ä¿¡è®°å½•
     */
    @Override
    public SmsRecords selectSmsRecordsByRecordid(Long recordid)
    {
        return smsRecordsMapper.selectSmsRecordsByRecordid(recordid);
    }
    /**
     * æŸ¥è¯¢çŸ­ä¿¡è®°å½•列表
     *
     * @param smsRecords çŸ­ä¿¡è®°å½•
     * @return çŸ­ä¿¡è®°å½•
     */
    @Override
    public List<SmsRecords> selectSmsRecordsList(SmsRecords smsRecords)
    {
        return smsRecordsMapper.selectSmsRecordsList(smsRecords);
    }
    /**
     * æ–°å¢žçŸ­ä¿¡è®°å½•
     *
     * @param smsRecords çŸ­ä¿¡è®°å½•
     * @return ç»“æžœ
     */
    @Override
    public int insertSmsRecords(SmsRecords smsRecords)
    {
        smsRecords.setCreateTime(DateUtils.getNowDate());
        return smsRecordsMapper.insertSmsRecords(smsRecords);
    }
    /**
     * ä¿®æ”¹çŸ­ä¿¡è®°å½•
     *
     * @param smsRecords çŸ­ä¿¡è®°å½•
     * @return ç»“æžœ
     */
    @Override
    public int updateSmsRecords(SmsRecords smsRecords)
    {
        smsRecords.setUpdateTime(DateUtils.getNowDate());
        return smsRecordsMapper.updateSmsRecords(smsRecords);
    }
    /**
     * æ‰¹é‡åˆ é™¤çŸ­ä¿¡è®°å½•
     *
     * @param recordids éœ€è¦åˆ é™¤çš„短信记录主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteSmsRecordsByRecordids(Long[] recordids)
    {
        return smsRecordsMapper.deleteSmsRecordsByRecordids(recordids);
    }
    /**
     * åˆ é™¤çŸ­ä¿¡è®°å½•信息
     *
     * @param recordid çŸ­ä¿¡è®°å½•主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteSmsRecordsByRecordid(Long recordid)
    {
        return smsRecordsMapper.deleteSmsRecordsByRecordid(recordid);
    }
}
smartor/src/main/java/com/smartor/service/impl/SmsTempletServiceImpl.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,96 @@
package com.smartor.service.impl;
import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.smartor.mapper.SmsTempletMapper;
import com.smartor.domain.SmsTemplet;
import com.smartor.service.ISmsTempletService;
/**
 * çŸ­ä¿¡æ¨¡æ¿Service业务层处理
 *
 * @author smartor
 * @date 2023-03-06
 */
@Service
public class SmsTempletServiceImpl implements ISmsTempletService
{
    @Autowired
    private SmsTempletMapper smsTempletMapper;
    /**
     * æŸ¥è¯¢çŸ­ä¿¡æ¨¡æ¿
     *
     * @param templetid çŸ­ä¿¡æ¨¡æ¿ä¸»é”®
     * @return çŸ­ä¿¡æ¨¡æ¿
     */
    @Override
    public SmsTemplet selectSmsTempletByTempletid(Long templetid)
    {
        return smsTempletMapper.selectSmsTempletByTempletid(templetid);
    }
    /**
     * æŸ¥è¯¢çŸ­ä¿¡æ¨¡æ¿åˆ—表
     *
     * @param smsTemplet çŸ­ä¿¡æ¨¡æ¿
     * @return çŸ­ä¿¡æ¨¡æ¿
     */
    @Override
    public List<SmsTemplet> selectSmsTempletList(SmsTemplet smsTemplet)
    {
        return smsTempletMapper.selectSmsTempletList(smsTemplet);
    }
    /**
     * æ–°å¢žçŸ­ä¿¡æ¨¡æ¿
     *
     * @param smsTemplet çŸ­ä¿¡æ¨¡æ¿
     * @return ç»“æžœ
     */
    @Override
    public int insertSmsTemplet(SmsTemplet smsTemplet)
    {
        smsTemplet.setCreateTime(DateUtils.getNowDate());
        return smsTempletMapper.insertSmsTemplet(smsTemplet);
    }
    /**
     * ä¿®æ”¹çŸ­ä¿¡æ¨¡æ¿
     *
     * @param smsTemplet çŸ­ä¿¡æ¨¡æ¿
     * @return ç»“æžœ
     */
    @Override
    public int updateSmsTemplet(SmsTemplet smsTemplet)
    {
        smsTemplet.setUpdateTime(DateUtils.getNowDate());
        return smsTempletMapper.updateSmsTemplet(smsTemplet);
    }
    /**
     * æ‰¹é‡åˆ é™¤çŸ­ä¿¡æ¨¡æ¿
     *
     * @param templetids éœ€è¦åˆ é™¤çš„短信模板主键
     * @return ç»“æžœ
     */
    @Override
    public int deleteSmsTempletByTempletids(Long[] templetids)
    {
        return smsTempletMapper.deleteSmsTempletByTempletids(templetids);
    }
    /**
     * åˆ é™¤çŸ­ä¿¡æ¨¡æ¿ä¿¡æ¯
     *
     * @param templetid çŸ­ä¿¡æ¨¡æ¿ä¸»é”®
     * @return ç»“æžœ
     */
    @Override
    public int deleteSmsTempletByTempletid(Long templetid)
    {
        return smsTempletMapper.deleteSmsTempletByTempletid(templetid);
    }
}
smartor/src/main/resources/mapper/smartor/BaseSmsaccountMapper.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,110 @@
<?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.smartor.mapper.BaseSmsaccountMapper">
    <resultMap type="BaseSmsaccount" id="BaseSmsaccountResult">
        <result property="smsacountid"    column="smsacountid"    />
        <result property="smsname"    column="smsname"    />
        <result property="account"    column="account"    />
        <result property="password"    column="password"    />
        <result property="remark"    column="remark"    />
        <result property="orgid"    column="orgid"    />
        <result property="delFlag"    column="del_flag"    />
        <result property="updateBy"    column="update_by"    />
        <result property="updateTime"    column="update_time"    />
        <result property="createBy"    column="create_by"    />
        <result property="createTime"    column="create_time"    />
        <result property="isupload"    column="isupload"    />
        <result property="uploadTime"    column="upload_time"    />
        <result property="isenable"    column="isenable"    />
    </resultMap>
    <sql id="selectBaseSmsaccountVo">
        select smsacountid, smsname, account, password, remark, orgid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, isenable from base_smsaccount
    </sql>
    <select id="selectBaseSmsaccountList" parameterType="BaseSmsaccount" resultMap="BaseSmsaccountResult">
        <include refid="selectBaseSmsaccountVo"/>
        <where>
            <if test="smsname != null  and smsname != ''"> and smsname like concat('%', #{smsname}, '%')</if>
            <if test="account != null  and account != ''"> and account = #{account}</if>
            <if test="password != null  and password != ''"> and password = #{password}</if>
            <if test="orgid != null  and orgid != ''"> and orgid = #{orgid}</if>
            <if test="isupload != null "> and isupload = #{isupload}</if>
            <if test="uploadTime != null "> and upload_time = #{uploadTime}</if>
            <if test="isenable != null "> and isenable = #{isenable}</if>
        </where>
    </select>
    <select id="selectBaseSmsaccountBySmsacountid" parameterType="Long" resultMap="BaseSmsaccountResult">
        <include refid="selectBaseSmsaccountVo"/>
        where smsacountid = #{smsacountid}
    </select>
    <insert id="insertBaseSmsaccount" parameterType="BaseSmsaccount" useGeneratedKeys="true" keyProperty="smsacountid">
        insert into base_smsaccount
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="smsname != null">smsname,</if>
            <if test="account != null">account,</if>
            <if test="password != null">password,</if>
            <if test="remark != null">remark,</if>
            <if test="orgid != null">orgid,</if>
            <if test="delFlag != null and delFlag != ''">del_flag,</if>
            <if test="updateBy != null">update_by,</if>
            <if test="updateTime != null">update_time,</if>
            <if test="createBy != null">create_by,</if>
            <if test="createTime != null">create_time,</if>
            <if test="isupload != null">isupload,</if>
            <if test="uploadTime != null">upload_time,</if>
            <if test="isenable != null">isenable,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="smsname != null">#{smsname},</if>
            <if test="account != null">#{account},</if>
            <if test="password != null">#{password},</if>
            <if test="remark != null">#{remark},</if>
            <if test="orgid != null">#{orgid},</if>
            <if test="delFlag != null and delFlag != ''">#{delFlag},</if>
            <if test="updateBy != null">#{updateBy},</if>
            <if test="updateTime != null">#{updateTime},</if>
            <if test="createBy != null">#{createBy},</if>
            <if test="createTime != null">#{createTime},</if>
            <if test="isupload != null">#{isupload},</if>
            <if test="uploadTime != null">#{uploadTime},</if>
            <if test="isenable != null">#{isenable},</if>
         </trim>
    </insert>
    <update id="updateBaseSmsaccount" parameterType="BaseSmsaccount">
        update base_smsaccount
        <trim prefix="SET" suffixOverrides=",">
            <if test="smsname != null">smsname = #{smsname},</if>
            <if test="account != null">account = #{account},</if>
            <if test="password != null">password = #{password},</if>
            <if test="remark != null">remark = #{remark},</if>
            <if test="orgid != null">orgid = #{orgid},</if>
            <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if>
            <if test="updateBy != null">update_by = #{updateBy},</if>
            <if test="updateTime != null">update_time = #{updateTime},</if>
            <if test="createBy != null">create_by = #{createBy},</if>
            <if test="createTime != null">create_time = #{createTime},</if>
            <if test="isupload != null">isupload = #{isupload},</if>
            <if test="uploadTime != null">upload_time = #{uploadTime},</if>
            <if test="isenable != null">isenable = #{isenable},</if>
        </trim>
        where smsacountid = #{smsacountid}
    </update>
    <delete id="deleteBaseSmsaccountBySmsacountid" parameterType="Long">
        delete from base_smsaccount where smsacountid = #{smsacountid}
    </delete>
    <delete id="deleteBaseSmsaccountBySmsacountids" parameterType="String">
        delete from base_smsaccount where smsacountid in
        <foreach item="smsacountid" collection="array" open="(" separator="," close=")">
            #{smsacountid}
        </foreach>
    </delete>
</mapper>
smartor/src/main/resources/mapper/smartor/IvrLibIntentMapper.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,106 @@
<?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.smartor.mapper.IvrLibIntentMapper">
    <resultMap type="IvrLibIntent" id="IvrLibIntentResult">
        <result property="intentid"    column="intentid"    />
        <result property="orgid"    column="orgid"    />
        <result property="intentionname"    column="intentionname"    />
        <result property="categoryid"    column="categoryid"    />
        <result property="categoryname"    column="categoryname"    />
        <result property="intentionword"    column="intentionword"    />
        <result property="delFlag"    column="del_flag"    />
        <result property="updateBy"    column="update_by"    />
        <result property="updateTime"    column="update_time"    />
        <result property="createBy"    column="create_by"    />
        <result property="createTime"    column="create_time"    />
        <result property="isupload"    column="isupload"    />
        <result property="uploadTime"    column="upload_time"    />
    </resultMap>
    <sql id="selectIvrLibIntentVo">
        select intentid, orgid, intentionname, categoryid, categoryname, intentionword, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time from ivr_lib_intent
    </sql>
    <select id="selectIvrLibIntentList" parameterType="IvrLibIntent" resultMap="IvrLibIntentResult">
        <include refid="selectIvrLibIntentVo"/>
        <where>
            <if test="orgid != null  and orgid != ''"> and orgid = #{orgid}</if>
            <if test="intentionname != null  and intentionname != ''"> and intentionname like concat('%', #{intentionname}, '%')</if>
            <if test="categoryid != null "> and categoryid = #{categoryid}</if>
            <if test="categoryname != null  and categoryname != ''"> and categoryname like concat('%', #{categoryname}, '%')</if>
            <if test="intentionword != null  and intentionword != ''"> and intentionword = #{intentionword}</if>
            <if test="isupload != null "> and isupload = #{isupload}</if>
            <if test="uploadTime != null "> and upload_time = #{uploadTime}</if>
        </where>
    </select>
    <select id="selectIvrLibIntentByIntentid" parameterType="Long" resultMap="IvrLibIntentResult">
        <include refid="selectIvrLibIntentVo"/>
        where intentid = #{intentid}
    </select>
    <insert id="insertIvrLibIntent" parameterType="IvrLibIntent" useGeneratedKeys="true" keyProperty="intentid">
        insert into ivr_lib_intent
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="orgid != null">orgid,</if>
            <if test="intentionname != null">intentionname,</if>
            <if test="categoryid != null">categoryid,</if>
            <if test="categoryname != null">categoryname,</if>
            <if test="intentionword != null">intentionword,</if>
            <if test="delFlag != null and delFlag != ''">del_flag,</if>
            <if test="updateBy != null">update_by,</if>
            <if test="updateTime != null">update_time,</if>
            <if test="createBy != null">create_by,</if>
            <if test="createTime != null">create_time,</if>
            <if test="isupload != null">isupload,</if>
            <if test="uploadTime != null">upload_time,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="orgid != null">#{orgid},</if>
            <if test="intentionname != null">#{intentionname},</if>
            <if test="categoryid != null">#{categoryid},</if>
            <if test="categoryname != null">#{categoryname},</if>
            <if test="intentionword != null">#{intentionword},</if>
            <if test="delFlag != null and delFlag != ''">#{delFlag},</if>
            <if test="updateBy != null">#{updateBy},</if>
            <if test="updateTime != null">#{updateTime},</if>
            <if test="createBy != null">#{createBy},</if>
            <if test="createTime != null">#{createTime},</if>
            <if test="isupload != null">#{isupload},</if>
            <if test="uploadTime != null">#{uploadTime},</if>
         </trim>
    </insert>
    <update id="updateIvrLibIntent" parameterType="IvrLibIntent">
        update ivr_lib_intent
        <trim prefix="SET" suffixOverrides=",">
            <if test="orgid != null">orgid = #{orgid},</if>
            <if test="intentionname != null">intentionname = #{intentionname},</if>
            <if test="categoryid != null">categoryid = #{categoryid},</if>
            <if test="categoryname != null">categoryname = #{categoryname},</if>
            <if test="intentionword != null">intentionword = #{intentionword},</if>
            <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if>
            <if test="updateBy != null">update_by = #{updateBy},</if>
            <if test="updateTime != null">update_time = #{updateTime},</if>
            <if test="createBy != null">create_by = #{createBy},</if>
            <if test="createTime != null">create_time = #{createTime},</if>
            <if test="isupload != null">isupload = #{isupload},</if>
            <if test="uploadTime != null">upload_time = #{uploadTime},</if>
        </trim>
        where intentid = #{intentid}
    </update>
    <delete id="deleteIvrLibIntentByIntentid" parameterType="Long">
        delete from ivr_lib_intent where intentid = #{intentid}
    </delete>
    <delete id="deleteIvrLibIntentByIntentids" parameterType="String">
        delete from ivr_lib_intent where intentid in
        <foreach item="intentid" collection="array" open="(" separator="," close=")">
            #{intentid}
        </foreach>
    </delete>
</mapper>
smartor/src/main/resources/mapper/smartor/IvrLibIntentcategoryMapper.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,91 @@
<?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.smartor.mapper.IvrLibIntentcategoryMapper">
    <resultMap type="IvrLibIntentcategory" id="IvrLibIntentcategoryResult">
        <result property="intertcatid"    column="intertcatid"    />
        <result property="categoryname"    column="categoryname"    />
        <result property="orgid"    column="orgid"    />
        <result property="delFlag"    column="del_flag"    />
        <result property="updateBy"    column="update_by"    />
        <result property="updateTime"    column="update_time"    />
        <result property="createBy"    column="create_by"    />
        <result property="createTime"    column="create_time"    />
        <result property="isupload"    column="isupload"    />
        <result property="uploadTime"    column="upload_time"    />
    </resultMap>
    <sql id="selectIvrLibIntentcategoryVo">
        select intertcatid, categoryname, orgid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time from ivr_lib_intentcategory
    </sql>
    <select id="selectIvrLibIntentcategoryList" parameterType="IvrLibIntentcategory" resultMap="IvrLibIntentcategoryResult">
        <include refid="selectIvrLibIntentcategoryVo"/>
        <where>
            <if test="categoryname != null  and categoryname != ''"> and categoryname like concat('%', #{categoryname}, '%')</if>
            <if test="orgid != null  and orgid != ''"> and orgid = #{orgid}</if>
            <if test="isupload != null "> and isupload = #{isupload}</if>
            <if test="uploadTime != null "> and upload_time = #{uploadTime}</if>
        </where>
    </select>
    <select id="selectIvrLibIntentcategoryByIntertcatid" parameterType="Long" resultMap="IvrLibIntentcategoryResult">
        <include refid="selectIvrLibIntentcategoryVo"/>
        where intertcatid = #{intertcatid}
    </select>
    <insert id="insertIvrLibIntentcategory" parameterType="IvrLibIntentcategory" useGeneratedKeys="true" keyProperty="intertcatid">
        insert into ivr_lib_intentcategory
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="categoryname != null">categoryname,</if>
            <if test="orgid != null">orgid,</if>
            <if test="delFlag != null and delFlag != ''">del_flag,</if>
            <if test="updateBy != null">update_by,</if>
            <if test="updateTime != null">update_time,</if>
            <if test="createBy != null">create_by,</if>
            <if test="createTime != null">create_time,</if>
            <if test="isupload != null">isupload,</if>
            <if test="uploadTime != null">upload_time,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="categoryname != null">#{categoryname},</if>
            <if test="orgid != null">#{orgid},</if>
            <if test="delFlag != null and delFlag != ''">#{delFlag},</if>
            <if test="updateBy != null">#{updateBy},</if>
            <if test="updateTime != null">#{updateTime},</if>
            <if test="createBy != null">#{createBy},</if>
            <if test="createTime != null">#{createTime},</if>
            <if test="isupload != null">#{isupload},</if>
            <if test="uploadTime != null">#{uploadTime},</if>
         </trim>
    </insert>
    <update id="updateIvrLibIntentcategory" parameterType="IvrLibIntentcategory">
        update ivr_lib_intentcategory
        <trim prefix="SET" suffixOverrides=",">
            <if test="categoryname != null">categoryname = #{categoryname},</if>
            <if test="orgid != null">orgid = #{orgid},</if>
            <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if>
            <if test="updateBy != null">update_by = #{updateBy},</if>
            <if test="updateTime != null">update_time = #{updateTime},</if>
            <if test="createBy != null">create_by = #{createBy},</if>
            <if test="createTime != null">create_time = #{createTime},</if>
            <if test="isupload != null">isupload = #{isupload},</if>
            <if test="uploadTime != null">upload_time = #{uploadTime},</if>
        </trim>
        where intertcatid = #{intertcatid}
    </update>
    <delete id="deleteIvrLibIntentcategoryByIntertcatid" parameterType="Long">
        delete from ivr_lib_intentcategory where intertcatid = #{intertcatid}
    </delete>
    <delete id="deleteIvrLibIntentcategoryByIntertcatids" parameterType="String">
        delete from ivr_lib_intentcategory where intertcatid in
        <foreach item="intertcatid" collection="array" open="(" separator="," close=")">
            #{intertcatid}
        </foreach>
    </delete>
</mapper>
smartor/src/main/resources/mapper/smartor/IvrLibScriptMapper.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,116 @@
<?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.smartor.mapper.IvrLibScriptMapper">
    <resultMap type="IvrLibScript" id="IvrLibScriptResult">
        <result property="scriptid"    column="scriptid"    />
        <result property="orgid"    column="orgid"    />
        <result property="categoryid"    column="categoryid"    />
        <result property="categoryname"    column="categoryname"    />
        <result property="speakbody"    column="speakbody"    />
        <result property="speakfilepath"    column="speakfilepath"    />
        <result property="isall"    column="isall"    />
        <result property="speakname"    column="speakname"    />
        <result property="delFlag"    column="del_flag"    />
        <result property="updateBy"    column="update_by"    />
        <result property="updateTime"    column="update_time"    />
        <result property="createBy"    column="create_by"    />
        <result property="createTime"    column="create_time"    />
        <result property="isupload"    column="isupload"    />
        <result property="uploadTime"    column="upload_time"    />
    </resultMap>
    <sql id="selectIvrLibScriptVo">
        select scriptid, orgid, categoryid, categoryname, speakbody, speakfilepath, isall, speakname, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time from ivr_lib_script
    </sql>
    <select id="selectIvrLibScriptList" parameterType="IvrLibScript" resultMap="IvrLibScriptResult">
        <include refid="selectIvrLibScriptVo"/>
        <where>
            <if test="orgid != null  and orgid != ''"> and orgid = #{orgid}</if>
            <if test="categoryid != null "> and categoryid = #{categoryid}</if>
            <if test="categoryname != null  and categoryname != ''"> and categoryname like concat('%', #{categoryname}, '%')</if>
            <if test="speakbody != null  and speakbody != ''"> and speakbody = #{speakbody}</if>
            <if test="speakfilepath != null  and speakfilepath != ''"> and speakfilepath = #{speakfilepath}</if>
            <if test="isall != null "> and isall = #{isall}</if>
            <if test="speakname != null  and speakname != ''"> and speakname like concat('%', #{speakname}, '%')</if>
            <if test="isupload != null "> and isupload = #{isupload}</if>
            <if test="uploadTime != null "> and upload_time = #{uploadTime}</if>
        </where>
    </select>
    <select id="selectIvrLibScriptByScriptid" parameterType="Long" resultMap="IvrLibScriptResult">
        <include refid="selectIvrLibScriptVo"/>
        where scriptid = #{scriptid}
    </select>
    <insert id="insertIvrLibScript" parameterType="IvrLibScript" useGeneratedKeys="true" keyProperty="scriptid">
        insert into ivr_lib_script
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="orgid != null">orgid,</if>
            <if test="categoryid != null">categoryid,</if>
            <if test="categoryname != null">categoryname,</if>
            <if test="speakbody != null">speakbody,</if>
            <if test="speakfilepath != null">speakfilepath,</if>
            <if test="isall != null">isall,</if>
            <if test="speakname != null">speakname,</if>
            <if test="delFlag != null and delFlag != ''">del_flag,</if>
            <if test="updateBy != null">update_by,</if>
            <if test="updateTime != null">update_time,</if>
            <if test="createBy != null">create_by,</if>
            <if test="createTime != null">create_time,</if>
            <if test="isupload != null">isupload,</if>
            <if test="uploadTime != null">upload_time,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="orgid != null">#{orgid},</if>
            <if test="categoryid != null">#{categoryid},</if>
            <if test="categoryname != null">#{categoryname},</if>
            <if test="speakbody != null">#{speakbody},</if>
            <if test="speakfilepath != null">#{speakfilepath},</if>
            <if test="isall != null">#{isall},</if>
            <if test="speakname != null">#{speakname},</if>
            <if test="delFlag != null and delFlag != ''">#{delFlag},</if>
            <if test="updateBy != null">#{updateBy},</if>
            <if test="updateTime != null">#{updateTime},</if>
            <if test="createBy != null">#{createBy},</if>
            <if test="createTime != null">#{createTime},</if>
            <if test="isupload != null">#{isupload},</if>
            <if test="uploadTime != null">#{uploadTime},</if>
         </trim>
    </insert>
    <update id="updateIvrLibScript" parameterType="IvrLibScript">
        update ivr_lib_script
        <trim prefix="SET" suffixOverrides=",">
            <if test="orgid != null">orgid = #{orgid},</if>
            <if test="categoryid != null">categoryid = #{categoryid},</if>
            <if test="categoryname != null">categoryname = #{categoryname},</if>
            <if test="speakbody != null">speakbody = #{speakbody},</if>
            <if test="speakfilepath != null">speakfilepath = #{speakfilepath},</if>
            <if test="isall != null">isall = #{isall},</if>
            <if test="speakname != null">speakname = #{speakname},</if>
            <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if>
            <if test="updateBy != null">update_by = #{updateBy},</if>
            <if test="updateTime != null">update_time = #{updateTime},</if>
            <if test="createBy != null">create_by = #{createBy},</if>
            <if test="createTime != null">create_time = #{createTime},</if>
            <if test="isupload != null">isupload = #{isupload},</if>
            <if test="uploadTime != null">upload_time = #{uploadTime},</if>
        </trim>
        where scriptid = #{scriptid}
    </update>
    <delete id="deleteIvrLibScriptByScriptid" parameterType="Long">
        delete from ivr_lib_script where scriptid = #{scriptid}
    </delete>
    <delete id="deleteIvrLibScriptByScriptids" parameterType="String">
        delete from ivr_lib_script where scriptid in
        <foreach item="scriptid" collection="array" open="(" separator="," close=")">
            #{scriptid}
        </foreach>
    </delete>
</mapper>
smartor/src/main/resources/mapper/smartor/IvrLibScriptcategoryMapper.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,91 @@
<?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.smartor.mapper.IvrLibScriptcategoryMapper">
    <resultMap type="IvrLibScriptcategory" id="IvrLibScriptcategoryResult">
        <result property="categoryid"    column="categoryid"    />
        <result property="categoryname"    column="categoryname"    />
        <result property="orgid"    column="orgid"    />
        <result property="delFlag"    column="del_flag"    />
        <result property="updateBy"    column="update_by"    />
        <result property="updateTime"    column="update_time"    />
        <result property="createBy"    column="create_by"    />
        <result property="createTime"    column="create_time"    />
        <result property="isupload"    column="isupload"    />
        <result property="uploadTime"    column="upload_time"    />
    </resultMap>
    <sql id="selectIvrLibScriptcategoryVo">
        select categoryid, categoryname, orgid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time from ivr_lib_scriptcategory
    </sql>
    <select id="selectIvrLibScriptcategoryList" parameterType="IvrLibScriptcategory" resultMap="IvrLibScriptcategoryResult">
        <include refid="selectIvrLibScriptcategoryVo"/>
        <where>
            <if test="categoryname != null  and categoryname != ''"> and categoryname like concat('%', #{categoryname}, '%')</if>
            <if test="orgid != null  and orgid != ''"> and orgid = #{orgid}</if>
            <if test="isupload != null "> and isupload = #{isupload}</if>
            <if test="uploadTime != null "> and upload_time = #{uploadTime}</if>
        </where>
    </select>
    <select id="selectIvrLibScriptcategoryByCategoryid" parameterType="Long" resultMap="IvrLibScriptcategoryResult">
        <include refid="selectIvrLibScriptcategoryVo"/>
        where categoryid = #{categoryid}
    </select>
    <insert id="insertIvrLibScriptcategory" parameterType="IvrLibScriptcategory" useGeneratedKeys="true" keyProperty="categoryid">
        insert into ivr_lib_scriptcategory
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="categoryname != null">categoryname,</if>
            <if test="orgid != null">orgid,</if>
            <if test="delFlag != null and delFlag != ''">del_flag,</if>
            <if test="updateBy != null">update_by,</if>
            <if test="updateTime != null">update_time,</if>
            <if test="createBy != null">create_by,</if>
            <if test="createTime != null">create_time,</if>
            <if test="isupload != null">isupload,</if>
            <if test="uploadTime != null">upload_time,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="categoryname != null">#{categoryname},</if>
            <if test="orgid != null">#{orgid},</if>
            <if test="delFlag != null and delFlag != ''">#{delFlag},</if>
            <if test="updateBy != null">#{updateBy},</if>
            <if test="updateTime != null">#{updateTime},</if>
            <if test="createBy != null">#{createBy},</if>
            <if test="createTime != null">#{createTime},</if>
            <if test="isupload != null">#{isupload},</if>
            <if test="uploadTime != null">#{uploadTime},</if>
         </trim>
    </insert>
    <update id="updateIvrLibScriptcategory" parameterType="IvrLibScriptcategory">
        update ivr_lib_scriptcategory
        <trim prefix="SET" suffixOverrides=",">
            <if test="categoryname != null">categoryname = #{categoryname},</if>
            <if test="orgid != null">orgid = #{orgid},</if>
            <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if>
            <if test="updateBy != null">update_by = #{updateBy},</if>
            <if test="updateTime != null">update_time = #{updateTime},</if>
            <if test="createBy != null">create_by = #{createBy},</if>
            <if test="createTime != null">create_time = #{createTime},</if>
            <if test="isupload != null">isupload = #{isupload},</if>
            <if test="uploadTime != null">upload_time = #{uploadTime},</if>
        </trim>
        where categoryid = #{categoryid}
    </update>
    <delete id="deleteIvrLibScriptcategoryByCategoryid" parameterType="Long">
        delete from ivr_lib_scriptcategory where categoryid = #{categoryid}
    </delete>
    <delete id="deleteIvrLibScriptcategoryByCategoryids" parameterType="String">
        delete from ivr_lib_scriptcategory where categoryid in
        <foreach item="categoryid" collection="array" open="(" separator="," close=")">
            #{categoryid}
        </foreach>
    </delete>
</mapper>
smartor/src/main/resources/mapper/smartor/IvrLibScriptmodelMapper.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,141 @@
<?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.smartor.mapper.IvrLibScriptmodelMapper">
    <resultMap type="IvrLibScriptmodel" id="IvrLibScriptmodelResult">
        <result property="modelid"    column="modelid"    />
        <result property="orgid"    column="orgid"    />
        <result property="scriptid"    column="scriptid"    />
        <result property="speaktype"    column="speaktype"    />
        <result property="speakbody"    column="speakbody"    />
        <result property="voicetype"    column="voicetype"    />
        <result property="speakfilepath"    column="speakfilepath"    />
        <result property="manufactor"    column="manufactor"    />
        <result property="soundtype"    column="soundtype"    />
        <result property="speechnum"    column="speechnum"    />
        <result property="pitch"    column="pitch"    />
        <result property="volume"    column="volume"    />
        <result property="delFlag"    column="del_flag"    />
        <result property="updateBy"    column="update_by"    />
        <result property="updateTime"    column="update_time"    />
        <result property="createBy"    column="create_by"    />
        <result property="createTime"    column="create_time"    />
        <result property="isupload"    column="isupload"    />
        <result property="uploadTime"    column="upload_time"    />
        <result property="speakvariable"    column="speakvariable"    />
    </resultMap>
    <sql id="selectIvrLibScriptmodelVo">
        select modelid, orgid, scriptid, speaktype, speakbody, voicetype, speakfilepath, manufactor, soundtype, speechnum, pitch, volume, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, speakvariable from ivr_lib_scriptmodel
    </sql>
    <select id="selectIvrLibScriptmodelList" parameterType="IvrLibScriptmodel" resultMap="IvrLibScriptmodelResult">
        <include refid="selectIvrLibScriptmodelVo"/>
        <where>
            <if test="orgid != null  and orgid != ''"> and orgid = #{orgid}</if>
            <if test="scriptid != null "> and scriptid = #{scriptid}</if>
            <if test="speaktype != null "> and speaktype = #{speaktype}</if>
            <if test="speakbody != null  and speakbody != ''"> and speakbody = #{speakbody}</if>
            <if test="voicetype != null "> and voicetype = #{voicetype}</if>
            <if test="speakfilepath != null  and speakfilepath != ''"> and speakfilepath = #{speakfilepath}</if>
            <if test="manufactor != null  and manufactor != ''"> and manufactor = #{manufactor}</if>
            <if test="soundtype != null  and soundtype != ''"> and soundtype = #{soundtype}</if>
            <if test="speechnum != null "> and speechnum = #{speechnum}</if>
            <if test="pitch != null "> and pitch = #{pitch}</if>
            <if test="volume != null "> and volume = #{volume}</if>
            <if test="isupload != null "> and isupload = #{isupload}</if>
            <if test="uploadTime != null "> and upload_time = #{uploadTime}</if>
            <if test="speakvariable != null  and speakvariable != ''"> and speakvariable = #{speakvariable}</if>
        </where>
    </select>
    <select id="selectIvrLibScriptmodelByModelid" parameterType="Long" resultMap="IvrLibScriptmodelResult">
        <include refid="selectIvrLibScriptmodelVo"/>
        where modelid = #{modelid}
    </select>
    <insert id="insertIvrLibScriptmodel" parameterType="IvrLibScriptmodel" useGeneratedKeys="true" keyProperty="modelid">
        insert into ivr_lib_scriptmodel
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="orgid != null">orgid,</if>
            <if test="scriptid != null">scriptid,</if>
            <if test="speaktype != null">speaktype,</if>
            <if test="speakbody != null">speakbody,</if>
            <if test="voicetype != null">voicetype,</if>
            <if test="speakfilepath != null">speakfilepath,</if>
            <if test="manufactor != null">manufactor,</if>
            <if test="soundtype != null">soundtype,</if>
            <if test="speechnum != null">speechnum,</if>
            <if test="pitch != null">pitch,</if>
            <if test="volume != null">volume,</if>
            <if test="delFlag != null and delFlag != ''">del_flag,</if>
            <if test="updateBy != null">update_by,</if>
            <if test="updateTime != null">update_time,</if>
            <if test="createBy != null">create_by,</if>
            <if test="createTime != null">create_time,</if>
            <if test="isupload != null">isupload,</if>
            <if test="uploadTime != null">upload_time,</if>
            <if test="speakvariable != null">speakvariable,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="orgid != null">#{orgid},</if>
            <if test="scriptid != null">#{scriptid},</if>
            <if test="speaktype != null">#{speaktype},</if>
            <if test="speakbody != null">#{speakbody},</if>
            <if test="voicetype != null">#{voicetype},</if>
            <if test="speakfilepath != null">#{speakfilepath},</if>
            <if test="manufactor != null">#{manufactor},</if>
            <if test="soundtype != null">#{soundtype},</if>
            <if test="speechnum != null">#{speechnum},</if>
            <if test="pitch != null">#{pitch},</if>
            <if test="volume != null">#{volume},</if>
            <if test="delFlag != null and delFlag != ''">#{delFlag},</if>
            <if test="updateBy != null">#{updateBy},</if>
            <if test="updateTime != null">#{updateTime},</if>
            <if test="createBy != null">#{createBy},</if>
            <if test="createTime != null">#{createTime},</if>
            <if test="isupload != null">#{isupload},</if>
            <if test="uploadTime != null">#{uploadTime},</if>
            <if test="speakvariable != null">#{speakvariable},</if>
         </trim>
    </insert>
    <update id="updateIvrLibScriptmodel" parameterType="IvrLibScriptmodel">
        update ivr_lib_scriptmodel
        <trim prefix="SET" suffixOverrides=",">
            <if test="orgid != null">orgid = #{orgid},</if>
            <if test="scriptid != null">scriptid = #{scriptid},</if>
            <if test="speaktype != null">speaktype = #{speaktype},</if>
            <if test="speakbody != null">speakbody = #{speakbody},</if>
            <if test="voicetype != null">voicetype = #{voicetype},</if>
            <if test="speakfilepath != null">speakfilepath = #{speakfilepath},</if>
            <if test="manufactor != null">manufactor = #{manufactor},</if>
            <if test="soundtype != null">soundtype = #{soundtype},</if>
            <if test="speechnum != null">speechnum = #{speechnum},</if>
            <if test="pitch != null">pitch = #{pitch},</if>
            <if test="volume != null">volume = #{volume},</if>
            <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if>
            <if test="updateBy != null">update_by = #{updateBy},</if>
            <if test="updateTime != null">update_time = #{updateTime},</if>
            <if test="createBy != null">create_by = #{createBy},</if>
            <if test="createTime != null">create_time = #{createTime},</if>
            <if test="isupload != null">isupload = #{isupload},</if>
            <if test="uploadTime != null">upload_time = #{uploadTime},</if>
            <if test="speakvariable != null">speakvariable = #{speakvariable},</if>
        </trim>
        where modelid = #{modelid}
    </update>
    <delete id="deleteIvrLibScriptmodelByModelid" parameterType="Long">
        delete from ivr_lib_scriptmodel where modelid = #{modelid}
    </delete>
    <delete id="deleteIvrLibScriptmodelByModelids" parameterType="String">
        delete from ivr_lib_scriptmodel where modelid in
        <foreach item="modelid" collection="array" open="(" separator="," close=")">
            #{modelid}
        </foreach>
    </delete>
</mapper>
smartor/src/main/resources/mapper/smartor/IvrSceneExecuteconfigMapper.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,136 @@
<?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.smartor.mapper.IvrSceneExecuteconfigMapper">
    <resultMap type="IvrSceneExecuteconfig" id="IvrSceneExecuteconfigResult">
        <result property="scenecfgid"    column="scenecfgid"    />
        <result property="orgid"    column="orgid"    />
        <result property="sourcetype"    column="sourcetype"    />
        <result property="globalid"    column="globalid"    />
        <result property="flownodebranchid"    column="flownodebranchid"    />
        <result property="executetype"    column="executetype"    />
        <result property="executeconditions"    column="executeconditions"    />
        <result property="executeresult"    column="executeresult"    />
        <result property="delFlag"    column="del_flag"    />
        <result property="updateBy"    column="update_by"    />
        <result property="updateTime"    column="update_time"    />
        <result property="createBy"    column="create_by"    />
        <result property="createTime"    column="create_time"    />
        <result property="isupload"    column="isupload"    />
        <result property="uploadTime"    column="upload_time"    />
        <result property="sceneid"    column="sceneid"    />
        <result property="executeconditionscode"    column="executeconditionscode"    />
        <result property="executeresultcode"    column="executeresultcode"    />
        <result property="flownodeid"    column="flownodeid"    />
    </resultMap>
    <sql id="selectIvrSceneExecuteconfigVo">
        select scenecfgid, orgid, sourcetype, globalid, flownodebranchid, executetype, executeconditions, executeresult, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, sceneid, executeconditionscode, executeresultcode, flownodeid from ivr_scene_executeconfig
    </sql>
    <select id="selectIvrSceneExecuteconfigList" parameterType="IvrSceneExecuteconfig" resultMap="IvrSceneExecuteconfigResult">
        <include refid="selectIvrSceneExecuteconfigVo"/>
        <where>
            <if test="orgid != null  and orgid != ''"> and orgid = #{orgid}</if>
            <if test="sourcetype != null "> and sourcetype = #{sourcetype}</if>
            <if test="globalid != null "> and globalid = #{globalid}</if>
            <if test="flownodebranchid != null "> and flownodebranchid = #{flownodebranchid}</if>
            <if test="executetype != null "> and executetype = #{executetype}</if>
            <if test="executeconditions != null  and executeconditions != ''"> and executeconditions = #{executeconditions}</if>
            <if test="executeresult != null  and executeresult != ''"> and executeresult = #{executeresult}</if>
            <if test="isupload != null "> and isupload = #{isupload}</if>
            <if test="uploadTime != null "> and upload_time = #{uploadTime}</if>
            <if test="sceneid != null "> and sceneid = #{sceneid}</if>
            <if test="executeconditionscode != null  and executeconditionscode != ''"> and executeconditionscode = #{executeconditionscode}</if>
            <if test="executeresultcode != null  and executeresultcode != ''"> and executeresultcode = #{executeresultcode}</if>
            <if test="flownodeid != null "> and flownodeid = #{flownodeid}</if>
        </where>
    </select>
    <select id="selectIvrSceneExecuteconfigByScenecfgid" parameterType="Long" resultMap="IvrSceneExecuteconfigResult">
        <include refid="selectIvrSceneExecuteconfigVo"/>
        where scenecfgid = #{scenecfgid}
    </select>
    <insert id="insertIvrSceneExecuteconfig" parameterType="IvrSceneExecuteconfig" useGeneratedKeys="true" keyProperty="scenecfgid">
        insert into ivr_scene_executeconfig
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="orgid != null">orgid,</if>
            <if test="sourcetype != null">sourcetype,</if>
            <if test="globalid != null">globalid,</if>
            <if test="flownodebranchid != null">flownodebranchid,</if>
            <if test="executetype != null">executetype,</if>
            <if test="executeconditions != null">executeconditions,</if>
            <if test="executeresult != null">executeresult,</if>
            <if test="delFlag != null and delFlag != ''">del_flag,</if>
            <if test="updateBy != null">update_by,</if>
            <if test="updateTime != null">update_time,</if>
            <if test="createBy != null">create_by,</if>
            <if test="createTime != null">create_time,</if>
            <if test="isupload != null">isupload,</if>
            <if test="uploadTime != null">upload_time,</if>
            <if test="sceneid != null">sceneid,</if>
            <if test="executeconditionscode != null">executeconditionscode,</if>
            <if test="executeresultcode != null">executeresultcode,</if>
            <if test="flownodeid != null">flownodeid,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="orgid != null">#{orgid},</if>
            <if test="sourcetype != null">#{sourcetype},</if>
            <if test="globalid != null">#{globalid},</if>
            <if test="flownodebranchid != null">#{flownodebranchid},</if>
            <if test="executetype != null">#{executetype},</if>
            <if test="executeconditions != null">#{executeconditions},</if>
            <if test="executeresult != null">#{executeresult},</if>
            <if test="delFlag != null and delFlag != ''">#{delFlag},</if>
            <if test="updateBy != null">#{updateBy},</if>
            <if test="updateTime != null">#{updateTime},</if>
            <if test="createBy != null">#{createBy},</if>
            <if test="createTime != null">#{createTime},</if>
            <if test="isupload != null">#{isupload},</if>
            <if test="uploadTime != null">#{uploadTime},</if>
            <if test="sceneid != null">#{sceneid},</if>
            <if test="executeconditionscode != null">#{executeconditionscode},</if>
            <if test="executeresultcode != null">#{executeresultcode},</if>
            <if test="flownodeid != null">#{flownodeid},</if>
         </trim>
    </insert>
    <update id="updateIvrSceneExecuteconfig" parameterType="IvrSceneExecuteconfig">
        update ivr_scene_executeconfig
        <trim prefix="SET" suffixOverrides=",">
            <if test="orgid != null">orgid = #{orgid},</if>
            <if test="sourcetype != null">sourcetype = #{sourcetype},</if>
            <if test="globalid != null">globalid = #{globalid},</if>
            <if test="flownodebranchid != null">flownodebranchid = #{flownodebranchid},</if>
            <if test="executetype != null">executetype = #{executetype},</if>
            <if test="executeconditions != null">executeconditions = #{executeconditions},</if>
            <if test="executeresult != null">executeresult = #{executeresult},</if>
            <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if>
            <if test="updateBy != null">update_by = #{updateBy},</if>
            <if test="updateTime != null">update_time = #{updateTime},</if>
            <if test="createBy != null">create_by = #{createBy},</if>
            <if test="createTime != null">create_time = #{createTime},</if>
            <if test="isupload != null">isupload = #{isupload},</if>
            <if test="uploadTime != null">upload_time = #{uploadTime},</if>
            <if test="sceneid != null">sceneid = #{sceneid},</if>
            <if test="executeconditionscode != null">executeconditionscode = #{executeconditionscode},</if>
            <if test="executeresultcode != null">executeresultcode = #{executeresultcode},</if>
            <if test="flownodeid != null">flownodeid = #{flownodeid},</if>
        </trim>
        where scenecfgid = #{scenecfgid}
    </update>
    <delete id="deleteIvrSceneExecuteconfigByScenecfgid" parameterType="Long">
        delete from ivr_scene_executeconfig where scenecfgid = #{scenecfgid}
    </delete>
    <delete id="deleteIvrSceneExecuteconfigByScenecfgids" parameterType="String">
        delete from ivr_scene_executeconfig where scenecfgid in
        <foreach item="scenecfgid" collection="array" open="(" separator="," close=")">
            #{scenecfgid}
        </foreach>
    </delete>
</mapper>
smartor/src/main/resources/mapper/smartor/IvrSceneFlowMapper.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,136 @@
<?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.smartor.mapper.IvrSceneFlowMapper">
    <resultMap type="IvrSceneFlow" id="IvrSceneFlowResult">
        <result property="flowid"    column="flowid"    />
        <result property="orgid"    column="orgid"    />
        <result property="delFlag"    column="del_flag"    />
        <result property="updateBy"    column="update_by"    />
        <result property="updateTime"    column="update_time"    />
        <result property="createBy"    column="create_by"    />
        <result property="createTime"    column="create_time"    />
        <result property="isupload"    column="isupload"    />
        <result property="uploadTime"    column="upload_time"    />
        <result property="sceneid"    column="sceneid"    />
        <result property="flowname"    column="flowname"    />
        <result property="relevantqsid"    column="relevantqsid"    />
        <result property="relevanttopicid"    column="relevanttopicid"    />
        <result property="relevanttopiccode"    column="relevanttopiccode"    />
        <result property="ischeck"    column="ischeck"    />
        <result property="flowdata"    column="flowdata"    />
        <result property="sort"    column="sort"    />
        <result property="startnode"    column="startnode"    />
        <result property="oldid"    column="oldid"    />
    </resultMap>
    <sql id="selectIvrSceneFlowVo">
        select flowid, orgid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, sceneid, flowname, relevantqsid, relevanttopicid, relevanttopiccode, ischeck, flowdata, sort, startnode, oldid from ivr_scene_flow
    </sql>
    <select id="selectIvrSceneFlowList" parameterType="IvrSceneFlow" resultMap="IvrSceneFlowResult">
        <include refid="selectIvrSceneFlowVo"/>
        <where>
            <if test="orgid != null  and orgid != ''"> and orgid = #{orgid}</if>
            <if test="isupload != null "> and isupload = #{isupload}</if>
            <if test="uploadTime != null "> and upload_time = #{uploadTime}</if>
            <if test="sceneid != null "> and sceneid = #{sceneid}</if>
            <if test="flowname != null  and flowname != ''"> and flowname like concat('%', #{flowname}, '%')</if>
            <if test="relevantqsid != null "> and relevantqsid = #{relevantqsid}</if>
            <if test="relevanttopicid != null  and relevanttopicid != ''"> and relevanttopicid = #{relevanttopicid}</if>
            <if test="relevanttopiccode != null  and relevanttopiccode != ''"> and relevanttopiccode = #{relevanttopiccode}</if>
            <if test="ischeck != null "> and ischeck = #{ischeck}</if>
            <if test="flowdata != null  and flowdata != ''"> and flowdata = #{flowdata}</if>
            <if test="sort != null "> and sort = #{sort}</if>
            <if test="startnode != null "> and startnode = #{startnode}</if>
            <if test="oldid != null "> and oldid = #{oldid}</if>
        </where>
    </select>
    <select id="selectIvrSceneFlowByFlowid" parameterType="Long" resultMap="IvrSceneFlowResult">
        <include refid="selectIvrSceneFlowVo"/>
        where flowid = #{flowid}
    </select>
    <insert id="insertIvrSceneFlow" parameterType="IvrSceneFlow" useGeneratedKeys="true" keyProperty="flowid">
        insert into ivr_scene_flow
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="orgid != null">orgid,</if>
            <if test="delFlag != null and delFlag != ''">del_flag,</if>
            <if test="updateBy != null">update_by,</if>
            <if test="updateTime != null">update_time,</if>
            <if test="createBy != null">create_by,</if>
            <if test="createTime != null">create_time,</if>
            <if test="isupload != null">isupload,</if>
            <if test="uploadTime != null">upload_time,</if>
            <if test="sceneid != null">sceneid,</if>
            <if test="flowname != null">flowname,</if>
            <if test="relevantqsid != null">relevantqsid,</if>
            <if test="relevanttopicid != null">relevanttopicid,</if>
            <if test="relevanttopiccode != null">relevanttopiccode,</if>
            <if test="ischeck != null">ischeck,</if>
            <if test="flowdata != null">flowdata,</if>
            <if test="sort != null">sort,</if>
            <if test="startnode != null">startnode,</if>
            <if test="oldid != null">oldid,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="orgid != null">#{orgid},</if>
            <if test="delFlag != null and delFlag != ''">#{delFlag},</if>
            <if test="updateBy != null">#{updateBy},</if>
            <if test="updateTime != null">#{updateTime},</if>
            <if test="createBy != null">#{createBy},</if>
            <if test="createTime != null">#{createTime},</if>
            <if test="isupload != null">#{isupload},</if>
            <if test="uploadTime != null">#{uploadTime},</if>
            <if test="sceneid != null">#{sceneid},</if>
            <if test="flowname != null">#{flowname},</if>
            <if test="relevantqsid != null">#{relevantqsid},</if>
            <if test="relevanttopicid != null">#{relevanttopicid},</if>
            <if test="relevanttopiccode != null">#{relevanttopiccode},</if>
            <if test="ischeck != null">#{ischeck},</if>
            <if test="flowdata != null">#{flowdata},</if>
            <if test="sort != null">#{sort},</if>
            <if test="startnode != null">#{startnode},</if>
            <if test="oldid != null">#{oldid},</if>
         </trim>
    </insert>
    <update id="updateIvrSceneFlow" parameterType="IvrSceneFlow">
        update ivr_scene_flow
        <trim prefix="SET" suffixOverrides=",">
            <if test="orgid != null">orgid = #{orgid},</if>
            <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if>
            <if test="updateBy != null">update_by = #{updateBy},</if>
            <if test="updateTime != null">update_time = #{updateTime},</if>
            <if test="createBy != null">create_by = #{createBy},</if>
            <if test="createTime != null">create_time = #{createTime},</if>
            <if test="isupload != null">isupload = #{isupload},</if>
            <if test="uploadTime != null">upload_time = #{uploadTime},</if>
            <if test="sceneid != null">sceneid = #{sceneid},</if>
            <if test="flowname != null">flowname = #{flowname},</if>
            <if test="relevantqsid != null">relevantqsid = #{relevantqsid},</if>
            <if test="relevanttopicid != null">relevanttopicid = #{relevanttopicid},</if>
            <if test="relevanttopiccode != null">relevanttopiccode = #{relevanttopiccode},</if>
            <if test="ischeck != null">ischeck = #{ischeck},</if>
            <if test="flowdata != null">flowdata = #{flowdata},</if>
            <if test="sort != null">sort = #{sort},</if>
            <if test="startnode != null">startnode = #{startnode},</if>
            <if test="oldid != null">oldid = #{oldid},</if>
        </trim>
        where flowid = #{flowid}
    </update>
    <delete id="deleteIvrSceneFlowByFlowid" parameterType="Long">
        delete from ivr_scene_flow where flowid = #{flowid}
    </delete>
    <delete id="deleteIvrSceneFlowByFlowids" parameterType="String">
        delete from ivr_scene_flow where flowid in
        <foreach item="flowid" collection="array" open="(" separator="," close=")">
            #{flowid}
        </foreach>
    </delete>
</mapper>
smartor/src/main/resources/mapper/smartor/IvrSceneFlownodeMapper.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,156 @@
<?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.smartor.mapper.IvrSceneFlownodeMapper">
    <resultMap type="IvrSceneFlownode" id="IvrSceneFlownodeResult">
        <result property="flownodeid"    column="flownodeid"    />
        <result property="orgid"    column="orgid"    />
        <result property="delFlag"    column="del_flag"    />
        <result property="updateBy"    column="update_by"    />
        <result property="updateTime"    column="update_time"    />
        <result property="createBy"    column="create_by"    />
        <result property="createTime"    column="create_time"    />
        <result property="isupload"    column="isupload"    />
        <result property="uploadTime"    column="upload_time"    />
        <result property="sceneid"    column="sceneid"    />
        <result property="flowid"    column="flowid"    />
        <result property="nodetype"    column="nodetype"    />
        <result property="nodename"    column="nodename"    />
        <result property="maxsentencesilence"    column="maxsentencesilence"    />
        <result property="waittime"    column="waittime"    />
        <result property="corpustype"    column="corpustype"    />
        <result property="corpuswaittime"    column="corpuswaittime"    />
        <result property="maxrepetition"    column="maxrepetition"    />
        <result property="jumptype"    column="jumptype"    />
        <result property="jumpto"    column="jumpto"    />
        <result property="flowcode"    column="flowcode"    />
        <result property="targetid"    column="targetid"    />
        <result property="oldid"    column="oldid"    />
    </resultMap>
    <sql id="selectIvrSceneFlownodeVo">
        select flownodeid, orgid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, sceneid, flowid, nodetype, nodename, maxsentencesilence, waittime, corpustype, corpuswaittime, maxrepetition, jumptype, jumpto, flowcode, targetid, oldid from ivr_scene_flownode
    </sql>
    <select id="selectIvrSceneFlownodeList" parameterType="IvrSceneFlownode" resultMap="IvrSceneFlownodeResult">
        <include refid="selectIvrSceneFlownodeVo"/>
        <where>
            <if test="orgid != null  and orgid != ''"> and orgid = #{orgid}</if>
            <if test="isupload != null "> and isupload = #{isupload}</if>
            <if test="uploadTime != null "> and upload_time = #{uploadTime}</if>
            <if test="sceneid != null "> and sceneid = #{sceneid}</if>
            <if test="flowid != null "> and flowid = #{flowid}</if>
            <if test="nodetype != null "> and nodetype = #{nodetype}</if>
            <if test="nodename != null  and nodename != ''"> and nodename like concat('%', #{nodename}, '%')</if>
            <if test="maxsentencesilence != null "> and maxsentencesilence = #{maxsentencesilence}</if>
            <if test="waittime != null  and waittime != ''"> and waittime = #{waittime}</if>
            <if test="corpustype != null "> and corpustype = #{corpustype}</if>
            <if test="corpuswaittime != null  and corpuswaittime != ''"> and corpuswaittime = #{corpuswaittime}</if>
            <if test="maxrepetition != null "> and maxrepetition = #{maxrepetition}</if>
            <if test="jumptype != null "> and jumptype = #{jumptype}</if>
            <if test="jumpto != null  and jumpto != ''"> and jumpto = #{jumpto}</if>
            <if test="flowcode != null  and flowcode != ''"> and flowcode = #{flowcode}</if>
            <if test="targetid != null "> and targetid = #{targetid}</if>
            <if test="oldid != null "> and oldid = #{oldid}</if>
        </where>
    </select>
    <select id="selectIvrSceneFlownodeByFlownodeid" parameterType="Long" resultMap="IvrSceneFlownodeResult">
        <include refid="selectIvrSceneFlownodeVo"/>
        where flownodeid = #{flownodeid}
    </select>
    <insert id="insertIvrSceneFlownode" parameterType="IvrSceneFlownode" useGeneratedKeys="true" keyProperty="flownodeid">
        insert into ivr_scene_flownode
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="orgid != null">orgid,</if>
            <if test="delFlag != null and delFlag != ''">del_flag,</if>
            <if test="updateBy != null">update_by,</if>
            <if test="updateTime != null">update_time,</if>
            <if test="createBy != null">create_by,</if>
            <if test="createTime != null">create_time,</if>
            <if test="isupload != null">isupload,</if>
            <if test="uploadTime != null">upload_time,</if>
            <if test="sceneid != null">sceneid,</if>
            <if test="flowid != null">flowid,</if>
            <if test="nodetype != null">nodetype,</if>
            <if test="nodename != null">nodename,</if>
            <if test="maxsentencesilence != null">maxsentencesilence,</if>
            <if test="waittime != null">waittime,</if>
            <if test="corpustype != null">corpustype,</if>
            <if test="corpuswaittime != null">corpuswaittime,</if>
            <if test="maxrepetition != null">maxrepetition,</if>
            <if test="jumptype != null">jumptype,</if>
            <if test="jumpto != null">jumpto,</if>
            <if test="flowcode != null">flowcode,</if>
            <if test="targetid != null">targetid,</if>
            <if test="oldid != null">oldid,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="orgid != null">#{orgid},</if>
            <if test="delFlag != null and delFlag != ''">#{delFlag},</if>
            <if test="updateBy != null">#{updateBy},</if>
            <if test="updateTime != null">#{updateTime},</if>
            <if test="createBy != null">#{createBy},</if>
            <if test="createTime != null">#{createTime},</if>
            <if test="isupload != null">#{isupload},</if>
            <if test="uploadTime != null">#{uploadTime},</if>
            <if test="sceneid != null">#{sceneid},</if>
            <if test="flowid != null">#{flowid},</if>
            <if test="nodetype != null">#{nodetype},</if>
            <if test="nodename != null">#{nodename},</if>
            <if test="maxsentencesilence != null">#{maxsentencesilence},</if>
            <if test="waittime != null">#{waittime},</if>
            <if test="corpustype != null">#{corpustype},</if>
            <if test="corpuswaittime != null">#{corpuswaittime},</if>
            <if test="maxrepetition != null">#{maxrepetition},</if>
            <if test="jumptype != null">#{jumptype},</if>
            <if test="jumpto != null">#{jumpto},</if>
            <if test="flowcode != null">#{flowcode},</if>
            <if test="targetid != null">#{targetid},</if>
            <if test="oldid != null">#{oldid},</if>
         </trim>
    </insert>
    <update id="updateIvrSceneFlownode" parameterType="IvrSceneFlownode">
        update ivr_scene_flownode
        <trim prefix="SET" suffixOverrides=",">
            <if test="orgid != null">orgid = #{orgid},</if>
            <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if>
            <if test="updateBy != null">update_by = #{updateBy},</if>
            <if test="updateTime != null">update_time = #{updateTime},</if>
            <if test="createBy != null">create_by = #{createBy},</if>
            <if test="createTime != null">create_time = #{createTime},</if>
            <if test="isupload != null">isupload = #{isupload},</if>
            <if test="uploadTime != null">upload_time = #{uploadTime},</if>
            <if test="sceneid != null">sceneid = #{sceneid},</if>
            <if test="flowid != null">flowid = #{flowid},</if>
            <if test="nodetype != null">nodetype = #{nodetype},</if>
            <if test="nodename != null">nodename = #{nodename},</if>
            <if test="maxsentencesilence != null">maxsentencesilence = #{maxsentencesilence},</if>
            <if test="waittime != null">waittime = #{waittime},</if>
            <if test="corpustype != null">corpustype = #{corpustype},</if>
            <if test="corpuswaittime != null">corpuswaittime = #{corpuswaittime},</if>
            <if test="maxrepetition != null">maxrepetition = #{maxrepetition},</if>
            <if test="jumptype != null">jumptype = #{jumptype},</if>
            <if test="jumpto != null">jumpto = #{jumpto},</if>
            <if test="flowcode != null">flowcode = #{flowcode},</if>
            <if test="targetid != null">targetid = #{targetid},</if>
            <if test="oldid != null">oldid = #{oldid},</if>
        </trim>
        where flownodeid = #{flownodeid}
    </update>
    <delete id="deleteIvrSceneFlownodeByFlownodeid" parameterType="Long">
        delete from ivr_scene_flownode where flownodeid = #{flownodeid}
    </delete>
    <delete id="deleteIvrSceneFlownodeByFlownodeids" parameterType="String">
        delete from ivr_scene_flownode where flownodeid in
        <foreach item="flownodeid" collection="array" open="(" separator="," close=")">
            #{flownodeid}
        </foreach>
    </delete>
</mapper>
smartor/src/main/resources/mapper/smartor/IvrSceneFlownodebranchMapper.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,131 @@
<?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.smartor.mapper.IvrSceneFlownodebranchMapper">
    <resultMap type="IvrSceneFlownodebranch" id="IvrSceneFlownodebranchResult">
        <result property="branchid"    column="branchid"    />
        <result property="orgid"    column="orgid"    />
        <result property="delFlag"    column="del_flag"    />
        <result property="updateBy"    column="update_by"    />
        <result property="updateTime"    column="update_time"    />
        <result property="createBy"    column="create_by"    />
        <result property="createTime"    column="create_time"    />
        <result property="isupload"    column="isupload"    />
        <result property="uploadTime"    column="upload_time"    />
        <result property="sceneid"    column="sceneid"    />
        <result property="flowid"    column="flowid"    />
        <result property="flownodeid"    column="flownodeid"    />
        <result property="branchname"    column="branchname"    />
        <result property="isenable"    column="isenable"    />
        <result property="sort"    column="sort"    />
        <result property="nodetype"    column="nodetype"    />
        <result property="targetid"    column="targetid"    />
        <result property="oldid"    column="oldid"    />
    </resultMap>
    <sql id="selectIvrSceneFlownodebranchVo">
        select branchid, orgid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, sceneid, flowid, flownodeid, branchname, isenable, sort, nodetype, targetid, oldid from ivr_scene_flownodebranch
    </sql>
    <select id="selectIvrSceneFlownodebranchList" parameterType="IvrSceneFlownodebranch" resultMap="IvrSceneFlownodebranchResult">
        <include refid="selectIvrSceneFlownodebranchVo"/>
        <where>
            <if test="orgid != null  and orgid != ''"> and orgid = #{orgid}</if>
            <if test="isupload != null "> and isupload = #{isupload}</if>
            <if test="uploadTime != null "> and upload_time = #{uploadTime}</if>
            <if test="sceneid != null "> and sceneid = #{sceneid}</if>
            <if test="flowid != null "> and flowid = #{flowid}</if>
            <if test="flownodeid != null "> and flownodeid = #{flownodeid}</if>
            <if test="branchname != null  and branchname != ''"> and branchname like concat('%', #{branchname}, '%')</if>
            <if test="isenable != null "> and isenable = #{isenable}</if>
            <if test="sort != null "> and sort = #{sort}</if>
            <if test="nodetype != null "> and nodetype = #{nodetype}</if>
            <if test="targetid != null "> and targetid = #{targetid}</if>
            <if test="oldid != null "> and oldid = #{oldid}</if>
        </where>
    </select>
    <select id="selectIvrSceneFlownodebranchByBranchid" parameterType="Long" resultMap="IvrSceneFlownodebranchResult">
        <include refid="selectIvrSceneFlownodebranchVo"/>
        where branchid = #{branchid}
    </select>
    <insert id="insertIvrSceneFlownodebranch" parameterType="IvrSceneFlownodebranch" useGeneratedKeys="true" keyProperty="branchid">
        insert into ivr_scene_flownodebranch
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="orgid != null">orgid,</if>
            <if test="delFlag != null and delFlag != ''">del_flag,</if>
            <if test="updateBy != null">update_by,</if>
            <if test="updateTime != null">update_time,</if>
            <if test="createBy != null">create_by,</if>
            <if test="createTime != null">create_time,</if>
            <if test="isupload != null">isupload,</if>
            <if test="uploadTime != null">upload_time,</if>
            <if test="sceneid != null">sceneid,</if>
            <if test="flowid != null">flowid,</if>
            <if test="flownodeid != null">flownodeid,</if>
            <if test="branchname != null">branchname,</if>
            <if test="isenable != null">isenable,</if>
            <if test="sort != null">sort,</if>
            <if test="nodetype != null">nodetype,</if>
            <if test="targetid != null">targetid,</if>
            <if test="oldid != null">oldid,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="orgid != null">#{orgid},</if>
            <if test="delFlag != null and delFlag != ''">#{delFlag},</if>
            <if test="updateBy != null">#{updateBy},</if>
            <if test="updateTime != null">#{updateTime},</if>
            <if test="createBy != null">#{createBy},</if>
            <if test="createTime != null">#{createTime},</if>
            <if test="isupload != null">#{isupload},</if>
            <if test="uploadTime != null">#{uploadTime},</if>
            <if test="sceneid != null">#{sceneid},</if>
            <if test="flowid != null">#{flowid},</if>
            <if test="flownodeid != null">#{flownodeid},</if>
            <if test="branchname != null">#{branchname},</if>
            <if test="isenable != null">#{isenable},</if>
            <if test="sort != null">#{sort},</if>
            <if test="nodetype != null">#{nodetype},</if>
            <if test="targetid != null">#{targetid},</if>
            <if test="oldid != null">#{oldid},</if>
         </trim>
    </insert>
    <update id="updateIvrSceneFlownodebranch" parameterType="IvrSceneFlownodebranch">
        update ivr_scene_flownodebranch
        <trim prefix="SET" suffixOverrides=",">
            <if test="orgid != null">orgid = #{orgid},</if>
            <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if>
            <if test="updateBy != null">update_by = #{updateBy},</if>
            <if test="updateTime != null">update_time = #{updateTime},</if>
            <if test="createBy != null">create_by = #{createBy},</if>
            <if test="createTime != null">create_time = #{createTime},</if>
            <if test="isupload != null">isupload = #{isupload},</if>
            <if test="uploadTime != null">upload_time = #{uploadTime},</if>
            <if test="sceneid != null">sceneid = #{sceneid},</if>
            <if test="flowid != null">flowid = #{flowid},</if>
            <if test="flownodeid != null">flownodeid = #{flownodeid},</if>
            <if test="branchname != null">branchname = #{branchname},</if>
            <if test="isenable != null">isenable = #{isenable},</if>
            <if test="sort != null">sort = #{sort},</if>
            <if test="nodetype != null">nodetype = #{nodetype},</if>
            <if test="targetid != null">targetid = #{targetid},</if>
            <if test="oldid != null">oldid = #{oldid},</if>
        </trim>
        where branchid = #{branchid}
    </update>
    <delete id="deleteIvrSceneFlownodebranchByBranchid" parameterType="Long">
        delete from ivr_scene_flownodebranch where branchid = #{branchid}
    </delete>
    <delete id="deleteIvrSceneFlownodebranchByBranchids" parameterType="String">
        delete from ivr_scene_flownodebranch where branchid in
        <foreach item="branchid" collection="array" open="(" separator="," close=")">
            #{branchid}
        </foreach>
    </delete>
</mapper>
smartor/src/main/resources/mapper/smartor/IvrSceneGlobalconfigMapper.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,126 @@
<?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.smartor.mapper.IvrSceneGlobalconfigMapper">
    <resultMap type="IvrSceneGlobalconfig" id="IvrSceneGlobalconfigResult">
        <result property="gblconfigid"    column="gblconfigid"    />
        <result property="sceneid"    column="sceneid"    />
        <result property="configname"    column="configname"    />
        <result property="description"    column="description"    />
        <result property="sort"    column="sort"    />
        <result property="executetype"    column="executetype"    />
        <result property="isenable"    column="isenable"    />
        <result property="jumpto"    column="jumpto"    />
        <result property="repeatcount"    column="repeatcount"    />
        <result property="orgid"    column="orgid"    />
        <result property="delFlag"    column="del_flag"    />
        <result property="updateBy"    column="update_by"    />
        <result property="updateTime"    column="update_time"    />
        <result property="createBy"    column="create_by"    />
        <result property="createTime"    column="create_time"    />
        <result property="isupload"    column="isupload"    />
        <result property="uploadTime"    column="upload_time"    />
    </resultMap>
    <sql id="selectIvrSceneGlobalconfigVo">
        select gblconfigid, sceneid, configname, description, sort, executetype, isenable, jumpto, repeatcount, orgid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time from ivr_scene_globalconfig
    </sql>
    <select id="selectIvrSceneGlobalconfigList" parameterType="IvrSceneGlobalconfig" resultMap="IvrSceneGlobalconfigResult">
        <include refid="selectIvrSceneGlobalconfigVo"/>
        <where>
            <if test="sceneid != null "> and sceneid = #{sceneid}</if>
            <if test="configname != null  and configname != ''"> and configname like concat('%', #{configname}, '%')</if>
            <if test="description != null  and description != ''"> and description = #{description}</if>
            <if test="sort != null "> and sort = #{sort}</if>
            <if test="executetype != null "> and executetype = #{executetype}</if>
            <if test="isenable != null "> and isenable = #{isenable}</if>
            <if test="jumpto != null "> and jumpto = #{jumpto}</if>
            <if test="repeatcount != null "> and repeatcount = #{repeatcount}</if>
            <if test="orgid != null  and orgid != ''"> and orgid = #{orgid}</if>
            <if test="isupload != null "> and isupload = #{isupload}</if>
            <if test="uploadTime != null "> and upload_time = #{uploadTime}</if>
        </where>
    </select>
    <select id="selectIvrSceneGlobalconfigByGblconfigid" parameterType="Long" resultMap="IvrSceneGlobalconfigResult">
        <include refid="selectIvrSceneGlobalconfigVo"/>
        where gblconfigid = #{gblconfigid}
    </select>
    <insert id="insertIvrSceneGlobalconfig" parameterType="IvrSceneGlobalconfig" useGeneratedKeys="true" keyProperty="gblconfigid">
        insert into ivr_scene_globalconfig
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="sceneid != null">sceneid,</if>
            <if test="configname != null">configname,</if>
            <if test="description != null">description,</if>
            <if test="sort != null">sort,</if>
            <if test="executetype != null">executetype,</if>
            <if test="isenable != null">isenable,</if>
            <if test="jumpto != null">jumpto,</if>
            <if test="repeatcount != null">repeatcount,</if>
            <if test="orgid != null">orgid,</if>
            <if test="delFlag != null and delFlag != ''">del_flag,</if>
            <if test="updateBy != null">update_by,</if>
            <if test="updateTime != null">update_time,</if>
            <if test="createBy != null">create_by,</if>
            <if test="createTime != null">create_time,</if>
            <if test="isupload != null">isupload,</if>
            <if test="uploadTime != null">upload_time,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="sceneid != null">#{sceneid},</if>
            <if test="configname != null">#{configname},</if>
            <if test="description != null">#{description},</if>
            <if test="sort != null">#{sort},</if>
            <if test="executetype != null">#{executetype},</if>
            <if test="isenable != null">#{isenable},</if>
            <if test="jumpto != null">#{jumpto},</if>
            <if test="repeatcount != null">#{repeatcount},</if>
            <if test="orgid != null">#{orgid},</if>
            <if test="delFlag != null and delFlag != ''">#{delFlag},</if>
            <if test="updateBy != null">#{updateBy},</if>
            <if test="updateTime != null">#{updateTime},</if>
            <if test="createBy != null">#{createBy},</if>
            <if test="createTime != null">#{createTime},</if>
            <if test="isupload != null">#{isupload},</if>
            <if test="uploadTime != null">#{uploadTime},</if>
         </trim>
    </insert>
    <update id="updateIvrSceneGlobalconfig" parameterType="IvrSceneGlobalconfig">
        update ivr_scene_globalconfig
        <trim prefix="SET" suffixOverrides=",">
            <if test="sceneid != null">sceneid = #{sceneid},</if>
            <if test="configname != null">configname = #{configname},</if>
            <if test="description != null">description = #{description},</if>
            <if test="sort != null">sort = #{sort},</if>
            <if test="executetype != null">executetype = #{executetype},</if>
            <if test="isenable != null">isenable = #{isenable},</if>
            <if test="jumpto != null">jumpto = #{jumpto},</if>
            <if test="repeatcount != null">repeatcount = #{repeatcount},</if>
            <if test="orgid != null">orgid = #{orgid},</if>
            <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if>
            <if test="updateBy != null">update_by = #{updateBy},</if>
            <if test="updateTime != null">update_time = #{updateTime},</if>
            <if test="createBy != null">create_by = #{createBy},</if>
            <if test="createTime != null">create_time = #{createTime},</if>
            <if test="isupload != null">isupload = #{isupload},</if>
            <if test="uploadTime != null">upload_time = #{uploadTime},</if>
        </trim>
        where gblconfigid = #{gblconfigid}
    </update>
    <delete id="deleteIvrSceneGlobalconfigByGblconfigid" parameterType="Long">
        delete from ivr_scene_globalconfig where gblconfigid = #{gblconfigid}
    </delete>
    <delete id="deleteIvrSceneGlobalconfigByGblconfigids" parameterType="String">
        delete from ivr_scene_globalconfig where gblconfigid in
        <foreach item="gblconfigid" collection="array" open="(" separator="," close=")">
            #{gblconfigid}
        </foreach>
    </delete>
</mapper>
smartor/src/main/resources/mapper/smartor/IvrSceneIntentMapper.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,161 @@
<?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.smartor.mapper.IvrSceneIntentMapper">
    <resultMap type="IvrSceneIntent" id="IvrSceneIntentResult">
        <result property="sceneintentid"    column="sceneintentid"    />
        <result property="orgid"    column="orgid"    />
        <result property="sourcetype"    column="sourcetype"    />
        <result property="gbiconfigid"    column="gbiconfigid"    />
        <result property="sceneid"    column="sceneid"    />
        <result property="flowid"    column="flowid"    />
        <result property="flownodeid"    column="flownodeid"    />
        <result property="flownodebranchid"    column="flownodebranchid"    />
        <result property="templateid"    column="templateid"    />
        <result property="intentionname"    column="intentionname"    />
        <result property="intentionword"    column="intentionword"    />
        <result property="conditionstype"    column="conditionstype"    />
        <result property="verifyrule"    column="verifyrule"    />
        <result property="orand"    column="orand"    />
        <result property="parentresultconditionsid"    column="parentresultconditionsid"    />
        <result property="groupnumber"    column="groupnumber"    />
        <result property="grouporand"    column="grouporand"    />
        <result property="delFlag"    column="del_flag"    />
        <result property="updateBy"    column="update_by"    />
        <result property="updateTime"    column="update_time"    />
        <result property="createBy"    column="create_by"    />
        <result property="createTime"    column="create_time"    />
        <result property="isupload"    column="isupload"    />
        <result property="uploadTime"    column="upload_time"    />
    </resultMap>
    <sql id="selectIvrSceneIntentVo">
        select sceneintentid, orgid, sourcetype, gbiconfigid, sceneid, flowid, flownodeid, flownodebranchid, templateid, intentionname, intentionword, conditionstype, verifyrule, orand, parentresultconditionsid, groupnumber, grouporand, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time from ivr_scene_intent
    </sql>
    <select id="selectIvrSceneIntentList" parameterType="IvrSceneIntent" resultMap="IvrSceneIntentResult">
        <include refid="selectIvrSceneIntentVo"/>
        <where>
            <if test="orgid != null  and orgid != ''"> and orgid = #{orgid}</if>
            <if test="sourcetype != null "> and sourcetype = #{sourcetype}</if>
            <if test="gbiconfigid != null "> and gbiconfigid = #{gbiconfigid}</if>
            <if test="sceneid != null "> and sceneid = #{sceneid}</if>
            <if test="flowid != null "> and flowid = #{flowid}</if>
            <if test="flownodeid != null "> and flownodeid = #{flownodeid}</if>
            <if test="flownodebranchid != null "> and flownodebranchid = #{flownodebranchid}</if>
            <if test="templateid != null "> and templateid = #{templateid}</if>
            <if test="intentionname != null  and intentionname != ''"> and intentionname like concat('%', #{intentionname}, '%')</if>
            <if test="intentionword != null  and intentionword != ''"> and intentionword = #{intentionword}</if>
            <if test="conditionstype != null "> and conditionstype = #{conditionstype}</if>
            <if test="verifyrule != null  and verifyrule != ''"> and verifyrule = #{verifyrule}</if>
            <if test="orand != null "> and orand = #{orand}</if>
            <if test="parentresultconditionsid != null  and parentresultconditionsid != ''"> and parentresultconditionsid = #{parentresultconditionsid}</if>
            <if test="groupnumber != null "> and groupnumber = #{groupnumber}</if>
            <if test="grouporand != null "> and grouporand = #{grouporand}</if>
            <if test="isupload != null "> and isupload = #{isupload}</if>
            <if test="uploadTime != null "> and upload_time = #{uploadTime}</if>
        </where>
    </select>
    <select id="selectIvrSceneIntentBySceneintentid" parameterType="Long" resultMap="IvrSceneIntentResult">
        <include refid="selectIvrSceneIntentVo"/>
        where sceneintentid = #{sceneintentid}
    </select>
    <insert id="insertIvrSceneIntent" parameterType="IvrSceneIntent" useGeneratedKeys="true" keyProperty="sceneintentid">
        insert into ivr_scene_intent
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="orgid != null">orgid,</if>
            <if test="sourcetype != null">sourcetype,</if>
            <if test="gbiconfigid != null">gbiconfigid,</if>
            <if test="sceneid != null">sceneid,</if>
            <if test="flowid != null">flowid,</if>
            <if test="flownodeid != null">flownodeid,</if>
            <if test="flownodebranchid != null">flownodebranchid,</if>
            <if test="templateid != null">templateid,</if>
            <if test="intentionname != null">intentionname,</if>
            <if test="intentionword != null">intentionword,</if>
            <if test="conditionstype != null">conditionstype,</if>
            <if test="verifyrule != null">verifyrule,</if>
            <if test="orand != null">orand,</if>
            <if test="parentresultconditionsid != null">parentresultconditionsid,</if>
            <if test="groupnumber != null">groupnumber,</if>
            <if test="grouporand != null">grouporand,</if>
            <if test="delFlag != null and delFlag != ''">del_flag,</if>
            <if test="updateBy != null">update_by,</if>
            <if test="updateTime != null">update_time,</if>
            <if test="createBy != null">create_by,</if>
            <if test="createTime != null">create_time,</if>
            <if test="isupload != null">isupload,</if>
            <if test="uploadTime != null">upload_time,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="orgid != null">#{orgid},</if>
            <if test="sourcetype != null">#{sourcetype},</if>
            <if test="gbiconfigid != null">#{gbiconfigid},</if>
            <if test="sceneid != null">#{sceneid},</if>
            <if test="flowid != null">#{flowid},</if>
            <if test="flownodeid != null">#{flownodeid},</if>
            <if test="flownodebranchid != null">#{flownodebranchid},</if>
            <if test="templateid != null">#{templateid},</if>
            <if test="intentionname != null">#{intentionname},</if>
            <if test="intentionword != null">#{intentionword},</if>
            <if test="conditionstype != null">#{conditionstype},</if>
            <if test="verifyrule != null">#{verifyrule},</if>
            <if test="orand != null">#{orand},</if>
            <if test="parentresultconditionsid != null">#{parentresultconditionsid},</if>
            <if test="groupnumber != null">#{groupnumber},</if>
            <if test="grouporand != null">#{grouporand},</if>
            <if test="delFlag != null and delFlag != ''">#{delFlag},</if>
            <if test="updateBy != null">#{updateBy},</if>
            <if test="updateTime != null">#{updateTime},</if>
            <if test="createBy != null">#{createBy},</if>
            <if test="createTime != null">#{createTime},</if>
            <if test="isupload != null">#{isupload},</if>
            <if test="uploadTime != null">#{uploadTime},</if>
         </trim>
    </insert>
    <update id="updateIvrSceneIntent" parameterType="IvrSceneIntent">
        update ivr_scene_intent
        <trim prefix="SET" suffixOverrides=",">
            <if test="orgid != null">orgid = #{orgid},</if>
            <if test="sourcetype != null">sourcetype = #{sourcetype},</if>
            <if test="gbiconfigid != null">gbiconfigid = #{gbiconfigid},</if>
            <if test="sceneid != null">sceneid = #{sceneid},</if>
            <if test="flowid != null">flowid = #{flowid},</if>
            <if test="flownodeid != null">flownodeid = #{flownodeid},</if>
            <if test="flownodebranchid != null">flownodebranchid = #{flownodebranchid},</if>
            <if test="templateid != null">templateid = #{templateid},</if>
            <if test="intentionname != null">intentionname = #{intentionname},</if>
            <if test="intentionword != null">intentionword = #{intentionword},</if>
            <if test="conditionstype != null">conditionstype = #{conditionstype},</if>
            <if test="verifyrule != null">verifyrule = #{verifyrule},</if>
            <if test="orand != null">orand = #{orand},</if>
            <if test="parentresultconditionsid != null">parentresultconditionsid = #{parentresultconditionsid},</if>
            <if test="groupnumber != null">groupnumber = #{groupnumber},</if>
            <if test="grouporand != null">grouporand = #{grouporand},</if>
            <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if>
            <if test="updateBy != null">update_by = #{updateBy},</if>
            <if test="updateTime != null">update_time = #{updateTime},</if>
            <if test="createBy != null">create_by = #{createBy},</if>
            <if test="createTime != null">create_time = #{createTime},</if>
            <if test="isupload != null">isupload = #{isupload},</if>
            <if test="uploadTime != null">upload_time = #{uploadTime},</if>
        </trim>
        where sceneintentid = #{sceneintentid}
    </update>
    <delete id="deleteIvrSceneIntentBySceneintentid" parameterType="Long">
        delete from ivr_scene_intent where sceneintentid = #{sceneintentid}
    </delete>
    <delete id="deleteIvrSceneIntentBySceneintentids" parameterType="String">
        delete from ivr_scene_intent where sceneintentid in
        <foreach item="sceneintentid" collection="array" open="(" separator="," close=")">
            #{sceneintentid}
        </foreach>
    </delete>
</mapper>
smartor/src/main/resources/mapper/smartor/IvrSceneMapper.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,151 @@
<?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.smartor.mapper.IvrSceneMapper">
    <resultMap type="IvrScene" id="IvrSceneResult">
        <result property="sceneid"    column="sceneid"    />
        <result property="categoryid"    column="categoryid"    />
        <result property="scenename"    column="scenename"    />
        <result property="version"    column="version"    />
        <result property="relationid"    column="relationid"    />
        <result property="seatsid"    column="seatsid"    />
        <result property="scenecode"    column="scenecode"    />
        <result property="versionenable"    column="versionenable"    />
        <result property="isenable"    column="isenable"    />
        <result property="isrelease"    column="isrelease"    />
        <result property="executecycle"    column="executecycle"    />
        <result property="isreview"    column="isreview"    />
        <result property="orgid"    column="orgid"    />
        <result property="delFlag"    column="del_flag"    />
        <result property="updateBy"    column="update_by"    />
        <result property="updateTime"    column="update_time"    />
        <result property="createBy"    column="create_by"    />
        <result property="createTime"    column="create_time"    />
        <result property="isupload"    column="isupload"    />
        <result property="uploadTime"    column="upload_time"    />
        <result property="releasenotes"    column="releasenotes"    />
        <result property="draftid"    column="draftid"    />
    </resultMap>
    <sql id="selectIvrSceneVo">
        select sceneid, categoryid, scenename, version, relationid, seatsid, scenecode, versionenable, isenable, isrelease, executecycle, isreview, orgid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, releasenotes, draftid from ivr_scene
    </sql>
    <select id="selectIvrSceneList" parameterType="IvrScene" resultMap="IvrSceneResult">
        <include refid="selectIvrSceneVo"/>
        <where>
            <if test="categoryid != null  and categoryid != ''"> and categoryid = #{categoryid}</if>
            <if test="scenename != null  and scenename != ''"> and scenename like concat('%', #{scenename}, '%')</if>
            <if test="version != null  and version != ''"> and version = #{version}</if>
            <if test="relationid != null "> and relationid = #{relationid}</if>
            <if test="seatsid != null  and seatsid != ''"> and seatsid = #{seatsid}</if>
            <if test="scenecode != null  and scenecode != ''"> and scenecode = #{scenecode}</if>
            <if test="versionenable != null "> and versionenable = #{versionenable}</if>
            <if test="isenable != null "> and isenable = #{isenable}</if>
            <if test="isrelease != null  and isrelease != ''"> and isrelease = #{isrelease}</if>
            <if test="executecycle != null "> and executecycle = #{executecycle}</if>
            <if test="isreview != null "> and isreview = #{isreview}</if>
            <if test="orgid != null  and orgid != ''"> and orgid = #{orgid}</if>
            <if test="isupload != null "> and isupload = #{isupload}</if>
            <if test="uploadTime != null "> and upload_time = #{uploadTime}</if>
            <if test="releasenotes != null  and releasenotes != ''"> and releasenotes = #{releasenotes}</if>
            <if test="draftid != null "> and draftid = #{draftid}</if>
        </where>
    </select>
    <select id="selectIvrSceneBySceneid" parameterType="Long" resultMap="IvrSceneResult">
        <include refid="selectIvrSceneVo"/>
        where sceneid = #{sceneid}
    </select>
    <insert id="insertIvrScene" parameterType="IvrScene" useGeneratedKeys="true" keyProperty="sceneid">
        insert into ivr_scene
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="categoryid != null">categoryid,</if>
            <if test="scenename != null">scenename,</if>
            <if test="version != null">version,</if>
            <if test="relationid != null">relationid,</if>
            <if test="seatsid != null">seatsid,</if>
            <if test="scenecode != null">scenecode,</if>
            <if test="versionenable != null">versionenable,</if>
            <if test="isenable != null">isenable,</if>
            <if test="isrelease != null">isrelease,</if>
            <if test="executecycle != null">executecycle,</if>
            <if test="isreview != null">isreview,</if>
            <if test="orgid != null">orgid,</if>
            <if test="delFlag != null and delFlag != ''">del_flag,</if>
            <if test="updateBy != null">update_by,</if>
            <if test="updateTime != null">update_time,</if>
            <if test="createBy != null">create_by,</if>
            <if test="createTime != null">create_time,</if>
            <if test="isupload != null">isupload,</if>
            <if test="uploadTime != null">upload_time,</if>
            <if test="releasenotes != null">releasenotes,</if>
            <if test="draftid != null">draftid,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="categoryid != null">#{categoryid},</if>
            <if test="scenename != null">#{scenename},</if>
            <if test="version != null">#{version},</if>
            <if test="relationid != null">#{relationid},</if>
            <if test="seatsid != null">#{seatsid},</if>
            <if test="scenecode != null">#{scenecode},</if>
            <if test="versionenable != null">#{versionenable},</if>
            <if test="isenable != null">#{isenable},</if>
            <if test="isrelease != null">#{isrelease},</if>
            <if test="executecycle != null">#{executecycle},</if>
            <if test="isreview != null">#{isreview},</if>
            <if test="orgid != null">#{orgid},</if>
            <if test="delFlag != null and delFlag != ''">#{delFlag},</if>
            <if test="updateBy != null">#{updateBy},</if>
            <if test="updateTime != null">#{updateTime},</if>
            <if test="createBy != null">#{createBy},</if>
            <if test="createTime != null">#{createTime},</if>
            <if test="isupload != null">#{isupload},</if>
            <if test="uploadTime != null">#{uploadTime},</if>
            <if test="releasenotes != null">#{releasenotes},</if>
            <if test="draftid != null">#{draftid},</if>
         </trim>
    </insert>
    <update id="updateIvrScene" parameterType="IvrScene">
        update ivr_scene
        <trim prefix="SET" suffixOverrides=",">
            <if test="categoryid != null">categoryid = #{categoryid},</if>
            <if test="scenename != null">scenename = #{scenename},</if>
            <if test="version != null">version = #{version},</if>
            <if test="relationid != null">relationid = #{relationid},</if>
            <if test="seatsid != null">seatsid = #{seatsid},</if>
            <if test="scenecode != null">scenecode = #{scenecode},</if>
            <if test="versionenable != null">versionenable = #{versionenable},</if>
            <if test="isenable != null">isenable = #{isenable},</if>
            <if test="isrelease != null">isrelease = #{isrelease},</if>
            <if test="executecycle != null">executecycle = #{executecycle},</if>
            <if test="isreview != null">isreview = #{isreview},</if>
            <if test="orgid != null">orgid = #{orgid},</if>
            <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if>
            <if test="updateBy != null">update_by = #{updateBy},</if>
            <if test="updateTime != null">update_time = #{updateTime},</if>
            <if test="createBy != null">create_by = #{createBy},</if>
            <if test="createTime != null">create_time = #{createTime},</if>
            <if test="isupload != null">isupload = #{isupload},</if>
            <if test="uploadTime != null">upload_time = #{uploadTime},</if>
            <if test="releasenotes != null">releasenotes = #{releasenotes},</if>
            <if test="draftid != null">draftid = #{draftid},</if>
        </trim>
        where sceneid = #{sceneid}
    </update>
    <delete id="deleteIvrSceneBySceneid" parameterType="Long">
        delete from ivr_scene where sceneid = #{sceneid}
    </delete>
    <delete id="deleteIvrSceneBySceneids" parameterType="String">
        delete from ivr_scene where sceneid in
        <foreach item="sceneid" collection="array" open="(" separator="," close=")">
            #{sceneid}
        </foreach>
    </delete>
</mapper>
smartor/src/main/resources/mapper/smartor/IvrSceneRecallMapper.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,111 @@
<?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.smartor.mapper.IvrSceneRecallMapper">
    <resultMap type="IvrSceneRecall" id="IvrSceneRecallResult">
        <result property="recallid"    column="recallid"    />
        <result property="orgid"    column="orgid"    />
        <result property="sceneid"    column="sceneid"    />
        <result property="recalltype"    column="recalltype"    />
        <result property="recallcount"    column="recallcount"    />
        <result property="recallinterval"    column="recallinterval"    />
        <result property="recallunit"    column="recallunit"    />
        <result property="delFlag"    column="del_flag"    />
        <result property="updateBy"    column="update_by"    />
        <result property="updateTime"    column="update_time"    />
        <result property="createBy"    column="create_by"    />
        <result property="createTime"    column="create_time"    />
        <result property="isupload"    column="isupload"    />
        <result property="uploadTime"    column="upload_time"    />
    </resultMap>
    <sql id="selectIvrSceneRecallVo">
        select recallid, orgid, sceneid, recalltype, recallcount, recallinterval, recallunit, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time from ivr_scene_recall
    </sql>
    <select id="selectIvrSceneRecallList" parameterType="IvrSceneRecall" resultMap="IvrSceneRecallResult">
        <include refid="selectIvrSceneRecallVo"/>
        <where>
            <if test="orgid != null  and orgid != ''"> and orgid = #{orgid}</if>
            <if test="sceneid != null "> and sceneid = #{sceneid}</if>
            <if test="recalltype != null  and recalltype != ''"> and recalltype = #{recalltype}</if>
            <if test="recallcount != null "> and recallcount = #{recallcount}</if>
            <if test="recallinterval != null "> and recallinterval = #{recallinterval}</if>
            <if test="recallunit != null "> and recallunit = #{recallunit}</if>
            <if test="isupload != null "> and isupload = #{isupload}</if>
            <if test="uploadTime != null "> and upload_time = #{uploadTime}</if>
        </where>
    </select>
    <select id="selectIvrSceneRecallByRecallid" parameterType="Long" resultMap="IvrSceneRecallResult">
        <include refid="selectIvrSceneRecallVo"/>
        where recallid = #{recallid}
    </select>
    <insert id="insertIvrSceneRecall" parameterType="IvrSceneRecall" useGeneratedKeys="true" keyProperty="recallid">
        insert into ivr_scene_recall
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="orgid != null">orgid,</if>
            <if test="sceneid != null">sceneid,</if>
            <if test="recalltype != null">recalltype,</if>
            <if test="recallcount != null">recallcount,</if>
            <if test="recallinterval != null">recallinterval,</if>
            <if test="recallunit != null">recallunit,</if>
            <if test="delFlag != null and delFlag != ''">del_flag,</if>
            <if test="updateBy != null">update_by,</if>
            <if test="updateTime != null">update_time,</if>
            <if test="createBy != null">create_by,</if>
            <if test="createTime != null">create_time,</if>
            <if test="isupload != null">isupload,</if>
            <if test="uploadTime != null">upload_time,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="orgid != null">#{orgid},</if>
            <if test="sceneid != null">#{sceneid},</if>
            <if test="recalltype != null">#{recalltype},</if>
            <if test="recallcount != null">#{recallcount},</if>
            <if test="recallinterval != null">#{recallinterval},</if>
            <if test="recallunit != null">#{recallunit},</if>
            <if test="delFlag != null and delFlag != ''">#{delFlag},</if>
            <if test="updateBy != null">#{updateBy},</if>
            <if test="updateTime != null">#{updateTime},</if>
            <if test="createBy != null">#{createBy},</if>
            <if test="createTime != null">#{createTime},</if>
            <if test="isupload != null">#{isupload},</if>
            <if test="uploadTime != null">#{uploadTime},</if>
         </trim>
    </insert>
    <update id="updateIvrSceneRecall" parameterType="IvrSceneRecall">
        update ivr_scene_recall
        <trim prefix="SET" suffixOverrides=",">
            <if test="orgid != null">orgid = #{orgid},</if>
            <if test="sceneid != null">sceneid = #{sceneid},</if>
            <if test="recalltype != null">recalltype = #{recalltype},</if>
            <if test="recallcount != null">recallcount = #{recallcount},</if>
            <if test="recallinterval != null">recallinterval = #{recallinterval},</if>
            <if test="recallunit != null">recallunit = #{recallunit},</if>
            <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if>
            <if test="updateBy != null">update_by = #{updateBy},</if>
            <if test="updateTime != null">update_time = #{updateTime},</if>
            <if test="createBy != null">create_by = #{createBy},</if>
            <if test="createTime != null">create_time = #{createTime},</if>
            <if test="isupload != null">isupload = #{isupload},</if>
            <if test="uploadTime != null">upload_time = #{uploadTime},</if>
        </trim>
        where recallid = #{recallid}
    </update>
    <delete id="deleteIvrSceneRecallByRecallid" parameterType="Long">
        delete from ivr_scene_recall where recallid = #{recallid}
    </delete>
    <delete id="deleteIvrSceneRecallByRecallids" parameterType="String">
        delete from ivr_scene_recall where recallid in
        <foreach item="recallid" collection="array" open="(" separator="," close=")">
            #{recallid}
        </foreach>
    </delete>
</mapper>
smartor/src/main/resources/mapper/smartor/IvrSceneScriptMapper.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,131 @@
<?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.smartor.mapper.IvrSceneScriptMapper">
    <resultMap type="IvrSceneScript" id="IvrSceneScriptResult">
        <result property="scenescrid"    column="scenescrid"    />
        <result property="orgid"    column="orgid"    />
        <result property="sourcetype"    column="sourcetype"    />
        <result property="globalid"    column="globalid"    />
        <result property="sceneid"    column="sceneid"    />
        <result property="flowid"    column="flowid"    />
        <result property="flownodeid"    column="flownodeid"    />
        <result property="templateid"    column="templateid"    />
        <result property="speakbody"    column="speakbody"    />
        <result property="speakfilepath"    column="speakfilepath"    />
        <result property="speakname"    column="speakname"    />
        <result property="delFlag"    column="del_flag"    />
        <result property="updateBy"    column="update_by"    />
        <result property="updateTime"    column="update_time"    />
        <result property="createBy"    column="create_by"    />
        <result property="createTime"    column="create_time"    />
        <result property="isupload"    column="isupload"    />
        <result property="uploadTime"    column="upload_time"    />
    </resultMap>
    <sql id="selectIvrSceneScriptVo">
        select scenescrid, orgid, sourcetype, globalid, sceneid, flowid, flownodeid, templateid, speakbody, speakfilepath, speakname, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time from ivr_scene_script
    </sql>
    <select id="selectIvrSceneScriptList" parameterType="IvrSceneScript" resultMap="IvrSceneScriptResult">
        <include refid="selectIvrSceneScriptVo"/>
        <where>
            <if test="orgid != null  and orgid != ''"> and orgid = #{orgid}</if>
            <if test="sourcetype != null "> and sourcetype = #{sourcetype}</if>
            <if test="globalid != null "> and globalid = #{globalid}</if>
            <if test="sceneid != null "> and sceneid = #{sceneid}</if>
            <if test="flowid != null "> and flowid = #{flowid}</if>
            <if test="flownodeid != null "> and flownodeid = #{flownodeid}</if>
            <if test="templateid != null "> and templateid = #{templateid}</if>
            <if test="speakbody != null  and speakbody != ''"> and speakbody = #{speakbody}</if>
            <if test="speakfilepath != null  and speakfilepath != ''"> and speakfilepath = #{speakfilepath}</if>
            <if test="speakname != null  and speakname != ''"> and speakname like concat('%', #{speakname}, '%')</if>
            <if test="isupload != null "> and isupload = #{isupload}</if>
            <if test="uploadTime != null "> and upload_time = #{uploadTime}</if>
        </where>
    </select>
    <select id="selectIvrSceneScriptByScenescrid" parameterType="Long" resultMap="IvrSceneScriptResult">
        <include refid="selectIvrSceneScriptVo"/>
        where scenescrid = #{scenescrid}
    </select>
    <insert id="insertIvrSceneScript" parameterType="IvrSceneScript" useGeneratedKeys="true" keyProperty="scenescrid">
        insert into ivr_scene_script
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="orgid != null">orgid,</if>
            <if test="sourcetype != null">sourcetype,</if>
            <if test="globalid != null">globalid,</if>
            <if test="sceneid != null">sceneid,</if>
            <if test="flowid != null">flowid,</if>
            <if test="flownodeid != null">flownodeid,</if>
            <if test="templateid != null">templateid,</if>
            <if test="speakbody != null">speakbody,</if>
            <if test="speakfilepath != null">speakfilepath,</if>
            <if test="speakname != null">speakname,</if>
            <if test="delFlag != null and delFlag != ''">del_flag,</if>
            <if test="updateBy != null">update_by,</if>
            <if test="updateTime != null">update_time,</if>
            <if test="createBy != null">create_by,</if>
            <if test="createTime != null">create_time,</if>
            <if test="isupload != null">isupload,</if>
            <if test="uploadTime != null">upload_time,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="orgid != null">#{orgid},</if>
            <if test="sourcetype != null">#{sourcetype},</if>
            <if test="globalid != null">#{globalid},</if>
            <if test="sceneid != null">#{sceneid},</if>
            <if test="flowid != null">#{flowid},</if>
            <if test="flownodeid != null">#{flownodeid},</if>
            <if test="templateid != null">#{templateid},</if>
            <if test="speakbody != null">#{speakbody},</if>
            <if test="speakfilepath != null">#{speakfilepath},</if>
            <if test="speakname != null">#{speakname},</if>
            <if test="delFlag != null and delFlag != ''">#{delFlag},</if>
            <if test="updateBy != null">#{updateBy},</if>
            <if test="updateTime != null">#{updateTime},</if>
            <if test="createBy != null">#{createBy},</if>
            <if test="createTime != null">#{createTime},</if>
            <if test="isupload != null">#{isupload},</if>
            <if test="uploadTime != null">#{uploadTime},</if>
         </trim>
    </insert>
    <update id="updateIvrSceneScript" parameterType="IvrSceneScript">
        update ivr_scene_script
        <trim prefix="SET" suffixOverrides=",">
            <if test="orgid != null">orgid = #{orgid},</if>
            <if test="sourcetype != null">sourcetype = #{sourcetype},</if>
            <if test="globalid != null">globalid = #{globalid},</if>
            <if test="sceneid != null">sceneid = #{sceneid},</if>
            <if test="flowid != null">flowid = #{flowid},</if>
            <if test="flownodeid != null">flownodeid = #{flownodeid},</if>
            <if test="templateid != null">templateid = #{templateid},</if>
            <if test="speakbody != null">speakbody = #{speakbody},</if>
            <if test="speakfilepath != null">speakfilepath = #{speakfilepath},</if>
            <if test="speakname != null">speakname = #{speakname},</if>
            <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if>
            <if test="updateBy != null">update_by = #{updateBy},</if>
            <if test="updateTime != null">update_time = #{updateTime},</if>
            <if test="createBy != null">create_by = #{createBy},</if>
            <if test="createTime != null">create_time = #{createTime},</if>
            <if test="isupload != null">isupload = #{isupload},</if>
            <if test="uploadTime != null">upload_time = #{uploadTime},</if>
        </trim>
        where scenescrid = #{scenescrid}
    </update>
    <delete id="deleteIvrSceneScriptByScenescrid" parameterType="Long">
        delete from ivr_scene_script where scenescrid = #{scenescrid}
    </delete>
    <delete id="deleteIvrSceneScriptByScenescrids" parameterType="String">
        delete from ivr_scene_script where scenescrid in
        <foreach item="scenescrid" collection="array" open="(" separator="," close=")">
            #{scenescrid}
        </foreach>
    </delete>
</mapper>
smartor/src/main/resources/mapper/smartor/IvrSceneScriptmodelMapper.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,146 @@
<?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.smartor.mapper.IvrSceneScriptmodelMapper">
    <resultMap type="IvrSceneScriptmodel" id="IvrSceneScriptmodelResult">
        <result property="scenemodid"    column="scenemodid"    />
        <result property="orgid"    column="orgid"    />
        <result property="scenescrid"    column="scenescrid"    />
        <result property="speaktype"    column="speaktype"    />
        <result property="speakbody"    column="speakbody"    />
        <result property="voicetype"    column="voicetype"    />
        <result property="speakfilepath"    column="speakfilepath"    />
        <result property="manufactor"    column="manufactor"    />
        <result property="soundtype"    column="soundtype"    />
        <result property="speechnum"    column="speechnum"    />
        <result property="pitch"    column="pitch"    />
        <result property="volume"    column="volume"    />
        <result property="delFlag"    column="del_flag"    />
        <result property="updateBy"    column="update_by"    />
        <result property="updateTime"    column="update_time"    />
        <result property="createBy"    column="create_by"    />
        <result property="createTime"    column="create_time"    />
        <result property="isupload"    column="isupload"    />
        <result property="uploadTime"    column="upload_time"    />
        <result property="speakvariable"    column="speakvariable"    />
        <result property="sceneid"    column="sceneid"    />
    </resultMap>
    <sql id="selectIvrSceneScriptmodelVo">
        select scenemodid, orgid, scenescrid, speaktype, speakbody, voicetype, speakfilepath, manufactor, soundtype, speechnum, pitch, volume, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, speakvariable, sceneid from ivr_scene_scriptmodel
    </sql>
    <select id="selectIvrSceneScriptmodelList" parameterType="IvrSceneScriptmodel" resultMap="IvrSceneScriptmodelResult">
        <include refid="selectIvrSceneScriptmodelVo"/>
        <where>
            <if test="orgid != null  and orgid != ''"> and orgid = #{orgid}</if>
            <if test="scenescrid != null "> and scenescrid = #{scenescrid}</if>
            <if test="speaktype != null "> and speaktype = #{speaktype}</if>
            <if test="speakbody != null  and speakbody != ''"> and speakbody = #{speakbody}</if>
            <if test="voicetype != null "> and voicetype = #{voicetype}</if>
            <if test="speakfilepath != null  and speakfilepath != ''"> and speakfilepath = #{speakfilepath}</if>
            <if test="manufactor != null  and manufactor != ''"> and manufactor = #{manufactor}</if>
            <if test="soundtype != null  and soundtype != ''"> and soundtype = #{soundtype}</if>
            <if test="speechnum != null "> and speechnum = #{speechnum}</if>
            <if test="pitch != null "> and pitch = #{pitch}</if>
            <if test="volume != null "> and volume = #{volume}</if>
            <if test="isupload != null "> and isupload = #{isupload}</if>
            <if test="uploadTime != null "> and upload_time = #{uploadTime}</if>
            <if test="speakvariable != null  and speakvariable != ''"> and speakvariable = #{speakvariable}</if>
            <if test="sceneid != null "> and sceneid = #{sceneid}</if>
        </where>
    </select>
    <select id="selectIvrSceneScriptmodelByScenemodid" parameterType="Long" resultMap="IvrSceneScriptmodelResult">
        <include refid="selectIvrSceneScriptmodelVo"/>
        where scenemodid = #{scenemodid}
    </select>
    <insert id="insertIvrSceneScriptmodel" parameterType="IvrSceneScriptmodel" useGeneratedKeys="true" keyProperty="scenemodid">
        insert into ivr_scene_scriptmodel
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="orgid != null">orgid,</if>
            <if test="scenescrid != null">scenescrid,</if>
            <if test="speaktype != null">speaktype,</if>
            <if test="speakbody != null">speakbody,</if>
            <if test="voicetype != null">voicetype,</if>
            <if test="speakfilepath != null">speakfilepath,</if>
            <if test="manufactor != null">manufactor,</if>
            <if test="soundtype != null">soundtype,</if>
            <if test="speechnum != null">speechnum,</if>
            <if test="pitch != null">pitch,</if>
            <if test="volume != null">volume,</if>
            <if test="delFlag != null and delFlag != ''">del_flag,</if>
            <if test="updateBy != null">update_by,</if>
            <if test="updateTime != null">update_time,</if>
            <if test="createBy != null">create_by,</if>
            <if test="createTime != null">create_time,</if>
            <if test="isupload != null">isupload,</if>
            <if test="uploadTime != null">upload_time,</if>
            <if test="speakvariable != null">speakvariable,</if>
            <if test="sceneid != null">sceneid,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="orgid != null">#{orgid},</if>
            <if test="scenescrid != null">#{scenescrid},</if>
            <if test="speaktype != null">#{speaktype},</if>
            <if test="speakbody != null">#{speakbody},</if>
            <if test="voicetype != null">#{voicetype},</if>
            <if test="speakfilepath != null">#{speakfilepath},</if>
            <if test="manufactor != null">#{manufactor},</if>
            <if test="soundtype != null">#{soundtype},</if>
            <if test="speechnum != null">#{speechnum},</if>
            <if test="pitch != null">#{pitch},</if>
            <if test="volume != null">#{volume},</if>
            <if test="delFlag != null and delFlag != ''">#{delFlag},</if>
            <if test="updateBy != null">#{updateBy},</if>
            <if test="updateTime != null">#{updateTime},</if>
            <if test="createBy != null">#{createBy},</if>
            <if test="createTime != null">#{createTime},</if>
            <if test="isupload != null">#{isupload},</if>
            <if test="uploadTime != null">#{uploadTime},</if>
            <if test="speakvariable != null">#{speakvariable},</if>
            <if test="sceneid != null">#{sceneid},</if>
         </trim>
    </insert>
    <update id="updateIvrSceneScriptmodel" parameterType="IvrSceneScriptmodel">
        update ivr_scene_scriptmodel
        <trim prefix="SET" suffixOverrides=",">
            <if test="orgid != null">orgid = #{orgid},</if>
            <if test="scenescrid != null">scenescrid = #{scenescrid},</if>
            <if test="speaktype != null">speaktype = #{speaktype},</if>
            <if test="speakbody != null">speakbody = #{speakbody},</if>
            <if test="voicetype != null">voicetype = #{voicetype},</if>
            <if test="speakfilepath != null">speakfilepath = #{speakfilepath},</if>
            <if test="manufactor != null">manufactor = #{manufactor},</if>
            <if test="soundtype != null">soundtype = #{soundtype},</if>
            <if test="speechnum != null">speechnum = #{speechnum},</if>
            <if test="pitch != null">pitch = #{pitch},</if>
            <if test="volume != null">volume = #{volume},</if>
            <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if>
            <if test="updateBy != null">update_by = #{updateBy},</if>
            <if test="updateTime != null">update_time = #{updateTime},</if>
            <if test="createBy != null">create_by = #{createBy},</if>
            <if test="createTime != null">create_time = #{createTime},</if>
            <if test="isupload != null">isupload = #{isupload},</if>
            <if test="uploadTime != null">upload_time = #{uploadTime},</if>
            <if test="speakvariable != null">speakvariable = #{speakvariable},</if>
            <if test="sceneid != null">sceneid = #{sceneid},</if>
        </trim>
        where scenemodid = #{scenemodid}
    </update>
    <delete id="deleteIvrSceneScriptmodelByScenemodid" parameterType="Long">
        delete from ivr_scene_scriptmodel where scenemodid = #{scenemodid}
    </delete>
    <delete id="deleteIvrSceneScriptmodelByScenemodids" parameterType="String">
        delete from ivr_scene_scriptmodel where scenemodid in
        <foreach item="scenemodid" collection="array" open="(" separator="," close=")">
            #{scenemodid}
        </foreach>
    </delete>
</mapper>
smartor/src/main/resources/mapper/smartor/IvrScenecategoryMapper.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,91 @@
<?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.smartor.mapper.IvrScenecategoryMapper">
    <resultMap type="IvrScenecategory" id="IvrScenecategoryResult">
        <result property="scenecatid"    column="scenecatid"    />
        <result property="categoryname"    column="categoryname"    />
        <result property="orgid"    column="orgid"    />
        <result property="delFlag"    column="del_flag"    />
        <result property="updateBy"    column="update_by"    />
        <result property="updateTime"    column="update_time"    />
        <result property="createBy"    column="create_by"    />
        <result property="createTime"    column="create_time"    />
        <result property="isupload"    column="isupload"    />
        <result property="uploadTime"    column="upload_time"    />
    </resultMap>
    <sql id="selectIvrScenecategoryVo">
        select scenecatid, categoryname, orgid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time from ivr_scenecategory
    </sql>
    <select id="selectIvrScenecategoryList" parameterType="IvrScenecategory" resultMap="IvrScenecategoryResult">
        <include refid="selectIvrScenecategoryVo"/>
        <where>
            <if test="categoryname != null  and categoryname != ''"> and categoryname like concat('%', #{categoryname}, '%')</if>
            <if test="orgid != null  and orgid != ''"> and orgid = #{orgid}</if>
            <if test="isupload != null "> and isupload = #{isupload}</if>
            <if test="uploadTime != null "> and upload_time = #{uploadTime}</if>
        </where>
    </select>
    <select id="selectIvrScenecategoryByScenecatid" parameterType="Long" resultMap="IvrScenecategoryResult">
        <include refid="selectIvrScenecategoryVo"/>
        where scenecatid = #{scenecatid}
    </select>
    <insert id="insertIvrScenecategory" parameterType="IvrScenecategory" useGeneratedKeys="true" keyProperty="scenecatid">
        insert into ivr_scenecategory
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="categoryname != null">categoryname,</if>
            <if test="orgid != null">orgid,</if>
            <if test="delFlag != null and delFlag != ''">del_flag,</if>
            <if test="updateBy != null">update_by,</if>
            <if test="updateTime != null">update_time,</if>
            <if test="createBy != null">create_by,</if>
            <if test="createTime != null">create_time,</if>
            <if test="isupload != null">isupload,</if>
            <if test="uploadTime != null">upload_time,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="categoryname != null">#{categoryname},</if>
            <if test="orgid != null">#{orgid},</if>
            <if test="delFlag != null and delFlag != ''">#{delFlag},</if>
            <if test="updateBy != null">#{updateBy},</if>
            <if test="updateTime != null">#{updateTime},</if>
            <if test="createBy != null">#{createBy},</if>
            <if test="createTime != null">#{createTime},</if>
            <if test="isupload != null">#{isupload},</if>
            <if test="uploadTime != null">#{uploadTime},</if>
         </trim>
    </insert>
    <update id="updateIvrScenecategory" parameterType="IvrScenecategory">
        update ivr_scenecategory
        <trim prefix="SET" suffixOverrides=",">
            <if test="categoryname != null">categoryname = #{categoryname},</if>
            <if test="orgid != null">orgid = #{orgid},</if>
            <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if>
            <if test="updateBy != null">update_by = #{updateBy},</if>
            <if test="updateTime != null">update_time = #{updateTime},</if>
            <if test="createBy != null">create_by = #{createBy},</if>
            <if test="createTime != null">create_time = #{createTime},</if>
            <if test="isupload != null">isupload = #{isupload},</if>
            <if test="uploadTime != null">upload_time = #{uploadTime},</if>
        </trim>
        where scenecatid = #{scenecatid}
    </update>
    <delete id="deleteIvrScenecategoryByScenecatid" parameterType="Long">
        delete from ivr_scenecategory where scenecatid = #{scenecatid}
    </delete>
    <delete id="deleteIvrScenecategoryByScenecatids" parameterType="String">
        delete from ivr_scenecategory where scenecatid in
        <foreach item="scenecatid" collection="array" open="(" separator="," close=")">
            #{scenecatid}
        </foreach>
    </delete>
</mapper>
smartor/src/main/resources/mapper/smartor/SmsParamMapper.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,103 @@
<?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.smartor.mapper.SmsParamMapper">
    <resultMap type="SmsParam" id="SmsParamResult">
        <result property="paramid"    column="paramid"    />
        <result property="paramname"    column="paramname"    />
        <result property="paramval"    column="paramval"    />
        <result property="descirbe"    column="descirbe"    />
        <result property="usestatus"    column="usestatus"    />
        <result property="delFlag"    column="del_flag"    />
        <result property="updateBy"    column="update_by"    />
        <result property="updateTime"    column="update_time"    />
        <result property="createBy"    column="create_by"    />
        <result property="createTime"    column="create_time"    />
        <result property="isupload"    column="isupload"    />
        <result property="uploadTime"    column="upload_time"    />
    </resultMap>
    <sql id="selectSmsParamVo">
        select paramid, paramname, paramval, descirbe, usestatus, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time from sms_param
    </sql>
    <select id="selectSmsParamList" parameterType="SmsParam" resultMap="SmsParamResult">
        <include refid="selectSmsParamVo"/>
        <where>
            <if test="paramname != null  and paramname != ''"> and paramname like concat('%', #{paramname}, '%')</if>
            <if test="paramval != null  and paramval != ''"> and paramval = #{paramval}</if>
            <if test="descirbe != null  and descirbe != ''"> and descirbe = #{descirbe}</if>
            <if test="usestatus != null "> and usestatus = #{usestatus}</if>
            <if test="isupload != null "> and isupload = #{isupload}</if>
            <if test="uploadTime != null "> and upload_time = #{uploadTime}</if>
        </where>
    </select>
    <select id="selectSmsParamByParamid" parameterType="Long" resultMap="SmsParamResult">
        <include refid="selectSmsParamVo"/>
        where paramid = #{paramid}
    </select>
    <insert id="insertSmsParam" parameterType="SmsParam">
        insert into sms_param
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="paramid != null">paramid,</if>
            <if test="paramname != null">paramname,</if>
            <if test="paramval != null">paramval,</if>
            <if test="descirbe != null">descirbe,</if>
            <if test="usestatus != null">usestatus,</if>
            <if test="delFlag != null">del_flag,</if>
            <if test="updateBy != null">update_by,</if>
            <if test="updateTime != null">update_time,</if>
            <if test="createBy != null">create_by,</if>
            <if test="createTime != null">create_time,</if>
            <if test="isupload != null">isupload,</if>
            <if test="uploadTime != null">upload_time,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="paramid != null">#{paramid},</if>
            <if test="paramname != null">#{paramname},</if>
            <if test="paramval != null">#{paramval},</if>
            <if test="descirbe != null">#{descirbe},</if>
            <if test="usestatus != null">#{usestatus},</if>
            <if test="delFlag != null">#{delFlag},</if>
            <if test="updateBy != null">#{updateBy},</if>
            <if test="updateTime != null">#{updateTime},</if>
            <if test="createBy != null">#{createBy},</if>
            <if test="createTime != null">#{createTime},</if>
            <if test="isupload != null">#{isupload},</if>
            <if test="uploadTime != null">#{uploadTime},</if>
         </trim>
    </insert>
    <update id="updateSmsParam" parameterType="SmsParam">
        update sms_param
        <trim prefix="SET" suffixOverrides=",">
            <if test="paramname != null">paramname = #{paramname},</if>
            <if test="paramval != null">paramval = #{paramval},</if>
            <if test="descirbe != null">descirbe = #{descirbe},</if>
            <if test="usestatus != null">usestatus = #{usestatus},</if>
            <if test="delFlag != null">del_flag = #{delFlag},</if>
            <if test="updateBy != null">update_by = #{updateBy},</if>
            <if test="updateTime != null">update_time = #{updateTime},</if>
            <if test="createBy != null">create_by = #{createBy},</if>
            <if test="createTime != null">create_time = #{createTime},</if>
            <if test="isupload != null">isupload = #{isupload},</if>
            <if test="uploadTime != null">upload_time = #{uploadTime},</if>
        </trim>
        where paramid = #{paramid}
    </update>
    <delete id="deleteSmsParamByParamid" parameterType="Long">
        delete from sms_param where paramid = #{paramid}
    </delete>
    <delete id="deleteSmsParamByParamids" parameterType="String">
        delete from sms_param where paramid in
        <foreach item="paramid" collection="array" open="(" separator="," close=")">
            #{paramid}
        </foreach>
    </delete>
</mapper>
smartor/src/main/resources/mapper/smartor/SmsRecordsMapper.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,173 @@
<?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.smartor.mapper.SmsRecordsMapper">
    <resultMap type="SmsRecords" id="SmsRecordsResult">
        <result property="recordid"    column="recordid"    />
        <result property="userid"    column="userid"    />
        <result property="username"    column="username"    />
        <result property="phone"    column="phone"    />
        <result property="msgno"    column="msgno"    />
        <result property="msg"    column="msg"    />
        <result property="inserttime"    column="inserttime"    />
        <result property="sendtime"    column="sendtime"    />
        <result property="sendfailedcount"    column="sendfailedcount"    />
        <result property="resulttime"    column="resulttime"    />
        <result property="resultmsg"    column="resultmsg"    />
        <result property="sendstate"    column="sendstate"    />
        <result property="inserttype"    column="inserttype"    />
        <result property="insertsystem"    column="insertsystem"    />
        <result property="insertmodule"    column="insertmodule"    />
        <result property="moduleid"    column="moduleid"    />
        <result property="msgidentify"    column="msgidentify"    />
        <result property="accountid"    column="accountid"    />
        <result property="orgid"    column="orgid"    />
        <result property="delFlag"    column="del_flag"    />
        <result property="updateBy"    column="update_by"    />
        <result property="updateTime"    column="update_time"    />
        <result property="createBy"    column="create_by"    />
        <result property="createTime"    column="create_time"    />
        <result property="isupload"    column="isupload"    />
        <result property="uploadTime"    column="upload_time"    />
    </resultMap>
    <sql id="selectSmsRecordsVo">
        select recordid, userid, username, phone, msgno, msg, inserttime, sendtime, sendfailedcount, resulttime, resultmsg, sendstate, inserttype, insertsystem, insertmodule, moduleid, msgidentify, accountid, orgid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time from sms_records
    </sql>
    <select id="selectSmsRecordsList" parameterType="SmsRecords" resultMap="SmsRecordsResult">
        <include refid="selectSmsRecordsVo"/>
        <where>
            <if test="userid != null  and userid != ''"> and userid = #{userid}</if>
            <if test="username != null  and username != ''"> and username like concat('%', #{username}, '%')</if>
            <if test="phone != null  and phone != ''"> and phone = #{phone}</if>
            <if test="msgno != null  and msgno != ''"> and msgno = #{msgno}</if>
            <if test="msg != null  and msg != ''"> and msg = #{msg}</if>
            <if test="inserttime != null "> and inserttime = #{inserttime}</if>
            <if test="sendtime != null "> and sendtime = #{sendtime}</if>
            <if test="sendfailedcount != null "> and sendfailedcount = #{sendfailedcount}</if>
            <if test="resulttime != null "> and resulttime = #{resulttime}</if>
            <if test="resultmsg != null  and resultmsg != ''"> and resultmsg = #{resultmsg}</if>
            <if test="sendstate != null "> and sendstate = #{sendstate}</if>
            <if test="inserttype != null "> and inserttype = #{inserttype}</if>
            <if test="insertsystem != null "> and insertsystem = #{insertsystem}</if>
            <if test="insertmodule != null  and insertmodule != ''"> and insertmodule = #{insertmodule}</if>
            <if test="moduleid != null  and moduleid != ''"> and moduleid = #{moduleid}</if>
            <if test="msgidentify != null  and msgidentify != ''"> and msgidentify = #{msgidentify}</if>
            <if test="accountid != null "> and accountid = #{accountid}</if>
            <if test="orgid != null  and orgid != ''"> and orgid = #{orgid}</if>
            <if test="isupload != null "> and isupload = #{isupload}</if>
            <if test="uploadTime != null "> and upload_time = #{uploadTime}</if>
        </where>
    </select>
    <select id="selectSmsRecordsByRecordid" parameterType="Long" resultMap="SmsRecordsResult">
        <include refid="selectSmsRecordsVo"/>
        where recordid = #{recordid}
    </select>
    <insert id="insertSmsRecords" parameterType="SmsRecords">
        insert into sms_records
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="recordid != null">recordid,</if>
            <if test="userid != null">userid,</if>
            <if test="username != null">username,</if>
            <if test="phone != null">phone,</if>
            <if test="msgno != null">msgno,</if>
            <if test="msg != null">msg,</if>
            <if test="inserttime != null">inserttime,</if>
            <if test="sendtime != null">sendtime,</if>
            <if test="sendfailedcount != null">sendfailedcount,</if>
            <if test="resulttime != null">resulttime,</if>
            <if test="resultmsg != null">resultmsg,</if>
            <if test="sendstate != null">sendstate,</if>
            <if test="inserttype != null">inserttype,</if>
            <if test="insertsystem != null">insertsystem,</if>
            <if test="insertmodule != null">insertmodule,</if>
            <if test="moduleid != null">moduleid,</if>
            <if test="msgidentify != null">msgidentify,</if>
            <if test="accountid != null">accountid,</if>
            <if test="orgid != null">orgid,</if>
            <if test="delFlag != null">del_flag,</if>
            <if test="updateBy != null">update_by,</if>
            <if test="updateTime != null">update_time,</if>
            <if test="createBy != null">create_by,</if>
            <if test="createTime != null">create_time,</if>
            <if test="isupload != null">isupload,</if>
            <if test="uploadTime != null">upload_time,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="recordid != null">#{recordid},</if>
            <if test="userid != null">#{userid},</if>
            <if test="username != null">#{username},</if>
            <if test="phone != null">#{phone},</if>
            <if test="msgno != null">#{msgno},</if>
            <if test="msg != null">#{msg},</if>
            <if test="inserttime != null">#{inserttime},</if>
            <if test="sendtime != null">#{sendtime},</if>
            <if test="sendfailedcount != null">#{sendfailedcount},</if>
            <if test="resulttime != null">#{resulttime},</if>
            <if test="resultmsg != null">#{resultmsg},</if>
            <if test="sendstate != null">#{sendstate},</if>
            <if test="inserttype != null">#{inserttype},</if>
            <if test="insertsystem != null">#{insertsystem},</if>
            <if test="insertmodule != null">#{insertmodule},</if>
            <if test="moduleid != null">#{moduleid},</if>
            <if test="msgidentify != null">#{msgidentify},</if>
            <if test="accountid != null">#{accountid},</if>
            <if test="orgid != null">#{orgid},</if>
            <if test="delFlag != null">#{delFlag},</if>
            <if test="updateBy != null">#{updateBy},</if>
            <if test="updateTime != null">#{updateTime},</if>
            <if test="createBy != null">#{createBy},</if>
            <if test="createTime != null">#{createTime},</if>
            <if test="isupload != null">#{isupload},</if>
            <if test="uploadTime != null">#{uploadTime},</if>
         </trim>
    </insert>
    <update id="updateSmsRecords" parameterType="SmsRecords">
        update sms_records
        <trim prefix="SET" suffixOverrides=",">
            <if test="userid != null">userid = #{userid},</if>
            <if test="username != null">username = #{username},</if>
            <if test="phone != null">phone = #{phone},</if>
            <if test="msgno != null">msgno = #{msgno},</if>
            <if test="msg != null">msg = #{msg},</if>
            <if test="inserttime != null">inserttime = #{inserttime},</if>
            <if test="sendtime != null">sendtime = #{sendtime},</if>
            <if test="sendfailedcount != null">sendfailedcount = #{sendfailedcount},</if>
            <if test="resulttime != null">resulttime = #{resulttime},</if>
            <if test="resultmsg != null">resultmsg = #{resultmsg},</if>
            <if test="sendstate != null">sendstate = #{sendstate},</if>
            <if test="inserttype != null">inserttype = #{inserttype},</if>
            <if test="insertsystem != null">insertsystem = #{insertsystem},</if>
            <if test="insertmodule != null">insertmodule = #{insertmodule},</if>
            <if test="moduleid != null">moduleid = #{moduleid},</if>
            <if test="msgidentify != null">msgidentify = #{msgidentify},</if>
            <if test="accountid != null">accountid = #{accountid},</if>
            <if test="orgid != null">orgid = #{orgid},</if>
            <if test="delFlag != null">del_flag = #{delFlag},</if>
            <if test="updateBy != null">update_by = #{updateBy},</if>
            <if test="updateTime != null">update_time = #{updateTime},</if>
            <if test="createBy != null">create_by = #{createBy},</if>
            <if test="createTime != null">create_time = #{createTime},</if>
            <if test="isupload != null">isupload = #{isupload},</if>
            <if test="uploadTime != null">upload_time = #{uploadTime},</if>
        </trim>
        where recordid = #{recordid}
    </update>
    <delete id="deleteSmsRecordsByRecordid" parameterType="Long">
        delete from sms_records where recordid = #{recordid}
    </delete>
    <delete id="deleteSmsRecordsByRecordids" parameterType="String">
        delete from sms_records where recordid in
        <foreach item="recordid" collection="array" open="(" separator="," close=")">
            #{recordid}
        </foreach>
    </delete>
</mapper>
smartor/src/main/resources/mapper/smartor/SmsTempletMapper.xml
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,98 @@
<?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.smartor.mapper.SmsTempletMapper">
    <resultMap type="SmsTemplet" id="SmsTempletResult">
        <result property="templetid"    column="templetid"    />
        <result property="templetno"    column="templetno"    />
        <result property="templetname"    column="templetname"    />
        <result property="templetcontent"    column="templetcontent"    />
        <result property="delFlag"    column="del_flag"    />
        <result property="updateBy"    column="update_by"    />
        <result property="updateTime"    column="update_time"    />
        <result property="createBy"    column="create_by"    />
        <result property="createTime"    column="create_time"    />
        <result property="isupload"    column="isupload"    />
        <result property="uploadTime"    column="upload_time"    />
    </resultMap>
    <sql id="selectSmsTempletVo">
        select templetid, templetno, templetname, templetcontent, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time from sms_templet
    </sql>
    <select id="selectSmsTempletList" parameterType="SmsTemplet" resultMap="SmsTempletResult">
        <include refid="selectSmsTempletVo"/>
        <where>
            <if test="templetno != null  and templetno != ''"> and templetno = #{templetno}</if>
            <if test="templetname != null  and templetname != ''"> and templetname like concat('%', #{templetname}, '%')</if>
            <if test="templetcontent != null  and templetcontent != ''"> and templetcontent = #{templetcontent}</if>
            <if test="isupload != null "> and isupload = #{isupload}</if>
            <if test="uploadTime != null "> and upload_time = #{uploadTime}</if>
        </where>
    </select>
    <select id="selectSmsTempletByTempletid" parameterType="Long" resultMap="SmsTempletResult">
        <include refid="selectSmsTempletVo"/>
        where templetid = #{templetid}
    </select>
    <insert id="insertSmsTemplet" parameterType="SmsTemplet">
        insert into sms_templet
        <trim prefix="(" suffix=")" suffixOverrides=",">
            <if test="templetid != null">templetid,</if>
            <if test="templetno != null">templetno,</if>
            <if test="templetname != null">templetname,</if>
            <if test="templetcontent != null">templetcontent,</if>
            <if test="delFlag != null">del_flag,</if>
            <if test="updateBy != null">update_by,</if>
            <if test="updateTime != null">update_time,</if>
            <if test="createBy != null">create_by,</if>
            <if test="createTime != null">create_time,</if>
            <if test="isupload != null">isupload,</if>
            <if test="uploadTime != null">upload_time,</if>
         </trim>
        <trim prefix="values (" suffix=")" suffixOverrides=",">
            <if test="templetid != null">#{templetid},</if>
            <if test="templetno != null">#{templetno},</if>
            <if test="templetname != null">#{templetname},</if>
            <if test="templetcontent != null">#{templetcontent},</if>
            <if test="delFlag != null">#{delFlag},</if>
            <if test="updateBy != null">#{updateBy},</if>
            <if test="updateTime != null">#{updateTime},</if>
            <if test="createBy != null">#{createBy},</if>
            <if test="createTime != null">#{createTime},</if>
            <if test="isupload != null">#{isupload},</if>
            <if test="uploadTime != null">#{uploadTime},</if>
         </trim>
    </insert>
    <update id="updateSmsTemplet" parameterType="SmsTemplet">
        update sms_templet
        <trim prefix="SET" suffixOverrides=",">
            <if test="templetno != null">templetno = #{templetno},</if>
            <if test="templetname != null">templetname = #{templetname},</if>
            <if test="templetcontent != null">templetcontent = #{templetcontent},</if>
            <if test="delFlag != null">del_flag = #{delFlag},</if>
            <if test="updateBy != null">update_by = #{updateBy},</if>
            <if test="updateTime != null">update_time = #{updateTime},</if>
            <if test="createBy != null">create_by = #{createBy},</if>
            <if test="createTime != null">create_time = #{createTime},</if>
            <if test="isupload != null">isupload = #{isupload},</if>
            <if test="uploadTime != null">upload_time = #{uploadTime},</if>
        </trim>
        where templetid = #{templetid}
    </update>
    <delete id="deleteSmsTempletByTempletid" parameterType="Long">
        delete from sms_templet where templetid = #{templetid}
    </delete>
    <delete id="deleteSmsTempletByTempletids" parameterType="String">
        delete from sms_templet where templetid in
        <foreach item="templetid" collection="array" open="(" separator="," close=")">
            #{templetid}
        </foreach>
    </delete>
</mapper>