¶Ô±ÈÐÂÎļþ |
| | |
| | | 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.IvrTask; |
| | | import com.smartor.service.IIvrTaskService; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡Controller |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/smartor/ivrtask") |
| | | public class IvrTaskController extends BaseController |
| | | { |
| | | @Autowired |
| | | private IIvrTaskService ivrTaskService; |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtask:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrTask ivrTask) |
| | | { |
| | | startPage(); |
| | | List<IvrTask> list = ivrTaskService.selectIvrTaskList(ivrTask); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导åºè¯é³ä»»å¡å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtask:export')") |
| | | @Log(title = "è¯é³ä»»å¡", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrTask ivrTask) |
| | | { |
| | | List<IvrTask> list = ivrTaskService.selectIvrTaskList(ivrTask); |
| | | ExcelUtil<IvrTask> util = new ExcelUtil<IvrTask>(IvrTask.class); |
| | | util.exportExcel(response, list, "è¯é³ä»»å¡æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åè¯é³ä»»å¡è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtask:query')") |
| | | @GetMapping(value = "/{taskid}") |
| | | public AjaxResult getInfo(@PathVariable("taskid") Long taskid) |
| | | { |
| | | return success(ivrTaskService.selectIvrTaskByTaskid(taskid)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢è¯é³ä»»å¡ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtask:add')") |
| | | @Log(title = "è¯é³ä»»å¡", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody IvrTask ivrTask) |
| | | { |
| | | return toAjax(ivrTaskService.insertIvrTask(ivrTask)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹è¯é³ä»»å¡ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtask:edit')") |
| | | @Log(title = "è¯é³ä»»å¡", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody IvrTask ivrTask) |
| | | { |
| | | return toAjax(ivrTaskService.updateIvrTask(ivrTask)); |
| | | } |
| | | |
| | | /** |
| | | * å é¤è¯é³ä»»å¡ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtask:remove')") |
| | | @Log(title = "è¯é³ä»»å¡", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{taskids}") |
| | | public AjaxResult remove(@PathVariable Long[] taskids) |
| | | { |
| | | return toAjax(ivrTaskService.deleteIvrTaskByTaskids(taskids)); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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.IvrTaskcall; |
| | | import com.smartor.service.IIvrTaskcallService; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡å¼å«Controller |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/smartor/ivrtaskcall") |
| | | public class IvrTaskcallController extends BaseController |
| | | { |
| | | @Autowired |
| | | private IIvrTaskcallService ivrTaskcallService; |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å«å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcall:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrTaskcall ivrTaskcall) |
| | | { |
| | | startPage(); |
| | | List<IvrTaskcall> list = ivrTaskcallService.selectIvrTaskcallList(ivrTaskcall); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导åºè¯é³ä»»å¡å¼å«å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcall:export')") |
| | | @Log(title = "è¯é³ä»»å¡å¼å«", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrTaskcall ivrTaskcall) |
| | | { |
| | | List<IvrTaskcall> list = ivrTaskcallService.selectIvrTaskcallList(ivrTaskcall); |
| | | ExcelUtil<IvrTaskcall> util = new ExcelUtil<IvrTaskcall>(IvrTaskcall.class); |
| | | util.exportExcel(response, list, "è¯é³ä»»å¡å¼å«æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åè¯é³ä»»å¡å¼å«è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcall:query')") |
| | | @GetMapping(value = "/{callid}") |
| | | public AjaxResult getInfo(@PathVariable("callid") Long callid) |
| | | { |
| | | return success(ivrTaskcallService.selectIvrTaskcallByCallid(callid)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢è¯é³ä»»å¡å¼å« |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcall:add')") |
| | | @Log(title = "è¯é³ä»»å¡å¼å«", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody IvrTaskcall ivrTaskcall) |
| | | { |
| | | return toAjax(ivrTaskcallService.insertIvrTaskcall(ivrTaskcall)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹è¯é³ä»»å¡å¼å« |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcall:edit')") |
| | | @Log(title = "è¯é³ä»»å¡å¼å«", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody IvrTaskcall ivrTaskcall) |
| | | { |
| | | return toAjax(ivrTaskcallService.updateIvrTaskcall(ivrTaskcall)); |
| | | } |
| | | |
| | | /** |
| | | * å é¤è¯é³ä»»å¡å¼å« |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcall:remove')") |
| | | @Log(title = "è¯é³ä»»å¡å¼å«", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{callids}") |
| | | public AjaxResult remove(@PathVariable Long[] callids) |
| | | { |
| | | return toAjax(ivrTaskcallService.deleteIvrTaskcallByCallids(callids)); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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.IvrTaskcalldetail; |
| | | import com.smartor.service.IIvrTaskcalldetailService; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡å¼å«æç»Controller |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/smartor/ivrtaskcalldetail") |
| | | public class IvrTaskcalldetailController extends BaseController |
| | | { |
| | | @Autowired |
| | | private IIvrTaskcalldetailService ivrTaskcalldetailService; |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å«æç»å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcalldetail:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrTaskcalldetail ivrTaskcalldetail) |
| | | { |
| | | startPage(); |
| | | List<IvrTaskcalldetail> list = ivrTaskcalldetailService.selectIvrTaskcalldetailList(ivrTaskcalldetail); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导åºè¯é³ä»»å¡å¼å«æç»å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcalldetail:export')") |
| | | @Log(title = "è¯é³ä»»å¡å¼å«æç»", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrTaskcalldetail ivrTaskcalldetail) |
| | | { |
| | | List<IvrTaskcalldetail> list = ivrTaskcalldetailService.selectIvrTaskcalldetailList(ivrTaskcalldetail); |
| | | ExcelUtil<IvrTaskcalldetail> util = new ExcelUtil<IvrTaskcalldetail>(IvrTaskcalldetail.class); |
| | | util.exportExcel(response, list, "è¯é³ä»»å¡å¼å«æç»æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åè¯é³ä»»å¡å¼å«æç»è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcalldetail:query')") |
| | | @GetMapping(value = "/{calldetailid}") |
| | | public AjaxResult getInfo(@PathVariable("calldetailid") String calldetailid) |
| | | { |
| | | return success(ivrTaskcalldetailService.selectIvrTaskcalldetailByCalldetailid(calldetailid)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢è¯é³ä»»å¡å¼å«æç» |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcalldetail:add')") |
| | | @Log(title = "è¯é³ä»»å¡å¼å«æç»", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody IvrTaskcalldetail ivrTaskcalldetail) |
| | | { |
| | | return toAjax(ivrTaskcalldetailService.insertIvrTaskcalldetail(ivrTaskcalldetail)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹è¯é³ä»»å¡å¼å«æç» |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcalldetail:edit')") |
| | | @Log(title = "è¯é³ä»»å¡å¼å«æç»", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody IvrTaskcalldetail ivrTaskcalldetail) |
| | | { |
| | | return toAjax(ivrTaskcalldetailService.updateIvrTaskcalldetail(ivrTaskcalldetail)); |
| | | } |
| | | |
| | | /** |
| | | * å é¤è¯é³ä»»å¡å¼å«æç» |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcalldetail:remove')") |
| | | @Log(title = "è¯é³ä»»å¡å¼å«æç»", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{calldetailids}") |
| | | public AjaxResult remove(@PathVariable String[] calldetailids) |
| | | { |
| | | return toAjax(ivrTaskcalldetailService.deleteIvrTaskcalldetailByCalldetailids(calldetailids)); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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.IvrTaskcallrecord; |
| | | import com.smartor.service.IIvrTaskcallrecordService; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡å¼å«è®°å½Controller |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/smartor/ivrtaskcallrecord") |
| | | public class IvrTaskcallrecordController extends BaseController |
| | | { |
| | | @Autowired |
| | | private IIvrTaskcallrecordService ivrTaskcallrecordService; |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å«è®°å½å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrTaskcallrecord ivrTaskcallrecord) |
| | | { |
| | | startPage(); |
| | | List<IvrTaskcallrecord> list = ivrTaskcallrecordService.selectIvrTaskcallrecordList(ivrTaskcallrecord); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导åºè¯é³ä»»å¡å¼å«è®°å½å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:export')") |
| | | @Log(title = "è¯é³ä»»å¡å¼å«è®°å½", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrTaskcallrecord ivrTaskcallrecord) |
| | | { |
| | | List<IvrTaskcallrecord> list = ivrTaskcallrecordService.selectIvrTaskcallrecordList(ivrTaskcallrecord); |
| | | ExcelUtil<IvrTaskcallrecord> util = new ExcelUtil<IvrTaskcallrecord>(IvrTaskcallrecord.class); |
| | | util.exportExcel(response, list, "è¯é³ä»»å¡å¼å«è®°å½æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åè¯é³ä»»å¡å¼å«è®°å½è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:query')") |
| | | @GetMapping(value = "/{uuid}") |
| | | public AjaxResult getInfo(@PathVariable("uuid") String uuid) |
| | | { |
| | | return success(ivrTaskcallrecordService.selectIvrTaskcallrecordByUuid(uuid)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢è¯é³ä»»å¡å¼å«è®°å½ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:add')") |
| | | @Log(title = "è¯é³ä»»å¡å¼å«è®°å½", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody IvrTaskcallrecord ivrTaskcallrecord) |
| | | { |
| | | return toAjax(ivrTaskcallrecordService.insertIvrTaskcallrecord(ivrTaskcallrecord)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹è¯é³ä»»å¡å¼å«è®°å½ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:edit')") |
| | | @Log(title = "è¯é³ä»»å¡å¼å«è®°å½", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody IvrTaskcallrecord ivrTaskcallrecord) |
| | | { |
| | | return toAjax(ivrTaskcallrecordService.updateIvrTaskcallrecord(ivrTaskcallrecord)); |
| | | } |
| | | |
| | | /** |
| | | * å é¤è¯é³ä»»å¡å¼å«è®°å½ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcallrecord:remove')") |
| | | @Log(title = "è¯é³ä»»å¡å¼å«è®°å½", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{uuids}") |
| | | public AjaxResult remove(@PathVariable String[] uuids) |
| | | { |
| | | return toAjax(ivrTaskcallrecordService.deleteIvrTaskcallrecordByUuids(uuids)); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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.IvrTasksms; |
| | | import com.smartor.service.IIvrTasksmsService; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡çä¿¡Controller |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/smartor/ivrtasksms") |
| | | public class IvrTasksmsController extends BaseController |
| | | { |
| | | @Autowired |
| | | private IIvrTasksmsService ivrTasksmsService; |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡çä¿¡å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtasksms:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(IvrTasksms ivrTasksms) |
| | | { |
| | | startPage(); |
| | | List<IvrTasksms> list = ivrTasksmsService.selectIvrTasksmsList(ivrTasksms); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导åºè¯é³ä»»å¡çä¿¡å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtasksms:export')") |
| | | @Log(title = "è¯é³ä»»å¡çä¿¡", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrTasksms ivrTasksms) |
| | | { |
| | | List<IvrTasksms> list = ivrTasksmsService.selectIvrTasksmsList(ivrTasksms); |
| | | ExcelUtil<IvrTasksms> util = new ExcelUtil<IvrTasksms>(IvrTasksms.class); |
| | | util.exportExcel(response, list, "è¯é³ä»»å¡çä¿¡æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åè¯é³ä»»å¡ç信详ç»ä¿¡æ¯ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtasksms:query')") |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | | return success(ivrTasksmsService.selectIvrTasksmsById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢è¯é³ä»»å¡çä¿¡ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtasksms:add')") |
| | | @Log(title = "è¯é³ä»»å¡çä¿¡", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody IvrTasksms ivrTasksms) |
| | | { |
| | | return toAjax(ivrTasksmsService.insertIvrTasksms(ivrTasksms)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹è¯é³ä»»å¡çä¿¡ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtasksms:edit')") |
| | | @Log(title = "è¯é³ä»»å¡çä¿¡", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody IvrTasksms ivrTasksms) |
| | | { |
| | | return toAjax(ivrTasksmsService.updateIvrTasksms(ivrTasksms)); |
| | | } |
| | | |
| | | /** |
| | | * å é¤è¯é³ä»»å¡çä¿¡ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtasksms:remove')") |
| | | @Log(title = "è¯é³ä»»å¡çä¿¡", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(ivrTasksmsService.deleteIvrTasksmsByIds(ids)); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡å¯¹è±¡ ivr_task |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | */ |
| | | public class IvrTask extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** */ |
| | | private Long taskid; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String taskname; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String templateid; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String templatename; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String labelinfo; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long state; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long count; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long executed; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long unexecuted; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long fail; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String userid; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String username; |
| | | |
| | | /** */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date addtime; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String checkuserid; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String checkusername; |
| | | |
| | | /** */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date checktime; |
| | | |
| | | /** 1ï¼åºé¢é访ï¼2ï¼ä½æ£éç¥ï¼3ï¼æ»¡æåº¦è°æ¥ï¼4ï¼å®£æï¼ */ |
| | | @Excel(name = " 1ï¼åºé¢é访ï¼2ï¼ä½æ£éç¥ï¼3ï¼æ»¡æåº¦è°æ¥ï¼4ï¼å®£æï¼ ") |
| | | private String type; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String typename; |
| | | |
| | | /** 0.ä¸ä½¿ç¨æåçä¿¡ 1.ä½¿ç¨æåçä¿¡ */ |
| | | @Excel(name = " 0.ä¸ä½¿ç¨æåçä¿¡ 1.ä½¿ç¨æåçä¿¡ ") |
| | | private Long usebqsms; |
| | | |
| | | /** 0.ä¸ä½¿ç¨æåçä¿¡ 1.ä½¿ç¨æåçä¿¡ */ |
| | | @Excel(name = " 0.ä¸ä½¿ç¨æåçä¿¡ 1.ä½¿ç¨æåçä¿¡ ") |
| | | private Long usebhsms; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long usesendsms; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String deptcode; |
| | | |
| | | /** å 餿 è®° */ |
| | | 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 String orgid; |
| | | |
| | | public void setTaskid(Long taskid) |
| | | { |
| | | this.taskid = taskid; |
| | | } |
| | | |
| | | public Long getTaskid() |
| | | { |
| | | return taskid; |
| | | } |
| | | public void setTaskname(String taskname) |
| | | { |
| | | this.taskname = taskname; |
| | | } |
| | | |
| | | public String getTaskname() |
| | | { |
| | | return taskname; |
| | | } |
| | | public void setTemplateid(String templateid) |
| | | { |
| | | this.templateid = templateid; |
| | | } |
| | | |
| | | public String getTemplateid() |
| | | { |
| | | return templateid; |
| | | } |
| | | public void setTemplatename(String templatename) |
| | | { |
| | | this.templatename = templatename; |
| | | } |
| | | |
| | | public String getTemplatename() |
| | | { |
| | | return templatename; |
| | | } |
| | | public void setLabelinfo(String labelinfo) |
| | | { |
| | | this.labelinfo = labelinfo; |
| | | } |
| | | |
| | | public String getLabelinfo() |
| | | { |
| | | return labelinfo; |
| | | } |
| | | public void setState(Long state) |
| | | { |
| | | this.state = state; |
| | | } |
| | | |
| | | public Long getState() |
| | | { |
| | | return state; |
| | | } |
| | | public void setCount(Long count) |
| | | { |
| | | this.count = count; |
| | | } |
| | | |
| | | public Long getCount() |
| | | { |
| | | return count; |
| | | } |
| | | public void setExecuted(Long executed) |
| | | { |
| | | this.executed = executed; |
| | | } |
| | | |
| | | public Long getExecuted() |
| | | { |
| | | return executed; |
| | | } |
| | | public void setUnexecuted(Long unexecuted) |
| | | { |
| | | this.unexecuted = unexecuted; |
| | | } |
| | | |
| | | public Long getUnexecuted() |
| | | { |
| | | return unexecuted; |
| | | } |
| | | public void setFail(Long fail) |
| | | { |
| | | this.fail = fail; |
| | | } |
| | | |
| | | public Long getFail() |
| | | { |
| | | return fail; |
| | | } |
| | | 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 setAddtime(Date addtime) |
| | | { |
| | | this.addtime = addtime; |
| | | } |
| | | |
| | | public Date getAddtime() |
| | | { |
| | | return addtime; |
| | | } |
| | | public void setCheckuserid(String checkuserid) |
| | | { |
| | | this.checkuserid = checkuserid; |
| | | } |
| | | |
| | | public String getCheckuserid() |
| | | { |
| | | return checkuserid; |
| | | } |
| | | public void setCheckusername(String checkusername) |
| | | { |
| | | this.checkusername = checkusername; |
| | | } |
| | | |
| | | public String getCheckusername() |
| | | { |
| | | return checkusername; |
| | | } |
| | | public void setChecktime(Date checktime) |
| | | { |
| | | this.checktime = checktime; |
| | | } |
| | | |
| | | public Date getChecktime() |
| | | { |
| | | return checktime; |
| | | } |
| | | public void setType(String type) |
| | | { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getType() |
| | | { |
| | | return type; |
| | | } |
| | | public void setTypename(String typename) |
| | | { |
| | | this.typename = typename; |
| | | } |
| | | |
| | | public String getTypename() |
| | | { |
| | | return typename; |
| | | } |
| | | public void setUsebqsms(Long usebqsms) |
| | | { |
| | | this.usebqsms = usebqsms; |
| | | } |
| | | |
| | | public Long getUsebqsms() |
| | | { |
| | | return usebqsms; |
| | | } |
| | | public void setUsebhsms(Long usebhsms) |
| | | { |
| | | this.usebhsms = usebhsms; |
| | | } |
| | | |
| | | public Long getUsebhsms() |
| | | { |
| | | return usebhsms; |
| | | } |
| | | public void setUsesendsms(Long usesendsms) |
| | | { |
| | | this.usesendsms = usesendsms; |
| | | } |
| | | |
| | | public Long getUsesendsms() |
| | | { |
| | | return usesendsms; |
| | | } |
| | | public void setDeptcode(String deptcode) |
| | | { |
| | | this.deptcode = deptcode; |
| | | } |
| | | |
| | | public String getDeptcode() |
| | | { |
| | | return deptcode; |
| | | } |
| | | 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 setOrgid(String orgid) |
| | | { |
| | | this.orgid = orgid; |
| | | } |
| | | |
| | | public String getOrgid() |
| | | { |
| | | return orgid; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("taskid", getTaskid()) |
| | | .append("taskname", getTaskname()) |
| | | .append("templateid", getTemplateid()) |
| | | .append("templatename", getTemplatename()) |
| | | .append("labelinfo", getLabelinfo()) |
| | | .append("state", getState()) |
| | | .append("count", getCount()) |
| | | .append("executed", getExecuted()) |
| | | .append("unexecuted", getUnexecuted()) |
| | | .append("fail", getFail()) |
| | | .append("userid", getUserid()) |
| | | .append("username", getUsername()) |
| | | .append("addtime", getAddtime()) |
| | | .append("checkuserid", getCheckuserid()) |
| | | .append("checkusername", getCheckusername()) |
| | | .append("checktime", getChecktime()) |
| | | .append("type", getType()) |
| | | .append("typename", getTypename()) |
| | | .append("usebqsms", getUsebqsms()) |
| | | .append("usebhsms", getUsebhsms()) |
| | | .append("usesendsms", getUsesendsms()) |
| | | .append("deptcode", getDeptcode()) |
| | | .append("delFlag", getDelFlag()) |
| | | .append("updateBy", getUpdateBy()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .append("createBy", getCreateBy()) |
| | | .append("createTime", getCreateTime()) |
| | | .append("isupload", getIsupload()) |
| | | .append("uploadTime", getUploadTime()) |
| | | .append("orgid", getOrgid()) |
| | | .toString(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import net.sf.jsqlparser.expression.DateTimeLiteralExpression; |
| | | 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; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡å¼å«å¯¹è±¡ ivr_taskcall |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | */ |
| | | public class IvrTaskcall extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** */ |
| | | private Long callid; |
| | | |
| | | /** åé人 */ |
| | | @Excel(name = " åé人 ") |
| | | private String sendname; |
| | | |
| | | /** ææºå· */ |
| | | @Excel(name = " ææºå· ") |
| | | private String phone; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String sex; |
| | | |
| | | /** å¹´é¾ */ |
| | | @Excel(name = " å¹´é¾ ") |
| | | private Long age; |
| | | |
| | | /** 身份è¯å· */ |
| | | @Excel(name = " 身份è¯å· ") |
| | | private String sfzh; |
| | | |
| | | /** å°å */ |
| | | @Excel(name = " å°å ") |
| | | private String addr; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String senderdetail; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String inserttype; |
| | | |
| | | /** ä»»å¡ID */ |
| | | @Excel(name = " ä»»å¡ID ") |
| | | private Long taskid; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String templateid; |
| | | |
| | | /** 模æ¿å */ |
| | | @Excel(name = " 模æ¿å ") |
| | | private String templatename; |
| | | |
| | | /** å鿥æ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " å鿥æ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date senddate; |
| | | |
| | | /** ä¸åå¼å§åéæ¶é´éå¶ */ |
| | | @Excel(name = " ä¸åå¼å§åéæ¶é´éå¶ ") |
| | | private String sendlimitabegin; |
| | | |
| | | /** ä¸åç»æåéæ¶é´éå¶ */ |
| | | @Excel(name = " ä¸åç»æåéæ¶é´éå¶ ") |
| | | private String sendlimitaend; |
| | | |
| | | /** ä¸åå¼å§åéæ¶é´éå¶ */ |
| | | @Excel(name = " ä¸åå¼å§åéæ¶é´éå¶ ") |
| | | private String sendlimitpbegin; |
| | | |
| | | /** ä¸åç»æåéæ¶é´éå¶ */ |
| | | @Excel(name = " ä¸åç»æåéæ¶é´éå¶ ") |
| | | private String sendlimitpend; |
| | | |
| | | /** æä¸å¼å§åéæ¶é´éå¶ */ |
| | | @Excel(name = " æä¸å¼å§åéæ¶é´éå¶ ") |
| | | private String sendlimitnbegin; |
| | | |
| | | /** æä¸ç»æåéæ¶é´éå¶ */ |
| | | @Excel(name = " æä¸ç»æåéæ¶é´éå¶ ") |
| | | private String sendlimitnend; |
| | | |
| | | /** åéç¶æ */ |
| | | @Excel(name = " åéç¶æ ") |
| | | private Long sendstate; |
| | | |
| | | /** åéUUID */ |
| | | @Excel(name = " åéUUID ") |
| | | private String senduuid; |
| | | |
| | | /** ç»æ */ |
| | | @Excel(name = " ç»æ ") |
| | | private String result; |
| | | |
| | | /** 宿æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " 宿æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date finishtime; |
| | | |
| | | /** ç¨æ·ID */ |
| | | @Excel(name = " ç¨æ·ID ") |
| | | private String userid; |
| | | |
| | | /** ç¨æ·å */ |
| | | @Excel(name = " ç¨æ·å ") |
| | | private String username; |
| | | |
| | | /** æ·»å æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " æ·»å æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date addtime; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String outbounduuid; |
| | | |
| | | /** å°±è¯è®°å½ç¼å· */ |
| | | @Excel(name = " å°±è¯è®°å½ç¼å· ") |
| | | private Long recordid; |
| | | |
| | | /** éæ¨æ»æ° */ |
| | | @Excel(name = " éæ¨æ»æ° ") |
| | | private Long recallcount; |
| | | |
| | | /** å½åéæ¨æ¬¡æ° */ |
| | | @Excel(name = " å½åéæ¨æ¬¡æ° ") |
| | | private Long exrecallcount; |
| | | |
| | | /** æåæ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " æåæ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date pulltime; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long bqsms; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long bhsms; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String deptcode; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long labelstatus; |
| | | |
| | | /** å 餿 è®° */ |
| | | 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 String orgid; |
| | | |
| | | public void setCallid(Long callid) |
| | | { |
| | | this.callid = callid; |
| | | } |
| | | |
| | | public Long getCallid() |
| | | { |
| | | return callid; |
| | | } |
| | | public void setSendname(String sendname) |
| | | { |
| | | this.sendname = sendname; |
| | | } |
| | | |
| | | public String getSendname() |
| | | { |
| | | return sendname; |
| | | } |
| | | public void setPhone(String phone) |
| | | { |
| | | this.phone = phone; |
| | | } |
| | | |
| | | public String getPhone() |
| | | { |
| | | return phone; |
| | | } |
| | | public void setSex(String sex) |
| | | { |
| | | this.sex = sex; |
| | | } |
| | | |
| | | public String getSex() |
| | | { |
| | | return sex; |
| | | } |
| | | public void setAge(Long age) |
| | | { |
| | | this.age = age; |
| | | } |
| | | |
| | | public Long getAge() |
| | | { |
| | | return age; |
| | | } |
| | | public void setSfzh(String sfzh) |
| | | { |
| | | this.sfzh = sfzh; |
| | | } |
| | | |
| | | public String getSfzh() |
| | | { |
| | | return sfzh; |
| | | } |
| | | public void setAddr(String addr) |
| | | { |
| | | this.addr = addr; |
| | | } |
| | | |
| | | public String getAddr() |
| | | { |
| | | return addr; |
| | | } |
| | | public void setSenderdetail(String senderdetail) |
| | | { |
| | | this.senderdetail = senderdetail; |
| | | } |
| | | |
| | | public String getSenderdetail() |
| | | { |
| | | return senderdetail; |
| | | } |
| | | public void setInserttype(String inserttype) |
| | | { |
| | | this.inserttype = inserttype; |
| | | } |
| | | |
| | | public String getInserttype() |
| | | { |
| | | return inserttype; |
| | | } |
| | | public void setTaskid(Long taskid) |
| | | { |
| | | this.taskid = taskid; |
| | | } |
| | | |
| | | public Long getTaskid() |
| | | { |
| | | return taskid; |
| | | } |
| | | public void setTemplateid(String templateid) |
| | | { |
| | | this.templateid = templateid; |
| | | } |
| | | |
| | | public String getTemplateid() |
| | | { |
| | | return templateid; |
| | | } |
| | | public void setTemplatename(String templatename) |
| | | { |
| | | this.templatename = templatename; |
| | | } |
| | | |
| | | public String getTemplatename() |
| | | { |
| | | return templatename; |
| | | } |
| | | public void setSenddate(Date senddate) |
| | | { |
| | | this.senddate = senddate; |
| | | } |
| | | |
| | | public Date getSenddate() |
| | | { |
| | | return senddate; |
| | | } |
| | | public void setSendlimitabegin(String sendlimitabegin) |
| | | { |
| | | this.sendlimitabegin = sendlimitabegin; |
| | | } |
| | | |
| | | public String getSendlimitabegin() |
| | | { |
| | | return sendlimitabegin; |
| | | } |
| | | public void setSendlimitaend(String sendlimitaend) |
| | | { |
| | | this.sendlimitaend = sendlimitaend; |
| | | } |
| | | |
| | | public String getSendlimitaend() |
| | | { |
| | | return sendlimitaend; |
| | | } |
| | | public void setSendlimitpbegin(String sendlimitpbegin) |
| | | { |
| | | this.sendlimitpbegin = sendlimitpbegin; |
| | | } |
| | | |
| | | public String getSendlimitpbegin() |
| | | { |
| | | return sendlimitpbegin; |
| | | } |
| | | public void setSendlimitpend(String sendlimitpend) |
| | | { |
| | | this.sendlimitpend = sendlimitpend; |
| | | } |
| | | |
| | | public String getSendlimitpend() |
| | | { |
| | | return sendlimitpend; |
| | | } |
| | | public void setSendlimitnbegin(String sendlimitnbegin) |
| | | { |
| | | this.sendlimitnbegin = sendlimitnbegin; |
| | | } |
| | | |
| | | public String getSendlimitnbegin() |
| | | { |
| | | return sendlimitnbegin; |
| | | } |
| | | public void setSendlimitnend(String sendlimitnend) |
| | | { |
| | | this.sendlimitnend = sendlimitnend; |
| | | } |
| | | |
| | | public String getSendlimitnend() |
| | | { |
| | | return sendlimitnend; |
| | | } |
| | | public void setSendstate(Long sendstate) |
| | | { |
| | | this.sendstate = sendstate; |
| | | } |
| | | |
| | | public Long getSendstate() |
| | | { |
| | | return sendstate; |
| | | } |
| | | public void setSenduuid(String senduuid) |
| | | { |
| | | this.senduuid = senduuid; |
| | | } |
| | | |
| | | public String getSenduuid() |
| | | { |
| | | return senduuid; |
| | | } |
| | | public void setResult(String result) |
| | | { |
| | | this.result = result; |
| | | } |
| | | |
| | | public String getResult() |
| | | { |
| | | return result; |
| | | } |
| | | public void setFinishtime(Date finishtime) |
| | | { |
| | | this.finishtime = finishtime; |
| | | } |
| | | |
| | | public Date getFinishtime() |
| | | { |
| | | return finishtime; |
| | | } |
| | | 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 setOutbounduuid(String outbounduuid) |
| | | { |
| | | this.outbounduuid = outbounduuid; |
| | | } |
| | | |
| | | public String getOutbounduuid() |
| | | { |
| | | return outbounduuid; |
| | | } |
| | | public void setRecordid(Long recordid) |
| | | { |
| | | this.recordid = recordid; |
| | | } |
| | | |
| | | public Long getRecordid() |
| | | { |
| | | return recordid; |
| | | } |
| | | public void setRecallcount(Long recallcount) |
| | | { |
| | | this.recallcount = recallcount; |
| | | } |
| | | |
| | | public Long getRecallcount() |
| | | { |
| | | return recallcount; |
| | | } |
| | | public void setExrecallcount(Long exrecallcount) |
| | | { |
| | | this.exrecallcount = exrecallcount; |
| | | } |
| | | |
| | | public Long getExrecallcount() |
| | | { |
| | | return exrecallcount; |
| | | } |
| | | public void setPulltime(Date pulltime) |
| | | { |
| | | this.pulltime = pulltime; |
| | | } |
| | | |
| | | public Date getPulltime() |
| | | { |
| | | return pulltime; |
| | | } |
| | | public void setBqsms(Long bqsms) |
| | | { |
| | | this.bqsms = bqsms; |
| | | } |
| | | |
| | | public Long getBqsms() |
| | | { |
| | | return bqsms; |
| | | } |
| | | public void setBhsms(Long bhsms) |
| | | { |
| | | this.bhsms = bhsms; |
| | | } |
| | | |
| | | public Long getBhsms() |
| | | { |
| | | return bhsms; |
| | | } |
| | | public void setDeptcode(String deptcode) |
| | | { |
| | | this.deptcode = deptcode; |
| | | } |
| | | |
| | | public String getDeptcode() |
| | | { |
| | | return deptcode; |
| | | } |
| | | public void setLabelstatus(Long labelstatus) |
| | | { |
| | | this.labelstatus = labelstatus; |
| | | } |
| | | |
| | | public Long getLabelstatus() |
| | | { |
| | | return labelstatus; |
| | | } |
| | | 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 setOrgid(String orgid) |
| | | { |
| | | this.orgid = orgid; |
| | | } |
| | | |
| | | public String getOrgid() |
| | | { |
| | | return orgid; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("callid", getCallid()) |
| | | .append("sendname", getSendname()) |
| | | .append("phone", getPhone()) |
| | | .append("sex", getSex()) |
| | | .append("age", getAge()) |
| | | .append("sfzh", getSfzh()) |
| | | .append("addr", getAddr()) |
| | | .append("senderdetail", getSenderdetail()) |
| | | .append("inserttype", getInserttype()) |
| | | .append("taskid", getTaskid()) |
| | | .append("templateid", getTemplateid()) |
| | | .append("templatename", getTemplatename()) |
| | | .append("senddate", getSenddate()) |
| | | .append("sendlimitabegin", getSendlimitabegin()) |
| | | .append("sendlimitaend", getSendlimitaend()) |
| | | .append("sendlimitpbegin", getSendlimitpbegin()) |
| | | .append("sendlimitpend", getSendlimitpend()) |
| | | .append("sendlimitnbegin", getSendlimitnbegin()) |
| | | .append("sendlimitnend", getSendlimitnend()) |
| | | .append("sendstate", getSendstate()) |
| | | .append("senduuid", getSenduuid()) |
| | | .append("result", getResult()) |
| | | .append("finishtime", getFinishtime()) |
| | | .append("userid", getUserid()) |
| | | .append("username", getUsername()) |
| | | .append("outbounduuid", getOutbounduuid()) |
| | | .append("recordid", getRecordid()) |
| | | .append("recallcount", getRecallcount()) |
| | | .append("exrecallcount", getExrecallcount()) |
| | | .append("pulltime", getPulltime()) |
| | | .append("bqsms", getBqsms()) |
| | | .append("bhsms", getBhsms()) |
| | | .append("deptcode", getDeptcode()) |
| | | .append("labelstatus", getLabelstatus()) |
| | | .append("delFlag", getDelFlag()) |
| | | .append("updateBy", getUpdateBy()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .append("createBy", getCreateBy()) |
| | | .append("createTime", getCreateTime()) |
| | | .append("isupload", getIsupload()) |
| | | .append("uploadTime", getUploadTime()) |
| | | .append("orgid", getOrgid()) |
| | | .toString(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡å¼å«æç»å¯¹è±¡ ivr_taskcalldetail |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | */ |
| | | public class IvrTaskcalldetail extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** */ |
| | | private String calldetailid; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String callid; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String uuid; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String phone; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String operate; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String displayno; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long inbound; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long incoming; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long assigntime; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long starttime; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long answertime; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long silent; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String dtmfKey; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String musicpath; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long sentIndex; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long sentBegin; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String asrtext; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long beginTime; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long endTime; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long sentEnd; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String recordpath; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String recordurl; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String templateid; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long templatequestionnum; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long switchid; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String questiontext; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String questionvoice; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String categoryname; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String targetoptions; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String targetvalue; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String matchedtext; |
| | | |
| | | /** */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date addtime; |
| | | |
| | | /** ä¸ä¼ æ è®° */ |
| | | @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 String orgid; |
| | | |
| | | /** å 餿 è®° */ |
| | | private String delFlag; |
| | | |
| | | public void setCalldetailid(String calldetailid) |
| | | { |
| | | this.calldetailid = calldetailid; |
| | | } |
| | | |
| | | public String getCalldetailid() |
| | | { |
| | | return calldetailid; |
| | | } |
| | | public void setCallid(String callid) |
| | | { |
| | | this.callid = callid; |
| | | } |
| | | |
| | | public String getCallid() |
| | | { |
| | | return callid; |
| | | } |
| | | public void setUuid(String uuid) |
| | | { |
| | | this.uuid = uuid; |
| | | } |
| | | |
| | | public String getUuid() |
| | | { |
| | | return uuid; |
| | | } |
| | | public void setPhone(String phone) |
| | | { |
| | | this.phone = phone; |
| | | } |
| | | |
| | | public String getPhone() |
| | | { |
| | | return phone; |
| | | } |
| | | public void setOperate(String operate) |
| | | { |
| | | this.operate = operate; |
| | | } |
| | | |
| | | public String getOperate() |
| | | { |
| | | return operate; |
| | | } |
| | | public void setDisplayno(String displayno) |
| | | { |
| | | this.displayno = displayno; |
| | | } |
| | | |
| | | public String getDisplayno() |
| | | { |
| | | return displayno; |
| | | } |
| | | public void setInbound(Long inbound) |
| | | { |
| | | this.inbound = inbound; |
| | | } |
| | | |
| | | public Long getInbound() |
| | | { |
| | | return inbound; |
| | | } |
| | | public void setIncoming(Long incoming) |
| | | { |
| | | this.incoming = incoming; |
| | | } |
| | | |
| | | public Long getIncoming() |
| | | { |
| | | return incoming; |
| | | } |
| | | public void setAssigntime(Long assigntime) |
| | | { |
| | | this.assigntime = assigntime; |
| | | } |
| | | |
| | | public Long getAssigntime() |
| | | { |
| | | return assigntime; |
| | | } |
| | | public void setStarttime(Long starttime) |
| | | { |
| | | this.starttime = starttime; |
| | | } |
| | | |
| | | public Long getStarttime() |
| | | { |
| | | return starttime; |
| | | } |
| | | public void setAnswertime(Long answertime) |
| | | { |
| | | this.answertime = answertime; |
| | | } |
| | | |
| | | public Long getAnswertime() |
| | | { |
| | | return answertime; |
| | | } |
| | | public void setSilent(Long silent) |
| | | { |
| | | this.silent = silent; |
| | | } |
| | | |
| | | public Long getSilent() |
| | | { |
| | | return silent; |
| | | } |
| | | public void setDtmfKey(String dtmfKey) |
| | | { |
| | | this.dtmfKey = dtmfKey; |
| | | } |
| | | |
| | | public String getDtmfKey() |
| | | { |
| | | return dtmfKey; |
| | | } |
| | | public void setMusicpath(String musicpath) |
| | | { |
| | | this.musicpath = musicpath; |
| | | } |
| | | |
| | | public String getMusicpath() |
| | | { |
| | | return musicpath; |
| | | } |
| | | public void setSentIndex(Long sentIndex) |
| | | { |
| | | this.sentIndex = sentIndex; |
| | | } |
| | | |
| | | public Long getSentIndex() |
| | | { |
| | | return sentIndex; |
| | | } |
| | | public void setSentBegin(Long sentBegin) |
| | | { |
| | | this.sentBegin = sentBegin; |
| | | } |
| | | |
| | | public Long getSentBegin() |
| | | { |
| | | return sentBegin; |
| | | } |
| | | public void setAsrtext(String asrtext) |
| | | { |
| | | this.asrtext = asrtext; |
| | | } |
| | | |
| | | public String getAsrtext() |
| | | { |
| | | return asrtext; |
| | | } |
| | | public void setBeginTime(Long beginTime) |
| | | { |
| | | this.beginTime = beginTime; |
| | | } |
| | | |
| | | public Long getBeginTime() |
| | | { |
| | | return beginTime; |
| | | } |
| | | public void setEndTime(Long endTime) |
| | | { |
| | | this.endTime = endTime; |
| | | } |
| | | |
| | | public Long getEndTime() |
| | | { |
| | | return endTime; |
| | | } |
| | | public void setSentEnd(Long sentEnd) |
| | | { |
| | | this.sentEnd = sentEnd; |
| | | } |
| | | |
| | | public Long getSentEnd() |
| | | { |
| | | return sentEnd; |
| | | } |
| | | public void setRecordpath(String recordpath) |
| | | { |
| | | this.recordpath = recordpath; |
| | | } |
| | | |
| | | public String getRecordpath() |
| | | { |
| | | return recordpath; |
| | | } |
| | | public void setRecordurl(String recordurl) |
| | | { |
| | | this.recordurl = recordurl; |
| | | } |
| | | |
| | | public String getRecordurl() |
| | | { |
| | | return recordurl; |
| | | } |
| | | public void setTemplateid(String templateid) |
| | | { |
| | | this.templateid = templateid; |
| | | } |
| | | |
| | | public String getTemplateid() |
| | | { |
| | | return templateid; |
| | | } |
| | | public void setTemplatequestionnum(Long templatequestionnum) |
| | | { |
| | | this.templatequestionnum = templatequestionnum; |
| | | } |
| | | |
| | | public Long getTemplatequestionnum() |
| | | { |
| | | return templatequestionnum; |
| | | } |
| | | public void setSwitchid(Long switchid) |
| | | { |
| | | this.switchid = switchid; |
| | | } |
| | | |
| | | public Long getSwitchid() |
| | | { |
| | | return switchid; |
| | | } |
| | | public void setQuestiontext(String questiontext) |
| | | { |
| | | this.questiontext = questiontext; |
| | | } |
| | | |
| | | public String getQuestiontext() |
| | | { |
| | | return questiontext; |
| | | } |
| | | public void setQuestionvoice(String questionvoice) |
| | | { |
| | | this.questionvoice = questionvoice; |
| | | } |
| | | |
| | | public String getQuestionvoice() |
| | | { |
| | | return questionvoice; |
| | | } |
| | | public void setCategoryname(String categoryname) |
| | | { |
| | | this.categoryname = categoryname; |
| | | } |
| | | |
| | | public String getCategoryname() |
| | | { |
| | | return categoryname; |
| | | } |
| | | public void setTargetoptions(String targetoptions) |
| | | { |
| | | this.targetoptions = targetoptions; |
| | | } |
| | | |
| | | public String getTargetoptions() |
| | | { |
| | | return targetoptions; |
| | | } |
| | | public void setTargetvalue(String targetvalue) |
| | | { |
| | | this.targetvalue = targetvalue; |
| | | } |
| | | |
| | | public String getTargetvalue() |
| | | { |
| | | return targetvalue; |
| | | } |
| | | public void setMatchedtext(String matchedtext) |
| | | { |
| | | this.matchedtext = matchedtext; |
| | | } |
| | | |
| | | public String getMatchedtext() |
| | | { |
| | | return matchedtext; |
| | | } |
| | | public void setAddtime(Date addtime) |
| | | { |
| | | this.addtime = addtime; |
| | | } |
| | | |
| | | public Date getAddtime() |
| | | { |
| | | return addtime; |
| | | } |
| | | 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 setOrgid(String orgid) |
| | | { |
| | | this.orgid = orgid; |
| | | } |
| | | |
| | | public String getOrgid() |
| | | { |
| | | return orgid; |
| | | } |
| | | public void setDelFlag(String delFlag) |
| | | { |
| | | this.delFlag = delFlag; |
| | | } |
| | | |
| | | public String getDelFlag() |
| | | { |
| | | return delFlag; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("calldetailid", getCalldetailid()) |
| | | .append("callid", getCallid()) |
| | | .append("uuid", getUuid()) |
| | | .append("phone", getPhone()) |
| | | .append("operate", getOperate()) |
| | | .append("displayno", getDisplayno()) |
| | | .append("inbound", getInbound()) |
| | | .append("incoming", getIncoming()) |
| | | .append("assigntime", getAssigntime()) |
| | | .append("starttime", getStarttime()) |
| | | .append("answertime", getAnswertime()) |
| | | .append("silent", getSilent()) |
| | | .append("dtmfKey", getDtmfKey()) |
| | | .append("musicpath", getMusicpath()) |
| | | .append("sentIndex", getSentIndex()) |
| | | .append("sentBegin", getSentBegin()) |
| | | .append("asrtext", getAsrtext()) |
| | | .append("beginTime", getBeginTime()) |
| | | .append("endTime", getEndTime()) |
| | | .append("sentEnd", getSentEnd()) |
| | | .append("recordpath", getRecordpath()) |
| | | .append("recordurl", getRecordurl()) |
| | | .append("templateid", getTemplateid()) |
| | | .append("templatequestionnum", getTemplatequestionnum()) |
| | | .append("switchid", getSwitchid()) |
| | | .append("questiontext", getQuestiontext()) |
| | | .append("questionvoice", getQuestionvoice()) |
| | | .append("categoryname", getCategoryname()) |
| | | .append("targetoptions", getTargetoptions()) |
| | | .append("targetvalue", getTargetvalue()) |
| | | .append("matchedtext", getMatchedtext()) |
| | | .append("addtime", getAddtime()) |
| | | .append("isupload", getIsupload()) |
| | | .append("uploadTime", getUploadTime()) |
| | | .append("orgid", getOrgid()) |
| | | .append("createTime", getCreateTime()) |
| | | .append("delFlag", getDelFlag()) |
| | | .append("updateBy", getUpdateBy()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .append("createBy", getCreateBy()) |
| | | .toString(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡å¼å«è®°å½å¯¹è±¡ ivr_taskcallrecord |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | */ |
| | | public class IvrTaskcallrecord extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** */ |
| | | private String uuid; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String displayno; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String phone; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String taskid; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String extension; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long inbound; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long direct; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long answered; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long assignTime; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long startTime; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long answerTime; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long hangupTime; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long endTime; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String recordPath; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String recordUrl; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long hangupSipcode; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String hangupCause; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long transfered; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String transUuid; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String transPhone; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long transAnswered; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long transStartTime; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long transAnswerTime; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String earlyAsrtext; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String earlyPath; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String earlyUrl; |
| | | |
| | | /** å 餿 è®° */ |
| | | 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 String orgid; |
| | | |
| | | public void setUuid(String uuid) |
| | | { |
| | | this.uuid = uuid; |
| | | } |
| | | |
| | | public String getUuid() |
| | | { |
| | | return uuid; |
| | | } |
| | | public void setDisplayno(String displayno) |
| | | { |
| | | this.displayno = displayno; |
| | | } |
| | | |
| | | public String getDisplayno() |
| | | { |
| | | return displayno; |
| | | } |
| | | public void setPhone(String phone) |
| | | { |
| | | this.phone = phone; |
| | | } |
| | | |
| | | public String getPhone() |
| | | { |
| | | return phone; |
| | | } |
| | | public void setTaskid(String taskid) |
| | | { |
| | | this.taskid = taskid; |
| | | } |
| | | |
| | | public String getTaskid() |
| | | { |
| | | return taskid; |
| | | } |
| | | public void setExtension(String extension) |
| | | { |
| | | this.extension = extension; |
| | | } |
| | | |
| | | public String getExtension() |
| | | { |
| | | return extension; |
| | | } |
| | | public void setInbound(Long inbound) |
| | | { |
| | | this.inbound = inbound; |
| | | } |
| | | |
| | | public Long getInbound() |
| | | { |
| | | return inbound; |
| | | } |
| | | public void setDirect(Long direct) |
| | | { |
| | | this.direct = direct; |
| | | } |
| | | |
| | | public Long getDirect() |
| | | { |
| | | return direct; |
| | | } |
| | | public void setAnswered(Long answered) |
| | | { |
| | | this.answered = answered; |
| | | } |
| | | |
| | | public Long getAnswered() |
| | | { |
| | | return answered; |
| | | } |
| | | public void setAssignTime(Long assignTime) |
| | | { |
| | | this.assignTime = assignTime; |
| | | } |
| | | |
| | | public Long getAssignTime() |
| | | { |
| | | return assignTime; |
| | | } |
| | | public void setStartTime(Long startTime) |
| | | { |
| | | this.startTime = startTime; |
| | | } |
| | | |
| | | public Long getStartTime() |
| | | { |
| | | return startTime; |
| | | } |
| | | public void setAnswerTime(Long answerTime) |
| | | { |
| | | this.answerTime = answerTime; |
| | | } |
| | | |
| | | public Long getAnswerTime() |
| | | { |
| | | return answerTime; |
| | | } |
| | | public void setHangupTime(Long hangupTime) |
| | | { |
| | | this.hangupTime = hangupTime; |
| | | } |
| | | |
| | | public Long getHangupTime() |
| | | { |
| | | return hangupTime; |
| | | } |
| | | public void setEndTime(Long endTime) |
| | | { |
| | | this.endTime = endTime; |
| | | } |
| | | |
| | | public Long getEndTime() |
| | | { |
| | | return endTime; |
| | | } |
| | | public void setRecordPath(String recordPath) |
| | | { |
| | | this.recordPath = recordPath; |
| | | } |
| | | |
| | | public String getRecordPath() |
| | | { |
| | | return recordPath; |
| | | } |
| | | public void setRecordUrl(String recordUrl) |
| | | { |
| | | this.recordUrl = recordUrl; |
| | | } |
| | | |
| | | public String getRecordUrl() |
| | | { |
| | | return recordUrl; |
| | | } |
| | | public void setHangupSipcode(Long hangupSipcode) |
| | | { |
| | | this.hangupSipcode = hangupSipcode; |
| | | } |
| | | |
| | | public Long getHangupSipcode() |
| | | { |
| | | return hangupSipcode; |
| | | } |
| | | public void setHangupCause(String hangupCause) |
| | | { |
| | | this.hangupCause = hangupCause; |
| | | } |
| | | |
| | | public String getHangupCause() |
| | | { |
| | | return hangupCause; |
| | | } |
| | | public void setTransfered(Long transfered) |
| | | { |
| | | this.transfered = transfered; |
| | | } |
| | | |
| | | public Long getTransfered() |
| | | { |
| | | return transfered; |
| | | } |
| | | public void setTransUuid(String transUuid) |
| | | { |
| | | this.transUuid = transUuid; |
| | | } |
| | | |
| | | public String getTransUuid() |
| | | { |
| | | return transUuid; |
| | | } |
| | | public void setTransPhone(String transPhone) |
| | | { |
| | | this.transPhone = transPhone; |
| | | } |
| | | |
| | | public String getTransPhone() |
| | | { |
| | | return transPhone; |
| | | } |
| | | public void setTransAnswered(Long transAnswered) |
| | | { |
| | | this.transAnswered = transAnswered; |
| | | } |
| | | |
| | | public Long getTransAnswered() |
| | | { |
| | | return transAnswered; |
| | | } |
| | | public void setTransStartTime(Long transStartTime) |
| | | { |
| | | this.transStartTime = transStartTime; |
| | | } |
| | | |
| | | public Long getTransStartTime() |
| | | { |
| | | return transStartTime; |
| | | } |
| | | public void setTransAnswerTime(Long transAnswerTime) |
| | | { |
| | | this.transAnswerTime = transAnswerTime; |
| | | } |
| | | |
| | | public Long getTransAnswerTime() |
| | | { |
| | | return transAnswerTime; |
| | | } |
| | | public void setEarlyAsrtext(String earlyAsrtext) |
| | | { |
| | | this.earlyAsrtext = earlyAsrtext; |
| | | } |
| | | |
| | | public String getEarlyAsrtext() |
| | | { |
| | | return earlyAsrtext; |
| | | } |
| | | public void setEarlyPath(String earlyPath) |
| | | { |
| | | this.earlyPath = earlyPath; |
| | | } |
| | | |
| | | public String getEarlyPath() |
| | | { |
| | | return earlyPath; |
| | | } |
| | | public void setEarlyUrl(String earlyUrl) |
| | | { |
| | | this.earlyUrl = earlyUrl; |
| | | } |
| | | |
| | | public String getEarlyUrl() |
| | | { |
| | | return earlyUrl; |
| | | } |
| | | 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 setOrgid(String orgid) |
| | | { |
| | | this.orgid = orgid; |
| | | } |
| | | |
| | | public String getOrgid() |
| | | { |
| | | return orgid; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("uuid", getUuid()) |
| | | .append("displayno", getDisplayno()) |
| | | .append("phone", getPhone()) |
| | | .append("taskid", getTaskid()) |
| | | .append("extension", getExtension()) |
| | | .append("inbound", getInbound()) |
| | | .append("direct", getDirect()) |
| | | .append("answered", getAnswered()) |
| | | .append("assignTime", getAssignTime()) |
| | | .append("startTime", getStartTime()) |
| | | .append("answerTime", getAnswerTime()) |
| | | .append("hangupTime", getHangupTime()) |
| | | .append("endTime", getEndTime()) |
| | | .append("recordPath", getRecordPath()) |
| | | .append("recordUrl", getRecordUrl()) |
| | | .append("hangupSipcode", getHangupSipcode()) |
| | | .append("hangupCause", getHangupCause()) |
| | | .append("transfered", getTransfered()) |
| | | .append("transUuid", getTransUuid()) |
| | | .append("transPhone", getTransPhone()) |
| | | .append("transAnswered", getTransAnswered()) |
| | | .append("transStartTime", getTransStartTime()) |
| | | .append("transAnswerTime", getTransAnswerTime()) |
| | | .append("earlyAsrtext", getEarlyAsrtext()) |
| | | .append("earlyPath", getEarlyPath()) |
| | | .append("earlyUrl", getEarlyUrl()) |
| | | .append("delFlag", getDelFlag()) |
| | | .append("updateBy", getUpdateBy()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .append("createBy", getCreateBy()) |
| | | .append("createTime", getCreateTime()) |
| | | .append("isupload", getIsupload()) |
| | | .append("uploadTime", getUploadTime()) |
| | | .append("orgid", getOrgid()) |
| | | .toString(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡ç信对象 ivr_tasksms |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | */ |
| | | public class IvrTasksms extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** */ |
| | | private Long id; |
| | | |
| | | /** ä»»å¡ç¼å· */ |
| | | @Excel(name = " ä»»å¡ç¼å· ") |
| | | private Long taskid; |
| | | |
| | | /** ç±»å0.ä¸ä½¿ç¨ 1.ä»»å¡å 2.ä»»å¡å */ |
| | | @Excel(name = " ç±»å0.ä¸ä½¿ç¨ 1.ä»»å¡å 2.ä»»å¡å ") |
| | | private Long type; |
| | | |
| | | /** ç信模æ¿ä¸»é® */ |
| | | @Excel(name = " ç信模æ¿ä¸»é® ") |
| | | private Long smstemplateid; |
| | | |
| | | /** çµè¯ç¶æä¸»é® */ |
| | | @Excel(name = " çµè¯ç¶æä¸»é® ") |
| | | private String phonestatusid; |
| | | |
| | | /** ç信模æ¿åç§° */ |
| | | @Excel(name = " ç信模æ¿åç§° ") |
| | | private String smstemplatename; |
| | | |
| | | /** çµè¯ç¶æåç§° */ |
| | | @Excel(name = " çµè¯ç¶æåç§° ") |
| | | private String phonestatusname; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private Long isdel; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String content; |
| | | |
| | | /** æ ç¾ç¼å· */ |
| | | @Excel(name = " æ ç¾ç¼å· ") |
| | | private Long tagid; |
| | | |
| | | /** å 餿 è®° */ |
| | | 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 String orgid; |
| | | |
| | | public void setId(Long id) |
| | | { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Long getId() |
| | | { |
| | | return id; |
| | | } |
| | | public void setTaskid(Long taskid) |
| | | { |
| | | this.taskid = taskid; |
| | | } |
| | | |
| | | public Long getTaskid() |
| | | { |
| | | return taskid; |
| | | } |
| | | public void setType(Long type) |
| | | { |
| | | this.type = type; |
| | | } |
| | | |
| | | public Long getType() |
| | | { |
| | | return type; |
| | | } |
| | | public void setSmstemplateid(Long smstemplateid) |
| | | { |
| | | this.smstemplateid = smstemplateid; |
| | | } |
| | | |
| | | public Long getSmstemplateid() |
| | | { |
| | | return smstemplateid; |
| | | } |
| | | public void setPhonestatusid(String phonestatusid) |
| | | { |
| | | this.phonestatusid = phonestatusid; |
| | | } |
| | | |
| | | public String getPhonestatusid() |
| | | { |
| | | return phonestatusid; |
| | | } |
| | | public void setSmstemplatename(String smstemplatename) |
| | | { |
| | | this.smstemplatename = smstemplatename; |
| | | } |
| | | |
| | | public String getSmstemplatename() |
| | | { |
| | | return smstemplatename; |
| | | } |
| | | public void setPhonestatusname(String phonestatusname) |
| | | { |
| | | this.phonestatusname = phonestatusname; |
| | | } |
| | | |
| | | public String getPhonestatusname() |
| | | { |
| | | return phonestatusname; |
| | | } |
| | | public void setIsdel(Long isdel) |
| | | { |
| | | this.isdel = isdel; |
| | | } |
| | | |
| | | public Long getIsdel() |
| | | { |
| | | return isdel; |
| | | } |
| | | public void setContent(String content) |
| | | { |
| | | this.content = content; |
| | | } |
| | | |
| | | public String getContent() |
| | | { |
| | | return content; |
| | | } |
| | | public void setTagid(Long tagid) |
| | | { |
| | | this.tagid = tagid; |
| | | } |
| | | |
| | | public Long getTagid() |
| | | { |
| | | return tagid; |
| | | } |
| | | 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 setOrgid(String orgid) |
| | | { |
| | | this.orgid = orgid; |
| | | } |
| | | |
| | | public String getOrgid() |
| | | { |
| | | return orgid; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("id", getId()) |
| | | .append("taskid", getTaskid()) |
| | | .append("type", getType()) |
| | | .append("smstemplateid", getSmstemplateid()) |
| | | .append("phonestatusid", getPhonestatusid()) |
| | | .append("smstemplatename", getSmstemplatename()) |
| | | .append("phonestatusname", getPhonestatusname()) |
| | | .append("isdel", getIsdel()) |
| | | .append("content", getContent()) |
| | | .append("tagid", getTagid()) |
| | | .append("delFlag", getDelFlag()) |
| | | .append("updateBy", getUpdateBy()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .append("createBy", getCreateBy()) |
| | | .append("createTime", getCreateTime()) |
| | | .append("isupload", getIsupload()) |
| | | .append("uploadTime", getUploadTime()) |
| | | .append("orgid", getOrgid()) |
| | | .toString(); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.IvrTask; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡Mapperæ¥å£ |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | */ |
| | | public interface IvrTaskMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡ |
| | | * |
| | | * @param taskid è¯é³ä»»å¡ä¸»é® |
| | | * @return è¯é³ä»»å¡ |
| | | */ |
| | | public IvrTask selectIvrTaskByTaskid(Long taskid); |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å表 |
| | | * |
| | | * @param ivrTask è¯é³ä»»å¡ |
| | | * @return è¯é³ä»»å¡éå |
| | | */ |
| | | public List<IvrTask> selectIvrTaskList(IvrTask ivrTask); |
| | | |
| | | /** |
| | | * æ°å¢è¯é³ä»»å¡ |
| | | * |
| | | * @param ivrTask è¯é³ä»»å¡ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrTask(IvrTask ivrTask); |
| | | |
| | | /** |
| | | * ä¿®æ¹è¯é³ä»»å¡ |
| | | * |
| | | * @param ivrTask è¯é³ä»»å¡ |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrTask(IvrTask ivrTask); |
| | | |
| | | /** |
| | | * å é¤è¯é³ä»»å¡ |
| | | * |
| | | * @param taskid è¯é³ä»»å¡ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrTaskByTaskid(Long taskid); |
| | | |
| | | /** |
| | | * æ¹éå é¤è¯é³ä»»å¡ |
| | | * |
| | | * @param taskids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrTaskByTaskids(Long[] taskids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.IvrTaskcall; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡å¼å«Mapperæ¥å£ |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | */ |
| | | public interface IvrTaskcallMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å« |
| | | * |
| | | * @param callid è¯é³ä»»å¡å¼å«ä¸»é® |
| | | * @return è¯é³ä»»å¡å¼å« |
| | | */ |
| | | public IvrTaskcall selectIvrTaskcallByCallid(Long callid); |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å«å表 |
| | | * |
| | | * @param ivrTaskcall è¯é³ä»»å¡å¼å« |
| | | * @return è¯é³ä»»å¡å¼å«éå |
| | | */ |
| | | public List<IvrTaskcall> selectIvrTaskcallList(IvrTaskcall ivrTaskcall); |
| | | |
| | | /** |
| | | * æ°å¢è¯é³ä»»å¡å¼å« |
| | | * |
| | | * @param ivrTaskcall è¯é³ä»»å¡å¼å« |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrTaskcall(IvrTaskcall ivrTaskcall); |
| | | |
| | | /** |
| | | * ä¿®æ¹è¯é³ä»»å¡å¼å« |
| | | * |
| | | * @param ivrTaskcall è¯é³ä»»å¡å¼å« |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrTaskcall(IvrTaskcall ivrTaskcall); |
| | | |
| | | /** |
| | | * å é¤è¯é³ä»»å¡å¼å« |
| | | * |
| | | * @param callid è¯é³ä»»å¡å¼å«ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrTaskcallByCallid(Long callid); |
| | | |
| | | /** |
| | | * æ¹éå é¤è¯é³ä»»å¡å¼å« |
| | | * |
| | | * @param callids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrTaskcallByCallids(Long[] callids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.IvrTaskcalldetail; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡å¼å«æç»Mapperæ¥å£ |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | */ |
| | | public interface IvrTaskcalldetailMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å«æç» |
| | | * |
| | | * @param calldetailid è¯é³ä»»å¡å¼å«æç»ä¸»é® |
| | | * @return è¯é³ä»»å¡å¼å«æç» |
| | | */ |
| | | public IvrTaskcalldetail selectIvrTaskcalldetailByCalldetailid(String calldetailid); |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å«æç»å表 |
| | | * |
| | | * @param ivrTaskcalldetail è¯é³ä»»å¡å¼å«æç» |
| | | * @return è¯é³ä»»å¡å¼å«æç»éå |
| | | */ |
| | | public List<IvrTaskcalldetail> selectIvrTaskcalldetailList(IvrTaskcalldetail ivrTaskcalldetail); |
| | | |
| | | /** |
| | | * æ°å¢è¯é³ä»»å¡å¼å«æç» |
| | | * |
| | | * @param ivrTaskcalldetail è¯é³ä»»å¡å¼å«æç» |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrTaskcalldetail(IvrTaskcalldetail ivrTaskcalldetail); |
| | | |
| | | /** |
| | | * ä¿®æ¹è¯é³ä»»å¡å¼å«æç» |
| | | * |
| | | * @param ivrTaskcalldetail è¯é³ä»»å¡å¼å«æç» |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrTaskcalldetail(IvrTaskcalldetail ivrTaskcalldetail); |
| | | |
| | | /** |
| | | * å é¤è¯é³ä»»å¡å¼å«æç» |
| | | * |
| | | * @param calldetailid è¯é³ä»»å¡å¼å«æç»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrTaskcalldetailByCalldetailid(String calldetailid); |
| | | |
| | | /** |
| | | * æ¹éå é¤è¯é³ä»»å¡å¼å«æç» |
| | | * |
| | | * @param calldetailids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrTaskcalldetailByCalldetailids(String[] calldetailids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.IvrTaskcallrecord; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡å¼å«è®°å½Mapperæ¥å£ |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | */ |
| | | public interface IvrTaskcallrecordMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å«è®°å½ |
| | | * |
| | | * @param uuid è¯é³ä»»å¡å¼å«è®°å½ä¸»é® |
| | | * @return è¯é³ä»»å¡å¼å«è®°å½ |
| | | */ |
| | | public IvrTaskcallrecord selectIvrTaskcallrecordByUuid(String uuid); |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å«è®°å½å表 |
| | | * |
| | | * @param ivrTaskcallrecord è¯é³ä»»å¡å¼å«è®°å½ |
| | | * @return è¯é³ä»»å¡å¼å«è®°å½éå |
| | | */ |
| | | public List<IvrTaskcallrecord> selectIvrTaskcallrecordList(IvrTaskcallrecord ivrTaskcallrecord); |
| | | |
| | | /** |
| | | * æ°å¢è¯é³ä»»å¡å¼å«è®°å½ |
| | | * |
| | | * @param ivrTaskcallrecord è¯é³ä»»å¡å¼å«è®°å½ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrTaskcallrecord(IvrTaskcallrecord ivrTaskcallrecord); |
| | | |
| | | /** |
| | | * ä¿®æ¹è¯é³ä»»å¡å¼å«è®°å½ |
| | | * |
| | | * @param ivrTaskcallrecord è¯é³ä»»å¡å¼å«è®°å½ |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrTaskcallrecord(IvrTaskcallrecord ivrTaskcallrecord); |
| | | |
| | | /** |
| | | * å é¤è¯é³ä»»å¡å¼å«è®°å½ |
| | | * |
| | | * @param uuid è¯é³ä»»å¡å¼å«è®°å½ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrTaskcallrecordByUuid(String uuid); |
| | | |
| | | /** |
| | | * æ¹éå é¤è¯é³ä»»å¡å¼å«è®°å½ |
| | | * |
| | | * @param uuids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrTaskcallrecordByUuids(String[] uuids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.IvrTasksms; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡çä¿¡Mapperæ¥å£ |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | */ |
| | | public interface IvrTasksmsMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡çä¿¡ |
| | | * |
| | | * @param id è¯é³ä»»å¡çä¿¡ä¸»é® |
| | | * @return è¯é³ä»»å¡çä¿¡ |
| | | */ |
| | | public IvrTasksms selectIvrTasksmsById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡çä¿¡å表 |
| | | * |
| | | * @param ivrTasksms è¯é³ä»»å¡çä¿¡ |
| | | * @return è¯é³ä»»å¡çä¿¡éå |
| | | */ |
| | | public List<IvrTasksms> selectIvrTasksmsList(IvrTasksms ivrTasksms); |
| | | |
| | | /** |
| | | * æ°å¢è¯é³ä»»å¡çä¿¡ |
| | | * |
| | | * @param ivrTasksms è¯é³ä»»å¡çä¿¡ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrTasksms(IvrTasksms ivrTasksms); |
| | | |
| | | /** |
| | | * ä¿®æ¹è¯é³ä»»å¡çä¿¡ |
| | | * |
| | | * @param ivrTasksms è¯é³ä»»å¡çä¿¡ |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrTasksms(IvrTasksms ivrTasksms); |
| | | |
| | | /** |
| | | * å é¤è¯é³ä»»å¡çä¿¡ |
| | | * |
| | | * @param id è¯é³ä»»å¡çä¿¡ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrTasksmsById(Long id); |
| | | |
| | | /** |
| | | * æ¹éå é¤è¯é³ä»»å¡çä¿¡ |
| | | * |
| | | * @param ids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrTasksmsByIds(Long[] ids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.IvrTask; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡Serviceæ¥å£ |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | */ |
| | | public interface IIvrTaskService |
| | | { |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡ |
| | | * |
| | | * @param taskid è¯é³ä»»å¡ä¸»é® |
| | | * @return è¯é³ä»»å¡ |
| | | */ |
| | | public IvrTask selectIvrTaskByTaskid(Long taskid); |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å表 |
| | | * |
| | | * @param ivrTask è¯é³ä»»å¡ |
| | | * @return è¯é³ä»»å¡éå |
| | | */ |
| | | public List<IvrTask> selectIvrTaskList(IvrTask ivrTask); |
| | | |
| | | /** |
| | | * æ°å¢è¯é³ä»»å¡ |
| | | * |
| | | * @param ivrTask è¯é³ä»»å¡ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrTask(IvrTask ivrTask); |
| | | |
| | | /** |
| | | * ä¿®æ¹è¯é³ä»»å¡ |
| | | * |
| | | * @param ivrTask è¯é³ä»»å¡ |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrTask(IvrTask ivrTask); |
| | | |
| | | /** |
| | | * æ¹éå é¤è¯é³ä»»å¡ |
| | | * |
| | | * @param taskids éè¦å é¤çè¯é³ä»»å¡ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrTaskByTaskids(Long[] taskids); |
| | | |
| | | /** |
| | | * å é¤è¯é³ä»»å¡ä¿¡æ¯ |
| | | * |
| | | * @param taskid è¯é³ä»»å¡ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrTaskByTaskid(Long taskid); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.IvrTaskcall; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡å¼å«Serviceæ¥å£ |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | */ |
| | | public interface IIvrTaskcallService |
| | | { |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å« |
| | | * |
| | | * @param callid è¯é³ä»»å¡å¼å«ä¸»é® |
| | | * @return è¯é³ä»»å¡å¼å« |
| | | */ |
| | | public IvrTaskcall selectIvrTaskcallByCallid(Long callid); |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å«å表 |
| | | * |
| | | * @param ivrTaskcall è¯é³ä»»å¡å¼å« |
| | | * @return è¯é³ä»»å¡å¼å«éå |
| | | */ |
| | | public List<IvrTaskcall> selectIvrTaskcallList(IvrTaskcall ivrTaskcall); |
| | | |
| | | /** |
| | | * æ°å¢è¯é³ä»»å¡å¼å« |
| | | * |
| | | * @param ivrTaskcall è¯é³ä»»å¡å¼å« |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrTaskcall(IvrTaskcall ivrTaskcall); |
| | | |
| | | /** |
| | | * ä¿®æ¹è¯é³ä»»å¡å¼å« |
| | | * |
| | | * @param ivrTaskcall è¯é³ä»»å¡å¼å« |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrTaskcall(IvrTaskcall ivrTaskcall); |
| | | |
| | | /** |
| | | * æ¹éå é¤è¯é³ä»»å¡å¼å« |
| | | * |
| | | * @param callids éè¦å é¤çè¯é³ä»»å¡å¼å«ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrTaskcallByCallids(Long[] callids); |
| | | |
| | | /** |
| | | * å é¤è¯é³ä»»å¡å¼å«ä¿¡æ¯ |
| | | * |
| | | * @param callid è¯é³ä»»å¡å¼å«ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrTaskcallByCallid(Long callid); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.IvrTaskcalldetail; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡å¼å«æç»Serviceæ¥å£ |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | */ |
| | | public interface IIvrTaskcalldetailService |
| | | { |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å«æç» |
| | | * |
| | | * @param calldetailid è¯é³ä»»å¡å¼å«æç»ä¸»é® |
| | | * @return è¯é³ä»»å¡å¼å«æç» |
| | | */ |
| | | public IvrTaskcalldetail selectIvrTaskcalldetailByCalldetailid(String calldetailid); |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å«æç»å表 |
| | | * |
| | | * @param ivrTaskcalldetail è¯é³ä»»å¡å¼å«æç» |
| | | * @return è¯é³ä»»å¡å¼å«æç»éå |
| | | */ |
| | | public List<IvrTaskcalldetail> selectIvrTaskcalldetailList(IvrTaskcalldetail ivrTaskcalldetail); |
| | | |
| | | /** |
| | | * æ°å¢è¯é³ä»»å¡å¼å«æç» |
| | | * |
| | | * @param ivrTaskcalldetail è¯é³ä»»å¡å¼å«æç» |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrTaskcalldetail(IvrTaskcalldetail ivrTaskcalldetail); |
| | | |
| | | /** |
| | | * ä¿®æ¹è¯é³ä»»å¡å¼å«æç» |
| | | * |
| | | * @param ivrTaskcalldetail è¯é³ä»»å¡å¼å«æç» |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrTaskcalldetail(IvrTaskcalldetail ivrTaskcalldetail); |
| | | |
| | | /** |
| | | * æ¹éå é¤è¯é³ä»»å¡å¼å«æç» |
| | | * |
| | | * @param calldetailids éè¦å é¤çè¯é³ä»»å¡å¼å«æç»ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrTaskcalldetailByCalldetailids(String[] calldetailids); |
| | | |
| | | /** |
| | | * å é¤è¯é³ä»»å¡å¼å«æç»ä¿¡æ¯ |
| | | * |
| | | * @param calldetailid è¯é³ä»»å¡å¼å«æç»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrTaskcalldetailByCalldetailid(String calldetailid); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.IvrTaskcallrecord; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡å¼å«è®°å½Serviceæ¥å£ |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | */ |
| | | public interface IIvrTaskcallrecordService |
| | | { |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å«è®°å½ |
| | | * |
| | | * @param uuid è¯é³ä»»å¡å¼å«è®°å½ä¸»é® |
| | | * @return è¯é³ä»»å¡å¼å«è®°å½ |
| | | */ |
| | | public IvrTaskcallrecord selectIvrTaskcallrecordByUuid(String uuid); |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å«è®°å½å表 |
| | | * |
| | | * @param ivrTaskcallrecord è¯é³ä»»å¡å¼å«è®°å½ |
| | | * @return è¯é³ä»»å¡å¼å«è®°å½éå |
| | | */ |
| | | public List<IvrTaskcallrecord> selectIvrTaskcallrecordList(IvrTaskcallrecord ivrTaskcallrecord); |
| | | |
| | | /** |
| | | * æ°å¢è¯é³ä»»å¡å¼å«è®°å½ |
| | | * |
| | | * @param ivrTaskcallrecord è¯é³ä»»å¡å¼å«è®°å½ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrTaskcallrecord(IvrTaskcallrecord ivrTaskcallrecord); |
| | | |
| | | /** |
| | | * ä¿®æ¹è¯é³ä»»å¡å¼å«è®°å½ |
| | | * |
| | | * @param ivrTaskcallrecord è¯é³ä»»å¡å¼å«è®°å½ |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrTaskcallrecord(IvrTaskcallrecord ivrTaskcallrecord); |
| | | |
| | | /** |
| | | * æ¹éå é¤è¯é³ä»»å¡å¼å«è®°å½ |
| | | * |
| | | * @param uuids éè¦å é¤çè¯é³ä»»å¡å¼å«è®°å½ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrTaskcallrecordByUuids(String[] uuids); |
| | | |
| | | /** |
| | | * å é¤è¯é³ä»»å¡å¼å«è®°å½ä¿¡æ¯ |
| | | * |
| | | * @param uuid è¯é³ä»»å¡å¼å«è®°å½ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrTaskcallrecordByUuid(String uuid); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.IvrTasksms; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡çä¿¡Serviceæ¥å£ |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | */ |
| | | public interface IIvrTasksmsService |
| | | { |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡çä¿¡ |
| | | * |
| | | * @param id è¯é³ä»»å¡çä¿¡ä¸»é® |
| | | * @return è¯é³ä»»å¡çä¿¡ |
| | | */ |
| | | public IvrTasksms selectIvrTasksmsById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡çä¿¡å表 |
| | | * |
| | | * @param ivrTasksms è¯é³ä»»å¡çä¿¡ |
| | | * @return è¯é³ä»»å¡çä¿¡éå |
| | | */ |
| | | public List<IvrTasksms> selectIvrTasksmsList(IvrTasksms ivrTasksms); |
| | | |
| | | /** |
| | | * æ°å¢è¯é³ä»»å¡çä¿¡ |
| | | * |
| | | * @param ivrTasksms è¯é³ä»»å¡çä¿¡ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrTasksms(IvrTasksms ivrTasksms); |
| | | |
| | | /** |
| | | * ä¿®æ¹è¯é³ä»»å¡çä¿¡ |
| | | * |
| | | * @param ivrTasksms è¯é³ä»»å¡çä¿¡ |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrTasksms(IvrTasksms ivrTasksms); |
| | | |
| | | /** |
| | | * æ¹éå é¤è¯é³ä»»å¡çä¿¡ |
| | | * |
| | | * @param ids éè¦å é¤çè¯é³ä»»å¡ç信主é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrTasksmsByIds(Long[] ids); |
| | | |
| | | /** |
| | | * å é¤è¯é³ä»»å¡çä¿¡ä¿¡æ¯ |
| | | * |
| | | * @param id è¯é³ä»»å¡çä¿¡ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrTasksmsById(Long id); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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.IvrTaskMapper; |
| | | import com.smartor.domain.IvrTask; |
| | | import com.smartor.service.IIvrTaskService; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | */ |
| | | @Service |
| | | public class IvrTaskServiceImpl implements IIvrTaskService |
| | | { |
| | | @Autowired |
| | | private IvrTaskMapper ivrTaskMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡ |
| | | * |
| | | * @param taskid è¯é³ä»»å¡ä¸»é® |
| | | * @return è¯é³ä»»å¡ |
| | | */ |
| | | @Override |
| | | public IvrTask selectIvrTaskByTaskid(Long taskid) |
| | | { |
| | | return ivrTaskMapper.selectIvrTaskByTaskid(taskid); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å表 |
| | | * |
| | | * @param ivrTask è¯é³ä»»å¡ |
| | | * @return è¯é³ä»»å¡ |
| | | */ |
| | | @Override |
| | | public List<IvrTask> selectIvrTaskList(IvrTask ivrTask) |
| | | { |
| | | return ivrTaskMapper.selectIvrTaskList(ivrTask); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢è¯é³ä»»å¡ |
| | | * |
| | | * @param ivrTask è¯é³ä»»å¡ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertIvrTask(IvrTask ivrTask) |
| | | { |
| | | ivrTask.setCreateTime(DateUtils.getNowDate()); |
| | | return ivrTaskMapper.insertIvrTask(ivrTask); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹è¯é³ä»»å¡ |
| | | * |
| | | * @param ivrTask è¯é³ä»»å¡ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateIvrTask(IvrTask ivrTask) |
| | | { |
| | | ivrTask.setUpdateTime(DateUtils.getNowDate()); |
| | | return ivrTaskMapper.updateIvrTask(ivrTask); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤è¯é³ä»»å¡ |
| | | * |
| | | * @param taskids éè¦å é¤çè¯é³ä»»å¡ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrTaskByTaskids(Long[] taskids) |
| | | { |
| | | return ivrTaskMapper.deleteIvrTaskByTaskids(taskids); |
| | | } |
| | | |
| | | /** |
| | | * å é¤è¯é³ä»»å¡ä¿¡æ¯ |
| | | * |
| | | * @param taskid è¯é³ä»»å¡ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrTaskByTaskid(Long taskid) |
| | | { |
| | | return ivrTaskMapper.deleteIvrTaskByTaskid(taskid); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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.IvrTaskcallMapper; |
| | | import com.smartor.domain.IvrTaskcall; |
| | | import com.smartor.service.IIvrTaskcallService; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡å¼å«Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | */ |
| | | @Service |
| | | public class IvrTaskcallServiceImpl implements IIvrTaskcallService |
| | | { |
| | | @Autowired |
| | | private IvrTaskcallMapper ivrTaskcallMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å« |
| | | * |
| | | * @param callid è¯é³ä»»å¡å¼å«ä¸»é® |
| | | * @return è¯é³ä»»å¡å¼å« |
| | | */ |
| | | @Override |
| | | public IvrTaskcall selectIvrTaskcallByCallid(Long callid) |
| | | { |
| | | return ivrTaskcallMapper.selectIvrTaskcallByCallid(callid); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å«å表 |
| | | * |
| | | * @param ivrTaskcall è¯é³ä»»å¡å¼å« |
| | | * @return è¯é³ä»»å¡å¼å« |
| | | */ |
| | | @Override |
| | | public List<IvrTaskcall> selectIvrTaskcallList(IvrTaskcall ivrTaskcall) |
| | | { |
| | | return ivrTaskcallMapper.selectIvrTaskcallList(ivrTaskcall); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢è¯é³ä»»å¡å¼å« |
| | | * |
| | | * @param ivrTaskcall è¯é³ä»»å¡å¼å« |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertIvrTaskcall(IvrTaskcall ivrTaskcall) |
| | | { |
| | | ivrTaskcall.setCreateTime(DateUtils.getNowDate()); |
| | | return ivrTaskcallMapper.insertIvrTaskcall(ivrTaskcall); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹è¯é³ä»»å¡å¼å« |
| | | * |
| | | * @param ivrTaskcall è¯é³ä»»å¡å¼å« |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateIvrTaskcall(IvrTaskcall ivrTaskcall) |
| | | { |
| | | ivrTaskcall.setUpdateTime(DateUtils.getNowDate()); |
| | | return ivrTaskcallMapper.updateIvrTaskcall(ivrTaskcall); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤è¯é³ä»»å¡å¼å« |
| | | * |
| | | * @param callids éè¦å é¤çè¯é³ä»»å¡å¼å«ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrTaskcallByCallids(Long[] callids) |
| | | { |
| | | return ivrTaskcallMapper.deleteIvrTaskcallByCallids(callids); |
| | | } |
| | | |
| | | /** |
| | | * å é¤è¯é³ä»»å¡å¼å«ä¿¡æ¯ |
| | | * |
| | | * @param callid è¯é³ä»»å¡å¼å«ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrTaskcallByCallid(Long callid) |
| | | { |
| | | return ivrTaskcallMapper.deleteIvrTaskcallByCallid(callid); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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.IvrTaskcalldetailMapper; |
| | | import com.smartor.domain.IvrTaskcalldetail; |
| | | import com.smartor.service.IIvrTaskcalldetailService; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡å¼å«æç»Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | */ |
| | | @Service |
| | | public class IvrTaskcalldetailServiceImpl implements IIvrTaskcalldetailService |
| | | { |
| | | @Autowired |
| | | private IvrTaskcalldetailMapper ivrTaskcalldetailMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å«æç» |
| | | * |
| | | * @param calldetailid è¯é³ä»»å¡å¼å«æç»ä¸»é® |
| | | * @return è¯é³ä»»å¡å¼å«æç» |
| | | */ |
| | | @Override |
| | | public IvrTaskcalldetail selectIvrTaskcalldetailByCalldetailid(String calldetailid) |
| | | { |
| | | return ivrTaskcalldetailMapper.selectIvrTaskcalldetailByCalldetailid(calldetailid); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å«æç»å表 |
| | | * |
| | | * @param ivrTaskcalldetail è¯é³ä»»å¡å¼å«æç» |
| | | * @return è¯é³ä»»å¡å¼å«æç» |
| | | */ |
| | | @Override |
| | | public List<IvrTaskcalldetail> selectIvrTaskcalldetailList(IvrTaskcalldetail ivrTaskcalldetail) |
| | | { |
| | | return ivrTaskcalldetailMapper.selectIvrTaskcalldetailList(ivrTaskcalldetail); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢è¯é³ä»»å¡å¼å«æç» |
| | | * |
| | | * @param ivrTaskcalldetail è¯é³ä»»å¡å¼å«æç» |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertIvrTaskcalldetail(IvrTaskcalldetail ivrTaskcalldetail) |
| | | { |
| | | ivrTaskcalldetail.setCreateTime(DateUtils.getNowDate()); |
| | | return ivrTaskcalldetailMapper.insertIvrTaskcalldetail(ivrTaskcalldetail); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹è¯é³ä»»å¡å¼å«æç» |
| | | * |
| | | * @param ivrTaskcalldetail è¯é³ä»»å¡å¼å«æç» |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateIvrTaskcalldetail(IvrTaskcalldetail ivrTaskcalldetail) |
| | | { |
| | | ivrTaskcalldetail.setUpdateTime(DateUtils.getNowDate()); |
| | | return ivrTaskcalldetailMapper.updateIvrTaskcalldetail(ivrTaskcalldetail); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤è¯é³ä»»å¡å¼å«æç» |
| | | * |
| | | * @param calldetailids éè¦å é¤çè¯é³ä»»å¡å¼å«æç»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrTaskcalldetailByCalldetailids(String[] calldetailids) |
| | | { |
| | | return ivrTaskcalldetailMapper.deleteIvrTaskcalldetailByCalldetailids(calldetailids); |
| | | } |
| | | |
| | | /** |
| | | * å é¤è¯é³ä»»å¡å¼å«æç»ä¿¡æ¯ |
| | | * |
| | | * @param calldetailid è¯é³ä»»å¡å¼å«æç»ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrTaskcalldetailByCalldetailid(String calldetailid) |
| | | { |
| | | return ivrTaskcalldetailMapper.deleteIvrTaskcalldetailByCalldetailid(calldetailid); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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.IvrTaskcallrecordMapper; |
| | | import com.smartor.domain.IvrTaskcallrecord; |
| | | import com.smartor.service.IIvrTaskcallrecordService; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡å¼å«è®°å½Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | */ |
| | | @Service |
| | | public class IvrTaskcallrecordServiceImpl implements IIvrTaskcallrecordService |
| | | { |
| | | @Autowired |
| | | private IvrTaskcallrecordMapper ivrTaskcallrecordMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å«è®°å½ |
| | | * |
| | | * @param uuid è¯é³ä»»å¡å¼å«è®°å½ä¸»é® |
| | | * @return è¯é³ä»»å¡å¼å«è®°å½ |
| | | */ |
| | | @Override |
| | | public IvrTaskcallrecord selectIvrTaskcallrecordByUuid(String uuid) |
| | | { |
| | | return ivrTaskcallrecordMapper.selectIvrTaskcallrecordByUuid(uuid); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å«è®°å½å表 |
| | | * |
| | | * @param ivrTaskcallrecord è¯é³ä»»å¡å¼å«è®°å½ |
| | | * @return è¯é³ä»»å¡å¼å«è®°å½ |
| | | */ |
| | | @Override |
| | | public List<IvrTaskcallrecord> selectIvrTaskcallrecordList(IvrTaskcallrecord ivrTaskcallrecord) |
| | | { |
| | | return ivrTaskcallrecordMapper.selectIvrTaskcallrecordList(ivrTaskcallrecord); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢è¯é³ä»»å¡å¼å«è®°å½ |
| | | * |
| | | * @param ivrTaskcallrecord è¯é³ä»»å¡å¼å«è®°å½ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertIvrTaskcallrecord(IvrTaskcallrecord ivrTaskcallrecord) |
| | | { |
| | | ivrTaskcallrecord.setCreateTime(DateUtils.getNowDate()); |
| | | return ivrTaskcallrecordMapper.insertIvrTaskcallrecord(ivrTaskcallrecord); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹è¯é³ä»»å¡å¼å«è®°å½ |
| | | * |
| | | * @param ivrTaskcallrecord è¯é³ä»»å¡å¼å«è®°å½ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateIvrTaskcallrecord(IvrTaskcallrecord ivrTaskcallrecord) |
| | | { |
| | | ivrTaskcallrecord.setUpdateTime(DateUtils.getNowDate()); |
| | | return ivrTaskcallrecordMapper.updateIvrTaskcallrecord(ivrTaskcallrecord); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤è¯é³ä»»å¡å¼å«è®°å½ |
| | | * |
| | | * @param uuids éè¦å é¤çè¯é³ä»»å¡å¼å«è®°å½ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrTaskcallrecordByUuids(String[] uuids) |
| | | { |
| | | return ivrTaskcallrecordMapper.deleteIvrTaskcallrecordByUuids(uuids); |
| | | } |
| | | |
| | | /** |
| | | * å é¤è¯é³ä»»å¡å¼å«è®°å½ä¿¡æ¯ |
| | | * |
| | | * @param uuid è¯é³ä»»å¡å¼å«è®°å½ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrTaskcallrecordByUuid(String uuid) |
| | | { |
| | | return ivrTaskcallrecordMapper.deleteIvrTaskcallrecordByUuid(uuid); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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.IvrTasksmsMapper; |
| | | import com.smartor.domain.IvrTasksms; |
| | | import com.smartor.service.IIvrTasksmsService; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡çä¿¡Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | */ |
| | | @Service |
| | | public class IvrTasksmsServiceImpl implements IIvrTasksmsService |
| | | { |
| | | @Autowired |
| | | private IvrTasksmsMapper ivrTasksmsMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡çä¿¡ |
| | | * |
| | | * @param id è¯é³ä»»å¡çä¿¡ä¸»é® |
| | | * @return è¯é³ä»»å¡çä¿¡ |
| | | */ |
| | | @Override |
| | | public IvrTasksms selectIvrTasksmsById(Long id) |
| | | { |
| | | return ivrTasksmsMapper.selectIvrTasksmsById(id); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡çä¿¡å表 |
| | | * |
| | | * @param ivrTasksms è¯é³ä»»å¡çä¿¡ |
| | | * @return è¯é³ä»»å¡çä¿¡ |
| | | */ |
| | | @Override |
| | | public List<IvrTasksms> selectIvrTasksmsList(IvrTasksms ivrTasksms) |
| | | { |
| | | return ivrTasksmsMapper.selectIvrTasksmsList(ivrTasksms); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢è¯é³ä»»å¡çä¿¡ |
| | | * |
| | | * @param ivrTasksms è¯é³ä»»å¡çä¿¡ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertIvrTasksms(IvrTasksms ivrTasksms) |
| | | { |
| | | ivrTasksms.setCreateTime(DateUtils.getNowDate()); |
| | | return ivrTasksmsMapper.insertIvrTasksms(ivrTasksms); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹è¯é³ä»»å¡çä¿¡ |
| | | * |
| | | * @param ivrTasksms è¯é³ä»»å¡çä¿¡ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateIvrTasksms(IvrTasksms ivrTasksms) |
| | | { |
| | | ivrTasksms.setUpdateTime(DateUtils.getNowDate()); |
| | | return ivrTasksmsMapper.updateIvrTasksms(ivrTasksms); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤è¯é³ä»»å¡çä¿¡ |
| | | * |
| | | * @param ids éè¦å é¤çè¯é³ä»»å¡çä¿¡ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrTasksmsByIds(Long[] ids) |
| | | { |
| | | return ivrTasksmsMapper.deleteIvrTasksmsByIds(ids); |
| | | } |
| | | |
| | | /** |
| | | * å é¤è¯é³ä»»å¡çä¿¡ä¿¡æ¯ |
| | | * |
| | | * @param id è¯é³ä»»å¡çä¿¡ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrTasksmsById(Long id) |
| | | { |
| | | return ivrTasksmsMapper.deleteIvrTasksmsById(id); |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?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.IvrTaskMapper"> |
| | | |
| | | <resultMap type="IvrTask" id="IvrTaskResult"> |
| | | <result property="taskid" column="taskid" /> |
| | | <result property="taskname" column="taskname" /> |
| | | <result property="templateid" column="templateid" /> |
| | | <result property="templatename" column="templatename" /> |
| | | <result property="labelinfo" column="labelinfo" /> |
| | | <result property="state" column="state" /> |
| | | <result property="count" column="count" /> |
| | | <result property="executed" column="executed" /> |
| | | <result property="unexecuted" column="unexecuted" /> |
| | | <result property="fail" column="fail" /> |
| | | <result property="userid" column="userid" /> |
| | | <result property="username" column="username" /> |
| | | <result property="addtime" column="addtime" /> |
| | | <result property="checkuserid" column="checkuserid" /> |
| | | <result property="checkusername" column="checkusername" /> |
| | | <result property="checktime" column="checktime" /> |
| | | <result property="type" column="type" /> |
| | | <result property="typename" column="typename" /> |
| | | <result property="usebqsms" column="usebqsms" /> |
| | | <result property="usebhsms" column="usebhsms" /> |
| | | <result property="usesendsms" column="usesendsms" /> |
| | | <result property="deptcode" column="deptcode" /> |
| | | <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="orgid" column="orgid" /> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrTaskVo"> |
| | | select taskid, taskname, templateid, templatename, labelinfo, state, count, executed, unexecuted, fail, userid, username, addtime, checkuserid, checkusername, checktime, type, typename, usebqsms, usebhsms, usesendsms, deptcode, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid from ivr_task |
| | | </sql> |
| | | |
| | | <select id="selectIvrTaskList" parameterType="IvrTask" resultMap="IvrTaskResult"> |
| | | <include refid="selectIvrTaskVo"/> |
| | | <where> |
| | | <if test="taskname != null and taskname != ''"> and taskname like concat('%', #{taskname}, '%')</if> |
| | | <if test="templateid != null and templateid != ''"> and templateid = #{templateid}</if> |
| | | <if test="templatename != null and templatename != ''"> and templatename like concat('%', #{templatename}, '%')</if> |
| | | <if test="labelinfo != null and labelinfo != ''"> and labelinfo = #{labelinfo}</if> |
| | | <if test="state != null "> and state = #{state}</if> |
| | | <if test="count != null "> and count = #{count}</if> |
| | | <if test="executed != null "> and executed = #{executed}</if> |
| | | <if test="unexecuted != null "> and unexecuted = #{unexecuted}</if> |
| | | <if test="fail != null "> and fail = #{fail}</if> |
| | | <if test="userid != null and userid != ''"> and userid = #{userid}</if> |
| | | <if test="username != null and username != ''"> and username like concat('%', #{username}, '%')</if> |
| | | <if test="addtime != null "> and addtime = #{addtime}</if> |
| | | <if test="checkuserid != null and checkuserid != ''"> and checkuserid = #{checkuserid}</if> |
| | | <if test="checkusername != null and checkusername != ''"> and checkusername like concat('%', #{checkusername}, '%')</if> |
| | | <if test="checktime != null "> and checktime = #{checktime}</if> |
| | | <if test="type != null and type != ''"> and type = #{type}</if> |
| | | <if test="typename != null and typename != ''"> and typename like concat('%', #{typename}, '%')</if> |
| | | <if test="usebqsms != null "> and usebqsms = #{usebqsms}</if> |
| | | <if test="usebhsms != null "> and usebhsms = #{usebhsms}</if> |
| | | <if test="usesendsms != null "> and usesendsms = #{usesendsms}</if> |
| | | <if test="deptcode != null and deptcode != ''"> and deptcode = #{deptcode}</if> |
| | | <if test="isupload != null "> and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null "> and upload_time = #{uploadTime}</if> |
| | | <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectIvrTaskByTaskid" parameterType="Long" resultMap="IvrTaskResult"> |
| | | <include refid="selectIvrTaskVo"/> |
| | | where taskid = #{taskid} |
| | | </select> |
| | | |
| | | <insert id="insertIvrTask" parameterType="IvrTask"> |
| | | insert into ivr_task |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="taskid != null">taskid,</if> |
| | | <if test="taskname != null">taskname,</if> |
| | | <if test="templateid != null">templateid,</if> |
| | | <if test="templatename != null">templatename,</if> |
| | | <if test="labelinfo != null">labelinfo,</if> |
| | | <if test="state != null">state,</if> |
| | | <if test="count != null">count,</if> |
| | | <if test="executed != null">executed,</if> |
| | | <if test="unexecuted != null">unexecuted,</if> |
| | | <if test="fail != null">fail,</if> |
| | | <if test="userid != null">userid,</if> |
| | | <if test="username != null">username,</if> |
| | | <if test="addtime != null">addtime,</if> |
| | | <if test="checkuserid != null">checkuserid,</if> |
| | | <if test="checkusername != null">checkusername,</if> |
| | | <if test="checktime != null">checktime,</if> |
| | | <if test="type != null">type,</if> |
| | | <if test="typename != null">typename,</if> |
| | | <if test="usebqsms != null">usebqsms,</if> |
| | | <if test="usebhsms != null">usebhsms,</if> |
| | | <if test="usesendsms != null">usesendsms,</if> |
| | | <if test="deptcode != null">deptcode,</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="orgid != null">orgid,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="taskid != null">#{taskid},</if> |
| | | <if test="taskname != null">#{taskname},</if> |
| | | <if test="templateid != null">#{templateid},</if> |
| | | <if test="templatename != null">#{templatename},</if> |
| | | <if test="labelinfo != null">#{labelinfo},</if> |
| | | <if test="state != null">#{state},</if> |
| | | <if test="count != null">#{count},</if> |
| | | <if test="executed != null">#{executed},</if> |
| | | <if test="unexecuted != null">#{unexecuted},</if> |
| | | <if test="fail != null">#{fail},</if> |
| | | <if test="userid != null">#{userid},</if> |
| | | <if test="username != null">#{username},</if> |
| | | <if test="addtime != null">#{addtime},</if> |
| | | <if test="checkuserid != null">#{checkuserid},</if> |
| | | <if test="checkusername != null">#{checkusername},</if> |
| | | <if test="checktime != null">#{checktime},</if> |
| | | <if test="type != null">#{type},</if> |
| | | <if test="typename != null">#{typename},</if> |
| | | <if test="usebqsms != null">#{usebqsms},</if> |
| | | <if test="usebhsms != null">#{usebhsms},</if> |
| | | <if test="usesendsms != null">#{usesendsms},</if> |
| | | <if test="deptcode != null">#{deptcode},</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="orgid != null">#{orgid},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateIvrTask" parameterType="IvrTask"> |
| | | update ivr_task |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="taskname != null">taskname = #{taskname},</if> |
| | | <if test="templateid != null">templateid = #{templateid},</if> |
| | | <if test="templatename != null">templatename = #{templatename},</if> |
| | | <if test="labelinfo != null">labelinfo = #{labelinfo},</if> |
| | | <if test="state != null">state = #{state},</if> |
| | | <if test="count != null">count = #{count},</if> |
| | | <if test="executed != null">executed = #{executed},</if> |
| | | <if test="unexecuted != null">unexecuted = #{unexecuted},</if> |
| | | <if test="fail != null">fail = #{fail},</if> |
| | | <if test="userid != null">userid = #{userid},</if> |
| | | <if test="username != null">username = #{username},</if> |
| | | <if test="addtime != null">addtime = #{addtime},</if> |
| | | <if test="checkuserid != null">checkuserid = #{checkuserid},</if> |
| | | <if test="checkusername != null">checkusername = #{checkusername},</if> |
| | | <if test="checktime != null">checktime = #{checktime},</if> |
| | | <if test="type != null">type = #{type},</if> |
| | | <if test="typename != null">typename = #{typename},</if> |
| | | <if test="usebqsms != null">usebqsms = #{usebqsms},</if> |
| | | <if test="usebhsms != null">usebhsms = #{usebhsms},</if> |
| | | <if test="usesendsms != null">usesendsms = #{usesendsms},</if> |
| | | <if test="deptcode != null">deptcode = #{deptcode},</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="orgid != null">orgid = #{orgid},</if> |
| | | </trim> |
| | | where taskid = #{taskid} |
| | | </update> |
| | | |
| | | <delete id="deleteIvrTaskByTaskid" parameterType="Long"> |
| | | delete from ivr_task where taskid = #{taskid} |
| | | </delete> |
| | | |
| | | <delete id="deleteIvrTaskByTaskids" parameterType="String"> |
| | | delete from ivr_task where taskid in |
| | | <foreach item="taskid" collection="array" open="(" separator="," close=")"> |
| | | #{taskid} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?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.IvrTaskcallMapper"> |
| | | |
| | | <resultMap type="IvrTaskcall" id="IvrTaskcallResult"> |
| | | <result property="callid" column="callid" /> |
| | | <result property="sendname" column="sendname" /> |
| | | <result property="phone" column="phone" /> |
| | | <result property="sex" column="sex" /> |
| | | <result property="age" column="age" /> |
| | | <result property="sfzh" column="sfzh" /> |
| | | <result property="addr" column="addr" /> |
| | | <result property="senderdetail" column="senderdetail" /> |
| | | <result property="inserttype" column="inserttype" /> |
| | | <result property="taskid" column="taskid" /> |
| | | <result property="templateid" column="templateid" /> |
| | | <result property="templatename" column="templatename" /> |
| | | <result property="senddate" column="senddate" /> |
| | | <result property="sendlimitabegin" column="sendlimitabegin" /> |
| | | <result property="sendlimitaend" column="sendlimitaend" /> |
| | | <result property="sendlimitpbegin" column="sendlimitpbegin" /> |
| | | <result property="sendlimitpend" column="sendlimitpend" /> |
| | | <result property="sendlimitnbegin" column="sendlimitnbegin" /> |
| | | <result property="sendlimitnend" column="sendlimitnend" /> |
| | | <result property="sendstate" column="sendstate" /> |
| | | <result property="senduuid" column="senduuid" /> |
| | | <result property="result" column="result" /> |
| | | <result property="finishtime" column="finishtime" /> |
| | | <result property="userid" column="userid" /> |
| | | <result property="username" column="username" /> |
| | | <result property="addtime" column="addtime" /> |
| | | <result property="updatetime" column="updatetime" /> |
| | | <result property="outbounduuid" column="outbounduuid" /> |
| | | <result property="recordid" column="recordid" /> |
| | | <result property="recallcount" column="recallcount" /> |
| | | <result property="exrecallcount" column="exrecallcount" /> |
| | | <result property="pulltime" column="pulltime" /> |
| | | <result property="bqsms" column="bqsms" /> |
| | | <result property="bhsms" column="bhsms" /> |
| | | <result property="deptcode" column="deptcode" /> |
| | | <result property="labelstatus" column="labelstatus" /> |
| | | <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="orgid" column="orgid" /> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrTaskcallVo"> |
| | | select callid, sendname, phone, sex, age, sfzh, addr, senderdetail, inserttype, taskid, templateid, templatename, senddate, sendlimitabegin, sendlimitaend, sendlimitpbegin, sendlimitpend, sendlimitnbegin, sendlimitnend, sendstate, senduuid, result, finishtime, userid, username, addtime, updatetime, outbounduuid, recordid, recallcount, exrecallcount, pulltime, bqsms, bhsms, deptcode, labelstatus, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid from ivr_taskcall |
| | | </sql> |
| | | |
| | | <select id="selectIvrTaskcallList" parameterType="IvrTaskcall" resultMap="IvrTaskcallResult"> |
| | | <include refid="selectIvrTaskcallVo"/> |
| | | <where> |
| | | <if test="sendname != null and sendname != ''"> and sendname like concat('%', #{sendname}, '%')</if> |
| | | <if test="phone != null and phone != ''"> and phone = #{phone}</if> |
| | | <if test="sex != null and sex != ''"> and sex = #{sex}</if> |
| | | <if test="age != null "> and age = #{age}</if> |
| | | <if test="sfzh != null and sfzh != ''"> and sfzh = #{sfzh}</if> |
| | | <if test="addr != null and addr != ''"> and addr = #{addr}</if> |
| | | <if test="senderdetail != null and senderdetail != ''"> and senderdetail = #{senderdetail}</if> |
| | | <if test="inserttype != null and inserttype != ''"> and inserttype = #{inserttype}</if> |
| | | <if test="taskid != null "> and taskid = #{taskid}</if> |
| | | <if test="templateid != null and templateid != ''"> and templateid = #{templateid}</if> |
| | | <if test="templatename != null and templatename != ''"> and templatename like concat('%', #{templatename}, '%')</if> |
| | | <if test="senddate != null "> and senddate = #{senddate}</if> |
| | | <if test="sendlimitabegin != null and sendlimitabegin != ''"> and sendlimitabegin = #{sendlimitabegin}</if> |
| | | <if test="sendlimitaend != null and sendlimitaend != ''"> and sendlimitaend = #{sendlimitaend}</if> |
| | | <if test="sendlimitpbegin != null and sendlimitpbegin != ''"> and sendlimitpbegin = #{sendlimitpbegin}</if> |
| | | <if test="sendlimitpend != null and sendlimitpend != ''"> and sendlimitpend = #{sendlimitpend}</if> |
| | | <if test="sendlimitnbegin != null and sendlimitnbegin != ''"> and sendlimitnbegin = #{sendlimitnbegin}</if> |
| | | <if test="sendlimitnend != null and sendlimitnend != ''"> and sendlimitnend = #{sendlimitnend}</if> |
| | | <if test="sendstate != null "> and sendstate = #{sendstate}</if> |
| | | <if test="senduuid != null and senduuid != ''"> and senduuid = #{senduuid}</if> |
| | | <if test="result != null and result != ''"> and result = #{result}</if> |
| | | <if test="finishtime != null "> and finishtime = #{finishtime}</if> |
| | | <if test="userid != null and userid != ''"> and userid = #{userid}</if> |
| | | <if test="username != null and username != ''"> and username like concat('%', #{username}, '%')</if> |
| | | <if test="addtime != null "> and addtime = #{addtime}</if> |
| | | <if test="updatetime != null "> and updatetime = #{updatetime}</if> |
| | | <if test="outbounduuid != null and outbounduuid != ''"> and outbounduuid = #{outbounduuid}</if> |
| | | <if test="recordid != null "> and recordid = #{recordid}</if> |
| | | <if test="recallcount != null "> and recallcount = #{recallcount}</if> |
| | | <if test="exrecallcount != null "> and exrecallcount = #{exrecallcount}</if> |
| | | <if test="pulltime != null "> and pulltime = #{pulltime}</if> |
| | | <if test="bqsms != null "> and bqsms = #{bqsms}</if> |
| | | <if test="bhsms != null "> and bhsms = #{bhsms}</if> |
| | | <if test="deptcode != null and deptcode != ''"> and deptcode = #{deptcode}</if> |
| | | <if test="labelstatus != null "> and labelstatus = #{labelstatus}</if> |
| | | <if test="isupload != null "> and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null "> and upload_time = #{uploadTime}</if> |
| | | <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectIvrTaskcallByCallid" parameterType="Long" resultMap="IvrTaskcallResult"> |
| | | <include refid="selectIvrTaskcallVo"/> |
| | | where callid = #{callid} |
| | | </select> |
| | | |
| | | <insert id="insertIvrTaskcall" parameterType="IvrTaskcall"> |
| | | insert into ivr_taskcall |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="callid != null">callid,</if> |
| | | <if test="sendname != null">sendname,</if> |
| | | <if test="phone != null">phone,</if> |
| | | <if test="sex != null">sex,</if> |
| | | <if test="age != null">age,</if> |
| | | <if test="sfzh != null">sfzh,</if> |
| | | <if test="addr != null">addr,</if> |
| | | <if test="senderdetail != null">senderdetail,</if> |
| | | <if test="inserttype != null">inserttype,</if> |
| | | <if test="taskid != null">taskid,</if> |
| | | <if test="templateid != null">templateid,</if> |
| | | <if test="templatename != null">templatename,</if> |
| | | <if test="senddate != null">senddate,</if> |
| | | <if test="sendlimitabegin != null">sendlimitabegin,</if> |
| | | <if test="sendlimitaend != null">sendlimitaend,</if> |
| | | <if test="sendlimitpbegin != null">sendlimitpbegin,</if> |
| | | <if test="sendlimitpend != null">sendlimitpend,</if> |
| | | <if test="sendlimitnbegin != null">sendlimitnbegin,</if> |
| | | <if test="sendlimitnend != null">sendlimitnend,</if> |
| | | <if test="sendstate != null">sendstate,</if> |
| | | <if test="senduuid != null">senduuid,</if> |
| | | <if test="result != null">result,</if> |
| | | <if test="finishtime != null">finishtime,</if> |
| | | <if test="userid != null">userid,</if> |
| | | <if test="username != null">username,</if> |
| | | <if test="addtime != null">addtime,</if> |
| | | <if test="updatetime != null">updatetime,</if> |
| | | <if test="outbounduuid != null">outbounduuid,</if> |
| | | <if test="recordid != null">recordid,</if> |
| | | <if test="recallcount != null">recallcount,</if> |
| | | <if test="exrecallcount != null">exrecallcount,</if> |
| | | <if test="pulltime != null">pulltime,</if> |
| | | <if test="bqsms != null">bqsms,</if> |
| | | <if test="bhsms != null">bhsms,</if> |
| | | <if test="deptcode != null">deptcode,</if> |
| | | <if test="labelstatus != null">labelstatus,</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="orgid != null">orgid,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="callid != null">#{callid},</if> |
| | | <if test="sendname != null">#{sendname},</if> |
| | | <if test="phone != null">#{phone},</if> |
| | | <if test="sex != null">#{sex},</if> |
| | | <if test="age != null">#{age},</if> |
| | | <if test="sfzh != null">#{sfzh},</if> |
| | | <if test="addr != null">#{addr},</if> |
| | | <if test="senderdetail != null">#{senderdetail},</if> |
| | | <if test="inserttype != null">#{inserttype},</if> |
| | | <if test="taskid != null">#{taskid},</if> |
| | | <if test="templateid != null">#{templateid},</if> |
| | | <if test="templatename != null">#{templatename},</if> |
| | | <if test="senddate != null">#{senddate},</if> |
| | | <if test="sendlimitabegin != null">#{sendlimitabegin},</if> |
| | | <if test="sendlimitaend != null">#{sendlimitaend},</if> |
| | | <if test="sendlimitpbegin != null">#{sendlimitpbegin},</if> |
| | | <if test="sendlimitpend != null">#{sendlimitpend},</if> |
| | | <if test="sendlimitnbegin != null">#{sendlimitnbegin},</if> |
| | | <if test="sendlimitnend != null">#{sendlimitnend},</if> |
| | | <if test="sendstate != null">#{sendstate},</if> |
| | | <if test="senduuid != null">#{senduuid},</if> |
| | | <if test="result != null">#{result},</if> |
| | | <if test="finishtime != null">#{finishtime},</if> |
| | | <if test="userid != null">#{userid},</if> |
| | | <if test="username != null">#{username},</if> |
| | | <if test="addtime != null">#{addtime},</if> |
| | | <if test="updatetime != null">#{updatetime},</if> |
| | | <if test="outbounduuid != null">#{outbounduuid},</if> |
| | | <if test="recordid != null">#{recordid},</if> |
| | | <if test="recallcount != null">#{recallcount},</if> |
| | | <if test="exrecallcount != null">#{exrecallcount},</if> |
| | | <if test="pulltime != null">#{pulltime},</if> |
| | | <if test="bqsms != null">#{bqsms},</if> |
| | | <if test="bhsms != null">#{bhsms},</if> |
| | | <if test="deptcode != null">#{deptcode},</if> |
| | | <if test="labelstatus != null">#{labelstatus},</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="orgid != null">#{orgid},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateIvrTaskcall" parameterType="IvrTaskcall"> |
| | | update ivr_taskcall |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="sendname != null">sendname = #{sendname},</if> |
| | | <if test="phone != null">phone = #{phone},</if> |
| | | <if test="sex != null">sex = #{sex},</if> |
| | | <if test="age != null">age = #{age},</if> |
| | | <if test="sfzh != null">sfzh = #{sfzh},</if> |
| | | <if test="addr != null">addr = #{addr},</if> |
| | | <if test="senderdetail != null">senderdetail = #{senderdetail},</if> |
| | | <if test="inserttype != null">inserttype = #{inserttype},</if> |
| | | <if test="taskid != null">taskid = #{taskid},</if> |
| | | <if test="templateid != null">templateid = #{templateid},</if> |
| | | <if test="templatename != null">templatename = #{templatename},</if> |
| | | <if test="senddate != null">senddate = #{senddate},</if> |
| | | <if test="sendlimitabegin != null">sendlimitabegin = #{sendlimitabegin},</if> |
| | | <if test="sendlimitaend != null">sendlimitaend = #{sendlimitaend},</if> |
| | | <if test="sendlimitpbegin != null">sendlimitpbegin = #{sendlimitpbegin},</if> |
| | | <if test="sendlimitpend != null">sendlimitpend = #{sendlimitpend},</if> |
| | | <if test="sendlimitnbegin != null">sendlimitnbegin = #{sendlimitnbegin},</if> |
| | | <if test="sendlimitnend != null">sendlimitnend = #{sendlimitnend},</if> |
| | | <if test="sendstate != null">sendstate = #{sendstate},</if> |
| | | <if test="senduuid != null">senduuid = #{senduuid},</if> |
| | | <if test="result != null">result = #{result},</if> |
| | | <if test="finishtime != null">finishtime = #{finishtime},</if> |
| | | <if test="userid != null">userid = #{userid},</if> |
| | | <if test="username != null">username = #{username},</if> |
| | | <if test="addtime != null">addtime = #{addtime},</if> |
| | | <if test="updatetime != null">updatetime = #{updatetime},</if> |
| | | <if test="outbounduuid != null">outbounduuid = #{outbounduuid},</if> |
| | | <if test="recordid != null">recordid = #{recordid},</if> |
| | | <if test="recallcount != null">recallcount = #{recallcount},</if> |
| | | <if test="exrecallcount != null">exrecallcount = #{exrecallcount},</if> |
| | | <if test="pulltime != null">pulltime = #{pulltime},</if> |
| | | <if test="bqsms != null">bqsms = #{bqsms},</if> |
| | | <if test="bhsms != null">bhsms = #{bhsms},</if> |
| | | <if test="deptcode != null">deptcode = #{deptcode},</if> |
| | | <if test="labelstatus != null">labelstatus = #{labelstatus},</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="orgid != null">orgid = #{orgid},</if> |
| | | </trim> |
| | | where callid = #{callid} |
| | | </update> |
| | | |
| | | <delete id="deleteIvrTaskcallByCallid" parameterType="Long"> |
| | | delete from ivr_taskcall where callid = #{callid} |
| | | </delete> |
| | | |
| | | <delete id="deleteIvrTaskcallByCallids" parameterType="String"> |
| | | delete from ivr_taskcall where callid in |
| | | <foreach item="callid" collection="array" open="(" separator="," close=")"> |
| | | #{callid} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?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.IvrTaskcalldetailMapper"> |
| | | |
| | | <resultMap type="IvrTaskcalldetail" id="IvrTaskcalldetailResult"> |
| | | <result property="calldetailid" column="calldetailid" /> |
| | | <result property="callid" column="callid" /> |
| | | <result property="uuid" column="uuid" /> |
| | | <result property="phone" column="phone" /> |
| | | <result property="operate" column="operate" /> |
| | | <result property="displayno" column="displayno" /> |
| | | <result property="inbound" column="inbound" /> |
| | | <result property="incoming" column="incoming" /> |
| | | <result property="assigntime" column="assigntime" /> |
| | | <result property="starttime" column="starttime" /> |
| | | <result property="answertime" column="answertime" /> |
| | | <result property="silent" column="silent" /> |
| | | <result property="dtmfKey" column="dtmf_key" /> |
| | | <result property="musicpath" column="musicpath" /> |
| | | <result property="sentIndex" column="sent_index" /> |
| | | <result property="sentBegin" column="sent_begin" /> |
| | | <result property="asrtext" column="asrtext" /> |
| | | <result property="beginTime" column="begin_time" /> |
| | | <result property="endTime" column="end_time" /> |
| | | <result property="sentEnd" column="sent_end" /> |
| | | <result property="recordpath" column="recordpath" /> |
| | | <result property="recordurl" column="recordurl" /> |
| | | <result property="templateid" column="templateid" /> |
| | | <result property="templatequestionnum" column="templatequestionnum" /> |
| | | <result property="switchid" column="switchid" /> |
| | | <result property="questiontext" column="questiontext" /> |
| | | <result property="questionvoice" column="questionvoice" /> |
| | | <result property="categoryname" column="categoryname" /> |
| | | <result property="targetoptions" column="targetoptions" /> |
| | | <result property="targetvalue" column="targetvalue" /> |
| | | <result property="matchedtext" column="matchedtext" /> |
| | | <result property="addtime" column="addtime" /> |
| | | <result property="isupload" column="isupload" /> |
| | | <result property="uploadTime" column="upload_time" /> |
| | | <result property="orgid" column="orgid" /> |
| | | <result property="createTime" column="create_time" /> |
| | | <result property="delFlag" column="del_flag" /> |
| | | <result property="updateBy" column="update_by" /> |
| | | <result property="updateTime" column="update_time" /> |
| | | <result property="createBy" column="create_by" /> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrTaskcalldetailVo"> |
| | | select calldetailid, callid, uuid, phone, operate, displayno, inbound, incoming, assigntime, starttime, answertime, silent, dtmf_key, musicpath, sent_index, sent_begin, asrtext, begin_time, end_time, sent_end, recordpath, recordurl, templateid, templatequestionnum, switchid, questiontext, questionvoice, categoryname, targetoptions, targetvalue, matchedtext, addtime, isupload, upload_time, orgid, create_time, del_flag, update_by, update_time, create_by from ivr_taskcalldetail |
| | | </sql> |
| | | |
| | | <select id="selectIvrTaskcalldetailList" parameterType="IvrTaskcalldetail" resultMap="IvrTaskcalldetailResult"> |
| | | <include refid="selectIvrTaskcalldetailVo"/> |
| | | <where> |
| | | <if test="callid != null and callid != ''"> and callid = #{callid}</if> |
| | | <if test="uuid != null and uuid != ''"> and uuid = #{uuid}</if> |
| | | <if test="phone != null and phone != ''"> and phone = #{phone}</if> |
| | | <if test="operate != null and operate != ''"> and operate = #{operate}</if> |
| | | <if test="displayno != null and displayno != ''"> and displayno = #{displayno}</if> |
| | | <if test="inbound != null "> and inbound = #{inbound}</if> |
| | | <if test="incoming != null "> and incoming = #{incoming}</if> |
| | | <if test="assigntime != null "> and assigntime = #{assigntime}</if> |
| | | <if test="starttime != null "> and starttime = #{starttime}</if> |
| | | <if test="answertime != null "> and answertime = #{answertime}</if> |
| | | <if test="silent != null "> and silent = #{silent}</if> |
| | | <if test="dtmfKey != null and dtmfKey != ''"> and dtmf_key = #{dtmfKey}</if> |
| | | <if test="musicpath != null and musicpath != ''"> and musicpath = #{musicpath}</if> |
| | | <if test="sentIndex != null "> and sent_index = #{sentIndex}</if> |
| | | <if test="sentBegin != null "> and sent_begin = #{sentBegin}</if> |
| | | <if test="asrtext != null and asrtext != ''"> and asrtext = #{asrtext}</if> |
| | | <if test="beginTime != null "> and begin_time = #{beginTime}</if> |
| | | <if test="endTime != null "> and end_time = #{endTime}</if> |
| | | <if test="sentEnd != null "> and sent_end = #{sentEnd}</if> |
| | | <if test="recordpath != null and recordpath != ''"> and recordpath = #{recordpath}</if> |
| | | <if test="recordurl != null and recordurl != ''"> and recordurl = #{recordurl}</if> |
| | | <if test="templateid != null and templateid != ''"> and templateid = #{templateid}</if> |
| | | <if test="templatequestionnum != null "> and templatequestionnum = #{templatequestionnum}</if> |
| | | <if test="switchid != null "> and switchid = #{switchid}</if> |
| | | <if test="questiontext != null and questiontext != ''"> and questiontext = #{questiontext}</if> |
| | | <if test="questionvoice != null and questionvoice != ''"> and questionvoice = #{questionvoice}</if> |
| | | <if test="categoryname != null and categoryname != ''"> and categoryname like concat('%', #{categoryname}, '%')</if> |
| | | <if test="targetoptions != null and targetoptions != ''"> and targetoptions = #{targetoptions}</if> |
| | | <if test="targetvalue != null and targetvalue != ''"> and targetvalue = #{targetvalue}</if> |
| | | <if test="matchedtext != null and matchedtext != ''"> and matchedtext = #{matchedtext}</if> |
| | | <if test="addtime != null "> and addtime = #{addtime}</if> |
| | | <if test="isupload != null "> and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null "> and upload_time = #{uploadTime}</if> |
| | | <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectIvrTaskcalldetailByCalldetailid" parameterType="String" resultMap="IvrTaskcalldetailResult"> |
| | | <include refid="selectIvrTaskcalldetailVo"/> |
| | | where calldetailid = #{calldetailid} |
| | | </select> |
| | | |
| | | <insert id="insertIvrTaskcalldetail" parameterType="IvrTaskcalldetail"> |
| | | insert into ivr_taskcalldetail |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="calldetailid != null">calldetailid,</if> |
| | | <if test="callid != null">callid,</if> |
| | | <if test="uuid != null">uuid,</if> |
| | | <if test="phone != null">phone,</if> |
| | | <if test="operate != null">operate,</if> |
| | | <if test="displayno != null">displayno,</if> |
| | | <if test="inbound != null">inbound,</if> |
| | | <if test="incoming != null">incoming,</if> |
| | | <if test="assigntime != null">assigntime,</if> |
| | | <if test="starttime != null">starttime,</if> |
| | | <if test="answertime != null">answertime,</if> |
| | | <if test="silent != null">silent,</if> |
| | | <if test="dtmfKey != null">dtmf_key,</if> |
| | | <if test="musicpath != null">musicpath,</if> |
| | | <if test="sentIndex != null">sent_index,</if> |
| | | <if test="sentBegin != null">sent_begin,</if> |
| | | <if test="asrtext != null">asrtext,</if> |
| | | <if test="beginTime != null">begin_time,</if> |
| | | <if test="endTime != null">end_time,</if> |
| | | <if test="sentEnd != null">sent_end,</if> |
| | | <if test="recordpath != null">recordpath,</if> |
| | | <if test="recordurl != null">recordurl,</if> |
| | | <if test="templateid != null">templateid,</if> |
| | | <if test="templatequestionnum != null">templatequestionnum,</if> |
| | | <if test="switchid != null">switchid,</if> |
| | | <if test="questiontext != null">questiontext,</if> |
| | | <if test="questionvoice != null">questionvoice,</if> |
| | | <if test="categoryname != null">categoryname,</if> |
| | | <if test="targetoptions != null">targetoptions,</if> |
| | | <if test="targetvalue != null">targetvalue,</if> |
| | | <if test="matchedtext != null">matchedtext,</if> |
| | | <if test="addtime != null">addtime,</if> |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="createTime != null">create_time,</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> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="calldetailid != null">#{calldetailid},</if> |
| | | <if test="callid != null">#{callid},</if> |
| | | <if test="uuid != null">#{uuid},</if> |
| | | <if test="phone != null">#{phone},</if> |
| | | <if test="operate != null">#{operate},</if> |
| | | <if test="displayno != null">#{displayno},</if> |
| | | <if test="inbound != null">#{inbound},</if> |
| | | <if test="incoming != null">#{incoming},</if> |
| | | <if test="assigntime != null">#{assigntime},</if> |
| | | <if test="starttime != null">#{starttime},</if> |
| | | <if test="answertime != null">#{answertime},</if> |
| | | <if test="silent != null">#{silent},</if> |
| | | <if test="dtmfKey != null">#{dtmfKey},</if> |
| | | <if test="musicpath != null">#{musicpath},</if> |
| | | <if test="sentIndex != null">#{sentIndex},</if> |
| | | <if test="sentBegin != null">#{sentBegin},</if> |
| | | <if test="asrtext != null">#{asrtext},</if> |
| | | <if test="beginTime != null">#{beginTime},</if> |
| | | <if test="endTime != null">#{endTime},</if> |
| | | <if test="sentEnd != null">#{sentEnd},</if> |
| | | <if test="recordpath != null">#{recordpath},</if> |
| | | <if test="recordurl != null">#{recordurl},</if> |
| | | <if test="templateid != null">#{templateid},</if> |
| | | <if test="templatequestionnum != null">#{templatequestionnum},</if> |
| | | <if test="switchid != null">#{switchid},</if> |
| | | <if test="questiontext != null">#{questiontext},</if> |
| | | <if test="questionvoice != null">#{questionvoice},</if> |
| | | <if test="categoryname != null">#{categoryname},</if> |
| | | <if test="targetoptions != null">#{targetoptions},</if> |
| | | <if test="targetvalue != null">#{targetvalue},</if> |
| | | <if test="matchedtext != null">#{matchedtext},</if> |
| | | <if test="addtime != null">#{addtime},</if> |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="createTime != null">#{createTime},</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> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateIvrTaskcalldetail" parameterType="IvrTaskcalldetail"> |
| | | update ivr_taskcalldetail |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="callid != null">callid = #{callid},</if> |
| | | <if test="uuid != null">uuid = #{uuid},</if> |
| | | <if test="phone != null">phone = #{phone},</if> |
| | | <if test="operate != null">operate = #{operate},</if> |
| | | <if test="displayno != null">displayno = #{displayno},</if> |
| | | <if test="inbound != null">inbound = #{inbound},</if> |
| | | <if test="incoming != null">incoming = #{incoming},</if> |
| | | <if test="assigntime != null">assigntime = #{assigntime},</if> |
| | | <if test="starttime != null">starttime = #{starttime},</if> |
| | | <if test="answertime != null">answertime = #{answertime},</if> |
| | | <if test="silent != null">silent = #{silent},</if> |
| | | <if test="dtmfKey != null">dtmf_key = #{dtmfKey},</if> |
| | | <if test="musicpath != null">musicpath = #{musicpath},</if> |
| | | <if test="sentIndex != null">sent_index = #{sentIndex},</if> |
| | | <if test="sentBegin != null">sent_begin = #{sentBegin},</if> |
| | | <if test="asrtext != null">asrtext = #{asrtext},</if> |
| | | <if test="beginTime != null">begin_time = #{beginTime},</if> |
| | | <if test="endTime != null">end_time = #{endTime},</if> |
| | | <if test="sentEnd != null">sent_end = #{sentEnd},</if> |
| | | <if test="recordpath != null">recordpath = #{recordpath},</if> |
| | | <if test="recordurl != null">recordurl = #{recordurl},</if> |
| | | <if test="templateid != null">templateid = #{templateid},</if> |
| | | <if test="templatequestionnum != null">templatequestionnum = #{templatequestionnum},</if> |
| | | <if test="switchid != null">switchid = #{switchid},</if> |
| | | <if test="questiontext != null">questiontext = #{questiontext},</if> |
| | | <if test="questionvoice != null">questionvoice = #{questionvoice},</if> |
| | | <if test="categoryname != null">categoryname = #{categoryname},</if> |
| | | <if test="targetoptions != null">targetoptions = #{targetoptions},</if> |
| | | <if test="targetvalue != null">targetvalue = #{targetvalue},</if> |
| | | <if test="matchedtext != null">matchedtext = #{matchedtext},</if> |
| | | <if test="addtime != null">addtime = #{addtime},</if> |
| | | <if test="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</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> |
| | | </trim> |
| | | where calldetailid = #{calldetailid} |
| | | </update> |
| | | |
| | | <delete id="deleteIvrTaskcalldetailByCalldetailid" parameterType="String"> |
| | | delete from ivr_taskcalldetail where calldetailid = #{calldetailid} |
| | | </delete> |
| | | |
| | | <delete id="deleteIvrTaskcalldetailByCalldetailids" parameterType="String"> |
| | | delete from ivr_taskcalldetail where calldetailid in |
| | | <foreach item="calldetailid" collection="array" open="(" separator="," close=")"> |
| | | #{calldetailid} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?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.IvrTaskcallrecordMapper"> |
| | | |
| | | <resultMap type="IvrTaskcallrecord" id="IvrTaskcallrecordResult"> |
| | | <result property="uuid" column="uuid" /> |
| | | <result property="displayno" column="displayno" /> |
| | | <result property="phone" column="phone" /> |
| | | <result property="taskid" column="taskid" /> |
| | | <result property="extension" column="extension" /> |
| | | <result property="inbound" column="inbound" /> |
| | | <result property="direct" column="direct" /> |
| | | <result property="answered" column="answered" /> |
| | | <result property="assignTime" column="assign_time" /> |
| | | <result property="startTime" column="start_time" /> |
| | | <result property="answerTime" column="answer_time" /> |
| | | <result property="hangupTime" column="hangup_time" /> |
| | | <result property="endTime" column="end_time" /> |
| | | <result property="recordPath" column="record_path" /> |
| | | <result property="recordUrl" column="record_url" /> |
| | | <result property="hangupSipcode" column="hangup_sipcode" /> |
| | | <result property="hangupCause" column="hangup_cause" /> |
| | | <result property="transfered" column="transfered" /> |
| | | <result property="transUuid" column="trans_uuid" /> |
| | | <result property="transPhone" column="trans_phone" /> |
| | | <result property="transAnswered" column="trans_answered" /> |
| | | <result property="transStartTime" column="trans_start_time" /> |
| | | <result property="transAnswerTime" column="trans_answer_time" /> |
| | | <result property="earlyAsrtext" column="early_asrtext" /> |
| | | <result property="earlyPath" column="early_path" /> |
| | | <result property="earlyUrl" column="early_url" /> |
| | | <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="orgid" column="orgid" /> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrTaskcallrecordVo"> |
| | | select uuid, displayno, phone, taskid, extension, inbound, direct, answered, assign_time, start_time, answer_time, hangup_time, end_time, record_path, record_url, hangup_sipcode, hangup_cause, transfered, trans_uuid, trans_phone, trans_answered, trans_start_time, trans_answer_time, early_asrtext, early_path, early_url, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid from ivr_taskcallrecord |
| | | </sql> |
| | | |
| | | <select id="selectIvrTaskcallrecordList" parameterType="IvrTaskcallrecord" resultMap="IvrTaskcallrecordResult"> |
| | | <include refid="selectIvrTaskcallrecordVo"/> |
| | | <where> |
| | | <if test="displayno != null and displayno != ''"> and displayno = #{displayno}</if> |
| | | <if test="phone != null and phone != ''"> and phone = #{phone}</if> |
| | | <if test="taskid != null and taskid != ''"> and taskid = #{taskid}</if> |
| | | <if test="extension != null and extension != ''"> and extension = #{extension}</if> |
| | | <if test="inbound != null "> and inbound = #{inbound}</if> |
| | | <if test="direct != null "> and direct = #{direct}</if> |
| | | <if test="answered != null "> and answered = #{answered}</if> |
| | | <if test="assignTime != null "> and assign_time = #{assignTime}</if> |
| | | <if test="startTime != null "> and start_time = #{startTime}</if> |
| | | <if test="answerTime != null "> and answer_time = #{answerTime}</if> |
| | | <if test="hangupTime != null "> and hangup_time = #{hangupTime}</if> |
| | | <if test="endTime != null "> and end_time = #{endTime}</if> |
| | | <if test="recordPath != null and recordPath != ''"> and record_path = #{recordPath}</if> |
| | | <if test="recordUrl != null and recordUrl != ''"> and record_url = #{recordUrl}</if> |
| | | <if test="hangupSipcode != null "> and hangup_sipcode = #{hangupSipcode}</if> |
| | | <if test="hangupCause != null and hangupCause != ''"> and hangup_cause = #{hangupCause}</if> |
| | | <if test="transfered != null "> and transfered = #{transfered}</if> |
| | | <if test="transUuid != null and transUuid != ''"> and trans_uuid = #{transUuid}</if> |
| | | <if test="transPhone != null and transPhone != ''"> and trans_phone = #{transPhone}</if> |
| | | <if test="transAnswered != null "> and trans_answered = #{transAnswered}</if> |
| | | <if test="transStartTime != null "> and trans_start_time = #{transStartTime}</if> |
| | | <if test="transAnswerTime != null "> and trans_answer_time = #{transAnswerTime}</if> |
| | | <if test="earlyAsrtext != null and earlyAsrtext != ''"> and early_asrtext = #{earlyAsrtext}</if> |
| | | <if test="earlyPath != null and earlyPath != ''"> and early_path = #{earlyPath}</if> |
| | | <if test="earlyUrl != null and earlyUrl != ''"> and early_url = #{earlyUrl}</if> |
| | | <if test="isupload != null "> and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null "> and upload_time = #{uploadTime}</if> |
| | | <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectIvrTaskcallrecordByUuid" parameterType="String" resultMap="IvrTaskcallrecordResult"> |
| | | <include refid="selectIvrTaskcallrecordVo"/> |
| | | where uuid = #{uuid} |
| | | </select> |
| | | |
| | | <insert id="insertIvrTaskcallrecord" parameterType="IvrTaskcallrecord"> |
| | | insert into ivr_taskcallrecord |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="uuid != null">uuid,</if> |
| | | <if test="displayno != null">displayno,</if> |
| | | <if test="phone != null">phone,</if> |
| | | <if test="taskid != null">taskid,</if> |
| | | <if test="extension != null">extension,</if> |
| | | <if test="inbound != null">inbound,</if> |
| | | <if test="direct != null">direct,</if> |
| | | <if test="answered != null">answered,</if> |
| | | <if test="assignTime != null">assign_time,</if> |
| | | <if test="startTime != null">start_time,</if> |
| | | <if test="answerTime != null">answer_time,</if> |
| | | <if test="hangupTime != null">hangup_time,</if> |
| | | <if test="endTime != null">end_time,</if> |
| | | <if test="recordPath != null">record_path,</if> |
| | | <if test="recordUrl != null">record_url,</if> |
| | | <if test="hangupSipcode != null">hangup_sipcode,</if> |
| | | <if test="hangupCause != null">hangup_cause,</if> |
| | | <if test="transfered != null">transfered,</if> |
| | | <if test="transUuid != null">trans_uuid,</if> |
| | | <if test="transPhone != null">trans_phone,</if> |
| | | <if test="transAnswered != null">trans_answered,</if> |
| | | <if test="transStartTime != null">trans_start_time,</if> |
| | | <if test="transAnswerTime != null">trans_answer_time,</if> |
| | | <if test="earlyAsrtext != null">early_asrtext,</if> |
| | | <if test="earlyPath != null">early_path,</if> |
| | | <if test="earlyUrl != null">early_url,</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="orgid != null">orgid,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="uuid != null">#{uuid},</if> |
| | | <if test="displayno != null">#{displayno},</if> |
| | | <if test="phone != null">#{phone},</if> |
| | | <if test="taskid != null">#{taskid},</if> |
| | | <if test="extension != null">#{extension},</if> |
| | | <if test="inbound != null">#{inbound},</if> |
| | | <if test="direct != null">#{direct},</if> |
| | | <if test="answered != null">#{answered},</if> |
| | | <if test="assignTime != null">#{assignTime},</if> |
| | | <if test="startTime != null">#{startTime},</if> |
| | | <if test="answerTime != null">#{answerTime},</if> |
| | | <if test="hangupTime != null">#{hangupTime},</if> |
| | | <if test="endTime != null">#{endTime},</if> |
| | | <if test="recordPath != null">#{recordPath},</if> |
| | | <if test="recordUrl != null">#{recordUrl},</if> |
| | | <if test="hangupSipcode != null">#{hangupSipcode},</if> |
| | | <if test="hangupCause != null">#{hangupCause},</if> |
| | | <if test="transfered != null">#{transfered},</if> |
| | | <if test="transUuid != null">#{transUuid},</if> |
| | | <if test="transPhone != null">#{transPhone},</if> |
| | | <if test="transAnswered != null">#{transAnswered},</if> |
| | | <if test="transStartTime != null">#{transStartTime},</if> |
| | | <if test="transAnswerTime != null">#{transAnswerTime},</if> |
| | | <if test="earlyAsrtext != null">#{earlyAsrtext},</if> |
| | | <if test="earlyPath != null">#{earlyPath},</if> |
| | | <if test="earlyUrl != null">#{earlyUrl},</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="orgid != null">#{orgid},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateIvrTaskcallrecord" parameterType="IvrTaskcallrecord"> |
| | | update ivr_taskcallrecord |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="displayno != null">displayno = #{displayno},</if> |
| | | <if test="phone != null">phone = #{phone},</if> |
| | | <if test="taskid != null">taskid = #{taskid},</if> |
| | | <if test="extension != null">extension = #{extension},</if> |
| | | <if test="inbound != null">inbound = #{inbound},</if> |
| | | <if test="direct != null">direct = #{direct},</if> |
| | | <if test="answered != null">answered = #{answered},</if> |
| | | <if test="assignTime != null">assign_time = #{assignTime},</if> |
| | | <if test="startTime != null">start_time = #{startTime},</if> |
| | | <if test="answerTime != null">answer_time = #{answerTime},</if> |
| | | <if test="hangupTime != null">hangup_time = #{hangupTime},</if> |
| | | <if test="endTime != null">end_time = #{endTime},</if> |
| | | <if test="recordPath != null">record_path = #{recordPath},</if> |
| | | <if test="recordUrl != null">record_url = #{recordUrl},</if> |
| | | <if test="hangupSipcode != null">hangup_sipcode = #{hangupSipcode},</if> |
| | | <if test="hangupCause != null">hangup_cause = #{hangupCause},</if> |
| | | <if test="transfered != null">transfered = #{transfered},</if> |
| | | <if test="transUuid != null">trans_uuid = #{transUuid},</if> |
| | | <if test="transPhone != null">trans_phone = #{transPhone},</if> |
| | | <if test="transAnswered != null">trans_answered = #{transAnswered},</if> |
| | | <if test="transStartTime != null">trans_start_time = #{transStartTime},</if> |
| | | <if test="transAnswerTime != null">trans_answer_time = #{transAnswerTime},</if> |
| | | <if test="earlyAsrtext != null">early_asrtext = #{earlyAsrtext},</if> |
| | | <if test="earlyPath != null">early_path = #{earlyPath},</if> |
| | | <if test="earlyUrl != null">early_url = #{earlyUrl},</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="orgid != null">orgid = #{orgid},</if> |
| | | </trim> |
| | | where uuid = #{uuid} |
| | | </update> |
| | | |
| | | <delete id="deleteIvrTaskcallrecordByUuid" parameterType="String"> |
| | | delete from ivr_taskcallrecord where uuid = #{uuid} |
| | | </delete> |
| | | |
| | | <delete id="deleteIvrTaskcallrecordByUuids" parameterType="String"> |
| | | delete from ivr_taskcallrecord where uuid in |
| | | <foreach item="uuid" collection="array" open="(" separator="," close=")"> |
| | | #{uuid} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?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.IvrTasksmsMapper"> |
| | | |
| | | <resultMap type="IvrTasksms" id="IvrTasksmsResult"> |
| | | <result property="id" column="id" /> |
| | | <result property="taskid" column="taskid" /> |
| | | <result property="type" column="type" /> |
| | | <result property="smstemplateid" column="smstemplateid" /> |
| | | <result property="phonestatusid" column="phonestatusid" /> |
| | | <result property="smstemplatename" column="smstemplatename" /> |
| | | <result property="phonestatusname" column="phonestatusname" /> |
| | | <result property="isdel" column="isdel" /> |
| | | <result property="content" column="content" /> |
| | | <result property="tagid" column="tagid" /> |
| | | <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="orgid" column="orgid" /> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrTasksmsVo"> |
| | | select id, taskid, type, smstemplateid, phonestatusid, smstemplatename, phonestatusname, isdel, content, tagid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid from ivr_tasksms |
| | | </sql> |
| | | |
| | | <select id="selectIvrTasksmsList" parameterType="IvrTasksms" resultMap="IvrTasksmsResult"> |
| | | <include refid="selectIvrTasksmsVo"/> |
| | | <where> |
| | | <if test="taskid != null "> and taskid = #{taskid}</if> |
| | | <if test="type != null "> and type = #{type}</if> |
| | | <if test="smstemplateid != null "> and smstemplateid = #{smstemplateid}</if> |
| | | <if test="phonestatusid != null and phonestatusid != ''"> and phonestatusid = #{phonestatusid}</if> |
| | | <if test="smstemplatename != null and smstemplatename != ''"> and smstemplatename like concat('%', #{smstemplatename}, '%')</if> |
| | | <if test="phonestatusname != null and phonestatusname != ''"> and phonestatusname like concat('%', #{phonestatusname}, '%')</if> |
| | | <if test="isdel != null "> and isdel = #{isdel}</if> |
| | | <if test="content != null and content != ''"> and content = #{content}</if> |
| | | <if test="tagid != null "> and tagid = #{tagid}</if> |
| | | <if test="isupload != null "> and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null "> and upload_time = #{uploadTime}</if> |
| | | <if test="orgid != null and orgid != ''"> and orgid = #{orgid}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectIvrTasksmsById" parameterType="Long" resultMap="IvrTasksmsResult"> |
| | | <include refid="selectIvrTasksmsVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertIvrTasksms" parameterType="IvrTasksms"> |
| | | insert into ivr_tasksms |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">id,</if> |
| | | <if test="taskid != null">taskid,</if> |
| | | <if test="type != null">type,</if> |
| | | <if test="smstemplateid != null">smstemplateid,</if> |
| | | <if test="phonestatusid != null">phonestatusid,</if> |
| | | <if test="smstemplatename != null">smstemplatename,</if> |
| | | <if test="phonestatusname != null">phonestatusname,</if> |
| | | <if test="isdel != null">isdel,</if> |
| | | <if test="content != null">content,</if> |
| | | <if test="tagid != null">tagid,</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="orgid != null">orgid,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">#{id},</if> |
| | | <if test="taskid != null">#{taskid},</if> |
| | | <if test="type != null">#{type},</if> |
| | | <if test="smstemplateid != null">#{smstemplateid},</if> |
| | | <if test="phonestatusid != null">#{phonestatusid},</if> |
| | | <if test="smstemplatename != null">#{smstemplatename},</if> |
| | | <if test="phonestatusname != null">#{phonestatusname},</if> |
| | | <if test="isdel != null">#{isdel},</if> |
| | | <if test="content != null">#{content},</if> |
| | | <if test="tagid != null">#{tagid},</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="orgid != null">#{orgid},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateIvrTasksms" parameterType="IvrTasksms"> |
| | | update ivr_tasksms |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="taskid != null">taskid = #{taskid},</if> |
| | | <if test="type != null">type = #{type},</if> |
| | | <if test="smstemplateid != null">smstemplateid = #{smstemplateid},</if> |
| | | <if test="phonestatusid != null">phonestatusid = #{phonestatusid},</if> |
| | | <if test="smstemplatename != null">smstemplatename = #{smstemplatename},</if> |
| | | <if test="phonestatusname != null">phonestatusname = #{phonestatusname},</if> |
| | | <if test="isdel != null">isdel = #{isdel},</if> |
| | | <if test="content != null">content = #{content},</if> |
| | | <if test="tagid != null">tagid = #{tagid},</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="orgid != null">orgid = #{orgid},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deleteIvrTasksmsById" parameterType="Long"> |
| | | delete from ivr_tasksms where id = #{id} |
| | | </delete> |
| | | |
| | | <delete id="deleteIvrTasksmsByIds" parameterType="String"> |
| | | delete from ivr_tasksms where id in |
| | | <foreach item="id" collection="array" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |