已添加5个文件
已删除3个文件
已修改54个文件
已重命名3个文件
| | |
| | | import com.smartor.domain.HeTask; |
| | | import com.smartor.domain.HeTaskVO; |
| | | import com.smartor.domain.PatArchiveReq; |
| | | import com.smartor.domain.PatHetaskRelevanceVO; |
| | | import com.smartor.domain.PatTaskRelevanceVO; |
| | | import com.smartor.service.IHeTaskService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | @ApiOperation("æ¥è¯¢æ£è
宣æä»»å¡å表") |
| | | @PreAuthorize("@ss.hasPermi('system:task:list')") |
| | | @PostMapping("/getPatHeTaskList") |
| | | public TableDataInfo getPatHeTaskList(@RequestBody PatHetaskRelevanceVO patHetaskRelevanceVO) { |
| | | public TableDataInfo getPatHeTaskList(@RequestBody PatTaskRelevanceVO PatTaskRelevanceVO) { |
| | | startPage(); |
| | | List<PatHetaskRelevanceVO> list = heTaskService.selectHeTaskList(patHetaskRelevanceVO); |
| | | List<PatTaskRelevanceVO> list = heTaskService.selectHeTaskList(PatTaskRelevanceVO); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æä¿®æ¹é®é¢è¯¦æ
|
| | | * æ°å¢æä¿®æ¹é访模æ¿åºè¯¦æ
|
| | | */ |
| | | @ApiOperation("æ°å¢æä¿®æ¹é访模æ¿åºè¯¦æ
") |
| | | @PreAuthorize("@ss.hasPermi('smartor:script:list')") |
| | |
| | | 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.core.page.TableDataInfo; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.IvrTask; |
| | | import com.smartor.service.IIvrTaskService; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡Controller |
| | | * |
| | | * é访任å¡Controller |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/smartor/ivrtask") |
| | | public class IvrTaskController extends BaseController |
| | | { |
| | | public class IvrTaskController extends BaseController { |
| | | @Autowired |
| | | private IIvrTaskService ivrTaskService; |
| | | |
| | |
| | | * æ¥è¯¢è¯é³ä»»å¡å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtask:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrTask ivrTask) |
| | | { |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody 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) |
| | | { |
| | | 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) |
| | | { |
| | | public AjaxResult getInfo(@PathVariable("taskid") Long taskid) { |
| | | return success(ivrTaskService.selectIvrTaskByTaskid(taskid)); |
| | | } |
| | | |
| | |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtask:add')") |
| | | @Log(title = "è¯é³ä»»å¡", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrTask ivrTask) |
| | | { |
| | | public AjaxResult add(@RequestBody IvrTask ivrTask) { |
| | | return toAjax(ivrTaskService.insertIvrTask(ivrTask)); |
| | | } |
| | | |
| | |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtask:edit')") |
| | | @Log(title = "è¯é³ä»»å¡", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrTask ivrTask) |
| | | { |
| | | public AjaxResult edit(@RequestBody IvrTask ivrTask) { |
| | | return toAjax(ivrTaskService.updateIvrTask(ivrTask)); |
| | | } |
| | | |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtask:remove')") |
| | | @Log(title = "è¯é³ä»»å¡", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{taskids}") |
| | | public AjaxResult remove(@PathVariable Long[] taskids) |
| | | { |
| | | @GetMapping("/remove/{taskids}") |
| | | public AjaxResult remove(@PathVariable Long[] taskids) { |
| | | return toAjax(ivrTaskService.deleteIvrTaskByTaskids(taskids)); |
| | | } |
| | | } |
| | |
| | | package com.smartor.controller; |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | 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; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.PageUtils; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.HeTaskVO; |
| | | import com.smartor.domain.IvrTaskcall; |
| | | import com.smartor.domain.IvrTaskcallVO; |
| | | import com.smartor.service.IIvrTaskcallService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡å¼å«Controller |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | * åä¸ä»»å¡ï¼é访ï¼Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-02-02 |
| | | */ |
| | | @Api(description = "åä¸ä»»å¡ï¼é访ï¼") |
| | | @RestController |
| | | @RequestMapping("/smartor/ivrtaskcall") |
| | | public class IvrTaskcallController extends BaseController |
| | | { |
| | | @RequestMapping("/smartor/taskcall") |
| | | public class IvrTaskcallController extends BaseController { |
| | | @Autowired |
| | | private IIvrTaskcallService ivrTaskcallService; |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å«å表 |
| | | * æ¥è¯¢åä¸ä»»å¡ï¼é访ï¼å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcall:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrTaskcall ivrTaskcall) |
| | | { |
| | | startPage(); |
| | | @ApiOperation("æ¥è¯¢åä¸ä»»å¡ï¼é访ï¼å表") |
| | | @PreAuthorize("@ss.hasPermi('system:taskcall:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrTaskcall ivrTaskcall) { |
| | | PageUtils.startPageByPost(ivrTaskcall.getPageNum(), ivrTaskcall.getPageSize()); |
| | | List<IvrTaskcall> list = ivrTaskcallService.selectIvrTaskcallList(ivrTaskcall); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导åºè¯é³ä»»å¡å¼å«å表 |
| | | * 导åºåä¸ä»»å¡ï¼é访ï¼å表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcall:export')") |
| | | @Log(title = "è¯é³ä»»å¡å¼å«", businessType = BusinessType.EXPORT) |
| | | @PreAuthorize("@ss.hasPermi('system:taskcall:export')") |
| | | @Log(title = "åä¸ä»»å¡ï¼é访ï¼", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, IvrTaskcall ivrTaskcall) |
| | | { |
| | | 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, "è¯é³ä»»å¡å¼å«æ°æ®"); |
| | | 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('system:taskcall:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(ivrTaskcallService.selectIvrTaskcallById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢è¯é³ä»»å¡å¼å« |
| | | * æ°å¢æä¿®æ¹å é¤åä¸ä»»å¡ |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcall:add')") |
| | | @Log(title = "è¯é³ä»»å¡å¼å«", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody IvrTaskcall ivrTaskcall) |
| | | { |
| | | return toAjax(ivrTaskcallService.insertIvrTaskcall(ivrTaskcall)); |
| | | @ApiOperation("æ°å¢æä¿®æ¹å é¤åä¸ä»»å¡") |
| | | @PreAuthorize("@ss.hasPermi('system:task:add')") |
| | | @Log(title = "åä¸ä»»å¡ï¼é访ï¼", businessType = BusinessType.INSERT) |
| | | @PostMapping("/insertOrUpdateTask") |
| | | public AjaxResult insertOrUpdateHeTask(@RequestBody IvrTaskcallVO ivrTaskcallVO) { |
| | | return toAjax(ivrTaskcallService.insertOrUpdateTask(ivrTaskcallVO)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹è¯é³ä»»å¡å¼å« |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcall:edit')") |
| | | @Log(title = "è¯é³ä»»å¡å¼å«", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody IvrTaskcall ivrTaskcall) |
| | | { |
| | | return toAjax(ivrTaskcallService.updateIvrTaskcall(ivrTaskcall)); |
| | | } |
| | | |
| | | /** |
| | | * å é¤è¯é³ä»»å¡å¼å« |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtaskcall:remove')") |
| | | @Log(title = "è¯é³ä»»å¡å¼å«", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{callids}") |
| | | public AjaxResult remove(@PathVariable Long[] callids) |
| | | { |
| | | return toAjax(ivrTaskcallService.deleteIvrTaskcallByCallids(callids)); |
| | | } |
| | | |
| | | } |
ÎļþÃû´Ó ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/PatHetaskRelevanceController.java ÐÞ¸Ä |
| | |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.PatHetaskRelevance; |
| | | import com.smartor.service.IPatHetaskRelevanceService; |
| | | import com.smartor.domain.PatTaskRelevance; |
| | | import com.smartor.domain.PatTaskRelevance; |
| | | import com.smartor.service.IPatTaskRelevanceService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | * @date 2024-01-07 |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/smartor/pathetaskrelevance") |
| | | public class PatHetaskRelevanceController extends BaseController |
| | | @RequestMapping("/smartor/patTaskRelevance") |
| | | public class PatTaskRelevanceController extends BaseController |
| | | { |
| | | @Autowired |
| | | private IPatHetaskRelevanceService patHetaskRelevanceService; |
| | | private IPatTaskRelevanceService patTaskRelevanceService; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
ä¸å®£æä»»å¡å
³èå表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:relevance:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(PatHetaskRelevance patHetaskRelevance) |
| | | public TableDataInfo list(PatTaskRelevance PatTaskRelevance) |
| | | { |
| | | startPage(); |
| | | List<PatHetaskRelevance> list = patHetaskRelevanceService.selectPatHetaskRelevanceList(patHetaskRelevance); |
| | | List<PatTaskRelevance> list = patTaskRelevanceService.selectPatTaskRelevanceList(PatTaskRelevance); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | |
| | | @PreAuthorize("@ss.hasPermi('system:relevance:export')") |
| | | @Log(title = "æ£è
ä¸å®£æä»»å¡å
³è", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, PatHetaskRelevance patHetaskRelevance) |
| | | public void export(HttpServletResponse response, PatTaskRelevance PatTaskRelevance) |
| | | { |
| | | List<PatHetaskRelevance> list = patHetaskRelevanceService.selectPatHetaskRelevanceList(patHetaskRelevance); |
| | | ExcelUtil<PatHetaskRelevance> util = new ExcelUtil<PatHetaskRelevance>(PatHetaskRelevance.class); |
| | | List<PatTaskRelevance> list = patTaskRelevanceService.selectPatTaskRelevanceList(PatTaskRelevance); |
| | | ExcelUtil<PatTaskRelevance> util = new ExcelUtil<PatTaskRelevance>(PatTaskRelevance.class); |
| | | util.exportExcel(response, list, "æ£è
ä¸å®£æä»»å¡å
³èæ°æ®"); |
| | | } |
| | | |
| | |
| | | @GetMapping(value = "/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | | return success(patHetaskRelevanceService.selectPatHetaskRelevanceById(id)); |
| | | return success(patTaskRelevanceService.selectPatTaskRelevanceById(id)); |
| | | } |
| | | |
| | | /** |
| | |
| | | @PreAuthorize("@ss.hasPermi('system:relevance:add')") |
| | | @Log(title = "æ£è
ä¸å®£æä»»å¡å
³è", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody PatHetaskRelevance patHetaskRelevance) |
| | | public AjaxResult add(@RequestBody PatTaskRelevance PatTaskRelevance) |
| | | { |
| | | return toAjax(patHetaskRelevanceService.insertPatHetaskRelevance(patHetaskRelevance)); |
| | | return toAjax(patTaskRelevanceService.insertPatTaskRelevance(PatTaskRelevance)); |
| | | } |
| | | |
| | | /** |
| | |
| | | @PreAuthorize("@ss.hasPermi('system:relevance:edit')") |
| | | @Log(title = "æ£è
ä¸å®£æä»»å¡å
³è", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody PatHetaskRelevance patHetaskRelevance) |
| | | public AjaxResult edit(@RequestBody PatTaskRelevance PatTaskRelevance) |
| | | { |
| | | return toAjax(patHetaskRelevanceService.updatePatHetaskRelevance(patHetaskRelevance)); |
| | | return toAjax(patTaskRelevanceService.updatePatTaskRelevance(PatTaskRelevance)); |
| | | } |
| | | |
| | | /** |
| | |
| | | @DeleteMapping("/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(patHetaskRelevanceService.deletePatHetaskRelevanceByIds(ids)); |
| | | return toAjax(patTaskRelevanceService.deletePatTaskRelevanceByIds(ids)); |
| | | } |
| | | } |
| | |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import org.quartz.SchedulerException; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | |
| | | |
| | | /** |
| | | * è°åº¦ä»»å¡ä¿¡æ¯æä½å¤ç |
| | | * |
| | | * |
| | | * @author ruoyi |
| | | */ |
| | | @RestController |
| | | @RequestMapping("/monitor/job") |
| | | public class SysJobController extends BaseController |
| | | { |
| | | public class SysJobController extends BaseController { |
| | | @Autowired |
| | | private ISysJobService jobService; |
| | | |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('monitor:job:list')") |
| | | @GetMapping("/list") |
| | | public TableDataInfo list(SysJob sysJob) |
| | | { |
| | | public TableDataInfo list(SysJob sysJob) { |
| | | startPage(); |
| | | List<SysJob> list = jobService.selectJobList(sysJob); |
| | | return getDataTable(list); |
| | |
| | | @PreAuthorize("@ss.hasPermi('monitor:job:export')") |
| | | @Log(title = "宿¶ä»»å¡", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, SysJob sysJob) |
| | | { |
| | | public void export(HttpServletResponse response, SysJob sysJob) { |
| | | List<SysJob> list = jobService.selectJobList(sysJob); |
| | | ExcelUtil<SysJob> util = new ExcelUtil<SysJob>(SysJob.class); |
| | | util.exportExcel(response, list, "宿¶ä»»å¡"); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('monitor:job:query')") |
| | | @GetMapping(value = "/{jobId}") |
| | | public AjaxResult getInfo(@PathVariable("jobId") Long jobId) |
| | | { |
| | | public AjaxResult getInfo(@PathVariable("jobId") Long jobId) { |
| | | return success(jobService.selectJobById(jobId)); |
| | | } |
| | | |
| | |
| | | @PreAuthorize("@ss.hasPermi('monitor:job:add')") |
| | | @Log(title = "宿¶ä»»å¡", businessType = BusinessType.INSERT) |
| | | @PostMapping |
| | | public AjaxResult add(@RequestBody SysJob job) throws SchedulerException, TaskException |
| | | { |
| | | if (!CronUtils.isValid(job.getCronExpression())) |
| | | { |
| | | public AjaxResult add(@RequestBody SysJob job) throws SchedulerException, TaskException { |
| | | if (!CronUtils.isValid(job.getCronExpression())) { |
| | | return error("æ°å¢ä»»å¡'" + job.getJobName() + "'失败ï¼Cron表达å¼ä¸æ£ç¡®"); |
| | | } |
| | | else if (StringUtils.containsIgnoreCase(job.getInvokeTarget(), Constants.LOOKUP_RMI)) |
| | | { |
| | | } else if (StringUtils.containsIgnoreCase(job.getInvokeTarget(), Constants.LOOKUP_RMI)) { |
| | | return error("æ°å¢ä»»å¡'" + job.getJobName() + "'失败ï¼ç®æ å符串ä¸å
许'rmi'è°ç¨"); |
| | | } |
| | | else if (StringUtils.containsAnyIgnoreCase(job.getInvokeTarget(), new String[] { Constants.LOOKUP_LDAP, Constants.LOOKUP_LDAPS })) |
| | | { |
| | | } else if (StringUtils.containsAnyIgnoreCase(job.getInvokeTarget(), new String[]{Constants.LOOKUP_LDAP, Constants.LOOKUP_LDAPS})) { |
| | | return error("æ°å¢ä»»å¡'" + job.getJobName() + "'失败ï¼ç®æ å符串ä¸å
许'ldap(s)'è°ç¨"); |
| | | } |
| | | else if (StringUtils.containsAnyIgnoreCase(job.getInvokeTarget(), new String[] { Constants.HTTP, Constants.HTTPS })) |
| | | { |
| | | } else if (StringUtils.containsAnyIgnoreCase(job.getInvokeTarget(), new String[]{Constants.HTTP, Constants.HTTPS})) { |
| | | return error("æ°å¢ä»»å¡'" + job.getJobName() + "'失败ï¼ç®æ å符串ä¸å
许'http(s)'è°ç¨"); |
| | | } |
| | | else if (StringUtils.containsAnyIgnoreCase(job.getInvokeTarget(), Constants.JOB_ERROR_STR)) |
| | | { |
| | | } else if (StringUtils.containsAnyIgnoreCase(job.getInvokeTarget(), Constants.JOB_ERROR_STR)) { |
| | | return error("æ°å¢ä»»å¡'" + job.getJobName() + "'失败ï¼ç®æ å符串åå¨è¿è§"); |
| | | } |
| | | else if (!ScheduleUtils.whiteList(job.getInvokeTarget())) |
| | | { |
| | | } else if (!ScheduleUtils.whiteList(job.getInvokeTarget())) { |
| | | return error("æ°å¢ä»»å¡'" + job.getJobName() + "'失败ï¼ç®æ å符串ä¸å¨ç½ååå
"); |
| | | } |
| | | job.setCreateBy(getUsername()); |
| | |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('monitor:job:edit')") |
| | | @Log(title = "宿¶ä»»å¡", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | public AjaxResult edit(@RequestBody SysJob job) throws SchedulerException, TaskException |
| | | { |
| | | if (!CronUtils.isValid(job.getCronExpression())) |
| | | { |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody SysJob job) throws SchedulerException, TaskException { |
| | | if (!CronUtils.isValid(job.getCronExpression())) { |
| | | return error("ä¿®æ¹ä»»å¡'" + job.getJobName() + "'失败ï¼Cron表达å¼ä¸æ£ç¡®"); |
| | | } |
| | | else if (StringUtils.containsIgnoreCase(job.getInvokeTarget(), Constants.LOOKUP_RMI)) |
| | | { |
| | | } else if (StringUtils.containsIgnoreCase(job.getInvokeTarget(), Constants.LOOKUP_RMI)) { |
| | | return error("ä¿®æ¹ä»»å¡'" + job.getJobName() + "'失败ï¼ç®æ å符串ä¸å
许'rmi'è°ç¨"); |
| | | } |
| | | else if (StringUtils.containsAnyIgnoreCase(job.getInvokeTarget(), new String[] { Constants.LOOKUP_LDAP, Constants.LOOKUP_LDAPS })) |
| | | { |
| | | } else if (StringUtils.containsAnyIgnoreCase(job.getInvokeTarget(), new String[]{Constants.LOOKUP_LDAP, Constants.LOOKUP_LDAPS})) { |
| | | return error("ä¿®æ¹ä»»å¡'" + job.getJobName() + "'失败ï¼ç®æ å符串ä¸å
许'ldap(s)'è°ç¨"); |
| | | } |
| | | else if (StringUtils.containsAnyIgnoreCase(job.getInvokeTarget(), new String[] { Constants.HTTP, Constants.HTTPS })) |
| | | { |
| | | } else if (StringUtils.containsAnyIgnoreCase(job.getInvokeTarget(), new String[]{Constants.HTTP, Constants.HTTPS})) { |
| | | return error("ä¿®æ¹ä»»å¡'" + job.getJobName() + "'失败ï¼ç®æ å符串ä¸å
许'http(s)'è°ç¨"); |
| | | } |
| | | else if (StringUtils.containsAnyIgnoreCase(job.getInvokeTarget(), Constants.JOB_ERROR_STR)) |
| | | { |
| | | } else if (StringUtils.containsAnyIgnoreCase(job.getInvokeTarget(), Constants.JOB_ERROR_STR)) { |
| | | return error("ä¿®æ¹ä»»å¡'" + job.getJobName() + "'失败ï¼ç®æ å符串åå¨è¿è§"); |
| | | } |
| | | else if (!ScheduleUtils.whiteList(job.getInvokeTarget())) |
| | | { |
| | | } else if (!ScheduleUtils.whiteList(job.getInvokeTarget())) { |
| | | return error("ä¿®æ¹ä»»å¡'" + job.getJobName() + "'失败ï¼ç®æ å符串ä¸å¨ç½ååå
"); |
| | | } |
| | | job.setUpdateBy(getUsername()); |
| | |
| | | @PreAuthorize("@ss.hasPermi('monitor:job:changeStatus')") |
| | | @Log(title = "宿¶ä»»å¡", businessType = BusinessType.UPDATE) |
| | | @PutMapping("/changeStatus") |
| | | public AjaxResult changeStatus(@RequestBody SysJob job) throws SchedulerException |
| | | { |
| | | public AjaxResult changeStatus(@RequestBody SysJob job) throws SchedulerException { |
| | | SysJob newJob = jobService.selectJobById(job.getJobId()); |
| | | newJob.setStatus(job.getStatus()); |
| | | return toAjax(jobService.changeStatus(newJob)); |
| | |
| | | @PreAuthorize("@ss.hasPermi('monitor:job:changeStatus')") |
| | | @Log(title = "宿¶ä»»å¡", businessType = BusinessType.UPDATE) |
| | | @PutMapping("/run") |
| | | public AjaxResult run(@RequestBody SysJob job) throws SchedulerException |
| | | { |
| | | public AjaxResult run(@RequestBody SysJob job) throws SchedulerException { |
| | | boolean result = jobService.run(job); |
| | | return result ? success() : error("ä»»å¡ä¸åå¨æå·²è¿æï¼"); |
| | | } |
| | |
| | | @PreAuthorize("@ss.hasPermi('monitor:job:remove')") |
| | | @Log(title = "宿¶ä»»å¡", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{jobIds}") |
| | | public AjaxResult remove(@PathVariable Long[] jobIds) throws SchedulerException, TaskException |
| | | { |
| | | public AjaxResult remove(@PathVariable Long[] jobIds) throws SchedulerException, TaskException { |
| | | jobService.deleteJobByIds(jobIds); |
| | | return success(); |
| | | } |
| | |
| | | @ApiModelProperty("å
¶å®æ°æ®ï¼åå¨åéï¼") |
| | | private String otherdata = ""; |
| | | |
| | | /** |
| | | * å¯ææ¬ |
| | | */ |
| | | @Excel(name = "坿æ¬") |
| | | @ApiModelProperty("坿æ¬") |
| | | private String richText = ""; |
| | | |
| | | } |
| | |
| | | @ApiModelProperty("å
¶å®æ°æ®ï¼åå¨åéï¼") |
| | | private String otherdata = ""; |
| | | |
| | | /** |
| | | * å¯ææ¬ |
| | | */ |
| | | @Excel(name = "坿æ¬") |
| | | @ApiModelProperty("坿æ¬") |
| | | private String richText = ""; |
| | | } |
| | |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | |
| | | */ |
| | | @Excel(name = " 宣æå½¢å¼ 1,å¤åªä½ 2,纸质 3,çµè¯ 4,çä¿¡ 5.微信å
¬ä¼å· 6.微信å°ç¨åº 7.æ¯ä»å® 8.æºè½å°ç¨åº 9.éé") |
| | | @ApiModelProperty(value = " 宣æå½¢å¼ 1,å¤åªä½ 2,纸质 3,çµè¯ 4,çä¿¡ 5.微信å
¬ä¼å· 6.微信å°ç¨åº 7.æ¯ä»å® 8.æºè½å°ç¨åº 9.éé") |
| | | private Long preachform; |
| | | private String preachform; |
| | | |
| | | /** |
| | | * ç»ç»å½¢å¼ï¼1.å人宣æ 2.å¤äººå®£æ |
| | |
| | | @ApiModelProperty(value = "åéç¶æï¼ 0 失败 1æå") |
| | | private Long sendState; |
| | | |
| | | /** |
| | | * å¯ææ¬ |
| | | */ |
| | | @Excel(name = "坿æ¬") |
| | | @ApiModelProperty(value = "坿æ¬") |
| | | private String richText; |
| | | |
| | | /** |
| | | * ææ¬åéåæ° |
| | | */ |
| | | @Excel(name = "ææ¬åéåæ°") |
| | | @ApiModelProperty(value = "ææ¬åéåæ°") |
| | | private String textParam; |
| | | |
| | | |
| | | } |
| | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 宣æä»»å¡å¯¹è±¡ he_task |
| | |
| | | */ |
| | | @Excel(name = " 宣æå½¢å¼ 1,å¤åªä½ 2,纸质 3,çµè¯ 4,çä¿¡ 5.微信å
¬ä¼å· 6.微信å°ç¨åº 7.æ¯ä»å® 8.æºè½å°ç¨åº 9.éé") |
| | | @ApiModelProperty(value = " 宣æå½¢å¼ 1,å¤åªä½ 2,纸质 3,çµè¯ 4,çä¿¡ 5.微信å
¬ä¼å· 6.微信å°ç¨åº 7.æ¯ä»å® 8.æºè½å°ç¨åº 9.éé") |
| | | private Long preachform; |
| | | private List<Long> preachform; |
| | | |
| | | /** |
| | | * ç»ç»å½¢å¼ï¼1.å人宣æ 2.å¤äººå®£æ |
| | |
| | | /** |
| | | * æ£è
å
³èä¿¡æ¯ |
| | | */ |
| | | private List<PatHetaskRelevance> patHetaskRelevances; |
| | | private List<PatTaskRelevance> PatTaskRelevances; |
| | | |
| | | /** |
| | | * 宣æèµæåºä¿¡æ¯ |
| | |
| | | private Integer isoperation; |
| | | |
| | | |
| | | /** |
| | | * å¯ææ¬ |
| | | */ |
| | | @Excel(name = "坿æ¬") |
| | | @ApiModelProperty(value = "坿æ¬") |
| | | private String richText; |
| | | |
| | | /** |
| | | * ææ¬åéåæ° |
| | | */ |
| | | @Excel(name = "ææ¬åéåæ°") |
| | | @ApiModelProperty(value = "ææ¬åéåæ°") |
| | | private Map<String, Map<String, String>> textParam; |
| | | |
| | | |
| | | } |
| | |
| | | */ |
| | | @ApiModelProperty("è¯æ¯å
容") |
| | | @Excel(name = "è¯æ¯å
容") |
| | | private String questiontext; |
| | | private String questionText; |
| | | |
| | | /** |
| | | * è¯æ¯è¯é³ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.google.gson.Gson; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | |
| | | * @author ruoyi |
| | | * @date 2023-12-21 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "IvrLibaScriptTargetoption", description = "é®é¢è¯æ¯ææ é项åºå¯¹è±¡") |
| | | public class IvrLibaScriptTargetoption extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | |
| | | @ApiModelProperty("ææ æ£å") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private String targetregex; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | */ |
| | | @ApiModelProperty("ææ æ£å2") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private String targetregex2; |
| | | |
| | | @Excel(name = "æ£åå
³é®åéå(å«)") |
| | | private String nodynamiccruxsJson; |
| | | |
| | | |
| | | @Excel(name = "æ£åå
³é®å(ä¸å«)") |
| | | private String dynamiccruxsJson; |
| | | |
| | | @ApiModelProperty(value = "æ£åå
³é®åéå(å«)") |
| | | @Excel(name = "æ£åå
³é®å(å«)") |
| | | @JsonFormat |
| | | private List<String> nodynamiccruxs = new ArrayList<>(); |
| | | |
| | | @ApiModelProperty(value = "æ£åå
³é®åéå(ä¸å«)") |
| | | @Excel(name = "æ£åå
³é®å(ä¸å«)") |
| | | @JsonFormat |
| | | private List<String> dynamiccruxs = new ArrayList<>(); |
| | | |
| | | /** |
| | | * $column.columnComment |
| | |
| | | @ApiModelProperty(value = "æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤") |
| | | private Integer isoperation; |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Long getTargetid() { |
| | | return targetid; |
| | | } |
| | | |
| | | public void setTargetid(Long targetid) { |
| | | this.targetid = targetid; |
| | | } |
| | | |
| | | public String getTargetname() { |
| | | return targetname; |
| | | } |
| | | |
| | | public void setTargetname(String targetname) { |
| | | this.targetname = targetname; |
| | | } |
| | | |
| | | public Long getScriptid() { |
| | | return scriptid; |
| | | } |
| | | |
| | | public void setScriptid(Long scriptid) { |
| | | this.scriptid = scriptid; |
| | | } |
| | | |
| | | public String getTargettype() { |
| | | return targettype; |
| | | } |
| | | |
| | | public void setTargettype(String targettype) { |
| | | this.targettype = targettype; |
| | | } |
| | | |
| | | public String getCategoryName() { |
| | | return categoryName; |
| | | } |
| | | |
| | | public void setCategoryName(String categoryName) { |
| | | this.categoryName = categoryName; |
| | | } |
| | | |
| | | public String getTargetvalue() { |
| | | return targetvalue; |
| | | } |
| | | |
| | | public void setTargetvalue(String targetvalue) { |
| | | this.targetvalue = targetvalue; |
| | | } |
| | | |
| | | public String getTargetregex() { |
| | | return targetregex; |
| | | } |
| | | |
| | | public void setTargetregex(String targetregex) { |
| | | this.targetregex = targetregex; |
| | | } |
| | | |
| | | public String getTargetregex2() { |
| | | return targetregex2; |
| | | } |
| | | |
| | | public void setTargetregex2(String targetregex2) { |
| | | this.targetregex2 = targetregex2; |
| | | } |
| | | |
| | | public String getNodynamiccruxsJson() { |
| | | return nodynamiccruxsJson; |
| | | } |
| | | |
| | | public void setNodynamiccruxsJson(String nodynamiccruxsJson) { |
| | | if (this.nodynamiccruxs != null) { |
| | | this.nodynamiccruxsJson = new Gson().toJson(this.nodynamiccruxs); |
| | | } else { |
| | | this.nodynamiccruxsJson = nodynamiccruxsJson; |
| | | } |
| | | } |
| | | |
| | | public String getDynamiccruxsJson() { |
| | | return dynamiccruxsJson; |
| | | } |
| | | |
| | | public void setDynamiccruxsJson(String dynamiccruxsJson) { |
| | | if (this.dynamiccruxs != null) { |
| | | this.dynamiccruxsJson = new Gson().toJson(this.dynamiccruxs); |
| | | } else { |
| | | this.dynamiccruxsJson = dynamiccruxsJson; |
| | | } |
| | | } |
| | | |
| | | public List<String> getNodynamiccruxs() { |
| | | return nodynamiccruxs; |
| | | } |
| | | |
| | | public void setNodynamiccruxs(List<String> nodynamiccruxs) { |
| | | this.nodynamiccruxs = nodynamiccruxs; |
| | | } |
| | | |
| | | public List<String> getDynamiccruxs() { |
| | | return dynamiccruxs; |
| | | } |
| | | |
| | | public void setDynamiccruxs(List<String> dynamiccruxs) { |
| | | this.dynamiccruxs = dynamiccruxs; |
| | | } |
| | | |
| | | public String getOptiondesc() { |
| | | return optiondesc; |
| | | } |
| | | |
| | | public void setOptiondesc(String optiondesc) { |
| | | this.optiondesc = optiondesc; |
| | | } |
| | | |
| | | public String getLanguage() { |
| | | return language; |
| | | } |
| | | |
| | | public void setLanguage(String language) { |
| | | this.language = language; |
| | | } |
| | | |
| | | public Long getVersion() { |
| | | return version; |
| | | } |
| | | |
| | | public void setVersion(Long version) { |
| | | this.version = version; |
| | | } |
| | | |
| | | public String getGroupid() { |
| | | return groupid; |
| | | } |
| | | |
| | | public void setGroupid(String groupid) { |
| | | this.groupid = groupid; |
| | | } |
| | | |
| | | public Long getIsabnormal() { |
| | | return isabnormal; |
| | | } |
| | | |
| | | public void setIsabnormal(Long isabnormal) { |
| | | this.isabnormal = isabnormal; |
| | | } |
| | | |
| | | public Long getWarnup() { |
| | | return warnup; |
| | | } |
| | | |
| | | public void setWarnup(Long warnup) { |
| | | this.warnup = warnup; |
| | | } |
| | | |
| | | public Long getWarndown() { |
| | | return warndown; |
| | | } |
| | | |
| | | public void setWarndown(Long warndown) { |
| | | this.warndown = warndown; |
| | | } |
| | | |
| | | public String getDelFlag() { |
| | | return delFlag; |
| | | } |
| | | |
| | | public void setDelFlag(String delFlag) { |
| | | this.delFlag = delFlag; |
| | | } |
| | | |
| | | public Long getIsupload() { |
| | | return isupload; |
| | | } |
| | | |
| | | public void setIsupload(Long isupload) { |
| | | this.isupload = isupload; |
| | | } |
| | | |
| | | public Date getUploadTime() { |
| | | return uploadTime; |
| | | } |
| | | |
| | | public void setUploadTime(Date uploadTime) { |
| | | this.uploadTime = uploadTime; |
| | | } |
| | | |
| | | public String getOrgid() { |
| | | return orgid; |
| | | } |
| | | |
| | | public void setOrgid(String orgid) { |
| | | this.orgid = orgid; |
| | | } |
| | | |
| | | public Long getPid() { |
| | | return pid; |
| | | } |
| | | |
| | | public void setPid(Long pid) { |
| | | this.pid = pid; |
| | | } |
| | | |
| | | public String getGuid() { |
| | | return guid; |
| | | } |
| | | |
| | | public void setGuid(String guid) { |
| | | this.guid = guid; |
| | | } |
| | | |
| | | public Integer getIsoperation() { |
| | | return isoperation; |
| | | } |
| | | |
| | | public void setIsoperation(Integer isoperation) { |
| | | this.isoperation = isoperation; |
| | | } |
| | | } |
| | |
| | | */ |
| | | @ApiModelProperty("è¯æ¯å
容") |
| | | @Excel(name = "è¯æ¯å
容") |
| | | private String questiontext; |
| | | private String questionText; |
| | | |
| | | /** |
| | | * è¯æ¯è¯é³ |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.fasterxml.jackson.annotation.JsonSubTypes; |
| | | import com.google.gson.Gson; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | |
| | | * @author ruoyi |
| | | * @date 2023-12-14 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "IvrLibaTargetoption", description = "ææ é项åºå¯¹è±¡") |
| | | public class IvrLibaTargetoption extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private String targetvalue; |
| | | |
| | | @ApiModelProperty(value = "æ£å") |
| | | @ApiModelProperty(value = "æ£å1") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private String targetregex; |
| | | |
| | | @ApiModelProperty(value = "æ£å2") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | | private String targetregex2; |
| | | |
| | | |
| | | @Excel(name = "æ£åå
³é®åéå(å«)") |
| | | private String nodynamiccruxsJson; |
| | | |
| | | |
| | | @Excel(name = "æ£åå
³é®åéå(ä¸å«)") |
| | | private String dynamiccruxsJson; |
| | | |
| | | @ApiModelProperty(value = "æ£åå
³é®å(å«)") |
| | | @Excel(name = "æ£åå
³é®å(å«)") |
| | | @JsonFormat |
| | | private List<String> nodynamiccruxs=new ArrayList<>(); |
| | | |
| | | @ApiModelProperty(value = "æ£åå
³é®å(ä¸å«)") |
| | | @Excel(name = "æ£åå
³é®å(ä¸å«)") |
| | | @JsonFormat |
| | | private List<String> dynamiccruxs=new ArrayList<>(); |
| | | |
| | | @ApiModelProperty(value = "é项æè¿°") |
| | | @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()") |
| | |
| | | @Excel(name = "pageSize") |
| | | private Integer pageSize; |
| | | |
| | | public Long getTargetoptionid() { |
| | | return targetoptionid; |
| | | } |
| | | |
| | | public void setTargetoptionid(Long targetoptionid) { |
| | | this.targetoptionid = targetoptionid; |
| | | } |
| | | |
| | | public Long getTargetid() { |
| | | return targetid; |
| | | } |
| | | |
| | | public void setTargetid(Long targetid) { |
| | | this.targetid = targetid; |
| | | } |
| | | |
| | | public String getTargettype() { |
| | | return targettype; |
| | | } |
| | | |
| | | public void setTargettype(String targettype) { |
| | | this.targettype = targettype; |
| | | } |
| | | |
| | | public String getCategoryName() { |
| | | return categoryName; |
| | | } |
| | | |
| | | public void setCategoryName(String categoryName) { |
| | | this.categoryName = categoryName; |
| | | } |
| | | |
| | | public String getTargetvalue() { |
| | | return targetvalue; |
| | | } |
| | | |
| | | public void setTargetvalue(String targetvalue) { |
| | | this.targetvalue = targetvalue; |
| | | } |
| | | |
| | | public String getTargetregex() { |
| | | return targetregex; |
| | | } |
| | | |
| | | public void setTargetregex(String targetregex) { |
| | | this.targetregex = targetregex; |
| | | } |
| | | |
| | | public String getTargetregex2() { |
| | | return targetregex2; |
| | | } |
| | | |
| | | public void setTargetregex2(String targetregex2) { |
| | | this.targetregex2 = targetregex2; |
| | | } |
| | | |
| | | public String getNodynamiccruxsJson() { |
| | | return nodynamiccruxsJson; |
| | | } |
| | | |
| | | public void setNodynamiccruxsJson(String nodynamiccruxsJson) { |
| | | if (this.nodynamiccruxs != null) { |
| | | this.nodynamiccruxsJson = new Gson().toJson(this.nodynamiccruxs); |
| | | } else { |
| | | this.nodynamiccruxsJson = nodynamiccruxsJson; |
| | | } |
| | | } |
| | | |
| | | public String getDynamiccruxsJson() { |
| | | return dynamiccruxsJson; |
| | | } |
| | | |
| | | public void setDynamiccruxsJson(String dynamiccruxsJson) { |
| | | if (this.dynamiccruxs != null) { |
| | | this.dynamiccruxsJson = new Gson().toJson(this.dynamiccruxs); |
| | | } else { |
| | | this.dynamiccruxsJson = dynamiccruxsJson; |
| | | } |
| | | } |
| | | |
| | | public List<String> getNodynamiccruxs() { |
| | | return nodynamiccruxs; |
| | | } |
| | | |
| | | public void setNodynamiccruxs(List<String> nodynamiccruxs) { |
| | | this.nodynamiccruxs = nodynamiccruxs; |
| | | } |
| | | |
| | | public List<String> getDynamiccruxs() { |
| | | return dynamiccruxs; |
| | | } |
| | | |
| | | public void setDynamiccruxs(List<String> dynamiccruxs) { |
| | | this.dynamiccruxs = dynamiccruxs; |
| | | } |
| | | |
| | | public String getOptiondesc() { |
| | | return optiondesc; |
| | | } |
| | | |
| | | public void setOptiondesc(String optiondesc) { |
| | | this.optiondesc = optiondesc; |
| | | } |
| | | |
| | | public String getLanguage() { |
| | | return language; |
| | | } |
| | | |
| | | public void setLanguage(String language) { |
| | | this.language = language; |
| | | } |
| | | |
| | | public Long getVersion() { |
| | | return version; |
| | | } |
| | | |
| | | public void setVersion(Long version) { |
| | | this.version = version; |
| | | } |
| | | |
| | | public String getGroupid() { |
| | | return groupid; |
| | | } |
| | | |
| | | public void setGroupid(String groupid) { |
| | | this.groupid = groupid; |
| | | } |
| | | |
| | | public Long getIsabnormal() { |
| | | return isabnormal; |
| | | } |
| | | |
| | | public void setIsabnormal(Long isabnormal) { |
| | | this.isabnormal = isabnormal; |
| | | } |
| | | |
| | | public Long getWarnup() { |
| | | return warnup; |
| | | } |
| | | |
| | | public void setWarnup(Long warnup) { |
| | | this.warnup = warnup; |
| | | } |
| | | |
| | | public Long getWarndown() { |
| | | return warndown; |
| | | } |
| | | |
| | | public void setWarndown(Long warndown) { |
| | | this.warndown = warndown; |
| | | } |
| | | |
| | | public String getDelFlag() { |
| | | return delFlag; |
| | | } |
| | | |
| | | public void setDelFlag(String delFlag) { |
| | | this.delFlag = delFlag; |
| | | } |
| | | |
| | | public Long getIsupload() { |
| | | return isupload; |
| | | } |
| | | |
| | | public void setIsupload(Long isupload) { |
| | | this.isupload = isupload; |
| | | } |
| | | |
| | | public Date getUploadTime() { |
| | | return uploadTime; |
| | | } |
| | | |
| | | public void setUploadTime(Date uploadTime) { |
| | | this.uploadTime = uploadTime; |
| | | } |
| | | |
| | | public String getOrgid() { |
| | | return orgid; |
| | | } |
| | | |
| | | public void setOrgid(String orgid) { |
| | | this.orgid = orgid; |
| | | } |
| | | |
| | | public Long getPid() { |
| | | return pid; |
| | | } |
| | | |
| | | public void setPid(Long pid) { |
| | | this.pid = pid; |
| | | } |
| | | |
| | | public String getGuid() { |
| | | return guid; |
| | | } |
| | | |
| | | public void setGuid(String guid) { |
| | | this.guid = guid; |
| | | } |
| | | |
| | | public Integer getIsoperation() { |
| | | return isoperation; |
| | | } |
| | | |
| | | public void setIsoperation(Integer isoperation) { |
| | | this.isoperation = isoperation; |
| | | } |
| | | |
| | | public Integer getAllitems() { |
| | | return allitems; |
| | | } |
| | | |
| | | public void setAllitems(Integer allitems) { |
| | | this.allitems = allitems; |
| | | } |
| | | |
| | | public Integer getPageNum() { |
| | | return pageNum; |
| | | } |
| | | |
| | | public void setPageNum(Integer pageNum) { |
| | | this.pageNum = pageNum; |
| | | } |
| | | |
| | | public Integer getPageSize() { |
| | | return pageSize; |
| | | } |
| | | |
| | | public void setPageSize(Integer pageSize) { |
| | | this.pageSize = pageSize; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("targetoptionid", getTargetoptionid()).append("targetid", getTargetid()).append("targettype", getTargettype()).append("categoryName", getCategoryName()).append("targetvalue", getTargetvalue()).append("targetregex", getTargetregex()).append("optiondesc", getOptiondesc()).append("language", getLanguage()).append("version", getVersion()).append("groupid", getGroupid()).append("isabnormal", getIsabnormal()).append("warnup", getWarnup()).append("warndown", getWarndown()).append("delFlag", getDelFlag()).append("updateBy", getUpdateBy()).append("updateTime", getUpdateTime()).append("createBy", getCreateBy()).append("createTime", getCreateTime()).append("isupload", getIsupload()).append("uploadTime", getUploadTime()).append("orgid", getOrgid()).append("pid", getPid()).append("guid", getGuid()).toString(); |
| | |
| | | private Long pid; |
| | | |
| | | /** |
| | | * æ å¹é
æ¬¡æ° |
| | | */ |
| | | @Excel(name = "æ å¹é
次æ°") |
| | | @ApiModelProperty(value = "æ å¹é
次æ°") |
| | | private Long mateNum; |
| | | |
| | | /** |
| | | * GUID |
| | | */ |
| | | @Excel(name = "GUID") |
| | |
| | | @ApiModelProperty(value = "å
¶å®æ°æ®ï¼åå¨åéï¼") |
| | | private String otherdata; |
| | | |
| | | /** |
| | | * é访å |
| | | */ |
| | | @Excel(name = "é访å") |
| | | @ApiModelProperty(value = "é访å") |
| | | private String revisitBefore; |
| | | |
| | | /** |
| | | * é访å |
| | | */ |
| | | @Excel(name = "é访å") |
| | | @ApiModelProperty(value = "é访å") |
| | | private String revisitAfter; |
| | | |
| | | } |
| | |
| | | private String guid; |
| | | |
| | | /** |
| | | * æ é¢ |
| | | */ |
| | | @Excel(name = "æ é¢") |
| | | @ApiModelProperty(value = "æ é¢") |
| | | private String questiontitle; |
| | | |
| | | /** |
| | | * æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤ |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤") |
| | |
| | | /** |
| | | * æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤ |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤") |
| | | @ApiModelProperty(value = "ææ ç±»å") |
| | | private Integer targettype; |
| | | |
| | | /** |
| | | * æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤ |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤") |
| | | @ApiModelProperty(value = "ææ ID") |
| | | private Long targetid; |
| | | |
| | | |
| | | /** |
| | | * æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤ |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤") |
| | | @ApiModelProperty(value = "ææ å¼") |
| | | private Integer targetvalue; |
| | | } |
| | |
| | | private Integer targetValue; |
| | | |
| | | /** |
| | | * æ é¢ |
| | | */ |
| | | @Excel(name = "æ é¢") |
| | | @ApiModelProperty(value = "æ é¢") |
| | | private String questiontitle; |
| | | |
| | | /** |
| | | * è¯æ¯é项 |
| | | */ |
| | | @ApiModelProperty(value = "è¯æ¯é项") |
| | | private List<IvrLibaTemplateTargetoption> ivrLibaTemplateTargetoptionList = new ArrayList<>(); |
| | | private List<IvrLibaTemplateTargetoption> ivrLibaScriptTargetoptionList = new ArrayList<>(); |
| | | } |
| | |
| | | private String guid; |
| | | |
| | | /** |
| | | * GUID |
| | | * æ ç¾å |
| | | */ |
| | | @Excel(name = "GUID") |
| | | @ApiModelProperty(value = "GUID") |
| | | @Excel(name = "æ ç¾å") |
| | | @ApiModelProperty(value = "æ ç¾å") |
| | | private String tagname; |
| | | |
| | | /** |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.google.gson.Gson; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | |
| | | * @author ruoyi |
| | | * @date 2023-12-23 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "IvrLibaTemplateTargetoption", description = "æ¨¡æ¿ææ é项åºå¯¹è±¡") |
| | | public class IvrLibaTemplateTargetoption extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | |
| | | */ |
| | | @Excel(name = "ç±»å«åç§°") |
| | | @ApiModelProperty(value = "ç±»å«åç§°") |
| | | private String categoryName; |
| | | private String categoryName = null; |
| | | |
| | | /** |
| | | * æ¨¡æ¿ææ å¼ |
| | |
| | | @Excel(name = "æ¨¡æ¿ææ æ£å") |
| | | @ApiModelProperty(value = "æ¨¡æ¿ææ æ£å") |
| | | private String targetregex; |
| | | |
| | | /** |
| | | * æ¨¡æ¿ææ æ£å |
| | | */ |
| | | @Excel(name = "æ¨¡æ¿ææ æ£å2") |
| | | @ApiModelProperty(value = "æ¨¡æ¿ææ æ£å2") |
| | | private String targetregex2; |
| | | |
| | | @Excel(name = "æ£åå
³é®åéå(å«)") |
| | | private String nodynamiccruxsJson; |
| | | |
| | | @Excel(name = "æ£åå
³é®åéå(ä¸å«)") |
| | | private String dynamiccruxsJson; |
| | | |
| | | @ApiModelProperty(value = "æ£åå
³é®å(å«)") |
| | | @Excel(name = "æ£åå
³é®å(å«)") |
| | | private List<String> nodynamiccruxs = new ArrayList<>(); |
| | | |
| | | @ApiModelProperty(value = "æ£åå
³é®å(ä¸å«)") |
| | | @Excel(name = "æ£åå
³é®å(ä¸å«)") |
| | | private List<String> dynamiccruxs = new ArrayList<>(); |
| | | |
| | | /** |
| | | * é项æè¿° |
| | |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤") |
| | | private Integer isoperation; |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Long getTargetid() { |
| | | return targetid; |
| | | } |
| | | |
| | | public void setTargetid(Long targetid) { |
| | | this.targetid = targetid; |
| | | } |
| | | |
| | | public String getTargetname() { |
| | | return targetname; |
| | | } |
| | | |
| | | public void setTargetname(String targetname) { |
| | | this.targetname = targetname; |
| | | } |
| | | |
| | | public Long getTemplateID() { |
| | | return templateID; |
| | | } |
| | | |
| | | public void setTemplateID(Long templateID) { |
| | | this.templateID = templateID; |
| | | } |
| | | |
| | | public Long getScriptid() { |
| | | return scriptid; |
| | | } |
| | | |
| | | public void setScriptid(Long scriptid) { |
| | | this.scriptid = scriptid; |
| | | } |
| | | |
| | | public String getTargettype() { |
| | | return targettype; |
| | | } |
| | | |
| | | public void setTargettype(String targettype) { |
| | | this.targettype = targettype; |
| | | } |
| | | |
| | | public String getCategoryName() { |
| | | return categoryName; |
| | | } |
| | | |
| | | public void setCategoryName(String categoryName) { |
| | | this.categoryName = categoryName; |
| | | } |
| | | |
| | | public String getTargetvalue() { |
| | | return targetvalue; |
| | | } |
| | | |
| | | public void setTargetvalue(String targetvalue) { |
| | | this.targetvalue = targetvalue; |
| | | } |
| | | |
| | | public String getTargetregex() { |
| | | return targetregex; |
| | | } |
| | | |
| | | public void setTargetregex(String targetregex) { |
| | | this.targetregex = targetregex; |
| | | } |
| | | |
| | | public String getTargetregex2() { |
| | | return targetregex2; |
| | | } |
| | | |
| | | public void setTargetregex2(String targetregex2) { |
| | | this.targetregex2 = targetregex2; |
| | | } |
| | | |
| | | public String getNodynamiccruxsJson() { |
| | | return nodynamiccruxsJson; |
| | | } |
| | | |
| | | public void setNodynamiccruxsJson(String nodynamiccruxsJson) { |
| | | if (this.nodynamiccruxs != null) { |
| | | this.nodynamiccruxsJson = new Gson().toJson(this.nodynamiccruxs); |
| | | } else { |
| | | this.nodynamiccruxsJson = nodynamiccruxsJson; |
| | | } |
| | | } |
| | | |
| | | public String getDynamiccruxsJson() { |
| | | return dynamiccruxsJson; |
| | | } |
| | | |
| | | public void setDynamiccruxsJson(String dynamiccruxsJson) { |
| | | if (this.dynamiccruxs != null) { |
| | | this.dynamiccruxsJson = new Gson().toJson(this.dynamiccruxs); |
| | | } else { |
| | | this.dynamiccruxsJson = dynamiccruxsJson; |
| | | } |
| | | } |
| | | |
| | | public List<String> getNodynamiccruxs() { |
| | | return nodynamiccruxs; |
| | | } |
| | | |
| | | public void setNodynamiccruxs(List<String> nodynamiccruxs) { |
| | | this.nodynamiccruxs = nodynamiccruxs; |
| | | } |
| | | |
| | | public List<String> getDynamiccruxs() { |
| | | return dynamiccruxs; |
| | | } |
| | | |
| | | public void setDynamiccruxs(List<String> dynamiccruxs) { |
| | | this.dynamiccruxs = dynamiccruxs; |
| | | } |
| | | |
| | | public String getOptiondesc() { |
| | | return optiondesc; |
| | | } |
| | | |
| | | public void setOptiondesc(String optiondesc) { |
| | | this.optiondesc = optiondesc; |
| | | } |
| | | |
| | | public String getLanguage() { |
| | | return language; |
| | | } |
| | | |
| | | public void setLanguage(String language) { |
| | | this.language = language; |
| | | } |
| | | |
| | | public String getVersion() { |
| | | return version; |
| | | } |
| | | |
| | | public void setVersion(String version) { |
| | | this.version = version; |
| | | } |
| | | |
| | | public String getGroupid() { |
| | | return groupid; |
| | | } |
| | | |
| | | public void setGroupid(String groupid) { |
| | | this.groupid = groupid; |
| | | } |
| | | |
| | | public Long getIsabnormal() { |
| | | return isabnormal; |
| | | } |
| | | |
| | | public void setIsabnormal(Long isabnormal) { |
| | | this.isabnormal = isabnormal; |
| | | } |
| | | |
| | | public Long getWarnup() { |
| | | return warnup; |
| | | } |
| | | |
| | | public void setWarnup(Long warnup) { |
| | | this.warnup = warnup; |
| | | } |
| | | |
| | | public Long getWarndown() { |
| | | return warndown; |
| | | } |
| | | |
| | | public void setWarndown(Long warndown) { |
| | | this.warndown = warndown; |
| | | } |
| | | |
| | | public String getDelFlag() { |
| | | return delFlag; |
| | | } |
| | | |
| | | public void setDelFlag(String delFlag) { |
| | | this.delFlag = delFlag; |
| | | } |
| | | |
| | | public Long getIsupload() { |
| | | return isupload; |
| | | } |
| | | |
| | | public void setIsupload(Long isupload) { |
| | | this.isupload = isupload; |
| | | } |
| | | |
| | | public Date getUploadTime() { |
| | | return uploadTime; |
| | | } |
| | | |
| | | public void setUploadTime(Date uploadTime) { |
| | | this.uploadTime = uploadTime; |
| | | } |
| | | |
| | | public String getOrgid() { |
| | | return orgid; |
| | | } |
| | | |
| | | public void setOrgid(String orgid) { |
| | | this.orgid = orgid; |
| | | } |
| | | |
| | | public Long getPid() { |
| | | return pid; |
| | | } |
| | | |
| | | public void setPid(Long pid) { |
| | | this.pid = pid; |
| | | } |
| | | |
| | | public String getGuid() { |
| | | return guid; |
| | | } |
| | | |
| | | public void setGuid(String guid) { |
| | | this.guid = guid; |
| | | } |
| | | |
| | | public Integer getIsoperation() { |
| | | return isoperation; |
| | | } |
| | | |
| | | public void setIsoperation(Integer isoperation) { |
| | | this.isoperation = isoperation; |
| | | } |
| | | } |
| | |
| | | private Long pid; |
| | | |
| | | /** |
| | | * æ å¹é
æ¬¡æ° |
| | | */ |
| | | @Excel(name = "æ å¹é
次æ°") |
| | | @ApiModelProperty(value = "æ å¹é
次æ°") |
| | | private Long mateNum; |
| | | |
| | | /** |
| | | * GUID |
| | | */ |
| | | @Excel(name = "GUID") |
| | |
| | | private String tag; |
| | | |
| | | /** |
| | | * é访å |
| | | */ |
| | | @Excel(name = "é访å") |
| | | @ApiModelProperty(value = "é访å") |
| | | private String revisitBefore; |
| | | |
| | | /** |
| | | * é访å |
| | | */ |
| | | @Excel(name = "é访å") |
| | | @ApiModelProperty(value = "é访å") |
| | | private String revisitAfter; |
| | | |
| | | /** |
| | | * éç¨æ¹å¼ï¼è°æ¥è¡¨1ï¼æºè½è¯é³2ã人工3 |
| | | */ |
| | | @Excel(name = "éç¨æ¹å¼ï¼è°æ¥è¡¨1ï¼æºè½è¯é³2ã人工3") |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import net.sf.jsqlparser.expression.DateTimeLiteralExpression; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | 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 |
| | | * åä¸ä»»å¡ï¼é访ï¼å¯¹è±¡ ivr_taskcall |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-02-02 |
| | | */ |
| | | public class IvrTaskcall extends BaseEntity |
| | | { |
| | | @Data |
| | | public class IvrTaskcall extends BaseEntity { |
| | | @ApiModelProperty(value = "æåæ¶é´") |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** */ |
| | | private Long callid; |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "主é®") |
| | | private Long id; |
| | | |
| | | /** åé人 */ |
| | | @Excel(name = " åé人 ") |
| | | /** |
| | | * åé人 |
| | | */ |
| | | @Excel(name = " åéäººï¼æ£è
ï¼ ") |
| | | @ApiModelProperty(value = "åéäººï¼æ£è
ï¼") |
| | | private String sendname; |
| | | |
| | | /** ææºå· */ |
| | | /** |
| | | * ææºå· |
| | | */ |
| | | @Excel(name = " ææºå· ") |
| | | @ApiModelProperty(value = "ææºå·") |
| | | private String phone; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | /** |
| | | * æ§å« |
| | | */ |
| | | @Excel(name = " æ§å«") |
| | | @ApiModelProperty(value = "æ§å«") |
| | | private String sex; |
| | | |
| | | /** å¹´é¾ */ |
| | | /** |
| | | * å¹´é¾ |
| | | */ |
| | | @Excel(name = " å¹´é¾ ") |
| | | @ApiModelProperty(value = "å¹´é¾") |
| | | private Long age; |
| | | |
| | | /** 身份è¯å· */ |
| | | /** |
| | | * 身份è¯å· |
| | | */ |
| | | @Excel(name = " 身份è¯å· ") |
| | | @ApiModelProperty(value = "身份è¯å·") |
| | | private String sfzh; |
| | | |
| | | /** å°å */ |
| | | /** |
| | | * å°å |
| | | */ |
| | | @Excel(name = " å°å ") |
| | | @ApiModelProperty(value = "å°å") |
| | | private String addr; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | /** |
| | | * åé人详æ
|
| | | */ |
| | | @Excel(name = " åé人详æ
") |
| | | @ApiModelProperty(value = "åé人详æ
") |
| | | private String senderdetail; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String inserttype; |
| | | /** |
| | | * ä»»å¡ç±»å(é¨è¯ï¼ä½é¢ï¼å¤è¯â¦) |
| | | */ |
| | | @Excel(name = "ä»»å¡ç±»å(é¨è¯ï¼ä½é¢ï¼å¤è¯â¦)") |
| | | @ApiModelProperty(value = "ä»»å¡ç±»å(é¨è¯ï¼ä½é¢ï¼å¤è¯â¦)") |
| | | private String type; |
| | | |
| | | /** ä»»å¡ID */ |
| | | @Excel(name = " ä»»å¡ID ") |
| | | private Long taskid; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | /** |
| | | * 模æ¿ID |
| | | */ |
| | | @Excel(name = " 模æ¿ID") |
| | | @ApiModelProperty(value = "模æ¿ID") |
| | | private String templateid; |
| | | |
| | | /** 模æ¿å */ |
| | | /** |
| | | * 模æ¿å |
| | | */ |
| | | @Excel(name = " 模æ¿å ") |
| | | @ApiModelProperty(value = "æåæ¶é´") |
| | | private String templatename; |
| | | |
| | | /** å鿥æ */ |
| | | /** |
| | | * å鿥æ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " å鿥æ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "å鿥æ") |
| | | private Date senddate; |
| | | |
| | | /** ä¸åå¼å§åéæ¶é´éå¶ */ |
| | | /** |
| | | * ä¸åå¼å§åéæ¶é´éå¶ |
| | | */ |
| | | @Excel(name = " ä¸åå¼å§åéæ¶é´éå¶ ") |
| | | @ApiModelProperty(value = "ä¸åå¼å§åéæ¶é´éå¶") |
| | | private String sendlimitabegin; |
| | | |
| | | /** ä¸åç»æåéæ¶é´éå¶ */ |
| | | /** |
| | | * ä¸åç»æåéæ¶é´éå¶ |
| | | */ |
| | | @Excel(name = " ä¸åç»æåéæ¶é´éå¶ ") |
| | | @ApiModelProperty(value = "ä¸åç»æåéæ¶é´éå¶") |
| | | private String sendlimitaend; |
| | | |
| | | /** ä¸åå¼å§åéæ¶é´éå¶ */ |
| | | /** |
| | | * ä¸åå¼å§åéæ¶é´éå¶ |
| | | */ |
| | | @Excel(name = " ä¸åå¼å§åéæ¶é´éå¶ ") |
| | | @ApiModelProperty(value = "ä¸åå¼å§åéæ¶é´éå¶") |
| | | private String sendlimitpbegin; |
| | | |
| | | /** ä¸åç»æåéæ¶é´éå¶ */ |
| | | /** |
| | | * ä¸åç»æåéæ¶é´éå¶ |
| | | */ |
| | | @Excel(name = " ä¸åç»æåéæ¶é´éå¶ ") |
| | | @ApiModelProperty(value = "ä¸åç»æåéæ¶é´éå¶") |
| | | private String sendlimitpend; |
| | | |
| | | /** æä¸å¼å§åéæ¶é´éå¶ */ |
| | | /** |
| | | * æä¸å¼å§åéæ¶é´éå¶ |
| | | */ |
| | | @Excel(name = " æä¸å¼å§åéæ¶é´éå¶ ") |
| | | @ApiModelProperty(value = "æä¸å¼å§åéæ¶é´éå¶") |
| | | private String sendlimitnbegin; |
| | | |
| | | /** æä¸ç»æåéæ¶é´éå¶ */ |
| | | /** |
| | | * æä¸ç»æåéæ¶é´éå¶ |
| | | */ |
| | | @Excel(name = " æä¸ç»æåéæ¶é´éå¶ ") |
| | | @ApiModelProperty(value = "æä¸ç»æåéæ¶é´éå¶") |
| | | private String sendlimitnend; |
| | | |
| | | /** åéç¶æ */ |
| | | /** |
| | | * åéç¶æ |
| | | */ |
| | | @Excel(name = " åéç¶æ ") |
| | | @ApiModelProperty(value = "åéç¶æ") |
| | | private Long sendstate; |
| | | |
| | | /** åéUUID */ |
| | | /** |
| | | * åéUUID |
| | | */ |
| | | @Excel(name = " åéUUID ") |
| | | @ApiModelProperty(value = "åéUUID") |
| | | private String senduuid; |
| | | |
| | | /** ç»æ */ |
| | | /** |
| | | * ç»æ |
| | | */ |
| | | @Excel(name = " ç»æ ") |
| | | @ApiModelProperty(value = "ç»æ") |
| | | private String result; |
| | | |
| | | /** 宿æ¶é´ */ |
| | | /** |
| | | * 宿æ¶é´ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " 宿æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "宿æ¶é´") |
| | | private Date finishtime; |
| | | |
| | | /** ç¨æ·ID */ |
| | | /** |
| | | * ç¨æ·ID |
| | | */ |
| | | @Excel(name = " ç¨æ·ID ") |
| | | @ApiModelProperty(value = "ç¨æ·ID") |
| | | private String userid; |
| | | |
| | | /** ç¨æ·å */ |
| | | /** |
| | | * ç¨æ·å |
| | | */ |
| | | @Excel(name = " ç¨æ·å ") |
| | | @ApiModelProperty(value = "ç¨æ·å") |
| | | private String username; |
| | | |
| | | /** æ·»å æ¶é´ */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " æ·»å æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date addtime; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | /** |
| | | * |
| | | */ |
| | | @Excel(name = " outbounduuid ") |
| | | @ApiModelProperty(value = "outbounduuid") |
| | | private String outbounduuid; |
| | | |
| | | /** å°±è¯è®°å½ç¼å· */ |
| | | /** |
| | | * å°±è¯è®°å½ç¼å· |
| | | */ |
| | | @Excel(name = " å°±è¯è®°å½ç¼å· ") |
| | | @ApiModelProperty(value = "å°±è¯è®°å½ç¼å·") |
| | | private Long recordid; |
| | | |
| | | /** éæ¨æ»æ° */ |
| | | /** |
| | | * éæ¨æ»æ° |
| | | */ |
| | | @Excel(name = " éæ¨æ»æ° ") |
| | | @ApiModelProperty(value = "éæ¨æ»æ°") |
| | | private Long recallcount; |
| | | |
| | | /** å½åéæ¨æ¬¡æ° */ |
| | | /** |
| | | * å½åéæ¨æ¬¡æ° |
| | | */ |
| | | @Excel(name = " å½åéæ¨æ¬¡æ° ") |
| | | @ApiModelProperty(value = "å½åéæ¨æ¬¡æ°") |
| | | private Long exrecallcount; |
| | | |
| | | /** æåæ¶é´ */ |
| | | /** |
| | | * æåæ¶é´ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " æåæ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "æåæ¶é´") |
| | | private Date pulltime; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | /** |
| | | * bqsms |
| | | */ |
| | | @Excel(name = " bqsms ") |
| | | @ApiModelProperty(value = "bqsms") |
| | | private Long bqsms; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | /** |
| | | * bhsms |
| | | */ |
| | | @Excel(name = " bhsms ") |
| | | @ApiModelProperty(value = "bhsms") |
| | | private Long bhsms; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | /** |
| | | * é¨é¨code |
| | | */ |
| | | @Excel(name = " é¨é¨code") |
| | | @ApiModelProperty(value = "é¨é¨code") |
| | | private String deptcode; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | /** |
| | | * æ ç¾ç¶æ |
| | | */ |
| | | @Excel(name = " æ ç¾ç¶æ") |
| | | @ApiModelProperty(value = "æ ç¾ç¶æ") |
| | | private Long labelstatus; |
| | | |
| | | /** å 餿 è®° */ |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @ApiModelProperty(value = "å 餿 è®°") |
| | | private String delFlag; |
| | | |
| | | /** ä¸ä¼ æ è®° */ |
| | | /** |
| | | * ä¸ä¼ æ è®° |
| | | */ |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ è®°") |
| | | private Long isupload; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ¶é´") |
| | | private Date uploadTime; |
| | | |
| | | /** æºæID */ |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @Excel(name = " æºæID ") |
| | | @ApiModelProperty(value = "æºæID") |
| | | private String orgid; |
| | | |
| | | public void setCallid(Long callid) |
| | | { |
| | | this.callid = callid; |
| | | } |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @Excel(name = "ç¶ID") |
| | | @ApiModelProperty(value = "ç¶ID") |
| | | private Long pid; |
| | | |
| | | public Long getCallid() |
| | | { |
| | | return callid; |
| | | } |
| | | public void setSendname(String sendname) |
| | | { |
| | | this.sendname = sendname; |
| | | } |
| | | /** |
| | | * GUID |
| | | */ |
| | | @Excel(name = "GUID") |
| | | @ApiModelProperty(value = "GUID") |
| | | private String guid; |
| | | |
| | | public String getSendname() |
| | | { |
| | | return sendname; |
| | | } |
| | | public void setPhone(String phone) |
| | | { |
| | | this.phone = phone; |
| | | } |
| | | /** |
| | | * ææ¬åéåæ° |
| | | */ |
| | | @Excel(name = "ææ¬åéåæ°") |
| | | @ApiModelProperty(value = "ææ¬åéåæ°") |
| | | private String textParam; |
| | | |
| | | public String getPhone() |
| | | { |
| | | return phone; |
| | | } |
| | | public void setSex(String sex) |
| | | { |
| | | this.sex = sex; |
| | | } |
| | | /** |
| | | * 宣æå½¢å¼ :ææ¬ãå¾çãè¯é³ãè§é¢ãæ··å |
| | | */ |
| | | @Excel(name = " 宣æå½¢å¼ :ææ¬ãå¾çãè¯é³ãè§é¢ãæ··å") |
| | | @ApiModelProperty("宣æå½¢å¼ : 1,ææ¬ã2,å¾çã3,è¯é³ã4,è§é¢ã5,æ··å") |
| | | private String serviceform; |
| | | |
| | | public String getSex() |
| | | { |
| | | return sex; |
| | | } |
| | | public void setAge(Long age) |
| | | { |
| | | this.age = age; |
| | | } |
| | | /** |
| | | * åºå· |
| | | */ |
| | | @Excel(name = "åºå·") |
| | | @ApiModelProperty(value = "åºå·") |
| | | private Long badNo; |
| | | |
| | | public Long getAge() |
| | | { |
| | | return age; |
| | | } |
| | | public void setSfzh(String sfzh) |
| | | { |
| | | this.sfzh = sfzh; |
| | | } |
| | | /** |
| | | * ç¾ç
åç§° |
| | | */ |
| | | @Excel(name = "ç¾ç
åç§°") |
| | | @ApiModelProperty(value = "ç¾ç
åç§°") |
| | | private String icdName; |
| | | |
| | | public String getSfzh() |
| | | { |
| | | return sfzh; |
| | | } |
| | | public void setAddr(String addr) |
| | | { |
| | | this.addr = addr; |
| | | } |
| | | /** |
| | | * ç
åå· |
| | | */ |
| | | @Excel(name = "ç
åå·") |
| | | @ApiModelProperty(value = "ç
åå·") |
| | | private String medicalRecordNo; |
| | | |
| | | public String getAddr() |
| | | { |
| | | return addr; |
| | | } |
| | | public void setSenderdetail(String senderdetail) |
| | | { |
| | | this.senderdetail = senderdetail; |
| | | } |
| | | /** |
| | | * 宣æå
容 |
| | | */ |
| | | @Excel(name = "宣æå
容") |
| | | @ApiModelProperty(value = "宣æå
容") |
| | | private String preachcontent; |
| | | |
| | | public String getSenderdetail() |
| | | { |
| | | return senderdetail; |
| | | } |
| | | public void setInserttype(String inserttype) |
| | | { |
| | | this.inserttype = inserttype; |
| | | } |
| | | /** |
| | | * pageNum |
| | | */ |
| | | @Excel(name = "pageNum") |
| | | @ApiModelProperty(value = "pageNum") |
| | | private Integer pageNum; |
| | | |
| | | public String getInserttype() |
| | | { |
| | | return inserttype; |
| | | } |
| | | public void setTaskid(Long taskid) |
| | | { |
| | | this.taskid = taskid; |
| | | } |
| | | /** |
| | | * pageSize |
| | | */ |
| | | @Excel(name = "pageSize") |
| | | @ApiModelProperty(value = "pageSize") |
| | | private Integer pageSize; |
| | | |
| | | 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 com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * åä¸ä»»å¡ï¼é访ï¼å¯¹è±¡ ivr_taskcall |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-02-02 |
| | | */ |
| | | @Data |
| | | public class IvrTaskcallVO extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * |
| | | */ |
| | | @ApiModelProperty(value = "主é®id") |
| | | private Long id; |
| | | |
| | | /** |
| | | * åé人 |
| | | */ |
| | | @Excel(name = " åé人 ") |
| | | @ApiModelProperty(value = "åé人") |
| | | private String sendname; |
| | | |
| | | /** |
| | | * ææºå· |
| | | */ |
| | | @Excel(name = " ææºå· ") |
| | | @ApiModelProperty(value = "ææºå·") |
| | | private String phone; |
| | | |
| | | /** |
| | | * æ§å« |
| | | */ |
| | | @Excel(name = " æ§å«") |
| | | @ApiModelProperty(value = "æ§å«") |
| | | private String sex; |
| | | |
| | | /** |
| | | * å¹´é¾ |
| | | */ |
| | | @Excel(name = " å¹´é¾ ") |
| | | @ApiModelProperty(value = "å¹´é¾") |
| | | private Long age; |
| | | |
| | | /** |
| | | * 身份è¯å· |
| | | */ |
| | | @Excel(name = " 身份è¯å· ") |
| | | @ApiModelProperty(value = "身份è¯å·") |
| | | private String sfzh; |
| | | |
| | | /** |
| | | * å°å |
| | | */ |
| | | @Excel(name = " å°å ") |
| | | @ApiModelProperty(value = "å°å") |
| | | private String addr; |
| | | |
| | | /** |
| | | * åé人详æ
|
| | | */ |
| | | @Excel(name = " åé人详æ
") |
| | | @ApiModelProperty(value = "åé人详æ
") |
| | | private String senderdetail; |
| | | |
| | | /** |
| | | * ä»»å¡ç±»å(é¨è¯ï¼ä½é¢ï¼å¤è¯â¦) |
| | | */ |
| | | @Excel(name = "ä»»å¡ç±»å(é¨è¯ï¼ä½é¢ï¼å¤è¯â¦)") |
| | | @ApiModelProperty(value = "ä»»å¡ç±»å(é¨è¯ï¼ä½é¢ï¼å¤è¯â¦)") |
| | | private String type; |
| | | |
| | | /** |
| | | * ä»»å¡ID |
| | | */ |
| | | @Excel(name = " ä»»å¡ID ") |
| | | @ApiModelProperty(value = "ä»»å¡ID") |
| | | private Long taskid; |
| | | |
| | | /** |
| | | * 模æ¿ID |
| | | */ |
| | | @Excel(name = " 模æ¿ID") |
| | | @ApiModelProperty(value = "模æ¿ID") |
| | | private String templateid; |
| | | |
| | | /** |
| | | * 模æ¿å |
| | | */ |
| | | @Excel(name = " 模æ¿å ") |
| | | @ApiModelProperty(value = "模æ¿å") |
| | | private String templatename; |
| | | |
| | | /** |
| | | * å鿥æ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " å鿥æ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "å鿥æ") |
| | | private Date senddate; |
| | | |
| | | /** |
| | | * ä¸åå¼å§åéæ¶é´éå¶ |
| | | */ |
| | | @Excel(name = " ä¸åå¼å§åéæ¶é´éå¶ ") |
| | | @ApiModelProperty(value = "ä¸åå¼å§åéæ¶é´éå¶") |
| | | private String sendlimitabegin; |
| | | |
| | | /** |
| | | * ä¸åç»æåéæ¶é´éå¶ |
| | | */ |
| | | @Excel(name = " ä¸åç»æåéæ¶é´éå¶ ") |
| | | @ApiModelProperty(value = "ä¸åç»æåéæ¶é´éå¶") |
| | | private String sendlimitaend; |
| | | |
| | | /** |
| | | * ä¸åå¼å§åéæ¶é´éå¶ |
| | | */ |
| | | @Excel(name = " ä¸åå¼å§åéæ¶é´éå¶ ") |
| | | @ApiModelProperty(value = "ä¸åå¼å§åéæ¶é´éå¶") |
| | | private String sendlimitpbegin; |
| | | |
| | | /** |
| | | * ä¸åç»æåéæ¶é´éå¶ |
| | | */ |
| | | @Excel(name = " ä¸åç»æåéæ¶é´éå¶ ") |
| | | @ApiModelProperty(value = "ä¸åç»æåéæ¶é´éå¶") |
| | | private String sendlimitpend; |
| | | |
| | | /** |
| | | * æä¸å¼å§åéæ¶é´éå¶ |
| | | */ |
| | | @Excel(name = " æä¸å¼å§åéæ¶é´éå¶ ") |
| | | @ApiModelProperty(value = "æä¸å¼å§åéæ¶é´éå¶") |
| | | private String sendlimitnbegin; |
| | | |
| | | /** |
| | | * æä¸ç»æåéæ¶é´éå¶ |
| | | */ |
| | | @Excel(name = " æä¸ç»æåéæ¶é´éå¶ ") |
| | | @ApiModelProperty(value = "æä¸ç»æåéæ¶é´éå¶") |
| | | private String sendlimitnend; |
| | | |
| | | /** |
| | | * åéç¶æ |
| | | */ |
| | | @Excel(name = " åéç¶æ ") |
| | | @ApiModelProperty(value = "åéç¶æ") |
| | | private Long sendstate; |
| | | |
| | | /** |
| | | * åéUUID |
| | | */ |
| | | @Excel(name = " åéUUID ") |
| | | @ApiModelProperty(value = "åéUUID") |
| | | private String senduuid; |
| | | |
| | | /** |
| | | * ç»æ |
| | | */ |
| | | @Excel(name = " ç»æ ") |
| | | @ApiModelProperty(value = "ç»æ") |
| | | private String result; |
| | | |
| | | /** |
| | | * 宿æ¶é´ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " 宿æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "宿æ¶é´") |
| | | private Date finishtime; |
| | | |
| | | /** |
| | | * ç¨æ·ID |
| | | */ |
| | | @Excel(name = " ç¨æ·ID ") |
| | | @ApiModelProperty(value = "ç¨æ·ID") |
| | | private String userid; |
| | | |
| | | /** |
| | | * ç¨æ·å |
| | | */ |
| | | @Excel(name = " ç¨æ·å ") |
| | | @ApiModelProperty(value = "ç¨æ·å") |
| | | private String username; |
| | | |
| | | /** |
| | | * outbounduuid |
| | | */ |
| | | @Excel(name = " outbounduuid ") |
| | | @ApiModelProperty(value = "outbounduuid") |
| | | private String outbounduuid; |
| | | |
| | | /** |
| | | * å°±è¯è®°å½ç¼å· |
| | | */ |
| | | @Excel(name = " å°±è¯è®°å½ç¼å· ") |
| | | @ApiModelProperty(value = "å°±è¯è®°å½ç¼å·") |
| | | private Long recordid; |
| | | |
| | | /** |
| | | * éæ¨æ»æ° |
| | | */ |
| | | @Excel(name = " éæ¨æ»æ° ") |
| | | @ApiModelProperty(value = "éæ¨æ»æ°") |
| | | private Long recallcount; |
| | | |
| | | /** |
| | | * å½åéæ¨æ¬¡æ° |
| | | */ |
| | | @Excel(name = " å½åéæ¨æ¬¡æ° ") |
| | | @ApiModelProperty(value = "å½åéæ¨æ¬¡æ°") |
| | | private Long exrecallcount; |
| | | |
| | | /** |
| | | * æåæ¶é´ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " æåæ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "æåæ¶é´") |
| | | private Date pulltime; |
| | | |
| | | /** |
| | | * |
| | | */ |
| | | @Excel(name = " bqsms ") |
| | | @ApiModelProperty(value = "bqsms") |
| | | private Long bqsms; |
| | | |
| | | /** |
| | | * bhsms |
| | | */ |
| | | @Excel(name = " bhsms ") |
| | | @ApiModelProperty(value = "bhsms") |
| | | private Long bhsms; |
| | | |
| | | /** |
| | | * é¨é¨code |
| | | */ |
| | | @Excel(name = " é¨é¨code") |
| | | @ApiModelProperty(value = "é¨é¨code") |
| | | private String deptcode; |
| | | |
| | | /** |
| | | * æ ç¾ç¶æ |
| | | */ |
| | | @Excel(name = " æ ç¾ç¶æ") |
| | | @ApiModelProperty(value = "æ ç¾ç¶æ") |
| | | private Long labelstatus; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @ApiModelProperty(value = "å 餿 è®°") |
| | | private String delFlag; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ è®° |
| | | */ |
| | | @Excel(name = " ä¸ä¼ æ è®° ") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ è®°") |
| | | private Long isupload; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ä¸ä¼ æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "ä¸ä¼ æ¶é´") |
| | | private Date uploadTime; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @Excel(name = " æºæID ") |
| | | @ApiModelProperty(value = "æºæID") |
| | | private String orgid; |
| | | |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @Excel(name = "ç¶ID") |
| | | @ApiModelProperty(value = "ç¶ID") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * GUID |
| | | */ |
| | | @Excel(name = "GUID") |
| | | @ApiModelProperty(value = "GUID") |
| | | private String guid; |
| | | |
| | | /** |
| | | * æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤ |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤") |
| | | private Integer isoperation; |
| | | |
| | | /** |
| | | * ææ¬åéåæ° |
| | | */ |
| | | @Excel(name = "ææ¬åéåæ°") |
| | | @ApiModelProperty(value = "ææ¬åéåæ°") |
| | | private Map<String, Map<String, String>> textParam; |
| | | |
| | | |
| | | /** |
| | | * 宣æå½¢å¼ :ææ¬ãå¾çãè¯é³ãè§é¢ãæ··å |
| | | */ |
| | | @Excel(name = " 宣æå½¢å¼ :ææ¬ãå¾çãè¯é³ãè§é¢ãæ··å") |
| | | @ApiModelProperty(value = "宣æå½¢å¼ : 1,ææ¬ã2,å¾çã3,è¯é³ã4,è§é¢ã5,æ··å") |
| | | private String serviceform; |
| | | |
| | | /** |
| | | * æ£è
ä¸åä¸ä»»å¡å
³è表éå |
| | | */ |
| | | @Excel(name = " 宣æ£è
ä¸åä¸ä»»å¡å
³è表éå") |
| | | @ApiModelProperty(value = "æ£è
ä¸åä¸ä»»å¡å
³è表éå") |
| | | private List<PatTaskRelevance> patTaskRelevances; |
| | | |
| | | /** |
| | | * åºå· |
| | | */ |
| | | @Excel(name = "åºå·") |
| | | @ApiModelProperty(value = "åºå·") |
| | | private Long badNo; |
| | | |
| | | /** |
| | | * ç¾ç
åç§° |
| | | */ |
| | | @Excel(name = "ç¾ç
åç§°") |
| | | @ApiModelProperty(value = "ç¾ç
åç§°") |
| | | private String icdName; |
| | | |
| | | /** |
| | | * ç
åå· |
| | | */ |
| | | @Excel(name = "ç
åå·") |
| | | @ApiModelProperty(value = "ç
åå·") |
| | | private String medicalRecordNo; |
| | | |
| | | /** |
| | | * 宣æå
容 |
| | | */ |
| | | @Excel(name = "宣æå
容") |
| | | @ApiModelProperty(value = "宣æå
容") |
| | | private String preachcontent; |
| | | |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("id", getId()).append("sendname", getSendname()).append("phone", getPhone()).append("sex", getSex()).append("age", getAge()).append("sfzh", getSfzh()).append("addr", getAddr()).append("senderdetail", getSenderdetail()).append("type", getType()).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()).append("pid", getPid()).append("guid", getGuid()).append("textParam", getTextParam()).toString(); |
| | | } |
| | | } |
ÎļþÃû´Ó smartor/src/main/java/com/smartor/domain/PatHetaskRelevance.java ÐÞ¸Ä |
| | |
| | | * @date 2024-01-07 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "PatHetaskRelevance", description = "æ£è
ä¸å®£æä»»å¡å
³è对象") |
| | | public class PatHetaskRelevance extends BaseEntity { |
| | | @ApiModel(value = "PatTaskRelevance", description = "æ£è
ä¸å®£æä»»å¡å
³è对象") |
| | | public class PatTaskRelevance extends BaseEntity { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | |
| | | */ |
| | | @Excel(name = "宣æä»»å¡ID") |
| | | @ApiModelProperty("宣æä»»å¡ID") |
| | | private Long heTaskId; |
| | | private Long taskId; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | |
| | | @Excel(name = "å§å") |
| | | @ApiModelProperty("å§å") |
| | | private String name; |
| | | |
| | | /** |
| | | * 身份è¯å· |
| | | */ |
| | | @Excel(name = "身份è¯å·") |
| | | @ApiModelProperty("身份è¯å·") |
| | | private String sfzh; |
| | | |
| | | /** |
| | | * å¹´é¾ |
| | |
| | | @Excel(name = "ç§å®¤") |
| | | @ApiModelProperty("ç§å®¤") |
| | | private String dept; |
| | | |
| | | /** |
| | | * ç§å®¤ |
| | | */ |
| | | @Excel(name = "å°å") |
| | | @ApiModelProperty("å°å") |
| | | private String addr; |
| | | |
| | | /** |
| | | * ç¾ç
åç§° |
| | |
| | | @ApiModelProperty("åéæ¶é´") |
| | | private Date sendTime; |
| | | |
| | | /** |
| | | * åéæ¶é´ |
| | | */ |
| | | @Excel(name = "å°±è¯æ¶é´") |
| | | @ApiModelProperty("å°±è¯æ¶é´") |
| | | private Date visitTime; |
| | | |
| | | |
| | | /** |
| | | * æä½äºº |
ÎļþÃû´Ó smartor/src/main/java/com/smartor/domain/PatHetaskRelevanceVO.java ÐÞ¸Ä |
| | |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * æ£è
ä¸å®£æä»»å¡å
³èå¯¹è±¡åæ° pat_hetask_relevance |
| | | * |
| | |
| | | * @date 2024-01-07 |
| | | */ |
| | | @Data |
| | | @ApiModel(value = "PatHetaskRelevanceVO", description = "æ£è
ä¸å®£æä»»å¡å
³èå¯¹è±¡åæ°") |
| | | public class PatHetaskRelevanceVO extends BaseEntity { |
| | | @ApiModel(value = "PatTaskRelevanceVO", description = "æ£è
ä¸å®£æä»»å¡å
³èå¯¹è±¡åæ°") |
| | | public class PatTaskRelevanceVO extends BaseEntity { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | |
| | | */ |
| | | @Excel(name = "宣æä»»å¡ID") |
| | | @ApiModelProperty("宣æä»»å¡ID") |
| | | private Long heTaskId; |
| | | private Long taskId; |
| | | |
| | | /** |
| | | * å é¤ï¼0ä¸å é¤ 1å é¤ |
| | |
| | | private String medicalRecordNo; |
| | | |
| | | /** |
| | | * æä½äºº |
| | | */ |
| | | @Excel(name = "æä½äºº") |
| | | @ApiModelProperty("æä½äºº(宣æäºº)") |
| | | private String operatePerson; |
| | | |
| | | |
| | | /** |
| | | * æ¥æ¶æ¶é´ |
| | | */ |
| | | @Excel(name = "æ¥æ¶æ¶é´ï¼å®£ææ¶é´ï¼") |
| | | @ApiModelProperty("æ¥æ¶æ¶é´") |
| | | private String receiveTime; |
| | | |
| | | /** |
| | | * ç
åå· |
| | | */ |
| | | @Excel(name = "åéç¶æ") |
| | | @ApiModelProperty("åéç¶æï¼å®£æç¶æï¼") |
| | | private Integer sendStatus; |
| | | |
| | | /** |
| | | * åéæ¶é´ |
| | | */ |
| | | @Excel(name = "å°±è¯æ¶é´") |
| | | @ApiModelProperty("å°±è¯æ¶é´") |
| | | private Date visitTime; |
| | | |
| | | /** |
| | | * 宣æä»»å¡ |
| | | */ |
| | | @ApiModelProperty("宣æä»»å¡") |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.IvrTaskcall; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡å¼å«Mapperæ¥å£ |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | * åä¸ä»»å¡ï¼é访ï¼Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-02-02 |
| | | */ |
| | | public interface IvrTaskcallMapper |
| | | { |
| | | @Mapper |
| | | public interface IvrTaskcallMapper { |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å« |
| | | * |
| | | * @param callid è¯é³ä»»å¡å¼å«ä¸»é® |
| | | * @return è¯é³ä»»å¡å¼å« |
| | | * æ¥è¯¢åä¸ä»»å¡ï¼éè®¿ï¼ |
| | | * |
| | | * @param id åä¸ä»»å¡ï¼é访ï¼ä¸»é® |
| | | * @return åä¸ä»»å¡ï¼éè®¿ï¼ |
| | | */ |
| | | public IvrTaskcall selectIvrTaskcallByCallid(Long callid); |
| | | public IvrTaskcall selectIvrTaskcallById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å«å表 |
| | | * |
| | | * @param ivrTaskcall è¯é³ä»»å¡å¼å« |
| | | * @return è¯é³ä»»å¡å¼å«éå |
| | | * æ¥è¯¢åä¸ä»»å¡ï¼é访ï¼å表 |
| | | * |
| | | * @param ivrTaskcall åä¸ä»»å¡ï¼éè®¿ï¼ |
| | | * @return åä¸ä»»å¡ï¼é访ï¼éå |
| | | */ |
| | | public List<IvrTaskcall> selectIvrTaskcallList(IvrTaskcall ivrTaskcall); |
| | | |
| | | /** |
| | | * æ°å¢è¯é³ä»»å¡å¼å« |
| | | * |
| | | * @param ivrTaskcall è¯é³ä»»å¡å¼å« |
| | | * æ°å¢åä¸ä»»å¡ï¼éè®¿ï¼ |
| | | * |
| | | * @param ivrTaskcall åä¸ä»»å¡ï¼éè®¿ï¼ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrTaskcall(IvrTaskcall ivrTaskcall); |
| | | |
| | | /** |
| | | * ä¿®æ¹è¯é³ä»»å¡å¼å« |
| | | * |
| | | * @param ivrTaskcall è¯é³ä»»å¡å¼å« |
| | | * ä¿®æ¹åä¸ä»»å¡ï¼éè®¿ï¼ |
| | | * |
| | | * @param ivrTaskcall åä¸ä»»å¡ï¼éè®¿ï¼ |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrTaskcall(IvrTaskcall ivrTaskcall); |
| | | |
| | | /** |
| | | * å é¤è¯é³ä»»å¡å¼å« |
| | | * |
| | | * @param callid è¯é³ä»»å¡å¼å«ä¸»é® |
| | | * å é¤åä¸ä»»å¡ï¼éè®¿ï¼ |
| | | * |
| | | * @param id åä¸ä»»å¡ï¼é访ï¼ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrTaskcallByCallid(Long callid); |
| | | public int deleteIvrTaskcallById(Long id); |
| | | |
| | | /** |
| | | * æ¹éå é¤è¯é³ä»»å¡å¼å« |
| | | * |
| | | * @param callids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrTaskcallByCallids(Long[] callids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import com.smartor.domain.PatTaskRelevance; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ£è
ä¸å®£æä»»å¡å
³èMapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-01-07 |
| | | */ |
| | | @Mapper |
| | | public interface PatTaskRelevanceMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢æ£è
ä¸å®£æä»»å¡å
³è |
| | | * |
| | | * @param id æ£è
ä¸å®£æä»»å¡å
³èä¸»é® |
| | | * @return æ£è
ä¸å®£æä»»å¡å
³è |
| | | */ |
| | | public PatTaskRelevance selectPatTaskRelevanceById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
ä¸å®£æä»»å¡å
³èå表 |
| | | * |
| | | * @param patTaskRelevance æ£è
ä¸å®£æä»»å¡å
³è |
| | | * @return æ£è
ä¸å®£æä»»å¡å
³èéå |
| | | */ |
| | | public List<PatTaskRelevance> selectPatTaskRelevanceList(PatTaskRelevance patTaskRelevance); |
| | | |
| | | /** |
| | | * æ°å¢æ£è
ä¸å®£æä»»å¡å
³è |
| | | * |
| | | * @param patTaskRelevance æ£è
ä¸å®£æä»»å¡å
³è |
| | | * @return ç»æ |
| | | */ |
| | | public int insertPatTaskRelevance(PatTaskRelevance patTaskRelevance); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
ä¸å®£æä»»å¡å
³è |
| | | * |
| | | * @param patTaskRelevance æ£è
ä¸å®£æä»»å¡å
³è |
| | | * @return ç»æ |
| | | */ |
| | | public int updatePatTaskRelevance(PatTaskRelevance patTaskRelevance); |
| | | |
| | | /** |
| | | * å 餿£è
ä¸å®£æä»»å¡å
³è |
| | | * |
| | | * @param id æ£è
ä¸å®£æä»»å¡å
³èä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatTaskRelevanceById(Long id); |
| | | |
| | | /** |
| | | * æ¹éå 餿£è
ä¸å®£æä»»å¡å
³è |
| | | * |
| | | * @param ids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatTaskRelevanceByIds(Long[] ids); |
| | | } |
| | |
| | | * @param heTask 宣æä»»å¡ |
| | | * @return 宣æä»»å¡éå |
| | | */ |
| | | public List<PatHetaskRelevanceVO> selectHeTaskList(PatHetaskRelevanceVO patHetaskRelevanceVO); |
| | | public List<PatTaskRelevanceVO> selectHeTaskList(PatTaskRelevanceVO PatTaskRelevanceVO); |
| | | |
| | | /** |
| | | * æ°å¢å®£æä»»å¡ |
| | |
| | | * è·åæ£è
ä¿¡æ¯ |
| | | * |
| | | * @param patArchiveReq |
| | | * @return PatHetaskRelevance |
| | | * @return PatTaskRelevance |
| | | */ |
| | | public List<PatHetaskRelevance> getPatientInfo(PatArchiveReq patArchiveReq); |
| | | public List<PatTaskRelevance> getPatientInfo(PatArchiveReq patArchiveReq); |
| | | } |
| | |
| | | package com.smartor.service; |
| | | |
| | | import java.util.List; |
| | | import com.smartor.domain.HeTaskVO; |
| | | import com.smartor.domain.IvrTaskcall; |
| | | import com.smartor.domain.IvrTaskcallVO; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡å¼å«Serviceæ¥å£ |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | * åä¸ä»»å¡ï¼é访ï¼Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-02-02 |
| | | */ |
| | | public interface IIvrTaskcallService |
| | | { |
| | | public interface IIvrTaskcallService { |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å« |
| | | * |
| | | * @param callid è¯é³ä»»å¡å¼å«ä¸»é® |
| | | * @return è¯é³ä»»å¡å¼å« |
| | | * æ¥è¯¢åä¸ä»»å¡ï¼éè®¿ï¼ |
| | | * |
| | | * @param id åä¸ä»»å¡ï¼é访ï¼ä¸»é® |
| | | * @return åä¸ä»»å¡ï¼éè®¿ï¼ |
| | | */ |
| | | public IvrTaskcall selectIvrTaskcallByCallid(Long callid); |
| | | public IvrTaskcall selectIvrTaskcallById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å«å表 |
| | | * |
| | | * @param ivrTaskcall è¯é³ä»»å¡å¼å« |
| | | * @return è¯é³ä»»å¡å¼å«éå |
| | | * æ¥è¯¢åä¸ä»»å¡ï¼é访ï¼å表 |
| | | * |
| | | * @param ivrTaskcall åä¸ä»»å¡ï¼éè®¿ï¼ |
| | | * @return åä¸ä»»å¡ï¼é访ï¼éå |
| | | */ |
| | | public List<IvrTaskcall> selectIvrTaskcallList(IvrTaskcall ivrTaskcall); |
| | | |
| | | /** |
| | | * æ°å¢è¯é³ä»»å¡å¼å« |
| | | * |
| | | * @param ivrTaskcall è¯é³ä»»å¡å¼å« |
| | | * æ°å¢åä¸ä»»å¡ï¼éè®¿ï¼ |
| | | * |
| | | * @param ivrTaskcall åä¸ä»»å¡ï¼éè®¿ï¼ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertIvrTaskcall(IvrTaskcall ivrTaskcall); |
| | | |
| | | /** |
| | | * ä¿®æ¹è¯é³ä»»å¡å¼å« |
| | | * |
| | | * @param ivrTaskcall è¯é³ä»»å¡å¼å« |
| | | * ä¿®æ¹åä¸ä»»å¡ï¼éè®¿ï¼ |
| | | * |
| | | * @param ivrTaskcall åä¸ä»»å¡ï¼éè®¿ï¼ |
| | | * @return ç»æ |
| | | */ |
| | | public int updateIvrTaskcall(IvrTaskcall ivrTaskcall); |
| | | |
| | | /** |
| | | * æ¹éå é¤è¯é³ä»»å¡å¼å« |
| | | * |
| | | * @param callids éè¦å é¤çè¯é³ä»»å¡å¼å«ä¸»é®éå |
| | | * æ¹éå é¤åä¸ä»»å¡ï¼éè®¿ï¼ |
| | | * |
| | | * @param ids éè¦å é¤çåä¸ä»»å¡ï¼é访ï¼ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrTaskcallByCallids(Long[] callids); |
| | | public int deleteIvrTaskcallByIds(Long[] ids); |
| | | |
| | | /** |
| | | * å é¤è¯é³ä»»å¡å¼å«ä¿¡æ¯ |
| | | * |
| | | * @param callid è¯é³ä»»å¡å¼å«ä¸»é® |
| | | * æ°å¢å®£æä»»å¡ |
| | | * |
| | | * @param ivrTaskcallVO åä¸ä»»å¡ |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteIvrTaskcallByCallid(Long callid); |
| | | public int insertOrUpdateTask(IvrTaskcallVO ivrTaskcallVO); |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import com.smartor.domain.PatTaskRelevance; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ£è
ä¸å®£æä»»å¡å
³èServiceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-01-07 |
| | | */ |
| | | public interface IPatTaskRelevanceService { |
| | | /** |
| | | * æ¥è¯¢æ£è
ä¸å®£æä»»å¡å
³è |
| | | * |
| | | * @param id æ£è
ä¸å®£æä»»å¡å
³èä¸»é® |
| | | * @return æ£è
ä¸å®£æä»»å¡å
³è |
| | | */ |
| | | public PatTaskRelevance selectPatTaskRelevanceById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
ä¸å®£æä»»å¡å
³èå表 |
| | | * |
| | | * @param patTaskRelevance æ£è
ä¸å®£æä»»å¡å
³è |
| | | * @return æ£è
ä¸å®£æä»»å¡å
³èéå |
| | | */ |
| | | public List<PatTaskRelevance> selectPatTaskRelevanceList(PatTaskRelevance patTaskRelevance); |
| | | |
| | | /** |
| | | * æ°å¢æ£è
ä¸å®£æä»»å¡å
³è |
| | | * |
| | | * @param patTaskRelevance æ£è
ä¸å®£æä»»å¡å
³è |
| | | * @return ç»æ |
| | | */ |
| | | public int insertPatTaskRelevance(PatTaskRelevance patTaskRelevance); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
ä¸å®£æä»»å¡å
³è |
| | | * |
| | | * @param patTaskRelevance æ£è
ä¸å®£æä»»å¡å
³è |
| | | * @return ç»æ |
| | | */ |
| | | public int updatePatTaskRelevance(PatTaskRelevance patTaskRelevance); |
| | | |
| | | /** |
| | | * æ¹éå 餿£è
ä¸å®£æä»»å¡å
³è |
| | | * |
| | | * @param ids éè¦å é¤çæ£è
ä¸å®£æä»»å¡å
³è主é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatTaskRelevanceByIds(Long[] ids); |
| | | |
| | | /** |
| | | * å 餿£è
ä¸å®£æä»»å¡å
³èä¿¡æ¯ |
| | | * |
| | | * @param id æ£è
ä¸å®£æä»»å¡å
³èä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatTaskRelevanceById(Long id); |
| | | } |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import com.ruoyi.common.enums.SendTypeEnum; |
| | | import com.google.gson.Gson; |
| | | import com.ruoyi.common.exception.base.BaseException; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.ruoyi.common.utils.DtoConversionUtils; |
| | |
| | | import com.smartor.domain.*; |
| | | import com.smartor.mapper.HeTaskMapper; |
| | | import com.smartor.mapper.PatArchiveMapper; |
| | | import com.smartor.mapper.PatHetaskRelevanceMapper; |
| | | import com.smartor.mapper.PatTaskRelevanceMapper; |
| | | import com.smartor.service.IHeTaskService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.collections4.CollectionUtils; |
| | |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | import java.util.Timer; |
| | | import java.util.TimerTask; |
| | | |
| | | /** |
| | | * 宣æä»»å¡Serviceä¸å¡å±å¤ç |
| | |
| | | private HeLibraryServiceImpl heLibraryService; |
| | | |
| | | @Autowired |
| | | private PatHetaskRelevanceMapper patHetaskRelevanceMapper; |
| | | private PatTaskRelevanceMapper PatTaskRelevanceMapper; |
| | | |
| | | @Autowired |
| | | private SendService sendService; |
| | |
| | | /** |
| | | * æ¥è¯¢å®£æä»»å¡å表 |
| | | * |
| | | * @param patHetaskRelevanceVO 宣æä»»å¡ |
| | | * @param patTaskRelevanceVO 宣æä»»å¡ |
| | | * @return 宣æä»»å¡ |
| | | */ |
| | | @Override |
| | | public List<PatHetaskRelevanceVO> selectHeTaskList(PatHetaskRelevanceVO patHetaskRelevanceVO) { |
| | | PatHetaskRelevance patHetaskRelevance = new PatHetaskRelevance(); |
| | | List<PatHetaskRelevance> patHetaskRelevances = patHetaskRelevanceMapper.selectPatHetaskRelevanceList(patHetaskRelevance); |
| | | List<PatHetaskRelevanceVO> patHetaskRelevanceVOS = DtoConversionUtils.sourceToTarget(patHetaskRelevances, PatHetaskRelevanceVO.class); |
| | | for (PatHetaskRelevanceVO patHetaskRelevanceVO1 : patHetaskRelevanceVOS) { |
| | | HeTask heTask1 = heTaskMapper.selectHeTaskById(patHetaskRelevanceVO1.getHeTaskId()); |
| | | patHetaskRelevanceVO1.setHeTask(heTask1); |
| | | public List<PatTaskRelevanceVO> selectHeTaskList(PatTaskRelevanceVO patTaskRelevanceVO) { |
| | | PatTaskRelevance patTaskRelevance = new PatTaskRelevance(); |
| | | List<PatTaskRelevance> patTaskRelevances = PatTaskRelevanceMapper.selectPatTaskRelevanceList(patTaskRelevance); |
| | | List<PatTaskRelevanceVO> PatTaskRelevanceVOS = DtoConversionUtils.sourceToTarget(patTaskRelevances, PatTaskRelevanceVO.class); |
| | | for (PatTaskRelevanceVO patTaskRelevanceVO1 : PatTaskRelevanceVOS) { |
| | | HeTask heTask1 = heTaskMapper.selectHeTaskById(patTaskRelevanceVO1.getTaskId()); |
| | | patTaskRelevanceVO1.setHeTask(heTask1); |
| | | } |
| | | return patHetaskRelevanceVOS; |
| | | return PatTaskRelevanceVOS; |
| | | } |
| | | |
| | | /** |
| | |
| | | // if (heTaskVO.getIsSend() == 2) { |
| | | // //åéæ¹å¼ |
| | | // String sendtype = SendTypeEnum.getDescByCode(heTaskVO.getPreachform().intValue()); |
| | | // for (PatHetaskRelevance patHetaskRelevance : heTaskVO.getPatHetaskRelevances()) { |
| | | // for (PatTaskRelevance PatTaskRelevance : heTaskVO.getPatTaskRelevances()) { |
| | | // //å¼å§åé |
| | | // SendMagParam sendMagParam = new SendMagParam(); |
| | | // sendMagParam.setType(sendtype); |
| | | // sendMagParam.setPhone(patHetaskRelevance.getPhone()); |
| | | // sendMagParam.setPhone(PatTaskRelevance.getPhone()); |
| | | // //è¿éçæ¨¡æ¿IDä¸ç¡®å®ï¼å
è¿æ ·å |
| | | // sendMagParam.setTmpCode("SMS_461860582"); |
| | | // sendMagParam.setContent("Teståéæ°æ®"); |
| | |
| | | // } |
| | | // |
| | | // //å¿
é¡»å
¨é¨æåï¼æè½ä¿®æ¹åéç¶æ |
| | | // if (heTaskVO.getPatHetaskRelevances().size() == integer) { |
| | | // if (heTaskVO.getPatTaskRelevances().size() == integer) { |
| | | // //妿åéæå |
| | | // heTaskVO.setSendState(1L); |
| | | // } |
| | |
| | | // |
| | | // //å°ä»»å¡ä¸æ£è
å
³è |
| | | // Integer i = null; |
| | | // if (ObjectUtils.isNotEmpty(heTaskVO.getPatHetaskRelevances())) { |
| | | // for (PatHetaskRelevance patHetaskRelevance : heTaskVO.getPatHetaskRelevances()) { |
| | | // patHetaskRelevance.setHeTaskId(heTask.getId()); |
| | | // i = patHetaskRelevanceMapper.insertPatHetaskRelevance(patHetaskRelevance); |
| | | // if (ObjectUtils.isNotEmpty(heTaskVO.getPatTaskRelevances())) { |
| | | // for (PatTaskRelevance PatTaskRelevance : heTaskVO.getPatTaskRelevances()) { |
| | | // PatTaskRelevance.setHeTaskId(heTask.getId()); |
| | | // i = PatTaskRelevanceMapper.insertPatTaskRelevance(PatTaskRelevance); |
| | | // } |
| | | // |
| | | // } |
| | |
| | | // @Override |
| | | // public void run() { |
| | | // Integer integer = 0; |
| | | // for (PatHetaskRelevance patHetaskRelevance : heTaskVO.getPatHetaskRelevances()) { |
| | | // for (PatTaskRelevance PatTaskRelevance : heTaskVO.getPatTaskRelevances()) { |
| | | // String sendtype = SendTypeEnum.getDescByCode(heTaskVO.getPreachform().intValue()); |
| | | // SendMagParam sendMagParam = new SendMagParam(); |
| | | // sendMagParam.setType(sendtype); |
| | | // sendMagParam.setPhone(patHetaskRelevance.getPhone()); |
| | | // sendMagParam.setPhone(PatTaskRelevance.getPhone()); |
| | | // //è¿éçæ¨¡æ¿IDä¸ç¡®å®ï¼å
è¿æ ·å |
| | | // sendMagParam.setTmpCode("SMS_461860582"); |
| | | // sendMagParam.setContent("Teståéæ°æ®"); |
| | |
| | | // } |
| | | // } |
| | | // //å¿
é¡»å
¨é¨æåï¼æè½ä¿®æ¹åéç¶æ |
| | | // if (heTaskVO.getPatHetaskRelevances().size() == integer) { |
| | | // if (heTaskVO.getPatTaskRelevances().size() == integer) { |
| | | // //妿åéæå |
| | | // heTaskVO.setSendState(1L); |
| | | // } |
| | |
| | | // heTask.setCreateTime(DateUtils.getNowDate()); |
| | | // heTaskMapper.insertHeTask(heTask); |
| | | // |
| | | // if (ObjectUtils.isNotEmpty(heTaskVO.getPatHetaskRelevances())) { |
| | | // for (PatHetaskRelevance patHetaskRelevance : heTaskVO.getPatHetaskRelevances()) { |
| | | // patHetaskRelevance.setHeTaskId(heTask.getId()); |
| | | // patHetaskRelevanceMapper.insertPatHetaskRelevance(patHetaskRelevance); |
| | | // if (ObjectUtils.isNotEmpty(heTaskVO.getPatTaskRelevances())) { |
| | | // for (PatTaskRelevance PatTaskRelevance : heTaskVO.getPatTaskRelevances()) { |
| | | // PatTaskRelevance.setHeTaskId(heTask.getId()); |
| | | // PatTaskRelevanceMapper.insertPatTaskRelevance(PatTaskRelevance); |
| | | // } |
| | | // |
| | | // } |
| | |
| | | |
| | | //å°ä»»å¡ä¿¡æ¯æ°å¢å°å®£æä»»å¡è¡¨ä¸ |
| | | HeTask heTask = DtoConversionUtils.sourceToTarget(heTaskVO, HeTask.class); |
| | | |
| | | heTask.setCreateTime(DateUtils.getNowDate()); |
| | | heTask.setPreachform(new Gson().toJson(heTaskVO.getPreachform())); |
| | | heTask.setTextParam(new Gson().toJson(heTaskVO.getTextParam())); |
| | | heTaskMapper.insertHeTask(heTask); |
| | | integer = heTask.getId().intValue(); |
| | | //æ°å¢ |
| | | for (PatHetaskRelevance patHetaskRelevance : heTaskVO.getPatHetaskRelevances()) { |
| | | patHetaskRelevance.setHeTaskId(heTask.getId()); |
| | | patHetaskRelevanceMapper.insertPatHetaskRelevance(patHetaskRelevance); |
| | | if (CollectionUtils.isNotEmpty(heTaskVO.getPatTaskRelevances())) { |
| | | for (PatTaskRelevance PatTaskRelevance : heTaskVO.getPatTaskRelevances()) { |
| | | PatTaskRelevance.setTaskId(heTask.getId()); |
| | | PatTaskRelevanceMapper.insertPatTaskRelevance(PatTaskRelevance); |
| | | } |
| | | } |
| | | |
| | | } else if (heTaskVO.getIsoperation() != null && heTaskVO.getIsoperation() == 2) { |
| | |
| | | heTask.setUpdateTime(DateUtils.getNowDate()); |
| | | heTaskMapper.updateHeTask(heTask); |
| | | //æ°å¢ãå é¤ãä¿®æ¹æ£è
ä¿¡æ¯ |
| | | for (PatHetaskRelevance patHetaskRelevance : heTaskVO.getPatHetaskRelevances()) { |
| | | if (patHetaskRelevance.getIsoperation() != null && patHetaskRelevance.getIsoperation() == 1) { |
| | | patHetaskRelevanceMapper.insertPatHetaskRelevance(patHetaskRelevance); |
| | | } else if (patHetaskRelevance.getIsoperation() != null && patHetaskRelevance.getIsoperation() == 2) { |
| | | patHetaskRelevance.setHeTaskId(heTask.getId()); |
| | | patHetaskRelevanceMapper.updatePatHetaskRelevance(patHetaskRelevance); |
| | | } else if (patHetaskRelevance.getIsoperation() != null && patHetaskRelevance.getIsoperation() == 3) { |
| | | patHetaskRelevanceMapper.deletePatHetaskRelevanceById(patHetaskRelevance.getId()); |
| | | for (PatTaskRelevance PatTaskRelevance : heTaskVO.getPatTaskRelevances()) { |
| | | if (PatTaskRelevance.getIsoperation() != null && PatTaskRelevance.getIsoperation() == 1) { |
| | | PatTaskRelevanceMapper.insertPatTaskRelevance(PatTaskRelevance); |
| | | } else if (PatTaskRelevance.getIsoperation() != null && PatTaskRelevance.getIsoperation() == 2) { |
| | | PatTaskRelevance.setTaskId(heTask.getId()); |
| | | PatTaskRelevanceMapper.updatePatTaskRelevance(PatTaskRelevance); |
| | | } else if (PatTaskRelevance.getIsoperation() != null && PatTaskRelevance.getIsoperation() == 3) { |
| | | PatTaskRelevanceMapper.deletePatTaskRelevanceById(PatTaskRelevance.getId()); |
| | | } |
| | | } |
| | | integer = heTask.getId().intValue(); |
| | |
| | | heTaskMapper.deleteHeTaskById(heTaskVO.getId()); |
| | | |
| | | //å 餿£è
ä¿¡æ¯ |
| | | for (PatHetaskRelevance patHetaskRelevance : heTaskVO.getPatHetaskRelevances()) { |
| | | if (patHetaskRelevance.getIsoperation() != null && patHetaskRelevance.getIsoperation() == 3) { |
| | | patHetaskRelevanceMapper.deletePatHetaskRelevanceById(patHetaskRelevance.getId()); |
| | | for (PatTaskRelevance PatTaskRelevance : heTaskVO.getPatTaskRelevances()) { |
| | | if (PatTaskRelevance.getIsoperation() != null && PatTaskRelevance.getIsoperation() == 3) { |
| | | PatTaskRelevanceMapper.deletePatTaskRelevanceById(PatTaskRelevance.getId()); |
| | | } |
| | | } |
| | | integer = heTaskVO.getId().intValue(); |
| | |
| | | * @return |
| | | */ |
| | | @Override |
| | | public List<PatHetaskRelevance> getPatientInfo(PatArchiveReq patArchiveReq) { |
| | | List<PatHetaskRelevance> patHetaskRelevances = new ArrayList<>(); |
| | | public List<PatTaskRelevance> getPatientInfo(PatArchiveReq patArchiveReq) { |
| | | List<PatTaskRelevance> PatTaskRelevances = new ArrayList<>(); |
| | | |
| | | List<PatArchive> patArchiveList = new ArrayList<>(); |
| | | if (patArchiveReq.getAllhosp() != null && patArchiveReq.getAllhosp() == 1) { |
| | |
| | | } |
| | | } |
| | | for (PatArchive patArchive : patArchiveList) { |
| | | PatHetaskRelevance patHetaskRelevance = DtoConversionUtils.sourceToTarget(patArchive, PatHetaskRelevance.class); |
| | | patHetaskRelevance.setCreateTime(patArchive.getCreateTime()); |
| | | patHetaskRelevance.setCreateBy(patArchive.getCreateBy()); |
| | | patHetaskRelevances.add(patHetaskRelevance); |
| | | PatTaskRelevance PatTaskRelevance = DtoConversionUtils.sourceToTarget(patArchive, PatTaskRelevance.class); |
| | | PatTaskRelevance.setCreateTime(patArchive.getCreateTime()); |
| | | PatTaskRelevance.setCreateBy(patArchive.getCreateBy()); |
| | | PatTaskRelevances.add(PatTaskRelevance); |
| | | } |
| | | |
| | | return patHetaskRelevances; |
| | | return PatTaskRelevances; |
| | | } |
| | | |
| | | } |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import cn.hutool.json.JSONArray; |
| | | import com.google.gson.Gson; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.smartor.domain.IvrLibaTargetoption; |
| | | import com.smartor.mapper.IvrLibaTargetoptionMapper; |
| | |
| | | |
| | | /** |
| | | * ææ é项åºServiceä¸å¡å±å¤ç |
| | | * |
| | | * |
| | | * @author ruoyi |
| | | * @date 2023-12-14 |
| | | */ |
| | | @Service |
| | | public class IvrLibaTargetoptionServiceImpl implements IIvrLibaTargetoptionService |
| | | { |
| | | public class IvrLibaTargetoptionServiceImpl implements IIvrLibaTargetoptionService { |
| | | @Autowired |
| | | private IvrLibaTargetoptionMapper ivrLibaTargetoptionMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢ææ éé¡¹åº |
| | | * |
| | | * |
| | | * @param targetoptionid ææ é项åºä¸»é® |
| | | * @return ææ éé¡¹åº |
| | | */ |
| | | @Override |
| | | public IvrLibaTargetoption selectIvrLibaTargetoptionByTargetoptionid(Long targetoptionid) |
| | | { |
| | | public IvrLibaTargetoption selectIvrLibaTargetoptionByTargetoptionid(Long targetoptionid) { |
| | | return ivrLibaTargetoptionMapper.selectIvrLibaTargetoptionByTargetoptionid(targetoptionid); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢ææ é项åºå表 |
| | | * |
| | | * |
| | | * @param ivrLibaTargetoption ææ éé¡¹åº |
| | | * @return ææ éé¡¹åº |
| | | */ |
| | | @Override |
| | | public List<IvrLibaTargetoption> selectIvrLibaTargetoptionList(IvrLibaTargetoption ivrLibaTargetoption) |
| | | { |
| | | public List<IvrLibaTargetoption> selectIvrLibaTargetoptionList(IvrLibaTargetoption ivrLibaTargetoption) { |
| | | return ivrLibaTargetoptionMapper.selectIvrLibaTargetoptionList(ivrLibaTargetoption); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢ææ éé¡¹åº |
| | | * |
| | | * |
| | | * @param ivrLibaTargetoption ææ éé¡¹åº |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertIvrLibaTargetoption(IvrLibaTargetoption ivrLibaTargetoption) |
| | | { |
| | | public int insertIvrLibaTargetoption(IvrLibaTargetoption ivrLibaTargetoption) { |
| | | ivrLibaTargetoption.setCreateTime(DateUtils.getNowDate()); |
| | | ivrLibaTargetoption.setDynamiccruxsJson(new Gson().toJson(ivrLibaTargetoption.getDynamiccruxs())); |
| | | ivrLibaTargetoption.setNodynamiccruxsJson(new Gson().toJson(ivrLibaTargetoption.getNodynamiccruxs())); |
| | | return ivrLibaTargetoptionMapper.insertIvrLibaTargetoption(ivrLibaTargetoption); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹ææ éé¡¹åº |
| | | * |
| | | * |
| | | * @param ivrLibaTargetoption ææ éé¡¹åº |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateIvrLibaTargetoption(IvrLibaTargetoption ivrLibaTargetoption) |
| | | { |
| | | public int updateIvrLibaTargetoption(IvrLibaTargetoption ivrLibaTargetoption) { |
| | | ivrLibaTargetoption.setUpdateTime(DateUtils.getNowDate()); |
| | | return ivrLibaTargetoptionMapper.updateIvrLibaTargetoption(ivrLibaTargetoption); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå 餿æ éé¡¹åº |
| | | * |
| | | * |
| | | * @param targetoptionids éè¦å é¤çææ é项åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrLibaTargetoptionByTargetoptionids(Long[] targetoptionids) |
| | | { |
| | | public int deleteIvrLibaTargetoptionByTargetoptionids(Long[] targetoptionids) { |
| | | return ivrLibaTargetoptionMapper.deleteIvrLibaTargetoptionByTargetoptionids(targetoptionids); |
| | | } |
| | | |
| | | /** |
| | | * å 餿æ é项åºä¿¡æ¯ |
| | | * |
| | | * |
| | | * @param targetoptionid ææ é项åºä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrLibaTargetoptionByTargetoptionid(Long targetoptionid) |
| | | { |
| | | public int deleteIvrLibaTargetoptionByTargetoptionid(Long targetoptionid) { |
| | | return ivrLibaTargetoptionMapper.deleteIvrLibaTargetoptionByTargetoptionid(targetoptionid); |
| | | } |
| | | } |
| | |
| | | ivrLibaTemplateScript.setCreateTime(new Date()); |
| | | ivrLibaTemplateScriptMapper.insertIvrLibaTemplateScript(ivrLibaTemplateScript); |
| | | //对é项ç®è¿è¡å¤ç |
| | | dealOption(ivrLibaTemplateScriptVO.getIvrLibaTemplateTargetoptionList(), ivrLibaTemplateScript, ivrLibaTemplate.getID()); |
| | | dealOption(ivrLibaTemplateScriptVO.getIvrLibaScriptTargetoptionList(), ivrLibaTemplateScript, ivrLibaTemplate.getID()); |
| | | |
| | | } else if (ivrLibaTemplateScriptVO.getIsoperation() != null && ivrLibaTemplateScriptVO.getIsoperation() == 2) { |
| | | //ä¿®æ¹ |
| | |
| | | ivrLibaTemplateScript.setUpdateTime(new Date()); |
| | | ivrLibaTemplateScriptMapper.updateIvrLibaTemplateScript(ivrLibaTemplateScript); |
| | | //对é项ç®è¿è¡å¤ç |
| | | dealOption(ivrLibaTemplateScriptVO.getIvrLibaTemplateTargetoptionList(), ivrLibaTemplateScript, ivrLibaTemplate.getID()); |
| | | dealOption(ivrLibaTemplateScriptVO.getIvrLibaScriptTargetoptionList(), ivrLibaTemplateScript, ivrLibaTemplate.getID()); |
| | | |
| | | } else if (ivrLibaTemplateScriptVO.getIsoperation() != null && ivrLibaTemplateScriptVO.getIsoperation() == 3) { |
| | | //å é¤ |
| | |
| | | log.info("å é¤å¤±è´¥,模æ¿è¯æ¯id为空"); |
| | | } else { |
| | | ivrLibaTemplateScriptVO.setUpdateTime(new Date()); |
| | | ivrLibaTemplateTagMapper.deleteIvrLibaTemplateTagById(ivrLibaTemplateScriptVO.getID()); |
| | | ivrLibaTemplateScriptMapper.deleteIvrLibaTemplateScriptByID(ivrLibaTemplateScriptVO.getID()); |
| | | } |
| | | } |
| | | } |
| | |
| | | * @param tmpID |
| | | */ |
| | | private void dealOption(List<IvrLibaTemplateTargetoption> ivrLibaTemplateTargetoptionList, IvrLibaTemplateScript ivrLibaTemplateScript, Long tmpID) { |
| | | log.info("ivrLibaTemplateScriptçå¼ä¸ºï¼{}", ivrLibaTemplateScript); |
| | | //å¯¹æ¨¡æ¿ææ é项è¿è¡å¤ç |
| | | if (CollectionUtils.isNotEmpty(ivrLibaTemplateTargetoptionList)) { |
| | | for (IvrLibaTemplateTargetoption ivrLibaTemplateTargetoption : ivrLibaTemplateTargetoptionList) { |
| | | if (ivrLibaTemplateTargetoption.getIsoperation() != null && ivrLibaTemplateTargetoption.getIsoperation() == 1) { |
| | | //æ°å¢ |
| | | ivrLibaTemplateTargetoption.setTemplateID(tmpID); |
| | | ivrLibaTemplateTargetoption.setTargetid(ivrLibaTemplateScript.getTargetid()); |
| | | ivrLibaTemplateTargetoption.setScriptid(ivrLibaTemplateScript.getScriptid()); |
| | | ivrLibaTemplateTargetoption.setScriptid(ivrLibaTemplateScript.getID()); |
| | | ivrLibaTemplateTargetOptionMapper.insertIvrLibaTemplateTargetoption(ivrLibaTemplateTargetoption); |
| | | } else if (ivrLibaTemplateTargetoption.getIsoperation() != null && ivrLibaTemplateTargetoption.getIsoperation() == 2) { |
| | | //ä¿®æ¹ |
| | | ivrLibaTemplateTargetoption.setTemplateID(tmpID); |
| | | ivrLibaTemplateTargetoption.setTargetid(ivrLibaTemplateScript.getTargetid()); |
| | | ivrLibaTemplateTargetoption.setScriptid(ivrLibaTemplateScript.getScriptid()); |
| | | ivrLibaTemplateTargetoption.setScriptid(ivrLibaTemplateScript.getID()); |
| | | ivrLibaTemplateTargetOptionMapper.updateIvrLibaTemplateTargetoption(ivrLibaTemplateTargetoption); |
| | | } else if (ivrLibaTemplateTargetoption.getIsoperation() != null && ivrLibaTemplateTargetoption.getIsoperation() == 3) { |
| | | //å é¤ |
| | |
| | | IvrLibaTemplateTargetoption ivrLibaTemplateTargetoption = new IvrLibaTemplateTargetoption(); |
| | | ivrLibaTemplateTargetoption.setScriptid(ivrLibaTemplateScriptVO.getID()); |
| | | List<IvrLibaTemplateTargetoption> ivrLibaTemplateTargetoptions = ivrLibaTemplateTargetOptionMapper.selectIvrLibaTemplateTargetoptionList(ivrLibaTemplateTargetoption); |
| | | ivrLibaTemplateScriptVO.setIvrLibaTemplateTargetoptionList(ivrLibaTemplateTargetoptions); |
| | | ivrLibaTemplateScriptVO.setIvrLibaScriptTargetoptionList(ivrLibaTemplateTargetoptions); |
| | | } |
| | | |
| | | //æ°æ®ç»è£
|
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import java.util.List; |
| | | import com.google.gson.Gson; |
| | | import com.ruoyi.common.exception.base.BaseException; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.ruoyi.common.utils.DtoConversionUtils; |
| | | import com.smartor.domain.*; |
| | | import com.smartor.mapper.IvrTaskcallMapper; |
| | | import com.smartor.mapper.PatTaskRelevanceMapper; |
| | | import com.smartor.service.IIvrTaskcallService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.collections4.CollectionUtils; |
| | | import org.apache.commons.lang3.ObjectUtils; |
| | | 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; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡å¼å«Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | * åä¸ä»»å¡ï¼é访ï¼Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-02-02 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class IvrTaskcallServiceImpl implements IIvrTaskcallService |
| | | { |
| | | public class IvrTaskcallServiceImpl implements IIvrTaskcallService { |
| | | @Autowired |
| | | private IvrTaskcallMapper ivrTaskcallMapper; |
| | | |
| | | @Autowired |
| | | private PatTaskRelevanceMapper patTaskRelevanceMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å« |
| | | * |
| | | * @param callid è¯é³ä»»å¡å¼å«ä¸»é® |
| | | * @return è¯é³ä»»å¡å¼å« |
| | | * æ¥è¯¢åä¸ä»»å¡ï¼éè®¿ï¼ |
| | | * |
| | | * @param id åä¸ä»»å¡ï¼é访ï¼ä¸»é® |
| | | * @return åä¸ä»»å¡ï¼éè®¿ï¼ |
| | | */ |
| | | @Override |
| | | public IvrTaskcall selectIvrTaskcallByCallid(Long callid) |
| | | { |
| | | return ivrTaskcallMapper.selectIvrTaskcallByCallid(callid); |
| | | public IvrTaskcall selectIvrTaskcallById(Long id) { |
| | | return ivrTaskcallMapper.selectIvrTaskcallById(id); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å¼å«å表 |
| | | * |
| | | * @param ivrTaskcall è¯é³ä»»å¡å¼å« |
| | | * @return è¯é³ä»»å¡å¼å« |
| | | * æ¥è¯¢åä¸ä»»å¡ï¼é访ï¼å表 |
| | | * |
| | | * @param ivrTaskcall åä¸ä»»å¡ï¼éè®¿ï¼ |
| | | * @return åä¸ä»»å¡ï¼éè®¿ï¼ |
| | | */ |
| | | @Override |
| | | public List<IvrTaskcall> selectIvrTaskcallList(IvrTaskcall ivrTaskcall) |
| | | { |
| | | public List<IvrTaskcall> selectIvrTaskcallList(IvrTaskcall ivrTaskcall) { |
| | | return ivrTaskcallMapper.selectIvrTaskcallList(ivrTaskcall); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢è¯é³ä»»å¡å¼å« |
| | | * |
| | | * @param ivrTaskcall è¯é³ä»»å¡å¼å« |
| | | * æ°å¢åä¸ä»»å¡ï¼éè®¿ï¼ |
| | | * |
| | | * @param ivrTaskcall åä¸ä»»å¡ï¼éè®¿ï¼ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertIvrTaskcall(IvrTaskcall ivrTaskcall) |
| | | { |
| | | public int insertIvrTaskcall(IvrTaskcall ivrTaskcall) { |
| | | ivrTaskcall.setCreateTime(DateUtils.getNowDate()); |
| | | return ivrTaskcallMapper.insertIvrTaskcall(ivrTaskcall); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹è¯é³ä»»å¡å¼å« |
| | | * |
| | | * @param ivrTaskcall è¯é³ä»»å¡å¼å« |
| | | * ä¿®æ¹åä¸ä»»å¡ï¼éè®¿ï¼ |
| | | * |
| | | * @param ivrTaskcall åä¸ä»»å¡ï¼éè®¿ï¼ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateIvrTaskcall(IvrTaskcall ivrTaskcall) |
| | | { |
| | | public int updateIvrTaskcall(IvrTaskcall ivrTaskcall) { |
| | | ivrTaskcall.setUpdateTime(DateUtils.getNowDate()); |
| | | return ivrTaskcallMapper.updateIvrTaskcall(ivrTaskcall); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤è¯é³ä»»å¡å¼å« |
| | | * |
| | | * @param callids éè¦å é¤çè¯é³ä»»å¡å¼å«ä¸»é® |
| | | * æ¹éå é¤åä¸ä»»å¡ï¼éè®¿ï¼ |
| | | * |
| | | * @param ids éè¦å é¤çåä¸ä»»å¡ï¼é访ï¼ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteIvrTaskcallByCallids(Long[] callids) |
| | | { |
| | | return ivrTaskcallMapper.deleteIvrTaskcallByCallids(callids); |
| | | public int deleteIvrTaskcallByIds(Long[] ids) { |
| | | Integer i = 0; |
| | | for (Long id : ids) { |
| | | i = ivrTaskcallMapper.deleteIvrTaskcallById(id); |
| | | } |
| | | return i; |
| | | } |
| | | |
| | | /** |
| | | * å é¤è¯é³ä»»å¡å¼å«ä¿¡æ¯ |
| | | * |
| | | * @param callid è¯é³ä»»å¡å¼å«ä¸»é® |
| | | * åä¸ä»»å¡ |
| | | * |
| | | * @param ivrTaskcallVO åä¸ä»»å¡ |
| | | * @return ç»æ |
| | | */ |
| | | @Transactional(rollbackFor = Exception.class) |
| | | @Override |
| | | public int deleteIvrTaskcallByCallid(Long callid) |
| | | { |
| | | return ivrTaskcallMapper.deleteIvrTaskcallByCallid(callid); |
| | | public int insertOrUpdateTask(IvrTaskcallVO ivrTaskcallVO) { |
| | | if (ObjectUtils.isEmpty(ivrTaskcallVO)) { |
| | | log.info("宣æä»»å¡å
¥å为空ï¼è¯·æ£æ¥å
¥å"); |
| | | throw new BaseException("宣æä»»å¡å
¥å为空ï¼è¯·æ£æ¥å
¥å"); |
| | | } |
| | | Integer integer = 0; |
| | | if (ivrTaskcallVO.getIsoperation() != null && ivrTaskcallVO.getIsoperation() == 1) { |
| | | //æ°å¢ |
| | | if (CollectionUtils.isNotEmpty(ivrTaskcallVO.getPatTaskRelevances())) { |
| | | for (PatTaskRelevance patTaskRelevance : ivrTaskcallVO.getPatTaskRelevances()) { |
| | | //å°ä»»å¡ä¿¡æ¯æ°å¢å°å®£æä»»å¡è¡¨ä¸ |
| | | IvrTaskcall ivrTaskcall = DtoConversionUtils.sourceToTarget(ivrTaskcallVO, IvrTaskcall.class); |
| | | ivrTaskcall.setSendname(patTaskRelevance.getName()); |
| | | ivrTaskcall.setAge(patTaskRelevance.getAge()); |
| | | ivrTaskcall.setSfzh(patTaskRelevance.getSfzh()); |
| | | ivrTaskcall.setPhone(patTaskRelevance.getPhone()); |
| | | ivrTaskcall.setAddr(patTaskRelevance.getAddr()); |
| | | ivrTaskcall.setCreateTime(DateUtils.getNowDate()); |
| | | ivrTaskcall.setTextParam(new Gson().toJson(ivrTaskcallVO.getTextParam())); |
| | | ivrTaskcallMapper.insertIvrTaskcall(ivrTaskcall); |
| | | integer = ivrTaskcall.getId().intValue(); |
| | | } |
| | | } |
| | | |
| | | } else if (ivrTaskcallVO.getIsoperation() != null && ivrTaskcallVO.getIsoperation() == 2) { |
| | | if (CollectionUtils.isNotEmpty(ivrTaskcallVO.getPatTaskRelevances())) { |
| | | for (PatTaskRelevance patTaskRelevance : ivrTaskcallVO.getPatTaskRelevances()) { |
| | | IvrTaskcall ivrTaskcall = DtoConversionUtils.sourceToTarget(ivrTaskcallVO, IvrTaskcall.class); |
| | | ivrTaskcall.setSendname(patTaskRelevance.getName()); |
| | | ivrTaskcall.setAge(patTaskRelevance.getAge()); |
| | | ivrTaskcall.setSfzh(patTaskRelevance.getSfzh()); |
| | | ivrTaskcall.setPhone(patTaskRelevance.getPhone()); |
| | | ivrTaskcall.setAddr(patTaskRelevance.getAddr()); |
| | | ivrTaskcall.setCreateTime(DateUtils.getNowDate()); |
| | | ivrTaskcall.setTextParam(new Gson().toJson(ivrTaskcallVO.getTextParam())); |
| | | |
| | | ivrTaskcallMapper.updateIvrTaskcall(ivrTaskcall); |
| | | integer = ivrTaskcall.getId().intValue(); |
| | | } |
| | | } |
| | | |
| | | } else if (ivrTaskcallVO.getIsoperation() != null && ivrTaskcallVO.getIsoperation() == 3) { |
| | | ivrTaskcallMapper.deleteIvrTaskcallById(ivrTaskcallVO.getId()); |
| | | |
| | | integer = ivrTaskcallVO.getId().intValue(); |
| | | } |
| | | return integer; |
| | | } |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.smartor.domain.PatTaskRelevance; |
| | | import com.smartor.mapper.PatTaskRelevanceMapper; |
| | | import com.smartor.service.IPatTaskRelevanceService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ£è
ä¸å®£æä»»å¡å
³èServiceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-01-07 |
| | | */ |
| | | @Service |
| | | public class PatTaskRelevanceServiceImpl implements IPatTaskRelevanceService { |
| | | @Autowired |
| | | private PatTaskRelevanceMapper patTaskRelevanceMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
ä¸å®£æä»»å¡å
³è |
| | | * |
| | | * @param id æ£è
ä¸å®£æä»»å¡å
³èä¸»é® |
| | | * @return æ£è
ä¸å®£æä»»å¡å
³è |
| | | */ |
| | | @Override |
| | | public PatTaskRelevance selectPatTaskRelevanceById(Long id) { |
| | | return patTaskRelevanceMapper.selectPatTaskRelevanceById(id); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
ä¸å®£æä»»å¡å
³èå表 |
| | | * |
| | | * @param patTaskRelevance æ£è
ä¸å®£æä»»å¡å
³è |
| | | * @return æ£è
ä¸å®£æä»»å¡å
³è |
| | | */ |
| | | @Override |
| | | public List<PatTaskRelevance> selectPatTaskRelevanceList(PatTaskRelevance patTaskRelevance) { |
| | | return patTaskRelevanceMapper.selectPatTaskRelevanceList(patTaskRelevance); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ£è
ä¸å®£æä»»å¡å
³è |
| | | * |
| | | * @param patTaskRelevance æ£è
ä¸å®£æä»»å¡å
³è |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertPatTaskRelevance(PatTaskRelevance patTaskRelevance) { |
| | | patTaskRelevance.setCreateTime(DateUtils.getNowDate()); |
| | | return patTaskRelevanceMapper.insertPatTaskRelevance(patTaskRelevance); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
ä¸å®£æä»»å¡å
³è |
| | | * |
| | | * @param patTaskRelevance æ£è
ä¸å®£æä»»å¡å
³è |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updatePatTaskRelevance(PatTaskRelevance patTaskRelevance) { |
| | | patTaskRelevance.setUpdateTime(DateUtils.getNowDate()); |
| | | return patTaskRelevanceMapper.updatePatTaskRelevance(patTaskRelevance); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå 餿£è
ä¸å®£æä»»å¡å
³è |
| | | * |
| | | * @param ids éè¦å é¤çæ£è
ä¸å®£æä»»å¡å
³èä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deletePatTaskRelevanceByIds(Long[] ids) { |
| | | return patTaskRelevanceMapper.deletePatTaskRelevanceByIds(ids); |
| | | } |
| | | |
| | | /** |
| | | * å 餿£è
ä¸å®£æä»»å¡å
³èä¿¡æ¯ |
| | | * |
| | | * @param id æ£è
ä¸å®£æä»»å¡å
³èä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deletePatTaskRelevanceById(Long id) { |
| | | return patTaskRelevanceMapper.deletePatTaskRelevanceById(id); |
| | | } |
| | | } |
| | |
| | | import com.smartor.service.IHospitalRecordService; |
| | | import com.smartor.service.IHospitalUserinfoService; |
| | | import com.smartor.service.IServiceThirdDataService; |
| | | import com.smartor.yiwudataanalysis.ADT_A01; |
| | | import com.smartor.yiwudataanalysis.ADT_A03; |
| | | import lombok.extern.log4j.Log4j; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.text.SimpleDateFormat; |
| | | import java.time.LocalDateTime; |
| | | import java.time.format.DateTimeFormatter; |
| | | import java.util.ArrayList; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | |
| | |
| | | * @author ruoyi |
| | | * @date 2023-10-10 |
| | | */ |
| | | @Log4j |
| | | @Slf4j |
| | | @Service |
| | | public class ServiceThirdDataServiceImpl implements IServiceThirdDataService { |
| | | |
| | |
| | | @Override |
| | | public List<ServiceThirdData> queryList(ServiceThirdData serviceThirdData) { |
| | | |
| | | log.info("------serviceThirdDataçå
¥åï¼{}", serviceThirdData); |
| | | List<ServiceThirdData> serviceThirdDataList = serviceThirdDataMapper.selectServiceThirdDataList(serviceThirdData); |
| | | log.info("------serviceThirdDataListè·åæ°æ®çæ°éï¼{}", serviceThirdDataList.size()); |
| | | for (ServiceThirdData std : serviceThirdDataList) { |
| | | PipeParser parser = new PipeParser(); |
| | | Message message = null; |
| | |
| | | dataInfo = dataInfo.replaceAll("\n", ""); |
| | | dataInfo = dataInfo.substring(0, dataInfo.length() - 1); |
| | | message = parser.parse(dataInfo); |
| | | ADT_A03 adt_a03 = new ADT_A03(); |
| | | List<Object> objectList = new ArrayList<>(); |
| | | if (serviceThirdData.getDataType().equals("ADT^A03")) { |
| | | ADT_A03 adt_a03 = new ADT_A03(); |
| | | objectList = adt_a03.explainPID(message, dataInfo); |
| | | } else if (serviceThirdData.getDataType().equals("ADT^A01")) { |
| | | ADT_A01 adt_a01 = new ADT_A01(); |
| | | objectList = adt_a01.explainPID(message, dataInfo); |
| | | } |
| | | |
| | | List<Object> objectList = adt_a03.explainPID(message, dataInfo); |
| | | HospitalRecord hospitalRecord = (HospitalRecord) objectList.get(0); |
| | | log.info("hospitalRecordçå¼ä¸ºï¼{}", hospitalRecord); |
| | | iHospitalRecordService.insertHospitalRecord(hospitalRecord); |
| | | |
| | | HospitalUserinfo hospitalUserinfo = (HospitalUserinfo) objectList.get(1); |
| | | Date currentTime = new Date(); |
| | | SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |
| | | String formattedDate = formatter.format(currentTime); |
| | | hospitalUserinfo.setCreateTime(formattedDate); |
| | | iHospitalUserinfoService.insertHospitalUserinfo(hospitalUserinfo); |
| | | |
| | | int ii = serviceThirdDataMapper.updateIsDeal(std.getId()); |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.yiwudataanalysis; |
| | | |
| | | import ca.uhn.hl7v2.HL7Exception; |
| | | import ca.uhn.hl7v2.model.Message; |
| | | import ca.uhn.hl7v2.model.Structure; |
| | | import ca.uhn.hl7v2.model.v24.datatype.*; |
| | | import ca.uhn.hl7v2.model.v24.segment.DG1; |
| | | import ca.uhn.hl7v2.model.v24.segment.PID; |
| | | import ca.uhn.hl7v2.model.v24.segment.PV1; |
| | | import ca.uhn.hl7v2.model.v24.segment.PV2; |
| | | import com.ruoyi.common.enums.AdmTypeEnum; |
| | | import com.ruoyi.common.enums.LevelHospEnum; |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.smartor.domain.HospitalRecord; |
| | | import com.smartor.domain.HospitalUserinfo; |
| | | import org.apache.commons.lang3.ObjectUtils; |
| | | |
| | | import java.text.ParseException; |
| | | import java.text.SimpleDateFormat; |
| | | import java.time.Year; |
| | | import java.util.ArrayList; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | //åºé¢æ°æ® |
| | | public class ADT_A01 { |
| | | //è§£æPID |
| | | public List<Object> explainPID(Message message, String dataInfo) throws HL7Exception { |
| | | //è§£æPIDï¼æ£è
åºæ¬ä¿¡æ¯ï¼ |
| | | PID pid = (PID) message.get("PID"); |
| | | |
| | | //æ£è
主索å¼ä¿¡æ¯ |
| | | CX pid2_patientID = pid.getPid2_PatientID(); |
| | | //æ£è
å
¨é¢å¯ä¸æ è¯ï¼æ£è
主索å¼/IDï¼ |
| | | String patientID = pid2_patientID.getID().encode(); |
| | | //VIP-å
è¯çåä»è´¹æ å¿ï¼0/1ï¼ |
| | | String cd = pid2_patientID.getCheckDigit().encode(); |
| | | |
| | | //æ£è
ç¸å
³ ID^^^æææºæ |
| | | CX[] pid3_patientIdentifierList = pid.getPid3_PatientIdentifierList(); |
| | | if (pid3_patientIdentifierList != null && pid3_patientIdentifierList.length > 0) { |
| | | for (CX cx : pid3_patientIdentifierList) { |
| | | //æ£è
ç¸å
³ID |
| | | String hzxgID = cx.getID().encode(); |
| | | //åé
æ£è
ID æºæ |
| | | String patiendOrgan = cx.getAssigningAuthority().encode(); |
| | | } |
| | | } |
| | | |
| | | //é¨è¯ä¸å¡«ï¼ä½é¢å¿
å¡« |
| | | CX[] pid4_alternatePatientIDPID = pid.getPid4_AlternatePatientIDPID(); |
| | | if (pid4_alternatePatientIDPID != null && pid4_alternatePatientIDPID.length > 0) { |
| | | for (CX cx : pid4_alternatePatientIDPID) { |
| | | //éå©´å¿ 0 å©´å¿ 1 |
| | | String s = cx.getID().encode(); |
| | | // 0/空-ä¸éè¦ä¿å¯ï¼ 1-ä¿å¯ |
| | | String s1 = cx.getIdentifierTypeCode().encode(); |
| | | } |
| | | } |
| | | |
| | | //æ£è
å§å |
| | | XPN[] pid5_patientName = pid.getPid5_PatientName(); |
| | | String patientName = ""; |
| | | String pinyin = ""; |
| | | if (pid5_patientName != null && pid5_patientName.length > 0) { |
| | | for (XPN xpn : pid5_patientName) { |
| | | //æ¼é³ |
| | | pinyin = xpn.getFamilyName().encode(); |
| | | //æ£è
å§å |
| | | patientName = xpn.getGivenName().encode(); |
| | | } |
| | | } |
| | | |
| | | |
| | | //åºçæ¥æ |
| | | String birthday = pid.getPid7_DateTimeOfBirth().encode(); |
| | | SimpleDateFormat inputFormatt = new SimpleDateFormat("yyyyMMddHHmmss"); // è¾å
¥æ¥ææ ¼å¼ |
| | | Date date = null; // è§£æä¸ºDate对象 |
| | | try { |
| | | date = inputFormatt.parse(birthday); |
| | | } catch (ParseException e) { |
| | | e.printStackTrace(); |
| | | } |
| | | SimpleDateFormat outputFormatt = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); // è¾åºæ¥ææ ¼å¼ |
| | | String birthdatTime = outputFormatt.format(date); |
| | | |
| | | |
| | | //æ§å« 1ç· 2女 |
| | | String xb = pid.getPid8_AdministrativeSex().encode(); |
| | | |
| | | //è¡åä¿¡æ¯ |
| | | CE[] pid10_race = pid.getPid10_Race(); |
| | | String xxdm = ""; |
| | | String xxmc = ""; |
| | | String rhxxdm = ""; |
| | | String rhxxmc = ""; |
| | | if (pid10_race != null && pid10_race.length > 0) { |
| | | for (CE ce : pid10_race) { |
| | | //è¡å代ç |
| | | xxdm = ce.getCe1_Identifier().encode(); |
| | | //è¡ååç§° |
| | | xxmc = ce.getCe2_Text().encode(); |
| | | //rhè¡å代ç |
| | | rhxxdm = ce.getCe4_AlternateIdentifier().encode(); |
| | | //rhè¡ååç§° |
| | | rhxxmc = ce.getCe5_AlternateText().encode(); |
| | | } |
| | | } |
| | | //å°åä¿¡æ¯ |
| | | XAD[] pid11_patientAddress = pid.getPid11_PatientAddress(); |
| | | String xxdzxx = null; |
| | | String streetName = null; |
| | | String dwellingNumber = null; |
| | | String otherDesignation = null; |
| | | String city = null; |
| | | String province = null; |
| | | if (pid11_patientAddress != null && pid11_patientAddress.length > 0) { |
| | | for (XAD xad : pid11_patientAddress) { |
| | | //详ç»å°åä¿¡æ¯ |
| | | xxdzxx = xad.getXad1_StreetAddress().getSad1_StreetOrMailingAddress().encode(); |
| | | //è¡éä¿¡æ¯ï¼æ/è¡/éï¼ |
| | | streetName = xad.getXad1_StreetAddress().getStreetName().encode(); |
| | | //é¨çå·ç |
| | | dwellingNumber = xad.getXad1_StreetAddress().getDwellingNumber().encode(); |
| | | //å¿å°åºï¼å¿) |
| | | otherDesignation = xad.getXad2_OtherDesignation().encode(); |
| | | //åå¸ï¼å¸ï¼ |
| | | city = xad.getXad3_City().encode(); |
| | | //ç |
| | | province = xad.getXad4_StateOrProvince().encode(); |
| | | //å°åç±»åï¼åèåå
¸ï¼ |
| | | String addressType = xad.getXad7_AddressType().encode(); |
| | | //乡éä¿¡æ¯ |
| | | String designation = xad.getXad8_OtherGeographicDesignation().encode(); |
| | | //å¿å°åºç¼ç |
| | | String parishCode = xad.getXad9_CountyParishCode().encode(); |
| | | //è¡éæ åç¼ç ï¼ä¿çï¼ |
| | | String censusTract = xad.getXad10_CensusTract().encode(); |
| | | } |
| | | } |
| | | |
| | | //个人çµè¯ |
| | | XTN[] pid13_phoneNumberHome = pid.getPid13_PhoneNumberHome(); |
| | | String phone = null; |
| | | if (pid13_phoneNumberHome != null && pid13_phoneNumberHome.length > 0) { |
| | | for (XTN xtn : pid13_phoneNumberHome) { |
| | | //çµè¯ç±»å代ç ï¼åèåå
¸ï¼ |
| | | String lxdm = xtn.getTelecommunicationEquipmentType().encode(); |
| | | //çµè¯å·ç |
| | | phone = xtn.getPhoneNumber().encode(); |
| | | } |
| | | } |
| | | |
| | | //å·¥ä½çµè¯ |
| | | XTN[] pid14_phoneNumberBusiness = pid.getPid14_PhoneNumberBusiness(); |
| | | String phoneNumberWork = ""; |
| | | if (pid14_phoneNumberBusiness != null && pid14_phoneNumberBusiness.length > 0) { |
| | | for (XTN xtn : pid14_phoneNumberBusiness) { |
| | | //å·¥ä½çµè¯ |
| | | phoneNumberWork = xtn.getPhoneNumber().encode(); |
| | | } |
| | | } |
| | | |
| | | //å©å§»ç¶åµä»£ç |
| | | String identifier = pid.getPid16_MaritalStatus().getIdentifier().encode(); |
| | | //å©å§»ç¶åµåç§° |
| | | String text = pid.getPid16_MaritalStatus().getText().encode(); |
| | | |
| | | //è¯ä»¶å·ç |
| | | String id = pid.getPid18_PatientAccountNumber().getID().encode(); |
| | | //è¯ä»¶ç±»åï¼åèåå
¸ï¼ |
| | | String assigningAuthority = pid.getPid18_PatientAccountNumber().getAssigningAuthority().encode(); |
| | | //è¯ä»¶ä¸è¯¦åå |
| | | HD assigningFacility = pid.getPid18_PatientAccountNumber().getAssigningFacility(); |
| | | //åå 代ç |
| | | String namespaceID = assigningFacility.getNamespaceID().encode(); |
| | | //åå åç§° |
| | | String universalID = assigningFacility.getUniversalID().encode(); |
| | | |
| | | //身份è¯å· |
| | | String SSNNumberPatient = pid.getPid19_SSNNumberPatient().encode(); |
| | | |
| | | CX[] pid21_motherSIdentifier = pid.getPid21_MotherSIdentifier(); |
| | | String mqid = ""; |
| | | if (pid21_motherSIdentifier != null && pid21_motherSIdentifier.length > 0) { |
| | | for (CX cx : pid21_motherSIdentifier) { |
| | | //æ¯äº²ä½é¢ ID(é¨è¯ä¸å¡«ï¼ä½é¢å¿
å¡«) |
| | | mqid = cx.getID().encode(); |
| | | } |
| | | } |
| | | |
| | | //æ°æ |
| | | CE[] pid22_ethnicGroup = pid.getPid22_EthnicGroup(); |
| | | String mztext = null; |
| | | if (pid22_ethnicGroup != null && pid22_ethnicGroup.length > 0) { |
| | | for (CE ce : pid22_ethnicGroup) { |
| | | //æ°æ ID |
| | | String Identifier = ce.getIdentifier().encode(); |
| | | //æ°æåç§° |
| | | mztext = ce.getText().encode(); |
| | | } |
| | | } |
| | | |
| | | //åºçå° |
| | | String encode = pid.getPid23_BirthPlace().encode(); |
| | | |
| | | //èä¸ |
| | | CE[] citizenship = pid.getPid26_Citizenship(); |
| | | String zytext = ""; |
| | | String Identifier = ""; |
| | | if (citizenship != null && citizenship.length > 0) { |
| | | for (CE ce : citizenship) { |
| | | //èä¸ä»£ç |
| | | Identifier = ce.getIdentifier().encode(); |
| | | //èä¸åç§° |
| | | zytext = ce.getText().encode(); |
| | | } |
| | | } |
| | | |
| | | //å½ç±ä»£ç |
| | | String Identifier2 = pid.getPid28_Nationality().getIdentifier().encode(); |
| | | //å½ç±åç§° |
| | | String gjtext = pid.getPid28_Nationality().getText().encode(); |
| | | |
| | | //æ»èæ å¿ é»è®¤æ¯ 0/空ï¼1-æ»è |
| | | String patientDeathIndicator = pid.getPid30_PatientDeathIndicator().encode(); |
| | | |
| | | //é»ååç
人 |
| | | IS[] pid32_identityReliabilityCode = pid.getPid32_IdentityReliabilityCode(); |
| | | |
| | | //æ£è
屿§ (åèåå
¸) |
| | | //æ ¼å¼å¦ï¼0101000 |
| | | //说æï¼ç±å¤ä½ç»æï¼ç¬¬ä¸ |
| | | //ä½è¡¨ç¤ºå±æ§ 1 çå¼ï¼ |
| | | // 第äºä½è¡¨ç¤ºå±æ§ 2 çå¼ã |
| | | String hzIdentifier = pid.getPid38_ProductionClassCode().getIdentifier().encode(); |
| | | |
| | | //-------------------------------------------------------------- |
| | | //è§£æ PV1ï¼æ£è
访é®ä¿¡æ¯ï¼ |
| | | PV1 pv1 = (PV1) message.get("PV1"); |
| | | |
| | | //æå·åºå·æä½é¢æ¬¡æ° |
| | | String xh = pv1.getPv11_SetIDPV1().encode(); |
| | | |
| | | //æ£è
åç±» Eï¼æ¥è¯ï¼ Iï¼ä½é¢ï¼ Oï¼é¨è¯ï¼Tï¼ä½æ£ |
| | | String patientClass = pv1.getPv12_PatientClass().encode(); |
| | | |
| | | //æ£è
ä½ç½®ä¿¡æ¯ |
| | | PL pv13_assignedPatientLocation = pv1.getPv13_AssignedPatientLocation(); |
| | | //å½åç
åº |
| | | String bq = pv13_assignedPatientLocation.getPointOfCare().encode(); |
| | | //å½åç
æ¿ |
| | | String room = pv13_assignedPatientLocation.getRoom().encode(); |
| | | //å½åç
åº |
| | | String bad = pv13_assignedPatientLocation.getBed().encode(); |
| | | //å½åç§å®¤ ID |
| | | String namespaceID1 = pv13_assignedPatientLocation.getFacility().getNamespaceID().encode(); |
| | | //å½åç§å®¤åç§° |
| | | String ksuniversalID = pv13_assignedPatientLocation.getFacility().getUniversalID().encode(); |
| | | //å½ååºä½åç§° |
| | | String locationStatus = pv13_assignedPatientLocation.getLocationStatus().encode(); |
| | | //å½åç
åºåç§° |
| | | String personLocationType = pv13_assignedPatientLocation.getPersonLocationType().encode(); |
| | | |
| | | //å
¥é¢ç±»å R:å¸¸è§ E:ç´§æ¥ W:çè§ å
¶ä½è§ HL7 çº¦å® |
| | | String admissionType = pv1.getPv14_AdmissionType().encode(); |
| | | |
| | | //转åä½ç½®ä¿¡æ¯ |
| | | //转åç
åº |
| | | String pointOfCare = pv1.getPv16_PriorPatientLocation().getPointOfCare().encode(); |
| | | //转åç
æ¿ |
| | | String room1 = pv1.getPv16_PriorPatientLocation().getRoom().encode(); |
| | | //转åç
åº |
| | | String bed = pv1.getPv16_PriorPatientLocation().getBed().encode(); |
| | | //转åç§å®¤ |
| | | HD facility = pv1.getPv16_PriorPatientLocation().getFacility(); |
| | | //转åç§å®¤ ID |
| | | String namespaceID2 = facility.getNamespaceID().encode(); |
| | | //转åç§å®¤åç§° |
| | | String universalID1 = facility.getUniversalID().encode(); |
| | | //转ååºä½åç§° |
| | | String locationStatus1 = pv1.getPv16_PriorPatientLocation().getLocationStatus().encode(); |
| | | //转åç
åºåç§° |
| | | String personLocationType1 = pv1.getPv16_PriorPatientLocation().getPersonLocationType().encode(); |
| | | |
| | | //é¨è¯ä¸ºå°±è¯å»ç |
| | | XCN[] pv17_attendingDoctor = pv1.getPv17_AttendingDoctor(); |
| | | String IDNumber = null; |
| | | String givenName = null; |
| | | if (pv17_attendingDoctor != null && pv17_attendingDoctor.length > 0) { |
| | | for (XCN xcn : pv17_attendingDoctor) { |
| | | //主治å»ç ID |
| | | IDNumber = xcn.getIDNumber().encode(); |
| | | //主治å»çå§å |
| | | givenName = xcn.getGivenName().encode(); |
| | | //å»çç»ä¿¡æ¯ |
| | | HD xcn14_assigningFacility = xcn.getXcn14_AssigningFacility(); |
| | | //å»çç»åç§° |
| | | String universalID2 = xcn14_assigningFacility.getNamespaceID().encode(); |
| | | //æ¶æ²»å»ç ID |
| | | String universalID3 = xcn14_assigningFacility.getUniversalID().encode(); |
| | | } |
| | | } |
| | | |
| | | //æå·ç±»å« 1-æ®éï¼2-æ¥è¯ 4-ä¸å®¶ï¼6-èææ |
| | | String pv110_hospitalService = pv1.getPv110_HospitalService().encode(); |
| | | |
| | | //颿¶å
¥é¢æ£éªæ è¯ é»è®¤ä¸ºç©º 0-å¦ï¼1-æ¯ |
| | | String pv112_preadmitTestIndicator = pv1.getPv112_PreadmitTestIndicator().encode(); |
| | | |
| | | //忬¡å
¥é¢æ å¿ é»è®¤ä¸ºç©ºï¼ âRâ表示åå
¥é¢ |
| | | String pv113_reAdmissionIndicator = pv1.getPv113_ReAdmissionIndicator().encode(); |
| | | |
| | | //å
¥é¢éå¾ |
| | | String pv114_admitSource = pv1.getPv114_AdmitSource().encode(); |
| | | |
| | | //å
¥é¢å»ç |
| | | XCN[] pv117_admittingDoctor = pv1.getPv117_AdmittingDoctor(); |
| | | if (pv117_admittingDoctor != null && pv117_admittingDoctor.length > 0) { |
| | | for (XCN xcn : pv117_admittingDoctor) { |
| | | //åå·¥å· |
| | | String idNumber = xcn.getIDNumber().encode(); |
| | | //å§å |
| | | String givenName2 = xcn.getGivenName().encode(); |
| | | } |
| | | } |
| | | |
| | | //è´¹ç¨ç±»å« |
| | | String pv118_patientType = pv1.getPv118_PatientType().encode(); |
| | | |
| | | //å°±è¯ ID æè
æ£è
ä½é¢ ID |
| | | String id1 = pv1.getPv119_VisitNumber().getID().encode(); |
| | | |
| | | //伿 ç±»å« |
| | | FC[] pv120_financialClass = pv1.getPv120_FinancialClass(); |
| | | String financialClass = ""; |
| | | if (pv120_financialClass != null && pv120_financialClass.length > 0) { |
| | | for (FC fc : pv120_financialClass) { |
| | | financialClass = fc.getFinancialClass().encode(); |
| | | } |
| | | } |
| | | |
| | | //è´¹ç¨æ§è´¨ |
| | | String pv121_chargePriceIndicator = pv1.getPv121_ChargePriceIndicator().encode(); |
| | | |
| | | //å
¥ç§æ¥æ |
| | | DT[] pv125_contractEffectiveDate = pv1.getPv125_ContractEffectiveDate(); |
| | | String rkdate = null; |
| | | if (pv125_contractEffectiveDate != null && pv125_contractEffectiveDate.length > 0) { |
| | | for (DT dt : pv125_contractEffectiveDate) { |
| | | |
| | | SimpleDateFormat inputFormattt = new SimpleDateFormat("yyyyMMdd"); // è¾å
¥æ¥ææ ¼å¼ |
| | | Date date22 = null; // è§£æä¸ºDate对象 |
| | | try { |
| | | date22 = inputFormattt.parse(dt.encode()); |
| | | } catch (ParseException e) { |
| | | e.printStackTrace(); |
| | | } |
| | | SimpleDateFormat outputFormat2 = new SimpleDateFormat("yyyy-MM-dd"); // è¾åºæ¥ææ ¼å¼ |
| | | rkdate = outputFormat2.format(date22); |
| | | } |
| | | } |
| | | |
| | | //è´¦æ·å»ç»å»ºè®® |
| | | String pv128_interestCode = pv1.getPv128_InterestCode().encode(); |
| | | |
| | | //æ¬ è´¹å»ç»æ è¯ é»è®¤æ¯ 0/空 1ï¼å»ç»ï¼2ï¼æ°¸ä¸å»ç» |
| | | String pv129_transferToBadDebtCode = pv1.getPv129_TransferToBadDebtCode().encode(); |
| | | |
| | | //å»ç»æ¥æ |
| | | String pv130_transferToBadDebtDate = pv1.getPv130_TransferToBadDebtDate().encode(); |
| | | |
| | | //è§£å»æ¥æ |
| | | String pv135_deleteAccountDate = pv1.getPv135_DeleteAccountDate().encode(); |
| | | |
| | | //离é¢å»å/è½¬å½ |
| | | String pv136_dischargeDisposition = pv1.getPv136_DischargeDisposition().encode(); |
| | | |
| | | //离é¢å»å¾ä½ç½® |
| | | String pv137_dischargedToLocation = pv1.getPv137_DischargedToLocation().getDischargeLocation().encode(); |
| | | |
| | | //饮é£ç±»åID |
| | | String identifier1 = pv1.getPv138_DietType().getIdentifier().encode(); |
| | | //饮é£ç±»ååç§° |
| | | String text1 = pv1.getPv138_DietType().getText().encode(); |
| | | |
| | | //æå·çä¸ä¸åæ å¿ 0-ä¸åï¼1-ä¸åï¼2-æä¸ |
| | | String pv139_servicingFacility = pv1.getPv139_ServicingFacility().encode(); |
| | | |
| | | //ç§å®¤ ID^^^é¢åº ID |
| | | PL pv142_pendingLocation = pv1.getPv142_PendingLocation(); |
| | | //é¨è¯å°±è¯ç§å®¤ ID |
| | | String mzpointOfCare = pv142_pendingLocation.getPointOfCare().encode(); |
| | | //ä½é¢é¢åº ID |
| | | String namespaceID3 = pv142_pendingLocation.getFacility().getNamespaceID().encode(); |
| | | //åºç¨ ID |
| | | String universalIDType = pv142_pendingLocation.getFacility().getUniversalIDType().encode(); |
| | | //å»çæºæä»£ç |
| | | String personLocationType2 = pv142_pendingLocation.getPersonLocationType().encode(); |
| | | //å»çæºæåç§° |
| | | String building = pv142_pendingLocation.getBuilding().encode(); |
| | | |
| | | //å°±è¯/ä½é¢æ¶é´ |
| | | String pv144_admitDateTime = pv1.getPv144_AdmitDateTime().encode(); |
| | | |
| | | //åºé¢æ¶é´ A03 æ¶æ¯å¿
å¡« |
| | | TS[] pv145_dischargeDateTime = pv1.getPv145_DischargeDateTime(); |
| | | String dischargeDateTime = null; |
| | | if (pv145_dischargeDateTime != null && pv145_dischargeDateTime.length > 0) { |
| | | TS ts = pv145_dischargeDateTime[0]; |
| | | // Date date2 = new Date(Long.valueOf(ts.encode())); |
| | | // SimpleDateFormat sdff = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); |
| | | // String dischargeDateTime = sdff.format(date2); |
| | | |
| | | SimpleDateFormat inputFormat = new SimpleDateFormat("yyyyMMddHHmmss"); // è¾å
¥æ¥ææ ¼å¼ |
| | | Date date2 = null; // è§£æä¸ºDate对象 |
| | | try { |
| | | date2 = inputFormat.parse(ts.encode()); |
| | | } catch (ParseException e) { |
| | | e.printStackTrace(); |
| | | } |
| | | SimpleDateFormat outputFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); // è¾åºæ¥ææ ¼å¼ |
| | | dischargeDateTime = outputFormat.format(date2); |
| | | } |
| | | //è®¿é®æ 示 |
| | | String visitIndicator = pv1.getPv151_VisitIndicator().encode(); |
| | | |
| | | //æä½äººä¿¡æ¯ |
| | | XCN[] pv152_otherHealthcareProvider = pv1.getPv152_OtherHealthcareProvider(); |
| | | if (pv152_otherHealthcareProvider != null && pv152_otherHealthcareProvider.length > 0) { |
| | | for (XCN xcn : pv152_otherHealthcareProvider) { |
| | | //åå·¥å· |
| | | String IDNumber2 = xcn.getIDNumber().encode(); |
| | | //å§å |
| | | String givenName3 = xcn.getGivenName().encode(); |
| | | } |
| | | } |
| | | //----------------------------- |
| | | PV2 pv2 = (PV2) message.get("PV2"); |
| | | //å®é
ä½é¢å¤©æ° |
| | | String pv211_actualLengthOfInpatientStay = pv2.getPv211_ActualLengthOfInpatientStay().encode(); |
| | | |
| | | //------------------------------------------ |
| | | Structure[] dg1s = message.getAll("DG1"); |
| | | String dg12_diagnosisCodingMethod = null; |
| | | String dg14_diagnosisDescription = null; |
| | | if (dg1s != null && dg1s.length > 0) { |
| | | for (Structure structure : dg1s) { |
| | | DG1 dg11 = (DG1) structure; |
| | | //åºå· |
| | | String dg1xh = dg11.getDg11_SetIDDG1().encode(); |
| | | //è¯æä»£ç |
| | | dg12_diagnosisCodingMethod = dg11.getDg12_DiagnosisCodingMethod().encode(); |
| | | //è¯æåç§° |
| | | dg14_diagnosisDescription = dg11.getDg14_DiagnosisDescription().encode(); |
| | | //è¯æç±»å |
| | | String dg16_diagnosisType = dg11.getDg16_DiagnosisType().encode(); |
| | | System.out.println(dg11); |
| | | |
| | | } |
| | | } |
| | | |
| | | //æ°æ®å
¥åº |
| | | HospitalRecord hospitalRecord = new HospitalRecord(); |
| | | hospitalRecord.setCreateTime(new Date()); |
| | | hospitalRecord.setPatientID(patientID); |
| | | hospitalRecord.setOpreationTime(new Date()); |
| | | //å°±è¯å· |
| | | hospitalRecord.setOutMedNO(id1); |
| | | //å°±è¯ç±»åæè¿°ï¼é¨è¯ãä½é¢...ï¼ |
| | | hospitalRecord.setAdmTypeDesc(AdmTypeEnum.getDescByCode(patientClass)); |
| | | //å
¥é¢ç¶æï¼å°±è¯ä¸ãç»æå°±è¯...ï¼ |
| | | hospitalRecord.setAdmStatus(LevelHospEnum.getDescByCode(pv136_dischargeDisposition)); |
| | | hospitalRecord.setAdmDate(dischargeDateTime); |
| | | hospitalRecord.setEncPatName(patientName); |
| | | if (StringUtils.isNotEmpty(xb)) { |
| | | hospitalRecord.setEncPatGender(xb.equals(1) ? "ç·" : "女"); |
| | | } |
| | | hospitalRecord.setEncPatBirthDate(birthdatTime); |
| | | //è·åå¹´é¾ |
| | | int currentYear = Year.now().getValue(); |
| | | Integer integer = Integer.valueOf(birthdatTime.substring(0, 4)); |
| | | Integer age = currentYear - integer; |
| | | hospitalRecord.setEncAgeValue(age.toString()); |
| | | |
| | | //主治å»çç¼å· |
| | | hospitalRecord.setDirectorCode(IDNumber); |
| | | //主治å»çå§å |
| | | hospitalRecord.setDirectorName(givenName); |
| | | hospitalRecord.setEncAdmLocCode(namespaceID1); |
| | | hospitalRecord.setEncAdmLocName(ksuniversalID); |
| | | hospitalRecord.setEncDiagnosisCode(dg12_diagnosisCodingMethod); |
| | | hospitalRecord.setEncDiagnosisDesc(dg14_diagnosisDescription); |
| | | |
| | | List<Object> objectList = new ArrayList<>(); |
| | | // objectList.add(hospitalRecord); |
| | | |
| | | HospitalUserinfo hospitalUserinfo = new HospitalUserinfo(); |
| | | // hospitalUserinfo.setCreateTime(null); |
| | | hospitalUserinfo.setPatientID(patientID); |
| | | hospitalUserinfo.setRegDate(rkdate); |
| | | hospitalUserinfo.setIdentityID(SSNNumberPatient); |
| | | hospitalUserinfo.setPatName(patientName); |
| | | hospitalUserinfo.setPhone(phone); |
| | | if (StringUtils.isNotEmpty(xb)) { |
| | | hospitalUserinfo.setPatSex(xb.equals(1) ? "ç·" : "女"); |
| | | } |
| | | hospitalUserinfo.setBirthDate(birthdatTime); |
| | | hospitalUserinfo.setAddress(xxdzxx); |
| | | hospitalUserinfo.setAddProvince(province); |
| | | hospitalUserinfo.setAddCity(city); |
| | | hospitalUserinfo.setAddCounty(otherDesignation); |
| | | hospitalUserinfo.setAddTown(streetName); |
| | | hospitalUserinfo.setCountry(gjtext); |
| | | hospitalUserinfo.setNation(mztext); |
| | | hospitalUserinfo.setConPerPhone(phone); |
| | | hospitalUserinfo.setRegOrgDesc("ä¹ä¹å¸ç¬¬äºäººæ°å»é¢"); |
| | | hospitalUserinfo.setEncAdmSource(AdmTypeEnum.getDescByCode(patientClass)); |
| | | objectList.add(hospitalRecord); |
| | | objectList.add(hospitalUserinfo); |
| | | |
| | | return objectList; |
| | | |
| | | } |
| | | } |
| | |
| | | |
| | | //æ£è
ç¸å
³ ID^^^æææºæ |
| | | CX[] pid3_patientIdentifierList = pid.getPid3_PatientIdentifierList(); |
| | | if (pid3_patientIdentifierList != null || pid3_patientIdentifierList.length > 0) { |
| | | if (pid3_patientIdentifierList != null && pid3_patientIdentifierList.length > 0) { |
| | | for (CX cx : pid3_patientIdentifierList) { |
| | | //æ£è
ç¸å
³ID |
| | | String hzxgID = cx.getID().encode(); |
| | |
| | | |
| | | //é¨è¯ä¸å¡«ï¼ä½é¢å¿
å¡« |
| | | CX[] pid4_alternatePatientIDPID = pid.getPid4_AlternatePatientIDPID(); |
| | | if (pid4_alternatePatientIDPID != null || pid4_alternatePatientIDPID.length > 0) { |
| | | if (pid4_alternatePatientIDPID != null && pid4_alternatePatientIDPID.length > 0) { |
| | | for (CX cx : pid4_alternatePatientIDPID) { |
| | | //éå©´å¿ 0 å©´å¿ 1 |
| | | String s = cx.getID().encode(); |
| | |
| | | |
| | | //å
¥ç§æ¥æ |
| | | DT[] pv125_contractEffectiveDate = pv1.getPv125_ContractEffectiveDate(); |
| | | DT dt = pv125_contractEffectiveDate[0]; |
| | | |
| | | SimpleDateFormat inputFormattt = new SimpleDateFormat("yyyyMMdd"); // è¾å
¥æ¥ææ ¼å¼ |
| | | Date date22 = null; // è§£æä¸ºDate对象 |
| | | try { |
| | | date22 = inputFormattt.parse(dt.encode()); |
| | | } catch (ParseException e) { |
| | | e.printStackTrace(); |
| | | if (pv125_contractEffectiveDate != null && pv125_contractEffectiveDate.length > 0) { |
| | | DT dt = pv125_contractEffectiveDate[0]; |
| | | |
| | | SimpleDateFormat inputFormattt = new SimpleDateFormat("yyyyMMdd"); // è¾å
¥æ¥ææ ¼å¼ |
| | | |
| | | try { |
| | | date22 = inputFormattt.parse(dt.encode()); |
| | | } catch (ParseException e) { |
| | | e.printStackTrace(); |
| | | } |
| | | } |
| | | SimpleDateFormat outputFormat2 = new SimpleDateFormat("yyyy-MM-dd"); // è¾åºæ¥ææ ¼å¼ |
| | | String rkdate = outputFormat2.format(date22); |
| | | |
| | | String rkdate =null; |
| | | if(date22!=null) rkdate = outputFormat2.format(date22); |
| | | |
| | | //è´¦æ·å»ç»å»ºè®® |
| | | String pv128_interestCode = pv1.getPv128_InterestCode().encode(); |
| | |
| | | <update id="deleteHeLibraryAssortById" parameterType="Long"> |
| | | update he_library_assort |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = 1,</if> |
| | | del_flag = 1 |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | |
| | | <result property="labelInfo" column="label_info"/> |
| | | <result property="campus" column="campus"/> |
| | | <result property="otherdata" column="otherdata"/> |
| | | <result property="richText" column="rich_text"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectHeLibraryVo"> |
| | |
| | | dept_names, |
| | | label_info, |
| | | campus, |
| | | otherdata |
| | | otherdata, |
| | | rich_text |
| | | from he_library |
| | | </sql> |
| | | |
| | |
| | | <if test="deptNames != null and deptNames != ''">and dept_names = #{deptNames}</if> |
| | | <if test="labelInfo != null and labelInfo != ''">and label_info = #{labelInfo}</if> |
| | | <if test="campus != null and campus != ''">and campus = #{campus}</if> |
| | | <if test="richText != null and richText != ''">and rich_text = #{richText}</if> |
| | | </where> |
| | | </select> |
| | | |
| | |
| | | <if test="labelInfo != null">label_info,</if> |
| | | <if test="campus != null">campus,</if> |
| | | <if test="otherdata != null">otherdata,</if> |
| | | <if test="richText != null and richText != ''">rich_text,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="classification != null">#{classification},</if> |
| | |
| | | <if test="labelInfo != null">#{labelInfo},</if> |
| | | <if test="campus != null">#{campus},</if> |
| | | <if test="otherdata != null">#{otherdata},</if> |
| | | <if test="richText != null and richText != ''">#{richText},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="labelInfo != null ">label_info = #{labelInfo},</if> |
| | | <if test="campus != null">campus = #{campus},</if> |
| | | <if test="otherdata != null">otherdata = #{otherdata},</if> |
| | | <if test="richText != null and richText != ''">rich_text = #{richText},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | |
| | | <update id="deleteHeLibraryTagById" parameterType="Long"> |
| | | update he_library_tag |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = 1,</if> |
| | | del_flag = 1 |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | |
| | | <result property="sendTime" column="send_time"/> |
| | | <result property="isSend" column="is_send"/> |
| | | <result property="sendState" column="send_state"/> |
| | | <result property="richText" column="rich_text"/> |
| | | <result property="textParam" column="text_param"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectHeTaskVo"> |
| | |
| | | guid, |
| | | send_time, |
| | | is_send, |
| | | send_state |
| | | send_state, |
| | | rich_text, |
| | | text_param |
| | | from he_task |
| | | </sql> |
| | | |
| | |
| | | <if test="sendTime != null ">and send_time = #{sendTime}</if> |
| | | <if test="isSend != null ">and is_send = #{isSend}</if> |
| | | <if test="sendState != null ">and send_state = #{sendState}</if> |
| | | <if test="richText != null ">and rich_text = #{richText}</if> |
| | | <if test="textParam != null ">and text_param = #{textParam}</if> |
| | | </where> |
| | | </select> |
| | | |
| | |
| | | <if test="sendTime != null">send_time,</if> |
| | | <if test="isSend != null">is_send,</if> |
| | | <if test="sendState != null">send_state,</if> |
| | | <if test="richText != null ">rich_text,</if> |
| | | <if test="textParam != null ">text_param</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="svrtaskid != null">#{svrtaskid},</if> |
| | |
| | | <if test="sendTime != null">#{sendTime},</if> |
| | | <if test="isSend != null">#{isSend},</if> |
| | | <if test="sendState != null">#{sendState},</if> |
| | | <if test="richText != null ">#{richText},</if> |
| | | <if test="textParam != null ">#{textParam},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="sendTime != null">send_time = #{sendTime},</if> |
| | | <if test="isSend != null">is_send = #{isSend},</if> |
| | | <if test="sendState != null">send_state = #{sendState},</if> |
| | | <if test="richText != null ">rich_text = #{richText},</if> |
| | | <if test="textParam != null ">text_param = #{textParam},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | |
| | | <insert id="insertHospitalRecord" parameterType="com.smartor.domain.HospitalRecord"> |
| | | insert into hospital_record |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="ID != null">ID,</if> |
| | | <if test="sourceSystem != null">SourceSystem,</if> |
| | | <if test="messageID != null">MessageID,</if> |
| | | <if test="createTime != null">CreateTime,</if> |
| | |
| | | <if test="taskStatus != null">taskStatus,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="ID != null">#{ID},</if> |
| | | <if test="sourceSystem != null">#{sourceSystem},</if> |
| | | <if test="messageID != null">#{messageID},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | |
| | | <update id="deleteIvrLibaExtemplateCategoryByIntertcatid" parameterType="Long"> |
| | | update ivr_liba_extemplate_category |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = 1,</if> |
| | | del_flag = 1 |
| | | </trim> |
| | | where intertcatid = #{intertcatid} |
| | | </update> |
| | |
| | | where ID = #{ID} |
| | | </select> |
| | | |
| | | <insert id="insertIvrLibaExtemplate" parameterType="com.smartor.domain.IvrLibaExtemplate"> |
| | | <insert id="insertIvrLibaExtemplate" parameterType="com.smartor.domain.IvrLibaExtemplate" useGeneratedKeys="true" |
| | | keyProperty="ID"> |
| | | insert into ivr_liba_extemplate |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="ID != null">ID,</if> |
| | |
| | | where ID = #{ID} |
| | | </select> |
| | | |
| | | <insert id="insertIvrLibaExtemplatescript" parameterType="com.smartor.domain.IvrLibaExtemplatescript"> |
| | | <insert id="insertIvrLibaExtemplatescript" parameterType="com.smartor.domain.IvrLibaExtemplatescript" useGeneratedKeys="true" |
| | | keyProperty="ID"> |
| | | insert into ivr_liba_extemplatescript |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="ID != null">ID,</if> |
| | |
| | | <update id="deleteIvrLibaScriptAssortById" parameterType="Long"> |
| | | update ivr_liba_script_assort |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null">del_flag = 1,</if> |
| | | del_flag = 1 |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | |
| | | <resultMap type="com.smartor.domain.IvrLibaScript" id="IvrLibaScriptResult"> |
| | | <result property="id" column="id"/> |
| | | <result property="questiontitle" column="questiontitle"/> |
| | | <result property="questiontext" column="questiontext"/> |
| | | <result property="questionText" column="questionText"/> |
| | | <result property="questionvoice" column="questionvoice"/> |
| | | <result property="nomatchtext" column="nomatchtext"/> |
| | | <result property="nomatchvoice" column="nomatchvoice"/> |
| | |
| | | questiontitle, |
| | | isenable, |
| | | isAvailable, |
| | | questiontext, |
| | | questionText, |
| | | questionvoice, |
| | | nomatchtext, |
| | | nomatchvoice, |
| | |
| | | <if test="suitway != null and suitway != ''">and suitway = #{suitway}</if> |
| | | <if test="isAvailable != null and isAvailable != ''">and isAvailable = #{isAvailable}</if> |
| | | <if test="isenable != null ">and isenable = #{isenable}</if> |
| | | <if test="questiontext != null and questiontext != ''">and questiontext = #{questiontext}</if> |
| | | <if test="questionText != null and questionText != ''">and questionText = #{questionText}</if> |
| | | <if test="questionvoice != null and questionvoice != ''">and questionvoice = #{questionvoice}</if> |
| | | <if test="nomatchtext != null and nomatchtext != ''">and nomatchtext = #{nomatchtext}</if> |
| | | <if test="nomatchvoice != null and nomatchvoice != ''">and nomatchvoice = #{nomatchvoice}</if> |
| | |
| | | <if test="tag != null">tag,</if> |
| | | <if test="isAvailable != null">isAvailable,</if> |
| | | <if test="isenable != null">isenable,</if> |
| | | <if test="questiontext != null">questiontext,</if> |
| | | <if test="questionText != null">questionText,</if> |
| | | <if test="questionvoice != null">questionvoice,</if> |
| | | <if test="nomatchtext != null">nomatchtext,</if> |
| | | <if test="nomatchvoice != null">nomatchvoice,</if> |
| | |
| | | <if test="tag != null">#{tag},</if> |
| | | <if test="isAvailable != null">#{isAvailable},</if> |
| | | <if test="isenable != null">#{isenable},</if> |
| | | <if test="questiontext != null">#{questiontext},</if> |
| | | <if test="questionText != null">#{questionText},</if> |
| | | <if test="questionvoice != null">#{questionvoice},</if> |
| | | <if test="nomatchtext != null">#{nomatchtext},</if> |
| | | <if test="nomatchvoice != null">#{nomatchvoice},</if> |
| | |
| | | <if test="suitway != null">suitway = #{suitway},</if> |
| | | <if test="isAvailable != null">isAvailable = #{isAvailable},</if> |
| | | <if test="isenable != null">isenable = #{isenable},</if> |
| | | <if test="questiontext != null">questiontext = #{questiontext},</if> |
| | | <if test="questionText != null">questionText = #{questionText},</if> |
| | | <if test="questionvoice != null">questionvoice = #{questionvoice},</if> |
| | | <if test="nomatchtext != null">nomatchtext = #{nomatchtext},</if> |
| | | <if test="nomatchvoice != null">nomatchvoice = #{nomatchvoice},</if> |
| | |
| | | <update id="deleteIvrLibaScriptByQuestionid" parameterType="Integer"> |
| | | update ivr_liba_script |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = 1,</if> |
| | | del_flag = 1 |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | |
| | | <delete id="deleteIvrLibaScriptTagById" parameterType="Long"> |
| | | update ivr_liba_script_tag |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = 1,</if> |
| | | del_flag = 1 |
| | | </trim> |
| | | where id = #{id} |
| | | </delete> |
| | |
| | | <delete id="deleteIvrLibaScriptTargetByQuestionTargetID" parameterType="Long"> |
| | | update ivr_liba_script_target |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = 1</if> |
| | | del_flag = 1 |
| | | </trim> |
| | | where id = #{id} |
| | | </delete> |
| | |
| | | <result property="categoryName" column="categoryName"/> |
| | | <result property="targetvalue" column="targetvalue"/> |
| | | <result property="targetregex" column="targetregex"/> |
| | | <result property="targetregex2" column="targetregex2"/> |
| | | <result property="optiondesc" column="optiondesc"/> |
| | | <result property="language" column="language"/> |
| | | <result property="version" column="version"/> |
| | |
| | | <result property="orgid" column="orgid"/> |
| | | <result property="pid" column="pid"/> |
| | | <result property="guid" column="guid"/> |
| | | <result property="nodynamiccruxsJson" column="nodynamiccruxs"/> |
| | | <result property="dynamiccruxsJson" column="dynamiccruxs"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrLibaScriptTargetoptionVo"> |
| | |
| | | categoryName, |
| | | targetvalue, |
| | | targetregex, |
| | | targetregex2, |
| | | nodynamiccruxs, |
| | | dynamiccruxs, |
| | | optiondesc, language, version, groupid, isabnormal, warnup, warndown, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid |
| | | from ivr_liba_script_targetoption |
| | | </sql> |
| | |
| | | </if> |
| | | <if test="targetvalue != null and targetvalue != ''">and targetvalue = #{targetvalue}</if> |
| | | <if test="targetregex != null and targetregex != ''">and targetregex = #{targetregex}</if> |
| | | <if test="targetregex2 != null and targetregex2 != ''">and targetregex2 = #{targetregex2}</if> |
| | | <if test="optiondesc != null and optiondesc != ''">and optiondesc = #{optiondesc}</if> |
| | | <if test="language != null and language != ''">and language = #{language}</if> |
| | | <if test="version != null ">and version = #{version}</if> |
| | |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | <if test="pid != null ">and pid = #{pid}</if> |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | <if test="nodynamiccruxsJson != null ">and nodynamiccruxs = #{nodynamiccruxsJson}</if> |
| | | <if test="dynamiccruxsJson != null ">and dynamiccruxs = #{dynamiccruxsJson}</if> |
| | | </where> |
| | | </select> |
| | | |
| | |
| | | <if test="categoryName != null and categoryName != ''">categoryName,</if> |
| | | <if test="targetvalue != null">targetvalue,</if> |
| | | <if test="targetregex != null">targetregex,</if> |
| | | <if test="targetregex2 != null">targetregex2,</if> |
| | | <if test="optiondesc != null">optiondesc,</if> |
| | | <if test="language != null and language != ''">language,</if> |
| | | <if test="version != null">version,</if> |
| | |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="guid != null">guid,</if> |
| | | <if test="nodynamiccruxsJson != null ">nodynamiccruxs,</if> |
| | | <if test="dynamiccruxsJson != null ">dynamiccruxs,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">#{id},</if> |
| | |
| | | <if test="categoryName != null and categoryName != ''">#{categoryName},</if> |
| | | <if test="targetvalue != null">#{targetvalue},</if> |
| | | <if test="targetregex != null">#{targetregex},</if> |
| | | <if test="targetregex2 != null">#{targetregex2},</if> |
| | | <if test="optiondesc != null">#{optiondesc},</if> |
| | | <if test="language != null and language != ''">#{language},</if> |
| | | <if test="version != null">#{version},</if> |
| | |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="guid != null">#{guid},</if> |
| | | <if test="nodynamiccruxsJson != null ">#{nodynamiccruxsJson},</if> |
| | | <if test="dynamiccruxsJson != null ">#{dynamiccruxsJson},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="categoryName != null and categoryName != ''">categoryName = #{categoryName},</if> |
| | | <if test="targetvalue != null">targetvalue = #{targetvalue},</if> |
| | | <if test="targetregex != null">targetregex = #{targetregex},</if> |
| | | <if test="targetregex2 != null">targetregex2 = #{targetregex2},</if> |
| | | <if test="optiondesc != null">optiondesc = #{optiondesc},</if> |
| | | <if test="language != null and language != ''">language = #{language},</if> |
| | | <if test="version != null">version = #{version},</if> |
| | |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | <if test="guid != null">guid = #{guid},</if> |
| | | <if test="nodynamiccruxsJson != null ">nodynamiccruxs = #{nodynamiccruxsJson},</if> |
| | | <if test="dynamiccruxsJson != null ">dynamiccruxs = #{dynamiccruxsJson},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | |
| | | <delete id="deleteIvrLibaScriptTargetoptionByTargetoptionid" parameterType="Long"> |
| | | update ivr_liba_script_targetoption |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = 1</if> |
| | | del_flag = 1 |
| | | </trim> |
| | | where id = #{id} |
| | | </delete> |
| | |
| | | <update id="deleteIvrLibaTargetAssortById" parameterType="Long"> |
| | | update ivr_liba_target_assort |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null">del_flag = 1,</if> |
| | | del_flag = 1 |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | |
| | | <result property="categoryName" column="categoryName"/> |
| | | <result property="targetvalue" column="targetvalue"/> |
| | | <result property="targetregex" column="targetregex"/> |
| | | <result property="targetregex2" column="targetregex2"/> |
| | | <result property="nodynamiccruxsJson" column="nodynamiccruxs"/> |
| | | <result property="dynamiccruxsJson" column="dynamiccruxs"/> |
| | | <result property="optiondesc" column="optiondesc"/> |
| | | <result property="language" column="language"/> |
| | | <result property="version" column="version"/> |
| | |
| | | categoryName, |
| | | targetvalue, |
| | | targetregex, |
| | | targetregex2, |
| | | nodynamiccruxs, |
| | | dynamiccruxs, |
| | | optiondesc, language, version, groupid, isabnormal, warnup, warndown, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid |
| | | from ivr_liba_targetoption |
| | | </sql> |
| | |
| | | </if> |
| | | <if test="targetvalue != null and targetvalue != ''">and targetvalue = #{targetvalue}</if> |
| | | <if test="targetregex != null and targetregex != ''">and targetregex = #{targetregex}</if> |
| | | <if test="targetregex2 != null and targetregex2 != ''">and targetregex2 = #{targetregex2}</if> |
| | | <if test="optiondesc != null and optiondesc != ''">and optiondesc = #{optiondesc}</if> |
| | | <if test="language != null and language != ''">and language = #{language}</if> |
| | | <if test="version != null ">and version = #{version}</if> |
| | |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | <if test="pid != null ">and pid = #{pid}</if> |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | <if test="nodynamiccruxsJson != null">and nodynamiccruxs = #{nodynamiccruxsJson}</if> |
| | | <if test="dynamiccruxsJson != null">and dynamiccruxs = #{dynamiccruxsJson}</if> |
| | | |
| | | </where> |
| | | order by guid asc |
| | |
| | | <if test="categoryName != null and categoryName != ''">categoryName,</if> |
| | | <if test="targetvalue != null">targetvalue,</if> |
| | | <if test="targetregex != null">targetregex,</if> |
| | | <if test="targetregex2 != null">targetregex2,</if> |
| | | <if test="optiondesc != null">optiondesc,</if> |
| | | <if test="language != null and language != ''">language,</if> |
| | | <if test="version != null">version,</if> |
| | |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="guid != null">guid,</if> |
| | | <if test="nodynamiccruxsJson != null">nodynamiccruxs,</if> |
| | | <if test="dynamiccruxsJson != null">dynamiccruxs,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="targetid != null">#{targetid},</if> |
| | |
| | | <if test="categoryName != null and categoryName != ''">#{categoryName},</if> |
| | | <if test="targetvalue != null">#{targetvalue},</if> |
| | | <if test="targetregex != null">#{targetregex},</if> |
| | | <if test="targetregex2 != null">#{targetregex2},</if> |
| | | <if test="optiondesc != null">#{optiondesc},</if> |
| | | <if test="language != null and language != ''">#{language},</if> |
| | | <if test="version != null">#{version},</if> |
| | |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="guid != null">#{guid},</if> |
| | | <if test="nodynamiccruxsJson != null">#{nodynamiccruxsJson},</if> |
| | | <if test="dynamiccruxsJson != null">#{dynamiccruxsJson},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="categoryName != null and categoryName != ''">categoryName = #{categoryName},</if> |
| | | <if test="targetvalue != null">targetvalue = #{targetvalue},</if> |
| | | <if test="targetregex != null">targetregex = #{targetregex},</if> |
| | | <if test="targetregex2 != null">targetregex2 = #{targetregex2},</if> |
| | | <if test="optiondesc != null">optiondesc = #{optiondesc},</if> |
| | | <if test="language != null and language != ''">language = #{language},</if> |
| | | <if test="version != null">version = #{version},</if> |
| | |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | <if test="guid != null">guid = #{guid},</if> |
| | | <if test="nodynamiccruxsJson != null">nodynamiccruxs = #{nodynamiccruxsJson},</if> |
| | | <if test="dynamiccruxsJson != null">dynamiccruxs = #{dynamiccruxsJson},</if> |
| | | </trim> |
| | | where targetoptionid = #{targetoptionid} |
| | | </update> |
| | |
| | | <update id="deleteIvrLibaTemplateAssortById" parameterType="Long"> |
| | | update ivr_liba_template_assort |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null">del_flag = 1,</if> |
| | | del_flag = 1 |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | |
| | | <result property="tag" column="tag"/> |
| | | <result property="suitway" column="suitway"/> |
| | | <result property="otherdata" column="otherdata"/> |
| | | <result property="mateNum" column="mate_num"/> |
| | | <result property="revisitBefore" column="revisit_before"/> |
| | | <result property="revisitAfter" column="revisit_after"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrLibaTemplateVo"> |
| | | select ID, |
| | | targetid, |
| | | revisit_before, |
| | | revisit_after, |
| | | targetname, |
| | | templateName, |
| | | silencetime, |
| | |
| | | tag, |
| | | otherdata, |
| | | suitway, |
| | | mate_num, |
| | | submodule, language, note, isEnable, addUserID, addTime, modifyUserID, modifyTime, groupID, label_info, submoduleID, playType, icd10code, icd10codename, atuoTaskDayOffset, deptIds, dept_names, F_KSDM, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid, assortid, parameter |
| | | from ivr_liba_template |
| | | </sql> |
| | |
| | | '%') |
| | | </if> |
| | | <if test="targetid != null ">and targetid = #{targetid}</if> |
| | | <if test="revisitAfter != null ">and revisit_after = #{revisitAfter}</if> |
| | | <if test="revisitBefore != null ">and revisit_before = #{revisitBefore}</if> |
| | | <if test="mateNum != null ">and mate_num = #{mateNum}</if> |
| | | <if test="suitway != null ">and suitway = #{suitway}</if> |
| | | <if test="targetname != null and targetname !='' ">and targetname = #{targetname}</if> |
| | | <if test="version != null and version !='' ">and version = #{version}</if> |
| | |
| | | <if test="tag != null">tag,</if> |
| | | <if test="suitway != null">suitway,</if> |
| | | <if test="otherdata != null">otherdata,</if> |
| | | <if test="mateNum != null ">mate_num</if> |
| | | <if test="revisitAfter != null ">revisit_after</if> |
| | | <if test="revisitBefore != null ">revisit_before</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="templateName != null and templateName != ''">#{templateName},</if> |
| | |
| | | <if test="tag != null">#{tag},</if> |
| | | <if test="suitway != null">#{suitway},</if> |
| | | <if test="otherdata != null">#{otherdata},</if> |
| | | <if test="mateNum != null ">#{mateNum}</if> |
| | | <if test="revisitAfter != null ">#{revisitAfter}</if> |
| | | <if test="revisitBefore != null ">#{revisitBefore}</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="tag != null">tag = #{tag},</if> |
| | | <if test="suitway != null">suitway = #{suitway},</if> |
| | | <if test="otherdata != null">otherdata = #{otherdata},</if> |
| | | <if test="mateNum != null ">mate_num = #{mateNum}</if> |
| | | <if test="revisitAfter != null ">revisit_after = #{revisitAfter}</if> |
| | | <if test="revisitBefore != null ">revisit_before = #{revisitBefore}</if> |
| | | </trim> |
| | | where ID = #{ID} |
| | | </update> |
| | |
| | | <update id="deleteIvrLibaTemplateByID" parameterType="Long"> |
| | | update ivr_liba_template |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = 1,</if> |
| | | del_flag = 1 |
| | | </trim> |
| | | where ID = #{ID} |
| | | </update> |
| | |
| | | <result property="targetid" column="targetid"/> |
| | | <result property="targettype" column="targettype"/> |
| | | <result property="targetvalue" column="targettalue"/> |
| | | <result property="questiontitle" column="questiontitle"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrLibaTemplateScriptVo"> |
| | |
| | | targetid, |
| | | targettype, |
| | | targetvalue, |
| | | questiontitle, |
| | | targetOptions, language, playWavOnly, isEnable, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid |
| | | from ivr_liba_template_script |
| | | </sql> |
| | |
| | | <if test="submoduleVoice != null and submoduleVoice != ''">and submoduleVoice = #{submoduleVoice}</if> |
| | | <if test="noClearlyText != null and noClearlyText != ''">and noClearlyText = #{noClearlyText}</if> |
| | | <if test="noClearlyVoice != null and noClearlyVoice != ''">and noClearlyVoice = #{noClearlyVoice}</if> |
| | | <if test="questiontitle != null and questiontitle != ''">and questiontitle = #{questiontitle}</if> |
| | | <if test="categoryName != null and categoryName != ''">and categoryName like concat('%', #{categoryName}, |
| | | '%') |
| | | </if> |
| | |
| | | where ID = #{ID} |
| | | </select> |
| | | |
| | | <insert id="insertIvrLibaTemplateScript" parameterType="com.smartor.domain.IvrLibaTemplateScript"> |
| | | <insert id="insertIvrLibaTemplateScript" parameterType="com.smartor.domain.IvrLibaTemplateScript" |
| | | useGeneratedKeys="true" |
| | | keyProperty="ID"> |
| | | insert into ivr_liba_template_script |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="templateQuestionNum != null">templateQuestionNum,</if> |
| | |
| | | <if test="targetvalue != null">targetvalue,</if> |
| | | <if test="targettype != null">targettype,</if> |
| | | <if test="targetid != null">targetid,</if> |
| | | <if test="questiontitle != null">questiontitle,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="templateQuestionNum != null">#{templateQuestionNum},</if> |
| | |
| | | <if test="targetvalue != null">#{targetvalue},</if> |
| | | <if test="targettype != null">#{targettype},</if> |
| | | <if test="targetid != null">#{targetid},</if> |
| | | <if test="questiontitle != null">#{questiontitle},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="targetvalue != null">targetvalue = #{targetvalue},</if> |
| | | <if test="targettype != null">targettype = #{targettype},</if> |
| | | <if test="targetid != null">targetid = #{targetid},</if> |
| | | <if test="questiontitle != null">questiontitle = #{questiontitle},</if> |
| | | </trim> |
| | | where ID = #{ID} |
| | | </update> |
| | |
| | | <update id="deleteIvrLibaTemplateScriptByID" parameterType="Long"> |
| | | update ivr_liba_template_script |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | |
| | | <if test="delFlag != null and delFlag != ''">del_flag = 1,</if> |
| | | del_flag = 1 |
| | | </trim> |
| | | where ID = #{ID} |
| | | </update> |
| | |
| | | <delete id="deleteIvrLibaTemplateTagById" parameterType="Long"> |
| | | update ivr_liba_template_tag |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = 1,</if> |
| | | del_flag = 1 |
| | | </trim> |
| | | where id = #{id} |
| | | </delete> |
| | |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertIvrLibaTemplateTarget" parameterType="com.smartor.domain.IvrLibaTemplateTarget"> |
| | | <insert id="insertIvrLibaTemplateTarget" parameterType="com.smartor.domain.IvrLibaTemplateTarget" useGeneratedKeys="true" |
| | | keyProperty="ID"> |
| | | insert into ivr_liba_template_target |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="templateQuestionID != null">templateQuestionID,</if> |
| | |
| | | <update id="deleteIvrLibaTemplateTargetByID" parameterType="Long"> |
| | | update ivr_liba_template_target |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = 1,</if> |
| | | del_flag = 1 |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | |
| | | <result property="categoryName" column="categoryName"/> |
| | | <result property="targetvalue" column="targetvalue"/> |
| | | <result property="targetregex" column="targetregex"/> |
| | | <result property="targetregex2" column="targetregex2"/> |
| | | <result property="nodynamiccruxsJson" column="nodynamiccruxs"/> |
| | | <result property="dynamiccruxsJson" column="dynamiccruxs"/> |
| | | <result property="optiondesc" column="optiondesc"/> |
| | | <result property="language" column="language"/> |
| | | <result property="version" column="version"/> |
| | |
| | | categoryName, |
| | | targetvalue, |
| | | targetregex, |
| | | targetregex2, |
| | | nodynamiccruxs, |
| | | dynamiccruxs, |
| | | optiondesc, language, version, groupid, isabnormal, warnup, warndown, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, orgid, pid, guid |
| | | from ivr_liba_template_targetoption |
| | | </sql> |
| | |
| | | </if> |
| | | <if test="targetvalue != null and targetvalue != ''">and targetvalue = #{targetvalue}</if> |
| | | <if test="targetregex != null and targetregex != ''">and targetregex = #{targetregex}</if> |
| | | <if test="targetregex2 != null and targetregex2 != ''">and targetregex2 = #{targetregex2}</if> |
| | | <if test="optiondesc != null and optiondesc != ''">and optiondesc = #{optiondesc}</if> |
| | | <if test="language != null and language != ''">and language = #{language}</if> |
| | | <if test="version != null and version != ''">and version = #{version}</if> |
| | |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | <if test="pid != null ">and pid = #{pid}</if> |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | <if test="nodynamiccruxsJson != null ">and nodynamiccruxs = #{nodynamiccruxsJson}</if> |
| | | <if test="dynamiccruxsJson != null ">and dynamiccruxs = #{dynamiccruxsJson}</if> |
| | | </where> |
| | | </select> |
| | | |
| | |
| | | <if test="categoryName != null and categoryName != ''">categoryName,</if> |
| | | <if test="targetvalue != null">targetvalue,</if> |
| | | <if test="targetregex != null">targetregex,</if> |
| | | <if test="targetregex2 != null">targetregex2,</if> |
| | | <if test="optiondesc != null">optiondesc,</if> |
| | | <if test="language != null and language != ''">language,</if> |
| | | <if test="version != null and version != ''">version,</if> |
| | |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="guid != null">guid,</if> |
| | | <if test="nodynamiccruxsJson != null ">nodynamiccruxs,</if> |
| | | <if test="dynamiccruxsJson != null ">dynamiccruxs,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="targetid != null">#{targetid},</if> |
| | |
| | | <if test="categoryName != null and categoryName != ''">#{categoryName},</if> |
| | | <if test="targetvalue != null">#{targetvalue},</if> |
| | | <if test="targetregex != null">#{targetregex},</if> |
| | | <if test="targetregex2 != null">#{targetregex2},</if> |
| | | <if test="optiondesc != null">#{optiondesc},</if> |
| | | <if test="language != null and language != ''">#{language},</if> |
| | | <if test="version != null and version != ''">#{version},</if> |
| | |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="guid != null">#{guid},</if> |
| | | <if test="nodynamiccruxsJson != null ">#{nodynamiccruxsJson},</if> |
| | | <if test="dynamiccruxsJson != null ">#{dynamiccruxsJson},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="categoryName != null and categoryName != ''">categoryName = #{categoryName},</if> |
| | | <if test="targetvalue != null">targetvalue = #{targetvalue},</if> |
| | | <if test="targetregex != null">targetregex = #{targetregex},</if> |
| | | <if test="targetregex2 != null">targetregex2 = #{targetregex2},</if> |
| | | <if test="optiondesc != null">optiondesc = #{optiondesc},</if> |
| | | <if test="language != null and language != ''">language = #{language},</if> |
| | | <if test="version != null and version != ''">version = #{version},</if> |
| | |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | <if test="guid != null">guid = #{guid},</if> |
| | | <if test="nodynamiccruxsJson != null ">nodynamiccruxs = #{nodynamiccruxsJson},</if> |
| | | <if test="dynamiccruxsJson != null ">dynamiccruxs = #{dynamiccruxsJson},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | |
| | | <update id="deleteIvrLibaTemplateTargetoptionById" parameterType="Long"> |
| | | update ivr_liba_template_targetoption |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = 1,</if> |
| | | del_flag = 1 |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | |
| | | <?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"> |
| | | 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 type="com.smartor.domain.IvrTaskcall" id="IvrTaskcallResult"> |
| | | <result property="id" column="id"/> |
| | | <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="type" column="type"/> |
| | | <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="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"/> |
| | | <result property="pid" column="pid"/> |
| | | <result property="guid" column="guid"/> |
| | | <result property="textParam" column="text_param"/> |
| | | <result property="serviceform" column="serviceform"/> |
| | | <result property="badNo" column="bad_no"/> |
| | | <result property="icdName" column="icd_name"/> |
| | | <result property="medicalRecordNo" column="medical_record_no"/> |
| | | <result property="preachcontent" column="preachcontent"/> |
| | | </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 |
| | | select id, |
| | | sendname, |
| | | phone, |
| | | sex, |
| | | age, |
| | | sfzh, |
| | | addr, |
| | | senderdetail, |
| | | type, |
| | | taskid, |
| | | templateid, |
| | | templatename, |
| | | senddate, |
| | | sendlimitabegin, |
| | | sendlimitaend, |
| | | sendlimitpbegin, |
| | | sendlimitpend, |
| | | sendlimitnbegin, |
| | | sendlimitnend, |
| | | sendstate, |
| | | senduuid, |
| | | result, |
| | | finishtime, |
| | | userid, |
| | | username, |
| | | outbounduuid, |
| | | recordid, |
| | | recallcount, |
| | | exrecallcount, |
| | | pulltime, |
| | | bqsms, |
| | | bhsms, |
| | | deptcode, |
| | | labelstatus, |
| | | del_flag, |
| | | update_by, |
| | | update_time, |
| | | create_by, |
| | | create_time, |
| | | isupload, |
| | | upload_time, |
| | | orgid, |
| | | pid, |
| | | guid, |
| | | text_param, |
| | | serviceform, |
| | | badNo, |
| | | icdName, |
| | | medicalRecordNo, |
| | | preachcontent |
| | | from ivr_taskcall |
| | | </sql> |
| | | |
| | | <select id="selectIvrTaskcallList" parameterType="IvrTaskcall" resultMap="IvrTaskcallResult"> |
| | | <select id="selectIvrTaskcallList" parameterType="com.smartor.domain.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> |
| | | <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="type != null and type != ''">and type = #{type}</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="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> |
| | | <if test="pid != null ">and pid = #{pid}</if> |
| | | <if test="piserviceformd != null ">and serviceform = #{serviceform}</if> |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | <if test="textParam != null and textParam != ''">and text_param = #{textParam}</if> |
| | | <if test="badNo != null">and bad_no = #{badNo}</if> |
| | | <if test="icdName != null and icdName != ''">and icd_name = #{icdName}</if> |
| | | <if test="medicalRecordNo != null and medicalRecordNo != ''">and medical_record_no = #{medicalRecordNo}</if> |
| | | <if test="preachcontent != null and preachcontent != ''">and preachcontent = #{preachcontent}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectIvrTaskcallByCallid" parameterType="Long" resultMap="IvrTaskcallResult"> |
| | | |
| | | <select id="selectIvrTaskcallById" parameterType="Long" resultMap="IvrTaskcallResult"> |
| | | <include refid="selectIvrTaskcallVo"/> |
| | | where callid = #{callid} |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertIvrTaskcall" parameterType="IvrTaskcall"> |
| | | |
| | | <insert id="insertIvrTaskcall" parameterType="com.smartor.domain.IvrTaskcall"> |
| | | insert into ivr_taskcall |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="callid != null">callid,</if> |
| | | <if test="id != null">id,</if> |
| | | <if test="sendname != null">sendname,</if> |
| | | <if test="phone != null">phone,</if> |
| | | <if test="sex != null">sex,</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="type != null">type,</if> |
| | | <if test="taskid != null">taskid,</if> |
| | | <if test="templateid != null">templateid,</if> |
| | | <if test="templatename != null">templatename,</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="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | </trim> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="guid != null">guid,</if> |
| | | <if test="textParam != null">text_param,</if> |
| | | <if test="serviceform != null">serviceform,</if> |
| | | <if test="badNo != null">bad_no,</if> |
| | | <if test="icdName != null and icdName != ''">icd_name,</if> |
| | | <if test="medicalRecordNo != null and medicalRecordNo != ''">medical_record_no,</if> |
| | | <if test="preachcontent != null and preachcontent != ''">preachcontent,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="callid != null">#{callid},</if> |
| | | <if test="id != null">#{id},</if> |
| | | <if test="sendname != null">#{sendname},</if> |
| | | <if test="phone != null">#{phone},</if> |
| | | <if test="sex != null">#{sex},</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="type != null">#{type},</if> |
| | | <if test="taskid != null">#{taskid},</if> |
| | | <if test="templateid != null">#{templateid},</if> |
| | | <if test="templatename != null">#{templatename},</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="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | </trim> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="guid != null">#{guid},</if> |
| | | <if test="textParam != null">#{textParam},</if> |
| | | <if test="serviceform != null">#{serviceform},</if> |
| | | <if test="badNo != null">#{badNo},</if> |
| | | <if test="icdName != null and icdName != ''">#{icdName},</if> |
| | | <if test="medicalRecordNo != null and medicalRecordNo != ''">#{medicalRecordNo},</if> |
| | | <if test="preachcontent != null and preachcontent != ''">#{preachcontent},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateIvrTaskcall" parameterType="IvrTaskcall"> |
| | | <update id="updateIvrTaskcall" parameterType="com.smartor.domain.IvrTaskcall"> |
| | | update ivr_taskcall |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="sendname != null">sendname = #{sendname},</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="type != null">type = #{type},</if> |
| | | <if test="taskid != null">taskid = #{taskid},</if> |
| | | <if test="templateid != null">templateid = #{templateid},</if> |
| | | <if test="templatename != null">templatename = #{templatename},</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="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | <if test="guid != null">guid = #{guid},</if> |
| | | <if test="textParam != null">text_param = #{textParam},</if> |
| | | <if test="serviceform != null">serviceform = #{serviceform},</if> |
| | | <if test="badNo != null">bad_no = #{badNo},</if> |
| | | <if test="icdName != null and icdName != ''">icd_name = #{icdName},</if> |
| | | <if test="medicalRecordNo != null and medicalRecordNo != ''">medical_record_no = #{medicalRecordNo},</if> |
| | | <if test="preachcontent != null and preachcontent != ''">preachcontent = #{preachcontent},</if> |
| | | </trim> |
| | | where callid = #{callid} |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deleteIvrTaskcallByCallid" parameterType="Long"> |
| | | delete from ivr_taskcall where callid = #{callid} |
| | | </delete> |
| | | <update id="deleteIvrTaskcallById" parameterType="Long"> |
| | | update ivr_taskcall |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | del_flag =1 |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deleteIvrTaskcallByCallids" parameterType="String"> |
| | | delete from ivr_taskcall where callid in |
| | | <foreach item="callid" collection="array" open="(" separator="," close=")"> |
| | | #{callid} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
| | |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.PatHetaskRelevanceMapper"> |
| | | <mapper namespace="com.smartor.mapper.PatTaskRelevanceMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.PatHetaskRelevance" id="PatHetaskRelevanceResult"> |
| | | <resultMap type="com.smartor.domain.PatTaskRelevance" id="PatTaskRelevanceResult"> |
| | | <result property="id" column="id"/> |
| | | <result property="patid" column="pat_id"/> |
| | | <result property="heTaskId" column="he_task_id"/> |
| | | <result property="taskId" column="task_id"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="updateTime" column="update_time"/> |
| | |
| | | <result property="sendTime" column="send_time"/> |
| | | <result property="operatePerson" column="operate_person"/> |
| | | <result property="receiveTime" column="receive_time"/> |
| | | <result property="visitTime" column="visit_time"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectPatHetaskRelevanceVo"> |
| | | <sql id="selectPatTaskRelevanceVo"> |
| | | select id, |
| | | pat_id, |
| | | he_task_id, |
| | | task_id, |
| | | del_flag, |
| | | create_time, |
| | | update_time, |
| | |
| | | send_status, |
| | | send_time, |
| | | operate_person, |
| | | visit_time, |
| | | receive_time |
| | | from pat_hetask_relevance |
| | | from pat_task_relevance |
| | | </sql> |
| | | |
| | | <select id="selectPatHetaskRelevanceList" parameterType="com.smartor.domain.PatHetaskRelevance" |
| | | resultMap="PatHetaskRelevanceResult"> |
| | | <include refid="selectPatHetaskRelevanceVo"/> |
| | | <select id="selectPatTaskRelevanceList" parameterType="com.smartor.domain.PatTaskRelevance" |
| | | resultMap="PatTaskRelevanceResult"> |
| | | <include refid="selectPatTaskRelevanceVo"/> |
| | | <where> |
| | | del_flag=0 |
| | | <if test="patid != null ">and pat_id = #{patid}</if> |
| | | <if test="heTaskId != null ">and he_task_id = #{heTaskId}</if> |
| | | <if test="taskId != null ">and task_id = #{taskId}</if> |
| | | <if test="name != null and name != ''">and name like concat('%', #{name}, '%')</if> |
| | | <if test="age != null ">and age = #{age}</if> |
| | | <if test="sex != null ">and sex = #{sex}</if> |
| | |
| | | <if test="icdName != null and icdName != ''">and icd_name like concat('%', #{icdName}, '%')</if> |
| | | <if test="sendStatus != null ">and send_status = #{sendStatus}</if> |
| | | <if test="sendTime != null ">and send_time = #{sendTime}</if> |
| | | <if test="visitTime != null ">and visit_time = #{visitTime}</if> |
| | | <if test="receiveTime != null ">and receive_time = #{receiveTime}</if> |
| | | <if test="operatePerson != null and operatePerson != ''">and operate_person = #{operatePerson}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectPatHetaskRelevanceById" parameterType="Long" resultMap="PatHetaskRelevanceResult"> |
| | | <include refid="selectPatHetaskRelevanceVo"/> |
| | | <select id="selectPatTaskRelevanceById" parameterType="Long" resultMap="PatTaskRelevanceResult"> |
| | | <include refid="selectPatTaskRelevanceVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertPatHetaskRelevance" parameterType="com.smartor.domain.PatHetaskRelevance"> |
| | | insert into pat_hetask_relevance |
| | | <insert id="insertPatTaskRelevance" parameterType="com.smartor.domain.PatTaskRelevance"> |
| | | insert into pat_task_relevance |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="patid != null">pat_id,</if> |
| | | <if test="heTaskId != null">he_task_id,</if> |
| | | <if test="taskId != null">task_id,</if> |
| | | <if test="delFlag != null">del_flag,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | |
| | | <if test="sendStatus != null">send_status,</if> |
| | | <if test="sendTime != null">send_time,</if> |
| | | <if test="receiveTime != null">receive_time,</if> |
| | | <if test="visitTime != null">visit_time,</if> |
| | | <if test="operatePerson != null and operatePerson != ''">operate_person,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="patid != null">#{patid},</if> |
| | | <if test="heTaskId != null">#{heTaskId},</if> |
| | | <if test="taskId != null">#{taskId},</if> |
| | | <if test="delFlag != null">#{delFlag},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | |
| | | <if test="sendStatus != null">#{sendStatus},</if> |
| | | <if test="sendTime != null">#{sendTime},</if> |
| | | <if test="receiveTime != null">#{receiveTime},</if> |
| | | <if test="visitTime != null">#{visitTime},</if> |
| | | <if test="operatePerson != null and operatePerson != ''">#{operatePerson},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updatePatHetaskRelevance" parameterType="com.smartor.domain.PatHetaskRelevance"> |
| | | update pat_hetask_relevance |
| | | <update id="updatePatTaskRelevance" parameterType="com.smartor.domain.PatTaskRelevance"> |
| | | update pat_task_relevance |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="patid != null">pat_id = #{patid},</if> |
| | | <if test="heTaskId != null">he_task_id = #{heTaskId},</if> |
| | | <if test="taskId != null">task_id = #{taskId},</if> |
| | | <if test="delFlag != null">del_flag = #{delFlag},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | |
| | | <if test="sendStatus != null">send_status=#{sendStatus},</if> |
| | | <if test="sendTime != null">send_time=#{sendTime},</if> |
| | | <if test="receiveTime != null">receive_time=#{receiveTime},</if> |
| | | <if test="visitTime != null">visit_time=#{visitTime},</if> |
| | | <if test="operatePerson != null and operatePerson != ''">operate_person=#{operatePerson},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <update id="deletePatHetaskRelevanceById" parameterType="Long"> |
| | | update pat_hetask_relevance |
| | | <update id="deletePatTaskRelevanceById" parameterType="Long"> |
| | | update pat_task_relevance |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null">del_flag =1,</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deletePatHetaskRelevanceByIds" parameterType="String"> |
| | | delete from pat_hetask_relevance where id in |
| | | <delete id="deletePatTaskRelevanceByIds" parameterType="String"> |
| | | delete from pat_task_relevance where id in |
| | | <foreach item="id" collection="array" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | |
| | | <update id="deleteSvyLibTitleCategoryById" parameterType="Long"> |
| | | update svy_lib_title_category |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null">del_flag = 1,</if> |
| | | del_flag = 1 |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | |
| | | <update id="deleteSvyLibTopicoptionByOptionid" parameterType="Long"> |
| | | update svy_lib_topicoption |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = 1,</if> |
| | | del_flag = 1 |
| | | </trim> |
| | | where optionid = #{optionid} |
| | | </update> |