已添加7个文件
已修改15个文件
已重命名1个文件
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | 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.DtoConversionUtils; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.*; |
| | | import com.smartor.service.IHeTaskService; |
| | | import com.smartor.service.IHeTaskSingleService; |
| | | 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 ruoyi |
| | | * @date 2024-04-16 |
| | | */ |
| | | @Api(description = "宣æåä¸ä»»å¡") |
| | | @RestController |
| | | @RequestMapping("/smartor/heTaskSingle") |
| | | public class HeTaskSingleController extends BaseController { |
| | | @Autowired |
| | | private IHeTaskSingleService heTaskSingleService; |
| | | |
| | | // /** |
| | | // * æ¥è¯¢å®£æåä¸ä»»å¡å表 |
| | | // */ |
| | | // @ApiOperation("æ¥è¯¢å®£æåä¸ä»»å¡å表") |
| | | // @PreAuthorize("@ss.hasPermi('system:single:list')") |
| | | // @GetMapping("/list") |
| | | // public TableDataInfo list(HeTaskSingle heTaskSingle) { |
| | | // startPage(); |
| | | // List<HeTaskSingle> list = heTaskSingleService.selectHeTaskSingleList(heTaskSingle); |
| | | // return getDataTable(list); |
| | | // } |
| | | |
| | | /** |
| | | * 导åºå®£æåä¸ä»»å¡å表 |
| | | */ |
| | | @ApiOperation("导åºå®£æåä¸ä»»å¡å表") |
| | | @PreAuthorize("@ss.hasPermi('system:single:export')") |
| | | @Log(title = "宣æåä¸ä»»å¡", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, HeTaskSingle heTaskSingle) { |
| | | List<HeTaskSingle> list = heTaskSingleService.selectHeTaskSingleList(heTaskSingle); |
| | | ExcelUtil<HeTaskSingle> util = new ExcelUtil<HeTaskSingle>(HeTaskSingle.class); |
| | | util.exportExcel(response, list, "宣æåä¸ä»»å¡æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·å宣æåä¸ä»»å¡è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @ApiOperation("è·å宣æåä¸ä»»å¡è¯¦ç»ä¿¡æ¯") |
| | | @PreAuthorize("@ss.hasPermi('system:single:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return success(heTaskSingleService.selectHeTaskSingleById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢å®£æåä¸ä»»å¡ |
| | | */ |
| | | @ApiOperation("æ°å¢å®£æåä¸ä»»å¡") |
| | | @PreAuthorize("@ss.hasPermi('system:single:add')") |
| | | @Log(title = "宣æåä¸ä»»å¡", businessType = BusinessType.INSERT) |
| | | @PostMapping("/addOrUpdateHeTaskSinle") |
| | | public AjaxResult addOrUpdateHeTaskSinle(@RequestBody HeTaskSingleVO heTaskSingleVO) { |
| | | return toAjax(heTaskSingleService.addOrUpdateHeTaskSinle(heTaskSingleVO)); |
| | | } |
| | | |
| | | // /** |
| | | // * ä¿®æ¹å®£æåä¸ä»»å¡ |
| | | // */ |
| | | // @PreAuthorize("@ss.hasPermi('system:single:edit')") |
| | | // @Log(title = "宣æåä¸ä»»å¡", businessType = BusinessType.UPDATE) |
| | | // @PostMapping("/edit") |
| | | // public AjaxResult edit(@RequestBody HeTaskSingle heTaskSingle) { |
| | | // return toAjax(heTaskSingleService.updateHeTaskSingle(heTaskSingle)); |
| | | // } |
| | | |
| | | /** |
| | | * å é¤å®£æåä¸ä»»å¡ |
| | | */ |
| | | @ApiOperation("å é¤å®£æåä¸ä»»å¡") |
| | | @PreAuthorize("@ss.hasPermi('system:single:remove')") |
| | | @Log(title = "宣æåä¸ä»»å¡", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(heTaskSingleService.deleteHeTaskSingleByIds(ids)); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * æ ¹æ®æ¡ä»¶æ¥è¯¢ä»»å¡ä¿¡æ¯ |
| | | */ |
| | | @ApiOperation("æ ¹æ®æ¡ä»¶æ¥è¯¢ä»»å¡ä¿¡æ¯") |
| | | @PostMapping("/queryHeTaskByCondition") |
| | | public AjaxResult queryHeTaskByCondition(@RequestBody HeTaskSingle heTaskSingle) { |
| | | |
| | | return success(heTaskSingleService.queryHeTaskByCondition(heTaskSingle)); |
| | | } |
| | | } |
| | |
| | | import com.smartor.service.IIvrTaskSingleService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.commons.collections4.CollectionUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | /** |
| | | * æ¥è¯¢è¯é³ä»»å¡å表 |
| | | */ |
| | | @ApiOperation("æ¥è¯¢è¯é³ä»»å¡å表") |
| | | @ApiOperation("æ¥è¯¢ä»»å¡å表") |
| | | @PreAuthorize("@ss.hasPermi('smartor:ivrtask:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody IvrTask ivrTask) { |
| | | startPage(); |
| | | List<IvrTask> list = ivrTaskService.selectIvrTaskList(ivrTask); |
| | | List<IvrTaskVO> ivrTaskVOS = DtoConversionUtils.sourceToTarget(list, IvrTaskVO.class); |
| | | for (IvrTaskVO ivrTaskVO : ivrTaskVOS) { |
| | | IvrTaskSingle ivrTaskcall = new IvrTaskSingle(); |
| | | ivrTaskcall.setTaskid(ivrTaskVO.getTaskid()); |
| | | List<IvrTaskSingle> ivrTaskcalls = iIvrTaskCallService.selectIvrTaskcallList(ivrTaskcall); |
| | | //å·²åé |
| | | long yfs = ivrTaskcalls.stream().filter(ivrTaskcall1 -> ivrTaskcall1.getSendstate() == 3L).collect(Collectors.toList()).stream().count(); |
| | | //æªåé |
| | | long wfs = ivrTaskcalls.stream().filter(ivrTaskcall1 -> ivrTaskcall1.getSendstate() == 2L).collect(Collectors.toList()).stream().count(); |
| | | ivrTaskVO.setYfs(yfs); |
| | | ivrTaskVO.setWfs(wfs); |
| | | if (CollectionUtils.isNotEmpty(ivrTaskVOS)) { |
| | | for (IvrTaskVO ivrTaskVO : ivrTaskVOS) { |
| | | IvrTaskSingle ivrTaskcall = new IvrTaskSingle(); |
| | | ivrTaskcall.setTaskid(ivrTaskVO.getTaskid()); |
| | | List<IvrTaskSingle> ivrTaskcalls = iIvrTaskCallService.selectIvrTaskcallList(ivrTaskcall); |
| | | if (CollectionUtils.isNotEmpty(ivrTaskcalls)) { |
| | | //å·²åé |
| | | long yfs = ivrTaskcalls.stream().filter(ivrTaskcall1 -> ivrTaskcall1.getSendstate() != null && ivrTaskcall1.getSendstate() == 3L).collect(Collectors.toList()).stream().count(); |
| | | //æªåé |
| | | long wfs = ivrTaskcalls.stream().filter(ivrTaskcall1 -> ivrTaskcall1.getSendstate() != null && ivrTaskcall1.getSendstate() == 2L).collect(Collectors.toList()).stream().count(); |
| | | ivrTaskVO.setYfs(yfs); |
| | | ivrTaskVO.setWfs(wfs); |
| | | } |
| | | } |
| | | } |
| | | |
| | | return getDataTable(ivrTaskVOS); |
| | | } |
| | | |
| | |
| | | public AjaxResult removeTask(@PathVariable Long taskId) { |
| | | return toAjax(ivrTaskService.deleteIvrTaskByTaskid(taskId)); |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | } |
ÎļþÃû´Ó ruoyi-admin/src/main/java/com/ruoyi/web/controller/smartor/IvrTaskcallController.java ÐÞ¸Ä |
| | |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import com.fasterxml.jackson.core.JsonProcessingException; |
| | | import com.fasterxml.jackson.databind.ObjectMapper; |
| | | 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.ruoyi.common.utils.DtoConversionUtils; |
| | | import com.ruoyi.common.utils.PageUtils; |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.*; |
| | | import com.smartor.service.IIvrTaskSingleService; |
| | |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * åä¸ä»»å¡ï¼é访ï¼Controller |
| | |
| | | @Api(description = "åä¸ä»»å¡ï¼é访宣æï¼") |
| | | @RestController |
| | | @RequestMapping("/smartor/tasksingle") |
| | | public class IvrTaskcallController extends BaseController { |
| | | public class IvrTaskSingleController extends BaseController { |
| | | @Autowired |
| | | private IIvrTaskSingleService ivrTaskcallService; |
| | | |
| | |
| | | return toAjax(ivrTaskcallService.insertOrUpdateTask(ivrTaskcallVO)); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * æ ¹æ®æ¡ä»¶æ¥è¯¢ä»»å¡ä¿¡æ¯ |
| | | */ |
| | |
| | | public AjaxResult queryTaskByCondition(@RequestBody IvrTaskSingleVO ivrTaskcallVO) { |
| | | //æ ¹æ®å
¥åæ¥è¯¢ä¿¡æ¯ |
| | | IvrTaskSingle ivrTaskcall = DtoConversionUtils.sourceToTarget(ivrTaskcallVO, IvrTaskSingle.class); |
| | | List<IvrTaskSingle> list = ivrTaskcallService.selectIvrTaskcallList(ivrTaskcall); |
| | | |
| | | //å®ä¹æ£è
ä¸åä¸ä»»å¡å
³è表éå |
| | | List<PatTaskRelevance> patTaskRelevances = new ArrayList<>(); |
| | | |
| | | //å°æ¥åºæ¥çæ°æ®åå
¥IvrTaskcallVOä¸ |
| | | IvrTaskSingleVO ivrTaskcallVO2 = DtoConversionUtils.sourceToTarget(list.get(0), IvrTaskSingleVO.class); |
| | | String sendTimeSlot = list.get(0).getSendTimeSlot(); |
| | | ObjectMapper objectMapper = new ObjectMapper(); |
| | | try { |
| | | //è·åå°åéæ¶é´çéå |
| | | if (StringUtils.isNotEmpty(sendTimeSlot)) { |
| | | List<TaskSendTimeVO> taskSendTimeVOList = objectMapper.readValue(sendTimeSlot, List.class); |
| | | ivrTaskcallVO2.setSendTimeslot(taskSendTimeVOList); |
| | | } |
| | | //ææ¬åéåæ° |
| | | if (StringUtils.isNotEmpty(list.get(0).getTextParam())) { |
| | | Map<String, Map<String, String>> textParam = objectMapper.readValue(list.get(0).getTextParam(), Map.class); |
| | | ivrTaskcallVO2.setTextParam(textParam); |
| | | } |
| | | } catch (JsonProcessingException e) { |
| | | e.printStackTrace(); |
| | | } |
| | | |
| | | for (IvrTaskSingle ivrTaskcall1 : list) { |
| | | PatTaskRelevance patTaskRelevance = new PatTaskRelevance(); |
| | | //è·åå°æ£è
ä¿¡æ¯ï¼å¹¶æ¾å
¥å°éåä¸ |
| | | patTaskRelevance.setName(ivrTaskcall1.getSendname()); |
| | | patTaskRelevance.setAge(ivrTaskcall1.getAge()); |
| | | patTaskRelevance.setSfzh(ivrTaskcall1.getSfzh()); |
| | | patTaskRelevance.setPhone(ivrTaskcall1.getPhone()); |
| | | patTaskRelevance.setAddr(ivrTaskcall1.getAddr()); |
| | | patTaskRelevances.add(patTaskRelevance); |
| | | } |
| | | |
| | | ivrTaskcallVO2.setPatTaskRelevances(patTaskRelevances); |
| | | return success(ivrTaskcallVO2); |
| | | IvrTaskSingleVO ivrTaskSingleVO = ivrTaskcallService.queryTaskByCondition(ivrTaskcall); |
| | | return success(ivrTaskSingleVO); |
| | | } |
| | | |
| | | |
| | |
| | | package com.smartor.controller; |
| | | |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | 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.PatMedInhosp; |
| | | import com.smartor.service.IPatMedInhospService; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | 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-04 |
| | | */ |
| | |
| | | private String textParam; |
| | | |
| | | |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * 宣æåä¸ä»»å¡å¯¹è±¡ he_task_single |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-04-16 |
| | | */ |
| | | @ApiModel(value = "IvrTask", description = "宣æåä¸ä»»å¡å¯¹è±¡ ") |
| | | @Data |
| | | public class HeTaskSingle extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * èªå¢ID |
| | | */ |
| | | @ApiModelProperty(value = "主é®") |
| | | private Long id; |
| | | |
| | | /** |
| | | * æ£è
æå¡ä»»å¡id |
| | | */ |
| | | @Excel(name = "æ£è
æå¡ä»»å¡id") |
| | | @ApiModelProperty(value = "æ£è
æå¡ä»»å¡id") |
| | | private Long svrtaskid; |
| | | |
| | | /** |
| | | * ç
人idï¼ä½åºï¼ç¨ä¸»é®ä¸å
³è表è¿è¡å
³èï¼ |
| | | */ |
| | | @Excel(name = " ç
人id", readConverterExp = "ä½=åºï¼ç¨ä¸»é®ä¸å
³è表è¿è¡å
³è") |
| | | @ApiModelProperty(value = "ç
人idï¼ä½åºï¼ç¨ä¸»é®ä¸å
³è表è¿è¡å
³èï¼") |
| | | private String patientid; |
| | | |
| | | /** |
| | | * 宣æåç±» |
| | | */ |
| | | @Excel(name = " 宣æåç±» ") |
| | | @ApiModelProperty(value = "宣æåç±»") |
| | | private String classification; |
| | | |
| | | /** |
| | | * 宣æid |
| | | */ |
| | | @Excel(name = " 宣æid") |
| | | @ApiModelProperty(value = "宣æid") |
| | | private Long preachcategoryid; |
| | | |
| | | /** |
| | | * 宣æåç§° |
| | | */ |
| | | @Excel(name = " 宣æåç§° ") |
| | | @ApiModelProperty(value = "宣æåç§°") |
| | | private String preachname; |
| | | |
| | | /** |
| | | * çæ¬ |
| | | */ |
| | | @Excel(name = " çæ¬ ") |
| | | @ApiModelProperty(value = "çæ¬") |
| | | private BigDecimal version; |
| | | |
| | | /** |
| | | * 宣æå½¢å¼ 1,å¤åªä½ 2,纸质 3,çµè¯ 4,çä¿¡ 5.微信å
¬ä¼å· 6.微信å°ç¨åº 7.æ¯ä»å® 8.æºè½å°ç¨åº 9.éé |
| | | */ |
| | | @Excel(name = " 宣æå½¢å¼ 1,å¤åªä½ 2,纸质 3,çµè¯ 4,çä¿¡ 5.微信å
¬ä¼å· 6.微信å°ç¨åº 7.æ¯ä»å® 8.æºè½å°ç¨åº 9.éé") |
| | | @ApiModelProperty(value = "宣æå½¢å¼ 1,å¤åªä½ 2,纸质 3,çµè¯ 4,çä¿¡ 5.微信å
¬ä¼å· 6.微信å°ç¨åº 7.æ¯ä»å® 8.æºè½å°ç¨åº 9.éé") |
| | | private String preachform; |
| | | |
| | | /** |
| | | * ç»ç»å½¢å¼ï¼1.å人宣æ 2.å¤äººå®£æ |
| | | */ |
| | | @Excel(name = "ç»ç»å½¢å¼ï¼1.å人宣æ 2.å¤äººå®£æ") |
| | | @ApiModelProperty(value = "ç»ç»å½¢å¼ï¼1.å人宣æ 2.å¤äººå®£æ") |
| | | private Long orgform; |
| | | |
| | | /** |
| | | * 宣ææè¿° |
| | | */ |
| | | @Excel(name = " 宣ææè¿° ") |
| | | @ApiModelProperty(value = "宣ææè¿°") |
| | | private String preachdescription; |
| | | |
| | | /** |
| | | * 宣æå
容 |
| | | */ |
| | | @Excel(name = " 宣æå
容 ") |
| | | @ApiModelProperty(value = "宣æå
容") |
| | | private String preachcontent; |
| | | |
| | | /** |
| | | * 模æ¿ID |
| | | */ |
| | | @Excel(name = " 模æ¿ID ") |
| | | @ApiModelProperty(value = "模æ¿ID") |
| | | private Long templateid; |
| | | |
| | | /** |
| | | * 宣æä»£ç |
| | | */ |
| | | @Excel(name = " 宣æä»£ç ") |
| | | @ApiModelProperty(value = "宣æä»£ç ") |
| | | private String preachcode; |
| | | |
| | | /** |
| | | * ä¸å¿åºID |
| | | */ |
| | | @Excel(name = " ä¸å¿åºID ") |
| | | @ApiModelProperty(value = "ä¸å¿åºID") |
| | | private Long centerlibraryid; |
| | | |
| | | /** |
| | | * æ¯å¦å¯ç¨ |
| | | */ |
| | | @Excel(name = " æ¯å¦å¯ç¨ ") |
| | | @ApiModelProperty(value = "æ¯å¦å¯ç¨") |
| | | private Long isenable; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @Excel(name = " æºæID ") |
| | | @ApiModelProperty(value = "æºæID") |
| | | private String orgid; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @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; |
| | | |
| | | /** |
| | | * æ¯å¦æ¬å° |
| | | */ |
| | | @Excel(name = " æ¯å¦æ¬å° ") |
| | | @ApiModelProperty(value = "æ¯å¦æ¬å°") |
| | | private Long islocal; |
| | | |
| | | /** |
| | | * ä¸å¿åºä»£ç |
| | | */ |
| | | @Excel(name = " ä¸å¿åºä»£ç ") |
| | | @ApiModelProperty(value = "ä¸å¿åºä»£ç ") |
| | | private String centerlibrarycode; |
| | | |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @Excel(name = "ç¶ID") |
| | | @ApiModelProperty(value = "ç¶ID") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * GUID |
| | | */ |
| | | @Excel(name = "GUID") |
| | | @ApiModelProperty(value = "GUID") |
| | | private String guid; |
| | | |
| | | /** |
| | | * ä»»å¡åéæ¶é´ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = "ä»»å¡åéæ¶é´", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "ä»»å¡åéæ¶é´") |
| | | private Date sendTime; |
| | | |
| | | /** |
| | | * æ¯å¦åé ï¼ 0 æååé 1 宿¶åé 2 ç«å³åé |
| | | */ |
| | | @Excel(name = "æ¯å¦åé ï¼ 0 æååé 1 宿¶åé 2 ç«å³åé ") |
| | | @ApiModelProperty(value = " æ¯å¦åé ï¼ 0 æååé 1 宿¶åé 2 ç«å³åé") |
| | | private Long isSend; |
| | | |
| | | /** |
| | | * åéç¶æï¼ 0 失败 1æå |
| | | */ |
| | | @Excel(name = "åéç¶æï¼ 0 失败 1æå") |
| | | @ApiModelProperty(value = "åéç¶æï¼ 0 失败 1æå") |
| | | private String sendState; |
| | | |
| | | /** |
| | | * å¯ææ¬ |
| | | */ |
| | | @Excel(name = "坿æ¬") |
| | | @ApiModelProperty(value = "坿æ¬") |
| | | private String richText; |
| | | |
| | | /** |
| | | * ææ¬åéåæ° |
| | | */ |
| | | @Excel(name = "ææ¬åéåæ°") |
| | | @ApiModelProperty(value = "ææ¬åéåæ°") |
| | | private String textParam; |
| | | |
| | | /** |
| | | * åé人 ï¼æ£è
ï¼ |
| | | */ |
| | | @Excel(name = " åé人 ", readConverterExp = "æ£=è
") |
| | | @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 wechat; |
| | | |
| | | /** |
| | | * è¯æåç§° |
| | | */ |
| | | @Excel(name = "è¯æåç§°") |
| | | @ApiModelProperty(value = "è¯æåç§°") |
| | | private String diagname; |
| | | |
| | | /** |
| | | * ç§å®¤åç§° |
| | | */ |
| | | @Excel(name = "ç§å®¤åç§°") |
| | | @ApiModelProperty(value = "ç§å®¤åç§°") |
| | | private String deptname; |
| | | |
| | | /** |
| | | * å°±è¯æ¥æ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = "å°±è¯æ¥æ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "å°±è¯æ¥æ") |
| | | private Date admindate; |
| | | |
| | | /** |
| | | * ç
æ¿å· |
| | | */ |
| | | @Excel(name = "ç
æ¿å·") |
| | | @ApiModelProperty(value = "ç
æ¿å·") |
| | | private String roomno; |
| | | |
| | | /** |
| | | * ç
åºå· |
| | | */ |
| | | @Excel(name = "ç
åºå·") |
| | | @ApiModelProperty(value = "ç
åºå·") |
| | | private String bedNo; |
| | | |
| | | /** |
| | | * åéç±»å: 1 æ¶é´æ®µ 2 æ¶é´ç¹ 3 å³å»åé |
| | | */ |
| | | @Excel(name = "åéç±»å: 1 æ¶é´æ®µ 2 æ¶é´ç¹ 3 å³å»åé") |
| | | @ApiModelProperty(value = "主é®") |
| | | private String sendType; |
| | | |
| | | /** |
| | | * åéæ¶é´æ®µ |
| | | */ |
| | | @Excel(name = "åéæ¶é´æ®µ") |
| | | @ApiModelProperty(value = "åéæ¶é´æ®µ") |
| | | private String sendTimeSlot; |
| | | |
| | | /** |
| | | * ç±»åï¼1 宣æã2 å»æï¼ |
| | | */ |
| | | @Excel(name = "ç±»åï¼1 宣æã2 廿ï¼") |
| | | @ApiModelProperty(value = "ç±»åï¼1 宣æã2 廿ï¼") |
| | | private String type; |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 宣æåä¸ä»»å¡å¯¹è±¡ he_task_single |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-04-16 |
| | | */ |
| | | @ApiModel(value = "IvrTask", description = "宣æåä¸ä»»å¡å¯¹è±¡ ") |
| | | @Data |
| | | public class HeTaskSingleVO extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * èªå¢ID |
| | | */ |
| | | @ApiModelProperty(value = "主é®") |
| | | private Long id; |
| | | |
| | | /** |
| | | * æ£è
æå¡ä»»å¡id |
| | | */ |
| | | @Excel(name = "æ£è
æå¡ä»»å¡id") |
| | | @ApiModelProperty(value = "æ£è
æå¡ä»»å¡id") |
| | | private Long svrtaskid; |
| | | |
| | | /** |
| | | * ç
人idï¼ä½åºï¼ç¨ä¸»é®ä¸å
³è表è¿è¡å
³èï¼ |
| | | */ |
| | | @Excel(name = " ç
人id", readConverterExp = "ä½=åºï¼ç¨ä¸»é®ä¸å
³è表è¿è¡å
³è") |
| | | @ApiModelProperty(value = "ç
人idï¼ä½åºï¼ç¨ä¸»é®ä¸å
³è表è¿è¡å
³èï¼") |
| | | private String patientid; |
| | | |
| | | /** |
| | | * 宣æåç±» |
| | | */ |
| | | @Excel(name = " 宣æåç±» ") |
| | | @ApiModelProperty(value = "宣æåç±»") |
| | | private String classification; |
| | | |
| | | /** |
| | | * 宣æid |
| | | */ |
| | | @Excel(name = " 宣æid") |
| | | @ApiModelProperty(value = "宣æid") |
| | | private Long preachcategoryid; |
| | | |
| | | /** |
| | | * 宣æåç§° |
| | | */ |
| | | @Excel(name = " 宣æåç§° ") |
| | | @ApiModelProperty(value = "宣æåç§°") |
| | | private String preachname; |
| | | |
| | | /** |
| | | * çæ¬ |
| | | */ |
| | | @Excel(name = " çæ¬ ") |
| | | @ApiModelProperty(value = "çæ¬") |
| | | private BigDecimal version; |
| | | |
| | | /** |
| | | * 宣æå½¢å¼ 1,å¤åªä½ 2,纸质 3,çµè¯ 4,çä¿¡ 5.微信å
¬ä¼å· 6.微信å°ç¨åº 7.æ¯ä»å® 8.æºè½å°ç¨åº 9.éé |
| | | */ |
| | | @Excel(name = " 宣æå½¢å¼ 1,å¤åªä½ 2,纸质 3,çµè¯ 4,çä¿¡ 5.微信å
¬ä¼å· 6.微信å°ç¨åº 7.æ¯ä»å® 8.æºè½å°ç¨åº 9.éé") |
| | | @ApiModelProperty(value = "宣æå½¢å¼ 1,å¤åªä½ 2,纸质 3,çµè¯ 4,çä¿¡ 5.微信å
¬ä¼å· 6.微信å°ç¨åº 7.æ¯ä»å® 8.æºè½å°ç¨åº 9.éé") |
| | | private String preachform; |
| | | |
| | | /** |
| | | * ç»ç»å½¢å¼ï¼1.å人宣æ 2.å¤äººå®£æ |
| | | */ |
| | | @Excel(name = "ç»ç»å½¢å¼ï¼1.å人宣æ 2.å¤äººå®£æ") |
| | | @ApiModelProperty(value = "ç»ç»å½¢å¼ï¼1.å人宣æ 2.å¤äººå®£æ") |
| | | private Long orgform; |
| | | |
| | | /** |
| | | * 宣ææè¿° |
| | | */ |
| | | @Excel(name = " 宣ææè¿° ") |
| | | @ApiModelProperty(value = "宣ææè¿°") |
| | | private String preachdescription; |
| | | |
| | | /** |
| | | * 宣æå
容 |
| | | */ |
| | | @Excel(name = " 宣æå
容 ") |
| | | @ApiModelProperty(value = "宣æå
容") |
| | | private String preachcontent; |
| | | |
| | | /** |
| | | * 模æ¿ID |
| | | */ |
| | | @Excel(name = " 模æ¿ID ") |
| | | @ApiModelProperty(value = "模æ¿ID") |
| | | private Long templateid; |
| | | |
| | | /** |
| | | * 宣æä»£ç |
| | | */ |
| | | @Excel(name = " 宣æä»£ç ") |
| | | @ApiModelProperty(value = "宣æä»£ç ") |
| | | private String preachcode; |
| | | |
| | | /** |
| | | * ä¸å¿åºID |
| | | */ |
| | | @Excel(name = " ä¸å¿åºID ") |
| | | @ApiModelProperty(value = "ä¸å¿åºID") |
| | | private Long centerlibraryid; |
| | | |
| | | /** |
| | | * æ¯å¦å¯ç¨ |
| | | */ |
| | | @Excel(name = " æ¯å¦å¯ç¨ ") |
| | | @ApiModelProperty(value = "æ¯å¦å¯ç¨") |
| | | private Long isenable; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @Excel(name = " æºæID ") |
| | | @ApiModelProperty(value = "æºæID") |
| | | private String orgid; |
| | | |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @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; |
| | | |
| | | /** |
| | | * æ¯å¦æ¬å° |
| | | */ |
| | | @Excel(name = " æ¯å¦æ¬å° ") |
| | | @ApiModelProperty(value = "æ¯å¦æ¬å°") |
| | | private Long islocal; |
| | | |
| | | /** |
| | | * ä¸å¿åºä»£ç |
| | | */ |
| | | @Excel(name = " ä¸å¿åºä»£ç ") |
| | | @ApiModelProperty(value = "ä¸å¿åºä»£ç ") |
| | | private String centerlibrarycode; |
| | | |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @Excel(name = "ç¶ID") |
| | | @ApiModelProperty(value = "ç¶ID") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * GUID |
| | | */ |
| | | @Excel(name = "GUID") |
| | | @ApiModelProperty(value = "GUID") |
| | | private String guid; |
| | | |
| | | /** |
| | | * ä»»å¡åéæ¶é´ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = "ä»»å¡åéæ¶é´", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "ä»»å¡åéæ¶é´") |
| | | private Date sendTime; |
| | | |
| | | /** |
| | | * æ¯å¦åé ï¼ 0 æååé 1 宿¶åé 2 ç«å³åé |
| | | */ |
| | | @Excel(name = "æ¯å¦åé ï¼ 0 æååé 1 宿¶åé 2 ç«å³åé ") |
| | | @ApiModelProperty(value = " æ¯å¦åé ï¼ 0 æååé 1 宿¶åé 2 ç«å³åé") |
| | | private Long isSend; |
| | | |
| | | /** |
| | | * åéç¶æï¼ 0 失败 1æå |
| | | */ |
| | | @Excel(name = "åéç¶æï¼ 0 失败 1æå") |
| | | @ApiModelProperty(value = "åéç¶æï¼ 0 失败 1æå") |
| | | private String sendState; |
| | | |
| | | /** |
| | | * å¯ææ¬ |
| | | */ |
| | | @Excel(name = "坿æ¬") |
| | | @ApiModelProperty(value = "坿æ¬") |
| | | private String richText; |
| | | |
| | | /** |
| | | * å°±è¯æ¥æ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = "å°±è¯æ¥æ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "å°±è¯æ¥æ") |
| | | private Date admindate; |
| | | |
| | | |
| | | /** |
| | | * åéç±»å: 1 æ¶é´æ®µ 2 æ¶é´ç¹ 3 å³å»åé |
| | | */ |
| | | @Excel(name = "åéç±»å: 1 æ¶é´æ®µ 2 æ¶é´ç¹ 3 å³å»åé") |
| | | @ApiModelProperty(value = "主é®") |
| | | private String sendType; |
| | | |
| | | |
| | | /** |
| | | * åéæ¶é´æ®µ |
| | | */ |
| | | @ApiModelProperty(value = "åéæ¶é´æ®µ ") |
| | | private List<TaskSendTimeVO> sendTimeslot; |
| | | |
| | | |
| | | /** |
| | | * æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤ |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤") |
| | | private Integer isoperation; |
| | | |
| | | /** |
| | | * ææ¬åéåæ° |
| | | */ |
| | | @Excel(name = "ææ¬åéåæ°") |
| | | @ApiModelProperty(value = "ææ¬åéåæ°") |
| | | private Map<String, Map<String, String>> textParam; |
| | | |
| | | /** |
| | | * ç±»åï¼1 宣æã2 å»æï¼ |
| | | */ |
| | | @Excel(name = "ç±»åï¼1 宣æã2 廿ï¼") |
| | | @ApiModelProperty(value = "ç±»åï¼1 宣æã2 廿ï¼") |
| | | private String type; |
| | | |
| | | /** |
| | | * æ£è
ä¸åä¸ä»»å¡å
³è表éå |
| | | */ |
| | | @Excel(name = " 宣æ£è
ä¸åä¸ä»»å¡å
³è表éå") |
| | | @ApiModelProperty(value = "æ£è
ä¸åä¸ä»»å¡å
³è表éå") |
| | | private List<PatTaskRelevance> patTaskRelevances; |
| | | |
| | | } |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | | * è¯é³ä»»å¡å¯¹è±¡ ivr_task |
| | | * |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-24 |
| | | */ |
| | | public class IvrTask extends BaseEntity |
| | | { |
| | | @ApiModel(value = "IvrTask", description = "ä»»å¡å¯¹è±¡") |
| | | @Data |
| | | public class IvrTask extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** */ |
| | | /** |
| | | * ä¸»é® |
| | | */ |
| | | @ApiModelProperty(value = "主é®") |
| | | private Long taskid; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | /** |
| | | * ä»»å¡åç§° |
| | | */ |
| | | @Excel(name = "ä»»å¡åç§° ") |
| | | @ApiModelProperty(value = "ä»»å¡åç§°") |
| | | private String taskname; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | /** |
| | | * 模æ¿ID |
| | | */ |
| | | @Excel(name = "模æ¿ID ") |
| | | @ApiModelProperty(value = "模æ¿ID") |
| | | private String templateid; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | /** |
| | | * 模æ¿åç§° |
| | | */ |
| | | @Excel(name = "模æ¿åç§°") |
| | | @ApiModelProperty(value = "模æ¿åç§°") |
| | | private String templatename; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | /** |
| | | * æ ç¾ä¿¡æ¯ |
| | | */ |
| | | @Excel(name = "æ ç¾ä¿¡æ¯") |
| | | @ApiModelProperty(value = "æ ç¾ä¿¡æ¯") |
| | | private String labelinfo; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | /** |
| | | * ç¶æ |
| | | */ |
| | | @Excel(name = "ç¶æ") |
| | | @ApiModelProperty(value = "ç¶æ") |
| | | private Long state; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | /** |
| | | * æ°é |
| | | */ |
| | | @Excel(name = "æ°é") |
| | | @ApiModelProperty(value = "æ°é") |
| | | private Long count; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | /** |
| | | * æ§è¡ |
| | | */ |
| | | @Excel(name = "æ§è¡") |
| | | @ApiModelProperty(value = "æ§è¡") |
| | | private Long executed; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | /** |
| | | * 䏿§è¡ |
| | | */ |
| | | @Excel(name = "䏿§è¡") |
| | | @ApiModelProperty(value = "䏿§è¡") |
| | | private Long unexecuted; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | /** |
| | | * æ¯å¦å¤±è´¥ |
| | | */ |
| | | @Excel(name = "æ¯å¦å¤±è´¥") |
| | | @ApiModelProperty(value = "æ¯å¦å¤±è´¥") |
| | | private Long fail; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String userid; |
| | | /** |
| | | * æ£è
ID |
| | | */ |
| | | @Excel(name = "æ£è
ID") |
| | | @ApiModelProperty(value = "æ£è
ID") |
| | | private String patientid; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | private String username; |
| | | /** |
| | | * æ£è
å§å |
| | | */ |
| | | @Excel(name = "æ£è
å§å") |
| | | @ApiModelProperty(value = "æ£è
å§å") |
| | | private String patientname; |
| | | |
| | | /** */ |
| | | /** |
| | | * |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "æ·»å æ¶é´") |
| | | private Date addtime; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | /** |
| | | * å®¡æ ¸äººid |
| | | */ |
| | | @Excel(name = "å®¡æ ¸äººid") |
| | | @ApiModelProperty(value = "å®¡æ ¸äººid") |
| | | private String checkuserid; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | /** |
| | | * å®¡æ ¸äºº |
| | | */ |
| | | @Excel(name = "å®¡æ ¸äºº") |
| | | @ApiModelProperty(value = "å®¡æ ¸äºº") |
| | | private String checkusername; |
| | | |
| | | /** */ |
| | | /** |
| | | * å®¡æ ¸äººæ¶é´ |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "å®¡æ ¸äººæ¶é´") |
| | | private Date checktime; |
| | | |
| | | /** 1ï¼åºé¢é访ï¼2ï¼ä½æ£éç¥ï¼3ï¼æ»¡æåº¦è°æ¥ï¼4ï¼å®£æï¼ */ |
| | | /** |
| | | * 1ï¼åºé¢é访ï¼2ï¼ä½æ£éç¥ï¼3ï¼æ»¡æåº¦è°æ¥ï¼4ï¼å®£æï¼ |
| | | */ |
| | | @Excel(name = " 1ï¼åºé¢é访ï¼2ï¼ä½æ£éç¥ï¼3ï¼æ»¡æåº¦è°æ¥ï¼4ï¼å®£æï¼ ") |
| | | @ApiModelProperty(value = "1ï¼åºé¢é访ï¼2ï¼ä½æ£éç¥ï¼3ï¼æ»¡æåº¦è°æ¥ï¼4ï¼å®£æï¼") |
| | | private String type; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | /** |
| | | * ç±»ååç§° |
| | | */ |
| | | @Excel(name = "ç±»ååç§°") |
| | | @ApiModelProperty(value = "ç±»ååç§°") |
| | | private String typename; |
| | | |
| | | /** 0.ä¸ä½¿ç¨æåçä¿¡ 1.ä½¿ç¨æåçä¿¡ */ |
| | | /** |
| | | * 0.ä¸ä½¿ç¨æåçä¿¡ 1.ä½¿ç¨æåçä¿¡ |
| | | */ |
| | | @Excel(name = " 0.ä¸ä½¿ç¨æåçä¿¡ 1.ä½¿ç¨æåçä¿¡ ") |
| | | @ApiModelProperty(value = "ç§å®¤åç§°") |
| | | private Long usebqsms; |
| | | |
| | | /** 0.ä¸ä½¿ç¨æåçä¿¡ 1.ä½¿ç¨æåçä¿¡ */ |
| | | /** |
| | | * 0.ä¸ä½¿ç¨æåçä¿¡ 1.ä½¿ç¨æåçä¿¡ |
| | | */ |
| | | @Excel(name = " 0.ä¸ä½¿ç¨æåçä¿¡ 1.ä½¿ç¨æåçä¿¡ ") |
| | | @ApiModelProperty(value = "0.ä¸ä½¿ç¨æåçä¿¡ 1.ä½¿ç¨æåçä¿¡ ") |
| | | private Long usebhsms; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | /** |
| | | * 0.ä¸ä½¿ç¨æåçä¿¡ 1.ä½¿ç¨æåçä¿¡ |
| | | */ |
| | | @Excel(name = " 0.ä¸ä½¿ç¨æåçä¿¡ 1.ä½¿ç¨æåçä¿¡ ") |
| | | @ApiModelProperty(value = " 0.ä¸ä½¿ç¨æåçä¿¡ 1.ä½¿ç¨æåçä¿¡ ") |
| | | private Long usesendsms; |
| | | |
| | | /** */ |
| | | @Excel(name = " ") |
| | | /** |
| | | * é¨é¨code |
| | | */ |
| | | @Excel(name = "é¨é¨code") |
| | | @ApiModelProperty(value = "é¨é¨code") |
| | | private String deptcode; |
| | | |
| | | /** å 餿 è®° */ |
| | | /** |
| | | * å é¤ |
| | | */ |
| | | @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 setTaskid(Long taskid) |
| | | { |
| | | this.taskid = taskid; |
| | | } |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @Excel(name = " ç¶ID ") |
| | | @ApiModelProperty(value = "ç¶ID ") |
| | | private Integer pid; |
| | | |
| | | public Long getTaskid() |
| | | { |
| | | return taskid; |
| | | } |
| | | public void setTaskname(String taskname) |
| | | { |
| | | this.taskname = taskname; |
| | | } |
| | | /** |
| | | * guid |
| | | */ |
| | | @Excel(name = " guid ") |
| | | @ApiModelProperty(value = "guid ") |
| | | private String guid; |
| | | |
| | | public String getTaskname() |
| | | { |
| | | return taskname; |
| | | } |
| | | public void setTemplateid(String templateid) |
| | | { |
| | | this.templateid = templateid; |
| | | } |
| | | /** |
| | | * ä»»å¡å½¢å¼ 1,å¤åªä½ 2,纸质 3,çµè¯ 4,çä¿¡ 5.微信å
¬ä¼å· 6.微信å°ç¨åº 7.æ¯ä»å® 8.æºè½å°ç¨åº 9.éé |
| | | */ |
| | | @Excel(name = " ä»»å¡å½¢å¼ 1,å¤åªä½ 2,纸质 3,çµè¯ 4,çä¿¡ 5.微信å
¬ä¼å· 6.微信å°ç¨åº 7.æ¯ä»å® 8.æºè½å°ç¨åº 9.éé ") |
| | | @ApiModelProperty(value = " ä»»å¡å½¢å¼ 1,å¤åªä½ 2,纸质 3,çµè¯ 4,çä¿¡ 5.微信å
¬ä¼å· 6.微信å°ç¨åº 7.æ¯ä»å® 8.æºè½å°ç¨åº 9.éé ") |
| | | private String preachform; |
| | | |
| | | public String getTemplateid() |
| | | { |
| | | return templateid; |
| | | } |
| | | public void setTemplatename(String templatename) |
| | | { |
| | | this.templatename = templatename; |
| | | } |
| | | /** |
| | | * æ¯å¦åé ï¼ 0 æååé 1 宿¶åé 2 ç«å³åé |
| | | */ |
| | | @Excel(name = " æ¯å¦åé ï¼ 0 æååé 1 宿¶åé 2 ç«å³åé ") |
| | | @ApiModelProperty(value = "æ¯å¦åé ï¼ 0 æååé 1 宿¶åé 2 ç«å³åé ") |
| | | private Integer isSend; |
| | | |
| | | public String getTemplatename() |
| | | { |
| | | return templatename; |
| | | } |
| | | public void setLabelinfo(String labelinfo) |
| | | { |
| | | this.labelinfo = labelinfo; |
| | | } |
| | | /** |
| | | * åéç¶æï¼ 0 失败 1æå |
| | | */ |
| | | @Excel(name = " åéç¶æï¼ 0 失败 1æå ") |
| | | @ApiModelProperty(value = "åéç¶æï¼ 0 失败 1æå ") |
| | | private String sendState; |
| | | |
| | | public String getLabelinfo() |
| | | { |
| | | return labelinfo; |
| | | } |
| | | public void setState(Long state) |
| | | { |
| | | this.state = state; |
| | | } |
| | | /** |
| | | * ææ¬åéåæ° |
| | | */ |
| | | @Excel(name = " ææ¬åéåæ° ") |
| | | @ApiModelProperty(value = "ææ¬åéåæ° ") |
| | | private String param; |
| | | |
| | | public Long getState() |
| | | { |
| | | return state; |
| | | } |
| | | public void setCount(Long count) |
| | | { |
| | | this.count = count; |
| | | } |
| | | |
| | | public Long getCount() |
| | | { |
| | | return count; |
| | | } |
| | | public void setExecuted(Long executed) |
| | | { |
| | | this.executed = executed; |
| | | } |
| | | |
| | | public Long getExecuted() |
| | | { |
| | | return executed; |
| | | } |
| | | public void setUnexecuted(Long unexecuted) |
| | | { |
| | | this.unexecuted = unexecuted; |
| | | } |
| | | |
| | | public Long getUnexecuted() |
| | | { |
| | | return unexecuted; |
| | | } |
| | | public void setFail(Long fail) |
| | | { |
| | | this.fail = fail; |
| | | } |
| | | |
| | | public Long getFail() |
| | | { |
| | | return fail; |
| | | } |
| | | public void setUserid(String userid) |
| | | { |
| | | this.userid = userid; |
| | | } |
| | | |
| | | public String getUserid() |
| | | { |
| | | return userid; |
| | | } |
| | | public void setUsername(String username) |
| | | { |
| | | this.username = username; |
| | | } |
| | | |
| | | public String getUsername() |
| | | { |
| | | return username; |
| | | } |
| | | public void setAddtime(Date addtime) |
| | | { |
| | | this.addtime = addtime; |
| | | } |
| | | |
| | | public Date getAddtime() |
| | | { |
| | | return addtime; |
| | | } |
| | | public void setCheckuserid(String checkuserid) |
| | | { |
| | | this.checkuserid = checkuserid; |
| | | } |
| | | |
| | | public String getCheckuserid() |
| | | { |
| | | return checkuserid; |
| | | } |
| | | public void setCheckusername(String checkusername) |
| | | { |
| | | this.checkusername = checkusername; |
| | | } |
| | | |
| | | public String getCheckusername() |
| | | { |
| | | return checkusername; |
| | | } |
| | | public void setChecktime(Date checktime) |
| | | { |
| | | this.checktime = checktime; |
| | | } |
| | | |
| | | public Date getChecktime() |
| | | { |
| | | return checktime; |
| | | } |
| | | public void setType(String type) |
| | | { |
| | | this.type = type; |
| | | } |
| | | |
| | | public String getType() |
| | | { |
| | | return type; |
| | | } |
| | | public void setTypename(String typename) |
| | | { |
| | | this.typename = typename; |
| | | } |
| | | |
| | | public String getTypename() |
| | | { |
| | | return typename; |
| | | } |
| | | public void setUsebqsms(Long usebqsms) |
| | | { |
| | | this.usebqsms = usebqsms; |
| | | } |
| | | |
| | | public Long getUsebqsms() |
| | | { |
| | | return usebqsms; |
| | | } |
| | | public void setUsebhsms(Long usebhsms) |
| | | { |
| | | this.usebhsms = usebhsms; |
| | | } |
| | | |
| | | public Long getUsebhsms() |
| | | { |
| | | return usebhsms; |
| | | } |
| | | public void setUsesendsms(Long usesendsms) |
| | | { |
| | | this.usesendsms = usesendsms; |
| | | } |
| | | |
| | | public Long getUsesendsms() |
| | | { |
| | | return usesendsms; |
| | | } |
| | | public void setDeptcode(String deptcode) |
| | | { |
| | | this.deptcode = deptcode; |
| | | } |
| | | |
| | | public String getDeptcode() |
| | | { |
| | | return deptcode; |
| | | } |
| | | public void setDelFlag(String delFlag) |
| | | { |
| | | this.delFlag = delFlag; |
| | | } |
| | | |
| | | public String getDelFlag() |
| | | { |
| | | return delFlag; |
| | | } |
| | | public void setIsupload(Long isupload) |
| | | { |
| | | this.isupload = isupload; |
| | | } |
| | | |
| | | public Long getIsupload() |
| | | { |
| | | return isupload; |
| | | } |
| | | public void setUploadTime(Date uploadTime) |
| | | { |
| | | this.uploadTime = uploadTime; |
| | | } |
| | | |
| | | public Date getUploadTime() |
| | | { |
| | | return uploadTime; |
| | | } |
| | | public void setOrgid(String orgid) |
| | | { |
| | | this.orgid = orgid; |
| | | } |
| | | |
| | | public String getOrgid() |
| | | { |
| | | return orgid; |
| | | } |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("taskid", getTaskid()) |
| | | .append("taskname", getTaskname()) |
| | | .append("templateid", getTemplateid()) |
| | | .append("templatename", getTemplatename()) |
| | | .append("labelinfo", getLabelinfo()) |
| | | .append("state", getState()) |
| | | .append("count", getCount()) |
| | | .append("executed", getExecuted()) |
| | | .append("unexecuted", getUnexecuted()) |
| | | .append("fail", getFail()) |
| | | .append("userid", getUserid()) |
| | | .append("username", getUsername()) |
| | | .append("addtime", getAddtime()) |
| | | .append("checkuserid", getCheckuserid()) |
| | | .append("checkusername", getCheckusername()) |
| | | .append("checktime", getChecktime()) |
| | | .append("type", getType()) |
| | | .append("typename", getTypename()) |
| | | .append("usebqsms", getUsebqsms()) |
| | | .append("usebhsms", getUsebhsms()) |
| | | .append("usesendsms", getUsesendsms()) |
| | | .append("deptcode", getDeptcode()) |
| | | .append("delFlag", getDelFlag()) |
| | | .append("updateBy", getUpdateBy()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .append("createBy", getCreateBy()) |
| | | .append("createTime", getCreateTime()) |
| | | .append("isupload", getIsupload()) |
| | | .append("uploadTime", getUploadTime()) |
| | | .append("orgid", getOrgid()) |
| | | .toString(); |
| | | } |
| | | } |
| | |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | |
| | | /** |
| | | * åä¸ä»»å¡ï¼é访ï¼å¯¹è±¡ ivr_taskcall |
| | | * åä¸ä»»å¡ï¼é访ï¼å¯¹è±¡ ivr_tasksingle |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-02-02 |
| | | */ |
| | | @Data |
| | | public class IvrTaskSingle extends BaseEntity { |
| | | @ApiModelProperty(value = "æåæ¶é´") |
| | | @ApiModelProperty(value = "åä¸ä»»å¡ï¼é访ï¼") |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @Excel(name = "åºå·") |
| | | @ApiModelProperty(value = "åºå·") |
| | | private Long badNo; |
| | | private String badNo; |
| | | |
| | | /** |
| | | * ç¾ç
åç§° |
| | |
| | | @Excel(name = " å°±è¯ç±»åï¼1é¨è¯ 2åºé¢ï¼") |
| | | @ApiModelProperty(value = "å°±è¯ç±»åï¼1é¨è¯ 2åºé¢ï¼") |
| | | private String hospType; |
| | | |
| | | |
| | | /** |
| | | * 微信 |
| | | */ |
| | | @Excel(name = " 微信") |
| | | @ApiModelProperty(value = "微信") |
| | | private String wechat; |
| | | |
| | | /** |
| | | * è¯æåç§° |
| | | */ |
| | | @Excel(name = " è¯æåç§°") |
| | | @ApiModelProperty(value = "è¯æåç§°") |
| | | private String diagname; |
| | | |
| | | /** |
| | | * ç§å®¤åç§° |
| | | */ |
| | | @Excel(name = "ç§å®¤åç§°") |
| | | @ApiModelProperty(value = "ç§å®¤åç§°") |
| | | private String deptname; |
| | | |
| | | /** |
| | | * å°±è¯æ¥æ |
| | | */ |
| | | @Excel(name = " å°±è¯æ¥æ") |
| | | @ApiModelProperty(value = "å°±è¯æ¥æ") |
| | | private Date admindate; |
| | | |
| | | /** |
| | | * ç
æ¿å· |
| | | */ |
| | | @Excel(name = " ç
æ¿å·") |
| | | @ApiModelProperty(value = "ç
æ¿å·") |
| | | private String roomno; |
| | | |
| | | } |
| | |
| | | @ApiModelProperty(value = "å°±è¯ç±»åï¼1é¨è¯ 2åºé¢ï¼") |
| | | private String hospType; |
| | | |
| | | /** |
| | | * 微信 |
| | | */ |
| | | @Excel(name = " 微信") |
| | | @ApiModelProperty(value = "微信") |
| | | private String wechat; |
| | | |
| | | |
| | | /** |
| | | * è¯æåç§° |
| | | */ |
| | | @Excel(name = " è¯æåç§°") |
| | | @ApiModelProperty(value = "è¯æåç§°") |
| | | private String diagname; |
| | | |
| | | /** |
| | | * ç§å®¤åç§° |
| | | */ |
| | | @Excel(name = "ç§å®¤åç§°") |
| | | @ApiModelProperty(value = "ç§å®¤åç§°") |
| | | private String deptname; |
| | | |
| | | /** |
| | | * å°±è¯æ¥æ |
| | | */ |
| | | @Excel(name = " å°±è¯æ¥æ") |
| | | @ApiModelProperty(value = "å°±è¯æ¥æ") |
| | | private Date admindate; |
| | | |
| | | /** |
| | | * ç
æ¿å· |
| | | */ |
| | | @Excel(name = " ç
æ¿å·") |
| | | @ApiModelProperty(value = "ç
æ¿å·") |
| | | private String roomno; |
| | | |
| | | |
| | | @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(); |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | |
| | | |
| | | /** |
| | | * æ£è
ä½é¢è®°å½å¯¹è±¡ pat_med_inhosp |
| | | * |
| | | * |
| | | * @author smartor |
| | | * @date 2023-03-04 |
| | | */ |
| | | @ApiModel(value = "PatMedInhosp", description = "æ£è
ä½é¢è®°å½å¯¹è±¡") |
| | | @Data |
| | | public class PatMedInhosp extends BaseEntity |
| | | { |
| | | public class PatMedInhosp extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** èªå¢ID */ |
| | | /** |
| | | * èªå¢ID |
| | | */ |
| | | @ApiModelProperty(value = "èªå¢ID") |
| | | private Long inhospid; |
| | | |
| | | /** èªå¢ID */ |
| | | /** |
| | | * èªå¢ID |
| | | */ |
| | | @ApiModelProperty(value = "èªå¢ID") |
| | | private String inhospno; |
| | | |
| | | /** æµæ°´å· */ |
| | | /** |
| | | * æµæ°´å· |
| | | */ |
| | | @ApiModelProperty(value = "æµæ°´å·") |
| | | private String serialnum; |
| | | |
| | | /** å»é¢åç§° */ |
| | | /** |
| | | * å»é¢åç§° |
| | | */ |
| | | @ApiModelProperty(value = "å»é¢åç§°") |
| | | @Excel(name = " å»é¢åç§° ") |
| | | private String hospitalname; |
| | | |
| | | /** å»é¢ç¼å· */ |
| | | /** |
| | | * å»é¢ç¼å· |
| | | */ |
| | | @ApiModelProperty(value = "å»é¢ç¼å·") |
| | | private String hospitalcode; |
| | | |
| | | /** é¢åºç¼å· */ |
| | | /** |
| | | * é¢åºç¼å· |
| | | */ |
| | | @ApiModelProperty(value = "é¢åºç¼å·") |
| | | private String hospitaldistrictcode; |
| | | |
| | | /** é¢åºåç§° */ |
| | | /** |
| | | * é¢åºåç§° |
| | | */ |
| | | @ApiModelProperty(value = "é¢åºåç§°") |
| | | @Excel(name = " é¢åºåç§° ") |
| | | private String hospitaldistrictname; |
| | | |
| | | /** å
¥é¢è¯æICDå¼ */ |
| | | /** |
| | | * å
¥é¢è¯æICDå¼ |
| | | */ |
| | | @ApiModelProperty(value = "å
¥é¢è¯æICDå¼") |
| | | private String icd10code; |
| | | |
| | | /** å
¥é¢è¯æåç§° */ |
| | | /** |
| | | * å
¥é¢è¯æåç§° |
| | | */ |
| | | @ApiModelProperty(value = "å
¥é¢è¯æåç§°") |
| | | private String diagname; |
| | | |
| | | /** å
¥é¢æ¶é´ */ |
| | | /** |
| | | * å
¥é¢æ¶é´ |
| | | */ |
| | | @ApiModelProperty(value = "å
¥é¢æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " å
¥é¢æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date starttime; |
| | | |
| | | /** åºé¢æ¶é´ */ |
| | | /** |
| | | * åºé¢æ¶é´ |
| | | */ |
| | | @ApiModelProperty(value = "åºé¢æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = " åºé¢æ¶é´ ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date endtime; |
| | | |
| | | /** å
¥é¢ç§å®¤ä»£ç */ |
| | | /** |
| | | * å
¥é¢ç§å®¤ä»£ç |
| | | */ |
| | | @ApiModelProperty(value = "å
¥é¢ç§å®¤ä»£ç ") |
| | | private String deptcode; |
| | | |
| | | /** å
¥é¢ç§å®¤åç§° */ |
| | | /** |
| | | * å
¥é¢ç§å®¤åç§° |
| | | */ |
| | | @ApiModelProperty(value = "å
¥é¢ç§å®¤åç§°") |
| | | private String deptname; |
| | | |
| | | /** æ¿é´å· */ |
| | | /** |
| | | * æ¿é´å· |
| | | */ |
| | | @ApiModelProperty(value = "æ¿é´å·") |
| | | private String roomno; |
| | | |
| | | /** åºä½å· */ |
| | | /** |
| | | * åºä½å· |
| | | */ |
| | | @ApiModelProperty(value = "åºä½å·") |
| | | @Excel(name = " åºä½å· ") |
| | | private String bedno; |
| | | private String bedNo; |
| | | |
| | | /** æºæID */ |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @ApiModelProperty(value = "æºæID") |
| | | @Excel(name = " æºæID ") |
| | | private String orgid; |
| | | |
| | | /** å 餿 è®° */ |
| | | /** |
| | | * å 餿 è®° |
| | | */ |
| | | @ApiModelProperty(value = "å 餿 è®°") |
| | | private String delFlag; |
| | | |
| | | /** ä¸ä¼ æ è®° */ |
| | | /** |
| | | * ä¸ä¼ æ è®° |
| | | */ |
| | | @ApiModelProperty(value = "ä¸ä¼ æ è®°") |
| | | private Long isupload; |
| | | |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @ApiModelProperty(value = "ä¸ä¼ æ¶é´") |
| | | private Date uploadTime; |
| | | |
| | | /** æ¡£æ¡ID */ |
| | | /** |
| | | * æ¡£æ¡ID |
| | | */ |
| | | @ApiModelProperty(value = "æ¡£æ¡ID") |
| | | private Long patid; |
| | | |
| | | /** åºé¢è¯æ */ |
| | | /** |
| | | * åºé¢è¯æ |
| | | */ |
| | | @ApiModelProperty(value = "åºé¢è¯æ") |
| | | @Excel(name = " åºé¢è¯æ ") |
| | | private String leavediagname; |
| | | |
| | | /** åºé¢è¯æICDå¼ */ |
| | | /** |
| | | * åºé¢è¯æICDå¼ |
| | | */ |
| | | @ApiModelProperty(value = "åºé¢è¯æICDå¼") |
| | | private String leaveicd10code; |
| | | |
| | | /** å»çå·¥å· */ |
| | | /** |
| | | * å»çå·¥å· |
| | | */ |
| | | @ApiModelProperty(value = "å»çå·¥å·") |
| | | private String drcode; |
| | | |
| | | /** å»çåç§° */ |
| | | /** |
| | | * å»çåç§° |
| | | */ |
| | | @ApiModelProperty(value = "å»çåç§°") |
| | | @Excel(name = " å»çåç§° ") |
| | | private String drname; |
| | | |
| | | /** æ¯å¦çææ¹æ¡ç¶æ;0æªçæ 1çæå
¥é¢ 2çæåºé¢ 9æ å¹é
æ¹æ¡ */ |
| | | /** |
| | | * æ¯å¦çææ¹æ¡ç¶æ;0æªçæ 1çæå
¥é¢ 2çæåºé¢ 9æ å¹é
æ¹æ¡ |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦çææ¹æ¡ç¶æ;0æªçæ 1çæå
¥é¢ 2çæåºé¢ 9æ å¹é
æ¹æ¡") |
| | | private Long schemestatus; |
| | | |
| | | /** æ¯å¦çæéç¨æ¹æ¡ç¶æ;0æªçæ 1çæ 9æ å¹é
æ¹æ¡ */ |
| | | /** |
| | | * æ¯å¦çæéç¨æ¹æ¡ç¶æ;0æªçæ 1çæ 9æ å¹é
æ¹æ¡ |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦çæéç¨æ¹æ¡ç¶æ;0æªçæ 1çæ 9æ å¹é
æ¹æ¡") |
| | | private Long generalschemestatus; |
| | | |
| | | /** åºé¢ç§å®¤ä»£ç */ |
| | | /** |
| | | * åºé¢ç§å®¤ä»£ç |
| | | */ |
| | | @ApiModelProperty(value = "åºé¢ç§å®¤ä»£ç ") |
| | | private String leaveldeptcode; |
| | | |
| | | /** åºé¢ç§å®¤åç§° */ |
| | | /** |
| | | * åºé¢ç§å®¤åç§° |
| | | */ |
| | | @ApiModelProperty(value = "åºé¢ç§å®¤åç§°") |
| | | @Excel(name = " åºé¢ç§å®¤åç§° ") |
| | | private String leaveldeptname; |
| | | |
| | | /** ç
åºID */ |
| | | /** |
| | | * ç
åºID |
| | | */ |
| | | @ApiModelProperty(value = "ç
åºID") |
| | | private Long hospitaldistrictid; |
| | | |
| | | /** åºé¢ç
åºç¼å· */ |
| | | /** |
| | | * åºé¢ç
åºç¼å· |
| | | */ |
| | | @ApiModelProperty(value = "åºé¢ç
åºç¼å·") |
| | | private String leavehospitaldistrictcode; |
| | | |
| | | /** åºé¢ç
åºåç§° */ |
| | | /** |
| | | * åºé¢ç
åºåç§° |
| | | */ |
| | | @ApiModelProperty(value = "åºé¢ç
åºåç§°") |
| | | @Excel(name = " åºé¢ç
åºåç§° ") |
| | | private String leavehospitaldistrictname; |
| | | |
| | | /** åºé¢ç
åºID */ |
| | | /** |
| | | * åºé¢ç
åºID |
| | | */ |
| | | @ApiModelProperty(value = "åºé¢ç
åºID") |
| | | private Long leavehospitaldistrictid; |
| | | |
| | | /** å
¥é¢ç§å®¤ID */ |
| | | /** |
| | | * å
¥é¢ç§å®¤ID |
| | | */ |
| | | @ApiModelProperty(value = "å
¥é¢ç§å®¤ID") |
| | | private Long deptid; |
| | | |
| | | /** åºé¢ç§å®¤ID */ |
| | | /** |
| | | * åºé¢ç§å®¤ID |
| | | */ |
| | | @ApiModelProperty(value = "åºé¢ç§å®¤ID") |
| | | private Long leaveldeptid; |
| | | |
| | | /** æ¹æ¡ç¶ææä½æ¶é´ */ |
| | | /** |
| | | * æ¹æ¡ç¶ææä½æ¶é´ |
| | | */ |
| | | @ApiModelProperty(value = "æ¹æ¡ç¶ææä½æ¶é´") |
| | | private Date schemetime; |
| | | |
| | | @Override |
| | | public String toString() { |
| | | return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
| | | .append("inhospid", getInhospid()) |
| | | .append("serialnum", getSerialnum()) |
| | | .append("hospitalname", getHospitalname()) |
| | | .append("hospitalcode", getHospitalcode()) |
| | | .append("hospitaldistrictcode", getHospitaldistrictcode()) |
| | | .append("hospitaldistrictname", getHospitaldistrictname()) |
| | | .append("icd10code", getIcd10code()) |
| | | .append("diagname", getDiagname()) |
| | | .append("starttime", getStarttime()) |
| | | .append("endtime", getEndtime()) |
| | | .append("deptcode", getDeptcode()) |
| | | .append("deptname", getDeptname()) |
| | | .append("roomno", getRoomno()) |
| | | .append("bedno", getBedno()) |
| | | .append("orgid", getOrgid()) |
| | | .append("delFlag", getDelFlag()) |
| | | .append("updateBy", getUpdateBy()) |
| | | .append("updateTime", getUpdateTime()) |
| | | .append("createBy", getCreateBy()) |
| | | .append("createTime", getCreateTime()) |
| | | .append("isupload", getIsupload()) |
| | | .append("uploadTime", getUploadTime()) |
| | | .append("patid", getPatid()) |
| | | .append("leavediagname", getLeavediagname()) |
| | | .append("leaveicd10code", getLeaveicd10code()) |
| | | .append("drcode", getDrcode()) |
| | | .append("drname", getDrname()) |
| | | .append("schemestatus", getSchemestatus()) |
| | | .append("generalschemestatus", getGeneralschemestatus()) |
| | | .append("leaveldeptcode", getLeaveldeptcode()) |
| | | .append("leaveldeptname", getLeaveldeptname()) |
| | | .append("hospitaldistrictid", getHospitaldistrictid()) |
| | | .append("leavehospitaldistrictcode", getLeavehospitaldistrictcode()) |
| | | .append("leavehospitaldistrictname", getLeavehospitaldistrictname()) |
| | | .append("leavehospitaldistrictid", getLeavehospitaldistrictid()) |
| | | .append("deptid", getDeptid()) |
| | | .append("leaveldeptid", getLeaveldeptid()) |
| | | .append("schemetime", getSchemetime()) |
| | | .toString(); |
| | | } |
| | | } |
| | |
| | | */ |
| | | @Excel(name = "åºå·") |
| | | @ApiModelProperty("åºå·") |
| | | private Long bedno; |
| | | private String bedNo; |
| | | |
| | | /** |
| | | * ç§å®¤ |
| | | */ |
| | | @Excel(name = "ç§å®¤") |
| | | @ApiModelProperty("ç§å®¤") |
| | | private String dept; |
| | | private String deptName; |
| | | |
| | | /** |
| | | * ç§å®¤ |
| | |
| | | private String receiveTime; |
| | | |
| | | /** |
| | | * è¯æåç§° |
| | | */ |
| | | @Excel(name = "è¯æåç§°") |
| | | @ApiModelProperty(value = "è¯æåç§°") |
| | | private String diagname; |
| | | |
| | | /** |
| | | * æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤ |
| | | */ |
| | | @ApiModelProperty(value = "æ¯å¦å卿ä½ï¼1 æ°å¢ 2ä¿®æ¹ 3å é¤") |
| | | private Integer isoperation; |
| | | |
| | | /** |
| | | * ç
æ¿å· |
| | | */ |
| | | @Excel(name = "ç
æ¿å·") |
| | | @ApiModelProperty(value = "ç
æ¿å·") |
| | | private String roomno; |
| | | |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import com.smartor.domain.HeTaskSingle; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 宣æåä¸ä»»å¡Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-04-16 |
| | | */ |
| | | @Mapper |
| | | public interface HeTaskSingleMapper { |
| | | /** |
| | | * æ¥è¯¢å®£æåä¸ä»»å¡ |
| | | * |
| | | * @param id 宣æåä¸ä»»å¡ä¸»é® |
| | | * @return 宣æåä¸ä»»å¡ |
| | | */ |
| | | public HeTaskSingle selectHeTaskSingleById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢å®£æåä¸ä»»å¡å表 |
| | | * |
| | | * @param heTaskSingle 宣æåä¸ä»»å¡ |
| | | * @return 宣æåä¸ä»»å¡éå |
| | | */ |
| | | public List<HeTaskSingle> selectHeTaskSingleList(HeTaskSingle heTaskSingle); |
| | | |
| | | /** |
| | | * æ°å¢å®£æåä¸ä»»å¡ |
| | | * |
| | | * @param heTaskSingle 宣æåä¸ä»»å¡ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertHeTaskSingle(HeTaskSingle heTaskSingle); |
| | | |
| | | /** |
| | | * ä¿®æ¹å®£æåä¸ä»»å¡ |
| | | * |
| | | * @param heTaskSingle 宣æåä¸ä»»å¡ |
| | | * @return ç»æ |
| | | */ |
| | | public int updateHeTaskSingle(HeTaskSingle heTaskSingle); |
| | | |
| | | /** |
| | | * å é¤å®£æåä¸ä»»å¡ |
| | | * |
| | | * @param id 宣æåä¸ä»»å¡ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteHeTaskSingleById(Long id); |
| | | |
| | | /** |
| | | * æ¹éå é¤å®£æåä¸ä»»å¡ |
| | | * |
| | | * @param ids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteHeTaskSingleByIds(Long[] ids); |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.smartor.domain.HeTaskSingle; |
| | | import com.smartor.domain.HeTaskSingleVO; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 宣æåä¸ä»»å¡Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-04-16 |
| | | */ |
| | | public interface IHeTaskSingleService { |
| | | /** |
| | | * æ¥è¯¢å®£æåä¸ä»»å¡ |
| | | * |
| | | * @param id 宣æåä¸ä»»å¡ä¸»é® |
| | | * @return 宣æåä¸ä»»å¡ |
| | | */ |
| | | public HeTaskSingle selectHeTaskSingleById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢å®£æåä¸ä»»å¡å表 |
| | | * |
| | | * @param heTaskSingle 宣æåä¸ä»»å¡ |
| | | * @return 宣æåä¸ä»»å¡éå |
| | | */ |
| | | public List<HeTaskSingle> selectHeTaskSingleList(HeTaskSingle heTaskSingle); |
| | | |
| | | /** |
| | | * æ°å¢å®£æåä¸ä»»å¡ |
| | | * |
| | | * @param heTaskSingle 宣æåä¸ä»»å¡ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertHeTaskSingle(HeTaskSingle heTaskSingle); |
| | | |
| | | public Integer addOrUpdateHeTaskSinle(HeTaskSingleVO heTaskSingleVO); |
| | | |
| | | /** |
| | | * ä¿®æ¹å®£æåä¸ä»»å¡ |
| | | * |
| | | * @param heTaskSingle 宣æåä¸ä»»å¡ |
| | | * @return ç»æ |
| | | */ |
| | | public int updateHeTaskSingle(HeTaskSingle heTaskSingle); |
| | | |
| | | /** |
| | | * æ¹éå é¤å®£æåä¸ä»»å¡ |
| | | * |
| | | * @param ids éè¦å é¤ç宣æåä¸ä»»å¡ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteHeTaskSingleByIds(Long[] ids); |
| | | |
| | | /** |
| | | * å é¤å®£æåä¸ä»»å¡ä¿¡æ¯ |
| | | * |
| | | * @param id 宣æåä¸ä»»å¡ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deleteHeTaskSingleById(Long id); |
| | | |
| | | public HeTaskSingleVO queryHeTaskByCondition(HeTaskSingle heTaskSingle); |
| | | } |
| | |
| | | public List<IvrTaskSingle> selectIvrTaskcallList(IvrTaskSingle ivrTaskcall); |
| | | |
| | | /** |
| | | * æ ¹æ®æ¡ä»¶æ¥è¯¢ä»»å¡ä¿¡æ¯ |
| | | * |
| | | * @param ivrTaskcall |
| | | * @return |
| | | */ |
| | | public IvrTaskSingleVO queryTaskByCondition(IvrTaskSingle ivrTaskcall); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
éè®¿ä¿¡æ¯ |
| | | */ |
| | | public List<IvrVisitInfoVo> patItem(IvrTaskSingle ivrTaskcall); |
| | | public List<IvrTaskSingle> patItem(IvrTaskSingle ivrTaskcall); |
| | | |
| | | /** |
| | | * æ°å¢åä¸ä»»å¡ï¼éè®¿ï¼ |
¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import com.fasterxml.jackson.core.JsonProcessingException; |
| | | import com.fasterxml.jackson.databind.ObjectMapper; |
| | | 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.HeTaskSingleMapper; |
| | | import com.smartor.service.IHeTaskSingleService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.collections4.CollectionUtils; |
| | | import org.apache.commons.lang3.ObjectUtils; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 宣æåä¸ä»»å¡Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2024-04-16 |
| | | */ |
| | | @Slf4j |
| | | @Service |
| | | public class HeTaskSingleServiceImpl implements IHeTaskSingleService { |
| | | @Autowired |
| | | private HeTaskSingleMapper heTaskSingleMapper; |
| | | |
| | | @Autowired |
| | | private HeTaskMapper heTaskMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢å®£æåä¸ä»»å¡ |
| | | * |
| | | * @param id 宣æåä¸ä»»å¡ä¸»é® |
| | | * @return 宣æåä¸ä»»å¡ |
| | | */ |
| | | @Override |
| | | public HeTaskSingle selectHeTaskSingleById(Long id) { |
| | | return heTaskSingleMapper.selectHeTaskSingleById(id); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢å®£æåä¸ä»»å¡å表 |
| | | * |
| | | * @param heTaskSingle 宣æåä¸ä»»å¡ |
| | | * @return 宣æåä¸ä»»å¡ |
| | | */ |
| | | @Override |
| | | public List<HeTaskSingle> selectHeTaskSingleList(HeTaskSingle heTaskSingle) { |
| | | return heTaskSingleMapper.selectHeTaskSingleList(heTaskSingle); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢å®£æåä¸ä»»å¡ |
| | | * |
| | | * @param heTaskSingle 宣æåä¸ä»»å¡ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertHeTaskSingle(HeTaskSingle heTaskSingle) { |
| | | HeTask heTask = DtoConversionUtils.sourceToTarget(heTaskSingle, HeTask.class); |
| | | int heTaskId = heTaskMapper.insertHeTask(heTask); |
| | | heTaskSingle.setSvrtaskid(Long.valueOf(heTaskId)); |
| | | heTaskSingle.setCreateTime(DateUtils.getNowDate()); |
| | | return heTaskSingleMapper.insertHeTaskSingle(heTaskSingle); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æä¿®æ¹å®£æåä¸ä»»å¡ |
| | | * |
| | | * @param heTaskSingleVO |
| | | * @return |
| | | */ |
| | | @Transactional(rollbackFor = Exception.class) |
| | | @Override |
| | | public Integer addOrUpdateHeTaskSinle(HeTaskSingleVO heTaskSingleVO) { |
| | | if (ObjectUtils.isEmpty(heTaskSingleVO)) { |
| | | log.info("宣æä»»å¡å
¥å为空ï¼è¯·æ£æ¥å
¥å"); |
| | | throw new BaseException("宣æä»»å¡å
¥å为空ï¼è¯·æ£æ¥å
¥å"); |
| | | } |
| | | Integer integer = null; |
| | | HeTask heTask = DtoConversionUtils.sourceToTarget(heTaskSingleVO, HeTask.class); |
| | | if (heTaskSingleVO.getIsoperation() != null && heTaskSingleVO.getIsoperation() == 1) { |
| | | //å¾ä»»å¡è¡¨ä¸ï¼æ°å¢ä»»å¡ |
| | | Integer taskId = heTaskMapper.insertHeTask(heTask); |
| | | heTaskSingleVO.setSvrtaskid(taskId.longValue()); |
| | | //æ°å¢ |
| | | if (CollectionUtils.isNotEmpty(heTaskSingleVO.getPatTaskRelevances())) { |
| | | for (PatTaskRelevance patTaskRelevance : heTaskSingleVO.getPatTaskRelevances()) { |
| | | //å°ä»»å¡ä¿¡æ¯æ°å¢å°å®£æä»»å¡è¡¨ä¸ |
| | | HeTaskSingle heTaskSingle = getHeTaskSingle(heTaskSingleVO, patTaskRelevance); |
| | | integer = heTaskSingleMapper.insertHeTaskSingle(heTaskSingle); |
| | | } |
| | | } |
| | | } else if (heTaskSingleVO.getIsoperation() != null && heTaskSingleVO.getIsoperation() == 2) { |
| | | //ä»»å¡ä¿®æ¹ |
| | | heTaskMapper.updateHeTask(heTask); |
| | | |
| | | if (CollectionUtils.isNotEmpty(heTaskSingleVO.getPatTaskRelevances())) { |
| | | for (PatTaskRelevance patTaskRelevance : heTaskSingleVO.getPatTaskRelevances()) { |
| | | HeTaskSingle heTaskSingle = getHeTaskSingle(heTaskSingleVO, patTaskRelevance); |
| | | heTaskSingle.setTextParam(new Gson().toJson(heTaskSingleVO.getTextParam())); |
| | | if (patTaskRelevance.getIsoperation() == 2) heTaskSingleMapper.updateHeTaskSingle(heTaskSingle); |
| | | if (patTaskRelevance.getIsoperation() == 1) heTaskSingleMapper.insertHeTaskSingle(heTaskSingle); |
| | | integer = heTaskSingle.getId().intValue(); |
| | | } |
| | | } |
| | | } else if (heTaskSingleVO.getIsoperation() != null && heTaskSingleVO.getIsoperation() == 3) { |
| | | heTaskSingleMapper.deleteHeTaskSingleById(heTaskSingleVO.getId()); |
| | | |
| | | integer = heTaskSingleVO.getId().intValue(); |
| | | } |
| | | return integer; |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹å®£æåä¸ä»»å¡ |
| | | * |
| | | * @param heTaskSingle 宣æåä¸ä»»å¡ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updateHeTaskSingle(HeTaskSingle heTaskSingle) { |
| | | heTaskSingle.setUpdateTime(DateUtils.getNowDate()); |
| | | return heTaskSingleMapper.updateHeTaskSingle(heTaskSingle); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå é¤å®£æåä¸ä»»å¡ |
| | | * |
| | | * @param ids éè¦å é¤ç宣æåä¸ä»»å¡ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteHeTaskSingleByIds(Long[] ids) { |
| | | return heTaskSingleMapper.deleteHeTaskSingleByIds(ids); |
| | | } |
| | | |
| | | /** |
| | | * å é¤å®£æåä¸ä»»å¡ä¿¡æ¯ |
| | | * |
| | | * @param id 宣æåä¸ä»»å¡ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deleteHeTaskSingleById(Long id) { |
| | | return heTaskSingleMapper.deleteHeTaskSingleById(id); |
| | | } |
| | | |
| | | @Override |
| | | public HeTaskSingleVO queryHeTaskByCondition(HeTaskSingle heTaskSingle) { |
| | | //å®ä¹æ£è
ä¸åä¸ä»»å¡å
³è表éå |
| | | List<PatTaskRelevance> patTaskRelevances = new ArrayList<>(); |
| | | List<HeTaskSingle> heTaskSingles = selectHeTaskSingleList(heTaskSingle); |
| | | //å°æ¥åºæ¥çæ°æ®åå
¥IvrTaskcallVOä¸ |
| | | HeTaskSingleVO heTaskSingleVO = DtoConversionUtils.sourceToTarget(heTaskSingles.get(0), HeTaskSingleVO.class); |
| | | String sendTimeSlot = heTaskSingles.get(0).getSendTimeSlot(); |
| | | ObjectMapper objectMapper = new ObjectMapper(); |
| | | try { |
| | | //è·åå°åéæ¶é´çéå |
| | | if (StringUtils.isNotEmpty(sendTimeSlot)) { |
| | | List<TaskSendTimeVO> taskSendTimeVOList = objectMapper.readValue(sendTimeSlot, List.class); |
| | | heTaskSingleVO.setSendTimeslot(taskSendTimeVOList); |
| | | } |
| | | //ææ¬åéåæ° |
| | | if (com.ruoyi.common.utils.StringUtils.isNotEmpty(heTaskSingles.get(0).getTextParam())) { |
| | | Map<String, Map<String, String>> textParam = objectMapper.readValue(heTaskSingles.get(0).getTextParam(), Map.class); |
| | | heTaskSingleVO.setTextParam(textParam); |
| | | } |
| | | } catch (JsonProcessingException e) { |
| | | e.printStackTrace(); |
| | | } |
| | | |
| | | for (HeTaskSingle heTaskSingle1 : heTaskSingles) { |
| | | PatTaskRelevance patTaskRelevance = new PatTaskRelevance(); |
| | | if (!heTaskSingle1.getClassification().equals("2")) { |
| | | //è·åå°æ£è
ä¿¡æ¯ï¼å¹¶æ¾å
¥å°éåä¸ |
| | | log.info("宣æå类为ï¼{}", heTaskSingle1.getClassification()); |
| | | patTaskRelevance.setName(heTaskSingle1.getSendname()); |
| | | patTaskRelevance.setAge(heTaskSingle1.getAge()); |
| | | patTaskRelevance.setSfzh(heTaskSingle1.getSfzh()); |
| | | patTaskRelevance.setPhone(heTaskSingle1.getPhone()); |
| | | patTaskRelevance.setAddr(heTaskSingle1.getAddr()); |
| | | patTaskRelevance.setDiagname(heTaskSingle1.getDiagname()); |
| | | patTaskRelevances.add(patTaskRelevance); |
| | | } else if (heTaskSingle1.getClassification().equals("2")) { |
| | | log.info("宣æå类为ä½é¢", heTaskSingle1.getClassification()); |
| | | patTaskRelevance.setName(heTaskSingle1.getSendname()); |
| | | patTaskRelevance.setAge(heTaskSingle1.getAge()); |
| | | patTaskRelevance.setSfzh(heTaskSingle1.getSfzh()); |
| | | patTaskRelevance.setPhone(heTaskSingle1.getPhone()); |
| | | patTaskRelevance.setAddr(heTaskSingle1.getAddr()); |
| | | patTaskRelevance.setDeptName(heTaskSingle1.getDeptname()); |
| | | patTaskRelevance.setBedNo(heTaskSingle1.getBedNo()); |
| | | patTaskRelevance.setDiagname(heTaskSingle1.getDiagname()); |
| | | patTaskRelevances.add(patTaskRelevance); |
| | | } |
| | | } |
| | | |
| | | heTaskSingleVO.setPatTaskRelevances(patTaskRelevances); |
| | | return heTaskSingleVO; |
| | | } |
| | | |
| | | |
| | | private HeTaskSingle getHeTaskSingle(HeTaskSingleVO heTaskSingleVO, PatTaskRelevance patTaskRelevance) { |
| | | |
| | | HeTaskSingle heTaskSingle = DtoConversionUtils.sourceToTarget(heTaskSingleVO, HeTaskSingle.class); |
| | | heTaskSingle.setSendname(patTaskRelevance.getName()); |
| | | heTaskSingle.setAge(patTaskRelevance.getAge()); |
| | | heTaskSingle.setSfzh(patTaskRelevance.getSfzh()); |
| | | heTaskSingle.setPhone(patTaskRelevance.getPhone()); |
| | | heTaskSingle.setAddr(patTaskRelevance.getAddr()); |
| | | heTaskSingle.setCreateTime(DateUtils.getNowDate()); |
| | | if (CollectionUtils.isNotEmpty(heTaskSingleVO.getSendTimeslot())) { |
| | | heTaskSingle.setSendTimeSlot(heTaskSingleVO.getSendTimeslot().toString()); |
| | | } |
| | | return heTaskSingle; |
| | | } |
| | | |
| | | } |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<IvrVisitInfoVo> patItem(IvrTaskSingle ivrTaskcall) { |
| | | List<IvrTaskSingle> list = this.selectIvrTaskcallList(ivrTaskcall); |
| | | public IvrTaskSingleVO queryTaskByCondition(IvrTaskSingle ivrTaskcall) { |
| | | //å®ä¹æ£è
ä¸åä¸ä»»å¡å
³è表éå |
| | | List<PatTaskRelevance> patTaskRelevances = new ArrayList<>(); |
| | | List<IvrTaskSingle> list = selectIvrTaskcallList(ivrTaskcall); |
| | | //å°æ¥åºæ¥çæ°æ®åå
¥IvrTaskcallVOä¸ |
| | | IvrTaskSingleVO ivrTaskcallVO2 = DtoConversionUtils.sourceToTarget(list.get(0), IvrTaskSingleVO.class); |
| | | String sendTimeSlot = list.get(0).getSendTimeSlot(); |
| | | ObjectMapper objectMapper = new ObjectMapper(); |
| | | try { |
| | | //è·åå°åéæ¶é´çéå |
| | | if (com.ruoyi.common.utils.StringUtils.isNotEmpty(sendTimeSlot)) { |
| | | List<TaskSendTimeVO> taskSendTimeVOList = objectMapper.readValue(sendTimeSlot, List.class); |
| | | ivrTaskcallVO2.setSendTimeslot(taskSendTimeVOList); |
| | | } |
| | | //ææ¬åéåæ° |
| | | if (com.ruoyi.common.utils.StringUtils.isNotEmpty(list.get(0).getTextParam())) { |
| | | Map<String, Map<String, String>> textParam = objectMapper.readValue(list.get(0).getTextParam(), Map.class); |
| | | ivrTaskcallVO2.setTextParam(textParam); |
| | | } |
| | | } catch (JsonProcessingException e) { |
| | | e.printStackTrace(); |
| | | } |
| | | |
| | | //å®ä¹è¿åæ°æ® |
| | | List<IvrVisitInfoVo> visitInfoVos = new ArrayList<>(); |
| | | for (IvrTaskSingle ivrTaskcall1 : list) { |
| | | IvrVisitInfoVo ivrVisitInfoVo = DtoConversionUtils.sourceToTarget(ivrTaskcall1, IvrVisitInfoVo.class); |
| | | ivrVisitInfoVo.setPatientName(ivrTaskcall1.getSendname()); |
| | | if (ivrTaskcall.getRecordid() != null) { |
| | | if (ivrTaskcall1.getHospType().equals("1")) { |
| | | //é¨è¯é访 |
| | | PatMedOuthosp patMedOuthosp = patMedOuthospMapper.selectPatMedOuthospById(ivrTaskcall.getRecordid()); |
| | | ivrVisitInfoVo.setDiagname(patMedOuthosp.getDiagname()); |
| | | ivrVisitInfoVo.setDeptname(patMedOuthosp.getDeptname()); |
| | | ivrVisitInfoVo.setAdmitdate(patMedOuthosp.getAdmitdate()); |
| | | ivrVisitInfoVo.setVisitTime(ivrTaskcall1.getSendTimeSlot()); |
| | | ivrVisitInfoVo.setState(ivrTaskcall1.getSendstate()); |
| | | ivrVisitInfoVo.setHospno(patMedOuthosp.getOuthospno()); |
| | | visitInfoVos.add(ivrVisitInfoVo); |
| | | } else if (ivrTaskcall1.getHospType().equals("2")) { |
| | | //åºé¢ |
| | | PatMedInhosp patMedInhosp = patMedInhospMapper.selectPatMedInhospByInhospid(ivrTaskcall.getRecordid()); |
| | | ivrVisitInfoVo.setDiagname(patMedInhosp.getDiagname()); |
| | | ivrVisitInfoVo.setDeptname(patMedInhosp.getDeptname()); |
| | | ivrVisitInfoVo.setAdmitdate(patMedInhosp.getStarttime()); |
| | | ivrVisitInfoVo.setVisitTime(ivrTaskcall1.getSendTimeSlot()); |
| | | ivrVisitInfoVo.setState(ivrTaskcall1.getSendstate()); |
| | | ivrVisitInfoVo.setHospno(patMedInhosp.getInhospno()); |
| | | ivrVisitInfoVo.setRoomno(patMedInhosp.getRoomno()); |
| | | ivrVisitInfoVo.setBedno(patMedInhosp.getBedno()); |
| | | visitInfoVos.add(ivrVisitInfoVo); |
| | | } |
| | | PatTaskRelevance patTaskRelevance = new PatTaskRelevance(); |
| | | if (!ivrTaskcall1.getHospType().equals("2")) { |
| | | log.info("é访æ¥è¯¢ä¸ä¸ºåºé¢ï¼{}", ivrTaskcall1.getHospType()); |
| | | //è·åå°æ£è
ä¿¡æ¯ï¼å¹¶æ¾å
¥å°éåä¸ |
| | | patTaskRelevance.setName(ivrTaskcall1.getSendname()); |
| | | patTaskRelevance.setAge(ivrTaskcall1.getAge()); |
| | | patTaskRelevance.setSfzh(ivrTaskcall1.getSfzh()); |
| | | patTaskRelevance.setPhone(ivrTaskcall1.getPhone()); |
| | | patTaskRelevance.setAddr(ivrTaskcall1.getAddr()); |
| | | patTaskRelevance.setDiagname(ivrTaskcall1.getDiagname()); |
| | | patTaskRelevances.add(patTaskRelevance); |
| | | } else if (ivrTaskcall1.getHospType().equals("2")) { |
| | | log.info("é访æ¥è¯¢ä¸ºåºé¢ï¼{}", ivrTaskcall1.getHospType()); |
| | | patTaskRelevance.setName(ivrTaskcall1.getSendname()); |
| | | patTaskRelevance.setAge(ivrTaskcall1.getAge()); |
| | | patTaskRelevance.setSfzh(ivrTaskcall1.getSfzh()); |
| | | patTaskRelevance.setPhone(ivrTaskcall1.getPhone()); |
| | | patTaskRelevance.setAddr(ivrTaskcall1.getAddr()); |
| | | patTaskRelevance.setDeptName(ivrTaskcall1.getDeptname()); |
| | | patTaskRelevance.setBedNo(ivrTaskcall1.getBadNo()); |
| | | patTaskRelevance.setDiagname(ivrTaskcall1.getDiagname()); |
| | | patTaskRelevances.add(patTaskRelevance); |
| | | } |
| | | } |
| | | return visitInfoVos; |
| | | |
| | | ivrTaskcallVO2.setPatTaskRelevances(patTaskRelevances); |
| | | return ivrTaskcallVO2; |
| | | } |
| | | |
| | | @Override |
| | | public List<IvrTaskSingle> patItem(IvrTaskSingle ivrTaskSingle) { |
| | | |
| | | |
| | | return this.selectIvrTaskcallList(ivrTaskSingle); |
| | | } |
| | | |
| | | /** |
| | |
| | | /** |
| | | * æ¹éå é¤åä¸ä»»å¡ï¼éè®¿ï¼ |
| | | * |
| | | * @param ids éè¦å é¤çåä¸ä»»å¡ï¼é访ï¼ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | |
| | | /** |
| | | * åä¸ä»»å¡ |
| | | * |
| | | * @param ivrTaskcallVO åä¸ä»»å¡ |
| | | * @return ç»æ |
| | | */ |
| | | @Transactional(rollbackFor = Exception.class) |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.HeTaskSingleMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.HeTaskSingle" id="HeTaskSingleResult"> |
| | | <result property="id" column="id"/> |
| | | <result property="svrtaskid" column="svrtaskid"/> |
| | | <result property="patientid" column="patientid"/> |
| | | <result property="classification" column="classification"/> |
| | | <result property="preachcategoryid" column="preachcategoryid"/> |
| | | <result property="preachname" column="preachname"/> |
| | | <result property="version" column="version"/> |
| | | <result property="preachform" column="preachform"/> |
| | | <result property="orgform" column="orgform"/> |
| | | <result property="preachdescription" column="preachdescription"/> |
| | | <result property="preachcontent" column="preachcontent"/> |
| | | <result property="templateid" column="templateid"/> |
| | | <result property="preachcode" column="preachcode"/> |
| | | <result property="centerlibraryid" column="centerlibraryid"/> |
| | | <result property="isenable" column="isenable"/> |
| | | <result property="orgid" column="orgid"/> |
| | | <result property="updateBy" column="update_by"/> |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | | <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="islocal" column="islocal"/> |
| | | <result property="centerlibrarycode" column="centerlibrarycode"/> |
| | | <result property="pid" column="pid"/> |
| | | <result property="guid" column="guid"/> |
| | | <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"/> |
| | | <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="wechat" column="wechat"/> |
| | | <result property="diagname" column="diagname"/> |
| | | <result property="deptname" column="deptname"/> |
| | | <result property="admindate" column="admindate"/> |
| | | <result property="roomno" column="roomno"/> |
| | | <result property="bedNo" column="bedno"/> |
| | | <result property="type" column="type"/> |
| | | <result property="sendType" column="send_type"/> |
| | | <result property="sendTimeSlot" column="send_time_slot"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectHeTaskSingleVo"> |
| | | select id, |
| | | svrtaskid, |
| | | patientid, |
| | | classification, |
| | | preachcategoryid, |
| | | preachname, |
| | | version, |
| | | preachform, |
| | | orgform, |
| | | preachdescription, |
| | | preachcontent, |
| | | templateid, |
| | | preachcode, |
| | | centerlibraryid, |
| | | isenable, |
| | | orgid, |
| | | update_by, |
| | | update_time, |
| | | del_flag, |
| | | create_by, |
| | | create_time, |
| | | isupload, |
| | | upload_time, |
| | | islocal, |
| | | centerlibrarycode, |
| | | pid, |
| | | guid, |
| | | send_time, |
| | | is_send, |
| | | send_state, |
| | | rich_text, |
| | | text_param, |
| | | sendname, |
| | | phone, |
| | | sex, |
| | | age, |
| | | sfzh, |
| | | addr, |
| | | senderdetail, |
| | | wechat, |
| | | diagname, |
| | | deptname, |
| | | admindate, |
| | | roomno, |
| | | bedno, |
| | | send_type, |
| | | type, |
| | | send_time_slot |
| | | from he_task_single |
| | | </sql> |
| | | |
| | | <select id="selectHeTaskSingleList" parameterType="com.smartor.domain.HeTaskSingle" resultMap="HeTaskSingleResult"> |
| | | <include refid="selectHeTaskSingleVo"/> |
| | | <where> |
| | | <if test="svrtaskid != null ">and svrtaskid = #{svrtaskid}</if> |
| | | <if test="patientid != null and patientid != ''">and patientid = #{patientid}</if> |
| | | <if test="classification != null and classification != ''">and classification = #{classification}</if> |
| | | <if test="preachcategoryid != null ">and preachcategoryid = #{preachcategoryid}</if> |
| | | <if test="preachname != null and preachname != ''">and preachname like concat('%', #{preachname}, '%')</if> |
| | | <if test="version != null ">and version = #{version}</if> |
| | | <if test="preachform != null and preachform != ''">and preachform = #{preachform}</if> |
| | | <if test="orgform != null ">and orgform = #{orgform}</if> |
| | | <if test="preachdescription != null and preachdescription != ''">and preachdescription = |
| | | #{preachdescription} |
| | | </if> |
| | | <if test="preachcontent != null and preachcontent != ''">and preachcontent = #{preachcontent}</if> |
| | | <if test="templateid != null ">and templateid = #{templateid}</if> |
| | | <if test="preachcode != null and preachcode != ''">and preachcode = #{preachcode}</if> |
| | | <if test="centerlibraryid != null ">and centerlibraryid = #{centerlibraryid}</if> |
| | | <if test="isenable != null ">and isenable = #{isenable}</if> |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | <if test="isupload != null ">and isupload = #{isupload}</if> |
| | | <if test="uploadTime != null ">and upload_time = #{uploadTime}</if> |
| | | <if test="islocal != null ">and islocal = #{islocal}</if> |
| | | <if test="centerlibrarycode != null and centerlibrarycode != ''">and centerlibrarycode = |
| | | #{centerlibrarycode} |
| | | </if> |
| | | <if test="pid != null ">and pid = #{pid}</if> |
| | | <if test="guid != null and guid != ''">and guid = #{guid}</if> |
| | | <if test="sendTime != null ">and send_time = #{sendTime}</if> |
| | | <if test="isSend != null ">and is_send = #{isSend}</if> |
| | | <if test="sendState != null and sendState != ''">and send_state = #{sendState}</if> |
| | | <if test="richText != null and richText != ''">and rich_text = #{richText}</if> |
| | | <if test="textParam != null and textParam != ''">and text_param = #{textParam}</if> |
| | | <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="wechat != null and wechat != ''">and wechat = #{wechat}</if> |
| | | <if test="diagname != null and diagname != ''">and diagname like concat('%', #{diagname}, '%')</if> |
| | | <if test="deptname != null and deptname != ''">and deptname like concat('%', #{deptname}, '%')</if> |
| | | <if test="admindate != null ">and admindate = #{admindate}</if> |
| | | <if test="roomno != null and roomno != ''">and roomno = #{roomno}</if> |
| | | <if test="bedno != null and bedno != ''">and bedno = #{bedno}</if> |
| | | <if test="sendType != null and sendType != ''">and send_type = #{sendType}</if> |
| | | <if test="sendTimeSlot != null and sendTimeSlot != ''">and send_time_slot = #{sendTimeSlot}</if> |
| | | <if test="type != null and type != ''">and type = #{type}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectHeTaskSingleById" parameterType="Long" resultMap="HeTaskSingleResult"> |
| | | <include refid="selectHeTaskSingleVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertHeTaskSingle" parameterType="com.smartor.domain.HeTaskSingle" useGeneratedKeys="true" |
| | | keyProperty="id"> |
| | | insert into he_task_single |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="svrtaskid != null">svrtaskid,</if> |
| | | <if test="patientid != null">patientid,</if> |
| | | <if test="classification != null">classification,</if> |
| | | <if test="preachcategoryid != null">preachcategoryid,</if> |
| | | <if test="preachname != null">preachname,</if> |
| | | <if test="version != null">version,</if> |
| | | <if test="preachform != null">preachform,</if> |
| | | <if test="orgform != null">orgform,</if> |
| | | <if test="preachdescription != null">preachdescription,</if> |
| | | <if test="preachcontent != null">preachcontent,</if> |
| | | <if test="templateid != null">templateid,</if> |
| | | <if test="preachcode != null">preachcode,</if> |
| | | <if test="centerlibraryid != null">centerlibraryid,</if> |
| | | <if test="isenable != null">isenable,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="createBy != null">create_by,</if> |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | <if test="islocal != null">islocal,</if> |
| | | <if test="centerlibrarycode != null">centerlibrarycode,</if> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="guid != null">guid,</if> |
| | | <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> |
| | | <if test="sendname != null">sendname,</if> |
| | | <if test="phone != null">phone,</if> |
| | | <if test="sex != null">sex,</if> |
| | | <if test="age != null">age,</if> |
| | | <if test="sfzh != null">sfzh,</if> |
| | | <if test="addr != null">addr,</if> |
| | | <if test="senderdetail != null">senderdetail,</if> |
| | | <if test="wechat != null">wechat,</if> |
| | | <if test="diagname != null">diagname,</if> |
| | | <if test="deptname != null">deptname,</if> |
| | | <if test="admindate != null">admindate,</if> |
| | | <if test="roomno != null">roomno,</if> |
| | | <if test="bedno != null">bedno,</if> |
| | | <if test="sendType != null">send_type,</if> |
| | | <if test="sendTimeSlot != null">send_time_slot,</if> |
| | | <if test="type != null">type,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="svrtaskid != null">#{svrtaskid},</if> |
| | | <if test="patientid != null">#{patientid},</if> |
| | | <if test="classification != null">#{classification},</if> |
| | | <if test="preachcategoryid != null">#{preachcategoryid},</if> |
| | | <if test="preachname != null">#{preachname},</if> |
| | | <if test="version != null">#{version},</if> |
| | | <if test="preachform != null">#{preachform},</if> |
| | | <if test="orgform != null">#{orgform},</if> |
| | | <if test="preachdescription != null">#{preachdescription},</if> |
| | | <if test="preachcontent != null">#{preachcontent},</if> |
| | | <if test="templateid != null">#{templateid},</if> |
| | | <if test="preachcode != null">#{preachcode},</if> |
| | | <if test="centerlibraryid != null">#{centerlibraryid},</if> |
| | | <if test="isenable != null">#{isenable},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="createBy != null">#{createBy},</if> |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | <if test="islocal != null">#{islocal},</if> |
| | | <if test="centerlibrarycode != null">#{centerlibrarycode},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="guid != null">#{guid},</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> |
| | | <if test="sendname != null">#{sendname},</if> |
| | | <if test="phone != null">#{phone},</if> |
| | | <if test="sex != null">#{sex},</if> |
| | | <if test="age != null">#{age},</if> |
| | | <if test="sfzh != null">#{sfzh},</if> |
| | | <if test="addr != null">#{addr},</if> |
| | | <if test="senderdetail != null">#{senderdetail},</if> |
| | | <if test="wechat != null">#{wechat},</if> |
| | | <if test="diagname != null">#{diagname},</if> |
| | | <if test="deptname != null">#{deptname},</if> |
| | | <if test="admindate != null">#{admindate},</if> |
| | | <if test="roomno != null">#{roomno},</if> |
| | | <if test="bedno != null">#{bedno},</if> |
| | | <if test="sendType != null">#{sendType},</if> |
| | | <if test="sendTimeSlot != null">#{sendTimeSlot},</if> |
| | | <if test="type != null">#{type},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateHeTaskSingle" parameterType="com.smartor.domain.HeTaskSingle"> |
| | | update he_task_single |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="svrtaskid != null">svrtaskid = #{svrtaskid},</if> |
| | | <if test="patientid != null">patientid = #{patientid},</if> |
| | | <if test="classification != null">classification = #{classification},</if> |
| | | <if test="preachcategoryid != null">preachcategoryid = #{preachcategoryid},</if> |
| | | <if test="preachname != null">preachname = #{preachname},</if> |
| | | <if test="version != null">version = #{version},</if> |
| | | <if test="preachform != null">preachform = #{preachform},</if> |
| | | <if test="orgform != null">orgform = #{orgform},</if> |
| | | <if test="preachdescription != null">preachdescription = #{preachdescription},</if> |
| | | <if test="preachcontent != null">preachcontent = #{preachcontent},</if> |
| | | <if test="templateid != null">templateid = #{templateid},</if> |
| | | <if test="preachcode != null">preachcode = #{preachcode},</if> |
| | | <if test="centerlibraryid != null">centerlibraryid = #{centerlibraryid},</if> |
| | | <if test="isenable != null">isenable = #{isenable},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="createBy != null">create_by = #{createBy},</if> |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="isupload != null">isupload = #{isupload},</if> |
| | | <if test="uploadTime != null">upload_time = #{uploadTime},</if> |
| | | <if test="islocal != null">islocal = #{islocal},</if> |
| | | <if test="centerlibrarycode != null">centerlibrarycode = #{centerlibrarycode},</if> |
| | | <if test="pid != null">pid = #{pid},</if> |
| | | <if test="guid != null">guid = #{guid},</if> |
| | | <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> |
| | | <if test="sendname != null">sendname = #{sendname},</if> |
| | | <if test="phone != null">phone = #{phone},</if> |
| | | <if test="sex != null">sex = #{sex},</if> |
| | | <if test="age != null">age = #{age},</if> |
| | | <if test="sfzh != null">sfzh = #{sfzh},</if> |
| | | <if test="addr != null">addr = #{addr},</if> |
| | | <if test="senderdetail != null">senderdetail = #{senderdetail},</if> |
| | | <if test="wechat != null">wechat = #{wechat},</if> |
| | | <if test="diagname != null">diagname = #{diagname},</if> |
| | | <if test="deptname != null">deptname = #{deptname},</if> |
| | | <if test="admindate != null">admindate = #{admindate},</if> |
| | | <if test="roomno != null">roomno = #{roomno},</if> |
| | | <if test="bedno != null">bedno = #{bedno},</if> |
| | | <if test="sendType != null">send_type = #{sendType},</if> |
| | | <if test="sendTimeSlot != null">send_time_slot = #{sendTimeSlot},</if> |
| | | <if test="type != null">type = #{type},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <delete id="deleteHeTaskSingleById" parameterType="Long"> |
| | | delete |
| | | from he_task_single |
| | | where id = #{id} |
| | | </delete> |
| | | |
| | | <delete id="deleteHeTaskSingleByIds" parameterType="String"> |
| | | delete from he_task_single where id in |
| | | <foreach item="id" collection="array" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
| | |
| | | <result property="executed" column="executed"/> |
| | | <result property="unexecuted" column="unexecuted"/> |
| | | <result property="fail" column="fail"/> |
| | | <result property="userid" column="userid"/> |
| | | <result property="username" column="username"/> |
| | | <result property="addtime" column="addtime"/> |
| | | <result property="checkuserid" column="checkuserid"/> |
| | | <result property="checkusername" column="checkusername"/> |
| | |
| | | <result property="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="preachform" column="preachform"/> |
| | | <result property="isSend" column="is_send"/> |
| | | <result property="sendState" column="send_state"/> |
| | | <result property="param" column="param"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrTaskVo"> |
| | |
| | | executed, |
| | | unexecuted, |
| | | fail, |
| | | userid, |
| | | username, |
| | | addtime, |
| | | checkuserid, |
| | | checkusername, |
| | |
| | | create_time, |
| | | isupload, |
| | | upload_time, |
| | | pid, |
| | | guid, |
| | | preachform, |
| | | is_send, |
| | | send_state, |
| | | param, |
| | | orgid |
| | | from ivr_task |
| | | </sql> |
| | |
| | | <if test="executed != null ">and executed = #{executed}</if> |
| | | <if test="unexecuted != null ">and unexecuted = #{unexecuted}</if> |
| | | <if test="fail != null ">and fail = #{fail}</if> |
| | | <if test="userid != null and userid != ''">and userid = #{userid}</if> |
| | | <if test="username != null and username != ''">and username like concat('%', #{username}, '%')</if> |
| | | <if test="addtime != null ">and addtime = #{addtime}</if> |
| | | <if test="checkuserid != null and checkuserid != ''">and checkuserid = #{checkuserid}</if> |
| | | <if test="checkusername != null and checkusername != ''">and checkusername like concat('%', |
| | |
| | | <if test="uploadTime != null ">and upload_time = #{uploadTime}</if> |
| | | <if test="orgid != null and orgid != ''">and orgid = #{orgid}</if> |
| | | </where> |
| | | order by upeate_time desc,taskid desc |
| | | order by update_time desc,taskid desc |
| | | </select> |
| | | |
| | | <select id="selectIvrTaskByTaskid" parameterType="Long" resultMap="IvrTaskResult"> |
| | |
| | | keyProperty="taskid"> |
| | | insert into ivr_task |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="taskid != null">taskid,</if> |
| | | <if test="taskname != null">taskname,</if> |
| | | <if test="templateid != null">templateid,</if> |
| | | <if test="templatename != null">templatename,</if> |
| | |
| | | <if test="executed != null">executed,</if> |
| | | <if test="unexecuted != null">unexecuted,</if> |
| | | <if test="fail != null">fail,</if> |
| | | <if test="userid != null">userid,</if> |
| | | <if test="username != null">username,</if> |
| | | <if test="addtime != null">addtime,</if> |
| | | <if test="checkuserid != null">checkuserid,</if> |
| | | <if test="checkusername != null">checkusername,</if> |
| | |
| | | <if test="isupload != null">isupload,</if> |
| | | <if test="uploadTime != null">upload_time,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="pid != null">pid,</if> |
| | | <if test="guid != null">guid,</if> |
| | | <if test="preachform != null">preachform,</if> |
| | | <if test="isSend != null">is_send,</if> |
| | | <if test="sendState != null">send_state,</if> |
| | | <if test="param != null">param,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="taskid != null">#{taskid},</if> |
| | | <if test="taskname != null">#{taskname},</if> |
| | | <if test="templateid != null">#{templateid},</if> |
| | | <if test="templatename != null">#{templatename},</if> |
| | |
| | | <if test="executed != null">#{executed},</if> |
| | | <if test="unexecuted != null">#{unexecuted},</if> |
| | | <if test="fail != null">#{fail},</if> |
| | | <if test="userid != null">#{userid},</if> |
| | | <if test="username != null">#{username},</if> |
| | | <if test="addtime != null">#{addtime},</if> |
| | | <if test="checkuserid != null">#{checkuserid},</if> |
| | | <if test="checkusername != null">#{checkusername},</if> |
| | |
| | | <if test="isupload != null">#{isupload},</if> |
| | | <if test="uploadTime != null">#{uploadTime},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="pid != null">#{pid},</if> |
| | | <if test="guid != null">#{guid},</if> |
| | | <if test="preachform != null">#{preachform},</if> |
| | | <if test="isSend != null">#{isSend},</if> |
| | | <if test="sendState != null">#{sendState},</if> |
| | | <if test="param != null">#{param},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="executed != null">executed = #{executed},</if> |
| | | <if test="unexecuted != null">unexecuted = #{unexecuted},</if> |
| | | <if test="fail != null">fail = #{fail},</if> |
| | | <if test="userid != null">userid = #{userid},</if> |
| | | <if test="username != null">username = #{username},</if> |
| | | <if test="addtime != null">addtime = #{addtime},</if> |
| | | <if test="checkuserid != null">checkuserid = #{checkuserid},</if> |
| | | <if test="checkusername != null">checkusername = #{checkusername},</if> |
| | |
| | | <if test="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="preachform != null">preachform = #{preachform},</if> |
| | | <if test="isSend != null">is_send = #{isSend},</if> |
| | | <if test="sendState != null">send_state = #{sendState},</if> |
| | | <if test="param != null">param = #{param},</if> |
| | | </trim> |
| | | where taskid = #{taskid} |
| | | </update> |
| | |
| | | <result property="operatorNo" column="operator_no"/> |
| | | <result property="hospno" column="hospno"/> |
| | | <result property="hospType" column="hosp_type"/> |
| | | <result property="wechat" column="wechat"/> |
| | | <result property="diagname" column="diagname"/> |
| | | <result property="deptname" column="deptname"/> |
| | | <result property="admindate" column="admindate"/> |
| | | <result property="roomno" column="roomno"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectIvrTaskcallVo"> |
| | | select id, |
| | | sendname, |
| | | hosp_type, |
| | | hospno, |
| | | phone, |
| | |
| | | task_desc, |
| | | operator_no, |
| | | operator, |
| | | wechat, |
| | | sendname, |
| | | roomno, |
| | | admindate, |
| | | deptname, |
| | | diagname, |
| | | preachcontent |
| | | from ivr_taskcall |
| | | from ivr_task_single |
| | | </sql> |
| | | |
| | | <select id="selectIvrTaskcallList" parameterType="com.smartor.domain.IvrTaskSingle" resultMap="IvrTaskcallResult"> |
| | |
| | | <if test="sendType != null and sendType != ''">and send_type = #{sendType}</if> |
| | | <if test="operator != null and operator != ''">and operator = #{operator}</if> |
| | | <if test="operatorNo != null and operatorNo != ''">and operator_no = #{operatorNo}</if> |
| | | <if test="wechat != null and wechat != ''">and wechat = #{wechat}</if> |
| | | </where> |
| | | order by update_time desc,id desc |
| | | </select> |
| | |
| | | |
| | | <insert id="insertIvrTaskcall" parameterType="com.smartor.domain.IvrTaskSingle" useGeneratedKeys="true" |
| | | keyProperty="id"> |
| | | insert into ivr_taskcall |
| | | insert into ivr_task_single |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="sendname != null">sendname,</if> |
| | | <if test="phone != null">phone,</if> |
| | |
| | | <if test="operatorNo != null and operatorNo != ''">operator_no,</if> |
| | | <if test="hospType != null and hospType != ''">hosp_type,</if> |
| | | <if test="hospno != null and hospno != ''">hospno,</if> |
| | | <if test="wechat != null and wechat != ''">wechat,</if> |
| | | <if test="roomno != null and roomno != ''">roomno,</if> |
| | | <if test="admindate != null and admindate != ''">admindate,</if> |
| | | <if test="deptname != null and deptname != ''">deptname,</if> |
| | | <if test="diagname != null and diagname != ''">diagname,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="sendname != null">#{sendname},</if> |
| | |
| | | <if test="operatorNo != null and operatorNo != ''">#{operatorNo},</if> |
| | | <if test="hospType != null and hospType != ''">#{hospType},</if> |
| | | <if test="hospno != null and hospno != ''">#{hospno},</if> |
| | | <if test="wechat != null and wechat != ''">#{wechat},</if> |
| | | <if test="roomno != null and roomno != ''">#{roomno},</if> |
| | | <if test="admindate != null and admindate != ''">#{admindate},</if> |
| | | <if test="deptname != null and deptname != ''">#{deptname},</if> |
| | | <if test="diagname != null and diagname != ''">#{diagname},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updateIvrTaskcall" parameterType="com.smartor.domain.IvrTaskSingle"> |
| | | update ivr_taskcall |
| | | update ivr_task_single |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="sendname != null">sendname = #{sendname},</if> |
| | | <if test="phone != null">phone = #{phone},</if> |
| | |
| | | <if test="operator != null and operator != ''">operator = #{operator},</if> |
| | | <if test="hospType != null and hospType != ''">hosp_type = #{hospType},</if> |
| | | <if test="hospno != null and hospno != ''">hospno = #{hospno},</if> |
| | | <if test="wechat != null and wechat != ''">wechat = #{wechat},</if> |
| | | <if test="roomno != null and roomno != ''">roomno = #{roomno},</if> |
| | | <if test="admindate != null and admindate != ''">admindate = #{admindate},</if> |
| | | <if test="deptname != null and deptname != ''">deptname = #{deptname},</if> |
| | | <if test="diagname != null and diagname != ''">diagname = #{diagname},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <update id="deleteIvrTaskcallById" parameterType="Long"> |
| | | update ivr_taskcall |
| | | update ivr_task_single |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | del_flag =1 |
| | | </trim> |
| | |
| | | operator, |
| | | hospno, |
| | | hosp_type, |
| | | wechat, |
| | | roomno, |
| | | admindate, |
| | | deptname, |
| | | diagname, |
| | | send_time_slot |
| | | FROM ivr_taskcall, |
| | | FROM ivr_task_single, |
| | | JSON_TABLE(send_time_slot, '$[*]' COLUMNS ( |
| | | begantime DATETIME PATH '$.begantime', |
| | | endtime DATETIME PATH '$.endtime' |
| | |
| | | <result property="name" column="name"/> |
| | | <result property="age" column="age"/> |
| | | <result property="sex" column="sex"/> |
| | | <result property="bedno" column="bed_no"/> |
| | | <result property="dept" column="dept"/> |
| | | <result property="bedNo" column="bed_no"/> |
| | | <result property="deptName" column="dept"/> |
| | | <result property="icdName" column="icd_name"/> |
| | | <result property="phone" column="phone"/> |
| | | <result property="medicalRecordNo" column="medical_record_no"/> |
| | |
| | | <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="bedno != null ">and bed_no = #{bedno}</if> |
| | | <if test="dept != null and dept != ''">and dept = #{dept}</if> |
| | | <if test="bedNo != null ">and bed_no = #{bedNo}</if> |
| | | <if test="deptName != null and deptName != ''">and dept = #{deptName}</if> |
| | | <if test="phone != null and phone != ''">and phone = #{phone}</if> |
| | | <if test="medicalRecordNo != null and medicalRecordNo != ''">and medical_record_no = #{medicalRecordNo} |
| | | </if> |
| | |
| | | <if test="name != null">name,</if> |
| | | <if test="age != null">age,</if> |
| | | <if test="sex != null">sex,</if> |
| | | <if test="bedno != null">bed_no,</if> |
| | | <if test="dept != null">dept,</if> |
| | | <if test="bedNo != null">bed_no,</if> |
| | | <if test="deptName != null">dept,</if> |
| | | <if test="icdName != null">icd_name,</if> |
| | | <if test="phone != null">phone,</if> |
| | | <if test="medicalRecordNo != null">medical_record_no,</if> |
| | |
| | | <if test="name != null">#{name},</if> |
| | | <if test="age != null">#{age},</if> |
| | | <if test="sex != null">#{sex},</if> |
| | | <if test="bedno != null">#{bedno},</if> |
| | | <if test="dept != null">#{dept},</if> |
| | | <if test="bedNo != null">#{bedNo},</if> |
| | | <if test="deptName != null">#{deptName},</if> |
| | | <if test="icdName != null">#{icdName},</if> |
| | | <if test="phone != null">#{phone},</if> |
| | | <if test="medicalRecordNo != null">#{medicalRecordNo},</if> |
| | |
| | | <if test="name != null">name = #{name},</if> |
| | | <if test="age != null">age = #{age},</if> |
| | | <if test="sex != null">sex = #{sex},</if> |
| | | <if test="bedno != null">bed_no = #{bedno},</if> |
| | | <if test="dept != null">dept = #{dept},</if> |
| | | <if test="bedNo != null">bed_no = #{bedNo},</if> |
| | | <if test="deptName != null">dept = #{deptName},</if> |
| | | <if test="icdName != null">icd_name = #{icdName},</if> |
| | | <if test="phone != null">phone = #{phone},</if> |
| | | <if test="medicalRecordNo != null">medical_record_no = #{medicalRecordNo},</if> |
| | |
| | | #{id} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
| | | </mapper> |
| | |
| | | <result property="deptcode" column="deptcode" /> |
| | | <result property="deptname" column="deptname" /> |
| | | <result property="roomno" column="roomno" /> |
| | | <result property="bedno" column="bedno" /> |
| | | <result property="bedNo" column="bed_no" /> |
| | | <result property="orgid" column="orgid" /> |
| | | <result property="delFlag" column="del_flag" /> |
| | | <result property="updateBy" column="update_by" /> |
| | |
| | | </resultMap> |
| | | |
| | | <sql id="selectPatMedInhospVo"> |
| | | select inhospid,inhospno, serialnum, hospitalname, hospitalcode, hospitaldistrictcode, hospitaldistrictname, icd10code, diagname, starttime, endtime, deptcode, deptname, roomno, bedno, orgid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, patid, leavediagname, leaveicd10code, drcode, drname, schemestatus, generalschemestatus, leaveldeptcode, leaveldeptname, hospitaldistrictid, leavehospitaldistrictcode, leavehospitaldistrictname, leavehospitaldistrictid, deptid, leaveldeptid, schemetime from pat_med_inhosp |
| | | select inhospid,inhospno, serialnum, hospitalname, hospitalcode, hospitaldistrictcode, hospitaldistrictname, icd10code, diagname, starttime, endtime, deptcode, deptname, roomno, bed_no, orgid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, patid, leavediagname, leaveicd10code, drcode, drname, schemestatus, generalschemestatus, leaveldeptcode, leaveldeptname, hospitaldistrictid, leavehospitaldistrictcode, leavehospitaldistrictname, leavehospitaldistrictid, deptid, leaveldeptid, schemetime from pat_med_inhosp |
| | | </sql> |
| | | |
| | | <select id="selectPatMedInhospList" parameterType="com.smartor.domain.PatMedInhosp" resultMap="PatMedInhospResult"> |
| | |
| | | <if test="deptcode != null">deptcode,</if> |
| | | <if test="deptname != null">deptname,</if> |
| | | <if test="roomno != null">roomno,</if> |
| | | <if test="bedno != null">bedno,</if> |
| | | <if test="bedNo != null">bed_no,</if> |
| | | <if test="orgid != null">orgid,</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | |
| | | <if test="deptcode != null">#{deptcode},</if> |
| | | <if test="deptname != null">#{deptname},</if> |
| | | <if test="roomno != null">#{roomno},</if> |
| | | <if test="bedno != null">#{bedno},</if> |
| | | <if test="bedNo != null">#{bedNo},</if> |
| | | <if test="orgid != null">#{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">#{delFlag},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | |
| | | <if test="deptcode != null">deptcode = #{deptcode},</if> |
| | | <if test="deptname != null">deptname = #{deptname},</if> |
| | | <if test="roomno != null">roomno = #{roomno},</if> |
| | | <if test="bedno != null">bedno = #{bedno},</if> |
| | | <if test="bedNo != null">bed_no = #{bedNo},</if> |
| | | <if test="orgid != null">orgid = #{orgid},</if> |
| | | <if test="delFlag != null and delFlag != ''">del_flag = #{delFlag},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | |
| | | #{inhospid} |
| | | </foreach> |
| | | </delete> |
| | | </mapper> |
| | | </mapper> |