| | |
| | | @Value("${xhsmsPath}") |
| | | private String xhsmsPath; |
| | | |
| | | @Value("${visitHosp}") |
| | | private Integer visitHosp; |
| | | |
| | | @Value("${server.port}") |
| | | private String port; |
| | | |
| | |
| | | serviceSubtaskRecordService.insertServiceSubtaskRecord(serviceSubtaskRecord); |
| | | |
| | | } else if (descByCode.equals("çä¿¡")) { |
| | | log.info("----activeçå¼ä¸ºï¼{}", active); |
| | | //çä¿¡ |
| | | //对urlä¸ä¸¤ä¸ªåæ°å å¯ |
| | | RSAPublicKeyExample rsaPublicKeyExample = new RSAPublicKeyExample(); |
| | |
| | | iServiceOutPathService.updateServiceOutPath(serviceOutPath); |
| | | sendMagParam.setPhone(serviceSubtask.getPhone()); |
| | | sendMagParam.setUrl(ip + ":" + req_path + "/sf?p=" + format); |
| | | if (visitHosp == 2) { |
| | | if (active.equals("ls") || active.equals("sltd")) { |
| | | sendMagParam.setContent("æ¨å¥½ï¼é请æ¨å¡«ååºé¢éè®¿è°æ¥è¡¨ï¼è¯·ç¹å»" + sendMagParam.getUrl() + "æ¥çãæè°¢æ¨é
åï¼"); |
| | | } else if (visitHosp == 1) { |
| | | } else if (active.equals("xh")) { |
| | | sendMagParam.setContent("ãæ°åå»é¢ãæ¨å¥½ï¼é请æ¨å¡«ååºé¢éè®¿è°æ¥è¡¨ï¼è¯·ç¹å»" + sendMagParam.getUrl() + "å¡«åãæè°¢æ¨é
åï¼"); |
| | | } |
| | | |
| | |
| | | //妿typeæ¯è¯é³é访çè¯ï¼è¯´æè¡¥å¿åéæ¹å¼ä¸æçµè¯éè®¿çæ¹å¼ï¼è¿éçå¤é¾å°±å°ååªè½ç¨/sfï¼ |
| | | if (serviceSubtask.getType().equals("1")) |
| | | sendMagParam.setUrl(ip + ":" + req_path + "/sf?p=" + format); |
| | | if (visitHosp == 2) { |
| | | if (active.equals("ls") || active.equals("ssltd")) { |
| | | sendMagParam.setContent("æ¨å¥½ï¼é请æ¨å¡«ååºé¢è°æ¥è¡¨ï¼è¯·ç¹å»" + sendMagParam.getUrl() + "æ¥çãæè°¢æ¨é
åï¼"); |
| | | } else if (visitHosp == 1) { |
| | | } else if (active.equals("xh")) { |
| | | sendMagParam.setContent("ãæ°åå»é¢ãæ¨å¥½ï¼é请æ¨å¡«ååºé¢è°æ¥è¡¨ï¼è¯·ç¹å»" + sendMagParam.getUrl() + "å¡«åãæè°¢æ¨é
åï¼"); |
| | | } else if (active.equals("druid")) { |
| | | sendMagParam.setContent("æ¨å¥½ï¼é请æ¨å¡«ååºé¢è°æ¥è¡¨ï¼è¯·ç¹å»" + sendMagParam.getUrl() + "å¡«åãæè°¢æ¨é
åï¼"); |
| | | } |
| | | } else if (type == 3) { |
| | | //宣æ |
| | |
| | | if (heLibrary.getHetype().equals("1")) { |
| | | sendMagParam.setPhone(serviceSubtask.getPhone()); |
| | | sendMagParam.setUrl(ip + ":" + req_path + "/xj?p=" + format); |
| | | if (visitHosp == 2) { |
| | | if (active.equals("ls") || active.equals("sltd")) { |
| | | sendMagParam.setContent("æ¨å¥½ï¼é请æ¨å¡«ååºé¢å®£æè°æ¥è¡¨ï¼è¯·ç¹å»" + sendMagParam.getUrl() + "æ¥çãæè°¢æ¨é
åï¼"); |
| | | } else if (visitHosp == 1) { |
| | | } else if (active.equals("xh")) { |
| | | sendMagParam.setContent("ãæ°åå»é¢ãæ¨å¥½ï¼é请æ¨å¡«ååºé¢å®£æè°æ¥è¡¨ï¼è¯·ç¹å»" + sendMagParam.getUrl() + "æ¥çãæè°¢æ¨é
åï¼"); |
| | | } |
| | | } else { |
| | | } else if (heLibrary.getHetype().equals("2")) { |
| | | //éç¥ |
| | | sendMagParam.setPhone(serviceSubtask.getPhone()); |
| | | sendMagParam.setContent(heLibrary.getPreachcontent()); |
| | |
| | | |
| | | //çä¿¡è¿éè¦æ¨¡æ¿ |
| | | String s = null; |
| | | if (visitHosp == 1) { |
| | | if (active.equals("xh")) { |
| | | //æ°åççä¿¡åéæ¹å¼ |
| | | Map<String, String> req = new HashMap<>(); |
| | | req.put("phone", sendMagParam.getPhone()); |
| | | req.put("content", sendMagParam.getContent()); |
| | | s = HttpUtil.postJsonRequest(xhsmsPath, new Gson().toJson(req)); |
| | | } else if (visitHosp == 2) { |
| | | } else if (active.equals("ls")) { |
| | | String url = configService.selectConfigByKey("token.360", serviceSubtask.getOrgid()); |
| | | log.info("-------00token.360çURL为ï¼{}", url); |
| | | //丽水ççä¿¡åéæ¹å¼ |
| | |
| | | setFailPreachForm(serviceSubtask, sendPreachform, "çä¿¡åé失败", "5"); |
| | | throw new BaseException("çä¿¡åé失败"); |
| | | } |
| | | } else if (visitHosp == 3) { |
| | | } else if (active.equals("sltd")) { |
| | | log.info("-------è¿æ¥äºä¸ï¼ï¼"); |
| | | //çç«åå¾·ççä¿¡åéæ¹å¼ |
| | | JSONObject data = MessageSend.sendMsg(sendMagParam.getContent(), "2", sendMagParam.getPhone(), LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyyMMddHHmmss"))); |
| | | String code = data.get("code").toString(); |
| | | if (StringUtils.isNotEmpty(code) && code.equals("00000")) { |
| | | String data = MessageSend.sendMsg(sendMagParam.getContent(), "2", sendMagParam.getPhone(), LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyyMMddHHmmss"))); |
| | | if (StringUtils.isNotEmpty(data) && data.contains("result=0")) { |
| | | s = "true"; |
| | | } else { |
| | | setFailPreachForm(serviceSubtask, sendPreachform, "çä¿¡åé失败", "5"); |
| | |
| | | setFailPreachForm(serviceSubtask, sendPreachform, "è¯¥æºæçå
¬ä¼å·é
置信æ¯ä¸å
¨ï¼æ æ³éè¿å
¬ä¼å·åé", "5"); |
| | | continue; |
| | | } |
| | | |
| | | |
| | | String wxCode = getWXCode(serviceSubtask.getSfzh(), url, serviceSubtask.getTaskName(), serviceSubtask.getTaskName(), patArchive.getTelcode(), patArchive.getName(), patArchive.getPatidHis(), wxqqxx); |
| | | log.error("wxCodeçå¼ä¸º:{}", wxCode); |
| | |
| | | @Value("${uploadSwitch}") |
| | | private Integer uploadSwitch; |
| | | |
| | | @Value("${fileUpload}") |
| | | private String fileUpload; |
| | | |
| | | @Value("${profile}") |
| | | private String profile; |
| | | |
| | | @Value("${spring.profiles.active}") |
| | | private String active; |
| | | |
| | | /** |
| | | * éç¨ä¸è½½è¯·æ± |
| | | * |
| | |
| | | // ä¸ä¼ å¹¶è¿åæ°æä»¶åç§° |
| | | String fileName = FileUploadUtils.uploadSort(filePath, file); |
| | | String url = null; |
| | | //æ°åå»é¢ç¹æ®ï¼è¿ä¸ªè§é¢ç访é®å¾è½¬ |
| | | String xhPath = "http://218.108.11.22:8093/profile-api"; |
| | | String xhPath = fileUpload + profile; |
| | | |
| | | if (uploadSwitch == 1) { |
| | | String fn = fileName.replaceAll("/profile", ""); |
| | | url = xhPath + fn; |
| | |
| | | e.printStackTrace(); |
| | | } |
| | | String url = null; |
| | | String xhPath = "http://218.108.11.22:8093/profile-api"; |
| | | String xhPath = fileUpload + profile; |
| | | if (uploadSwitch == 1) { |
| | | url = xhPath + "/upload/show/" + fileName.split("\\.", 2)[0] + "/" + fileName; |
| | | } else { |
| | |
| | | /** |
| | | * é®é¢è¯æ¯åºController |
| | | * |
| | | * @author ruoyi |
| | | * @author ls |
| | | * @date 2023-12-21 |
| | | */ |
| | | @Api(description = "é®é¢è¯æ¯åº") |
| | |
| | | |
| | | import com.github.pagehelper.ISelect; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.constant.HttpStatus; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.domain.entity.SysUser; |
| | |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | import java.util.concurrent.Executor; |
| | |
| | | */ |
| | | @ApiOperation("è·åæ£è
ä¿¡æ¯") |
| | | @PostMapping("/getPatientInfo") |
| | | public TableDataInfo getPatientInfo(@RequestBody PatArchiveReq patArchiveReq) { |
| | | PageUtils.startPageByPost(patArchiveReq.getPageNum(), patArchiveReq.getPageSize()); |
| | | public Map<String, Object> getPatientInfo(@RequestBody PatArchiveReq patArchiveReq) { |
| | | if (patArchiveReq.getPageSize() != null && patArchiveReq.getPageNum() != null) |
| | | patArchiveReq.setPageNum(PageUtils.getOffset(patArchiveReq.getPageNum(), patArchiveReq.getPageSize())); |
| | | |
| | | LoginUser loginUser = getLoginUser(); |
| | | SysUser user = loginUser.getUser(); |
| | | patArchiveReq.setOrgid(user.getOrgid()); |
| | |
| | | patArchiveReq.setLeaveldeptcodes(null); |
| | | } |
| | | List<PatArchiveOthreInfo> patientInfo = patArchiveService.getPatientInfo(patArchiveReq); |
| | | long count = PageUtils.count(new ISelect() { |
| | | @Override |
| | | public void doSelect() { |
| | | patArchiveService.getPatientInfo(patArchiveReq); |
| | | } |
| | | }); |
| | | return getDataTable2(count, patientInfo); |
| | | |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("code", HttpStatus.SUCCESS); |
| | | map.put("msg", "æ¥è¯¢æå"); |
| | | map.put("rows", patientInfo); |
| | | |
| | | patArchiveReq.setPageNum(null); |
| | | patArchiveReq.setPageSize(null); |
| | | List<PatArchiveOthreInfo> count = patArchiveService.getPatientInfo(patArchiveReq); |
| | | map.put("total", count.size()); |
| | | return map; |
| | | } |
| | | |
| | | /** |
| | |
| | | @Autowired |
| | | private IPatMedOuthospService iPatMedOuthospService; |
| | | |
| | | @Value("${visitHosp}") |
| | | private Integer visitHosp; |
| | | |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
ä½é¢è®°å½å表 |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.web.controller.smartor; |
| | | |
| | | import java.util.List; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.PutMapping; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.smartor.domain.PatMedOuthospProvisional; |
| | | import com.smartor.service.IPatMedOuthospProvisionalService; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | |
| | | /** |
| | | * æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼Controller |
| | | * |
| | | * @author ls |
| | | * @date 2025-11-04 |
| | | */ |
| | | @Api("æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼") |
| | | @RestController |
| | | @RequestMapping("/smartor/provisional") |
| | | public class PatMedOuthospProvisionalController extends BaseController |
| | | { |
| | | @Autowired |
| | | private IPatMedOuthospProvisionalService patMedOuthospProvisionalService; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼å表 |
| | | */ |
| | | @ApiOperation("æ¥è¯¢æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼å表") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:provisional:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody PatMedOuthospProvisional patMedOuthospProvisional) |
| | | { |
| | | startPage(); |
| | | List<PatMedOuthospProvisional> list = patMedOuthospProvisionalService.selectPatMedOuthospProvisionalList(patMedOuthospProvisional); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * å¯¼åºæ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼å表 |
| | | */ |
| | | @ApiOperation("å¯¼åºæ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼å表") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:provisional:export')") |
| | | @Log(title = "æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response, PatMedOuthospProvisional patMedOuthospProvisional) |
| | | { |
| | | List<PatMedOuthospProvisional> list = patMedOuthospProvisionalService.selectPatMedOuthospProvisionalList(patMedOuthospProvisional); |
| | | ExcelUtil<PatMedOuthospProvisional> util = new ExcelUtil<PatMedOuthospProvisional>(PatMedOuthospProvisional.class); |
| | | util.exportExcel(response, list, "æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åæ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @ApiOperation("è·åæ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼è¯¦ç»ä¿¡æ¯") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:provisional:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | | return success(patMedOuthospProvisionalService.selectPatMedOuthospProvisionalById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ |
| | | */ |
| | | @ApiOperation("æ°å¢æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:provisional:add')") |
| | | @Log(title = "æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | public AjaxResult add(@RequestBody PatMedOuthospProvisional patMedOuthospProvisional) |
| | | { |
| | | return toAjax(patMedOuthospProvisionalService.insertPatMedOuthospProvisional(patMedOuthospProvisional)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ |
| | | */ |
| | | @ApiOperation("ä¿®æ¹æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:provisional:edit')") |
| | | @Log(title = "æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | public AjaxResult edit(@RequestBody PatMedOuthospProvisional patMedOuthospProvisional) |
| | | { |
| | | return toAjax(patMedOuthospProvisionalService.updatePatMedOuthospProvisional(patMedOuthospProvisional)); |
| | | } |
| | | |
| | | /** |
| | | * å 餿£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ |
| | | */ |
| | | @ApiOperation("å 餿£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼") |
| | | //@PreAuthorize("@ss.hasPermi('smartor:provisional:remove')") |
| | | @Log(title = "æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(patMedOuthospProvisionalService.deletePatMedOuthospProvisionalByIds(ids)); |
| | | } |
| | | } |
| | |
| | | |
| | | import com.github.pagehelper.ISelect; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.constant.HttpStatus; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.domain.entity.SysUser; |
| | |
| | | import com.ruoyi.common.core.redis.RedisCache; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.enums.PreachFormEnum; |
| | | import com.ruoyi.common.exception.base.BaseException; |
| | | import com.ruoyi.common.utils.DtoConversionUtils; |
| | | import com.ruoyi.common.utils.PageUtils; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | |
| | | import com.smartor.service.IServiceSubtaskRecordService; |
| | | import com.smartor.service.IServiceSubtaskService; |
| | | import com.smartor.service.IServiceTaskService; |
| | | import com.sun.org.apache.bcel.internal.generic.NEW; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import net.bytebuddy.implementation.bytecode.Throw; |
| | | import org.apache.commons.collections4.CollectionUtils; |
| | | import org.apache.commons.lang3.ObjectUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.util.ArrayList; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | |
| | | return success(serviceSubtaskService.getSfStatisticsJoydetails(serviceSubtaskCountReq)); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * åéçä¿¡æ¨¡æ¿ |
| | | */ |
| | | @ApiOperation("åéç信模æ¿") |
| | | @PostMapping("/sendMsgTemplate") |
| | | public Map<String, Object> sendMsgTemplate(@RequestBody List<PatArchiveSrmVO> patArchiveSrmVOS) { |
| | | if (CollectionUtils.isEmpty(patArchiveSrmVOS)) { |
| | | throw new BaseException("æ£è
ä¿¡æ¯ä¸è½ä¸ºç©º"); |
| | | } |
| | | List<PatArchiveSrmVO> pasList = serviceSubtaskService.sendMsgTemplate(patArchiveSrmVOS); |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("code", HttpStatus.SUCCESS); |
| | | map.put("fail", CollectionUtils.isEmpty(pasList) ? null : pasList); |
| | | return map; |
| | | } |
| | | |
| | | } |
| | |
| | | @Autowired |
| | | private IBaseSmsaccountService baseSmsaccountService; |
| | | |
| | | @Value("${visitHosp}") |
| | | private Integer visitHosp; |
| | | |
| | | @Value("${xhsmsPath}") |
| | | private String xhsmsPath; |
| | | |
| | |
| | | @Value("${xhsmsPwd}") |
| | | private String xhsmsPwd; |
| | | |
| | | @Value("${spring.profiles.active}") |
| | | private String active; |
| | | |
| | | /** |
| | | * æ¥è¯¢çä¿¡è´¦å·å表 |
| | | */ |
| | | //@PreAuthorize("@ss.hasPermi('smartor:smsaccount:list')") |
| | | @PostMapping("/list") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(@RequestBody BaseSmsaccount baseSmsaccount) { |
| | | startPage(); |
| | | List<BaseSmsaccount> list = baseSmsaccountService.selectBaseSmsaccountList(baseSmsaccount); |
| | |
| | | @PostMapping("/sendMsg") |
| | | @RepeatSubmit |
| | | public AjaxResult sendMsg(@RequestBody BaseSmsRequest baseSmsRequest) { |
| | | String sendMsg=""; |
| | | if(visitHosp.equals("3")) { |
| | | try{ |
| | | String sendMsg = ""; |
| | | if (active.equals("hzszlyy")) { |
| | | try { |
| | | JSONObject jsTemp = JSON.parseObject(baseSmsRequest.getTemplateParam()); |
| | | String content=jsTemp.getString("name"); |
| | | sendMsg= smsUtils.sendSms(xhsmsPath,xhsmsAccount,xhsmsPwd,baseSmsRequest.getPhoneNumber(),content); |
| | | String content = jsTemp.getString("name"); |
| | | sendMsg = smsUtils.sendSms(xhsmsPath, xhsmsAccount, xhsmsPwd, baseSmsRequest.getPhoneNumber(), content); |
| | | } catch (Exception ex) { |
| | | return AjaxResult.error(ex.getMessage()) ; |
| | | return AjaxResult.error(ex.getMessage()); |
| | | } |
| | | return AjaxResult.success(sendMsg); |
| | | }else { |
| | | } else { |
| | | if (baseSmsaccountService.sendMsg(baseSmsRequest) == null) { |
| | | return error(); |
| | | } |
| | |
| | | # driverClassName: com.mysql.cj.jdbc.Driver |
| | | |
| | | # å
¬å¸äº |
| | | # url: jdbc:mysql://116.62.18.175:6002/smartor_xinhua?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | # username: hxsoft |
| | | # password: Hxerp2000 |
| | | # driverClassName: com.mysql.cj.jdbc.Driver |
| | | # url: jdbc:mysql://116.62.18.175:6002/smartor_xinhua?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | # username: hxsoft |
| | | # password: Hxerp2000 |
| | | # driverClassName: com.mysql.cj.jdbc.Driver |
| | | # å
¬å¸æ¬å° |
| | | url: jdbc:mysql://haiershi.a1.luyouxia.net:23844/smartor_lishui?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | url: jdbc:mysql://haiershi.a1.luyouxia.net:23844/smartor_sltd?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | username: smartor |
| | | password: Smartor.2023 |
| | | driverClassName: com.mysql.cj.jdbc.Driver |
| | |
| | | # password: Smartor.2023 |
| | | # driverClassName: com.mysql.cj.jdbc.Driver |
| | | # 仿°æ®æºå¼å
³/é»è®¤å
³é(å
¬å¸) |
| | | # enabled: true |
| | | # url: jdbc:sqlserver://116.62.18.175:6001;DatabaseName=iv-ywey;encrypt=false;SelectMethod=cursor |
| | | # username: sa |
| | | # password: Hxerp2000 |
| | | # driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver |
| | | # enabled: true |
| | | # url: jdbc:sqlserver://116.62.18.175:6001;DatabaseName=iv-ywey;encrypt=false;SelectMethod=cursor |
| | | # username: sa |
| | | # password: Hxerp2000 |
| | | # driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver |
| | | |
| | | # 仿°æ®æºå¼å
³/é»è®¤å
³é(ä¹ä¹äºé¢) |
| | | # enabled: true |
| | |
| | | multi-statement-allow: true |
| | | # redis é
ç½® |
| | | redis: |
| | | host: 192.168.100.10 |
| | | host: 127.0.0.1 |
| | | port: 6020 |
| | | database: 0 |
| | | password: Smartor |
| | |
| | | #admin管çåuserId |
| | | isAdmin: 1,2,3,4,5,6,7,8,9,10,11,12,13 |
| | | |
| | | #é访å»é¢ï¼1æ°å 2丽水 |
| | | visitHosp: 2 |
| | | |
| | | isEncryp: |
| | | |
| | | dealDeptCode: |
| | | |
| | | #æä»¶ä¸ä¼ å°å |
| | | fileUpload: |
| | | profile: |
| | |
| | | #admin管çåuserId |
| | | isAdmin: 1,2,3,4,5,6,7,8,9,10,11,12,13 |
| | | |
| | | #é访å»é¢ï¼1æ°å 2丽水 3çç«åå¾· |
| | | visitHosp: 0 |
| | | |
| | | #å¤çæè¯å»ºè®®çé¨é¨ç¼ç |
| | | dealDeptCode: |
| | | |
| | | #æ¯å¦å å¯ 0ä¸å 1å å¯ |
| | | isEncryp: 0 |
| | | |
| | | #æä»¶ä¸ä¼ å°å |
| | | fileUpload: |
| | | profile: |
| | |
| | | #admin管çåuserId |
| | | isAdmin: 1,2,3,4,5,6,7,8,9,10,11,12,13 |
| | | |
| | | #é访å»é¢ï¼1æ°å 2丽水 3 æå·å¸ä¸å»é¢å´å±±é¢åº |
| | | visitHosp: 3 |
| | |
| | | #admin管çåuserId |
| | | isAdmin: 1,2,3,4,5,6,7,8,9,10,11,12,13 |
| | | |
| | | #é访å»é¢ï¼1æ°å 2丽水 3çç«åå¾· |
| | | visitHosp: 2 |
| | | |
| | | #å¤çæè¯å»ºè®®çé¨é¨ç¼ç |
| | | dealDeptCode: |
| | | |
| | | #æ¯å¦å å¯ 0ä¸å 1å å¯ |
| | | isEncryp: 0 |
| | | |
| | | #æä»¶ä¸ä¼ å°å |
| | | fileUpload: |
| | | profile: |
| | |
| | | #admin管çåuserId |
| | | isAdmin: 1,2,3,4,5,6,7,8,9,10,11,12,13 |
| | | |
| | | #é访å»é¢ï¼1æ°å 2丽水 3å¸ä¸ 4çç«åå¾· |
| | | visitHosp: 4 |
| | | |
| | | #ç¨æ·é»è®¤å¯ç |
| | | userPwd: sltd@0230 |
| | | |
| | |
| | | #æ¯å¦å å¯ 0ä¸å 1å å¯ |
| | | isEncryp: 0 |
| | | |
| | | |
| | | #æä»¶ä¸ä¼ å°å |
| | | fileUpload: http://192.88.117.236:8090 |
| | | profile: /prod-api/profile |
| | |
| | | #admin管çåuserId |
| | | isAdmin: 1,2,3,4,5,6,7,8,9,10,11,12,13 |
| | | |
| | | #é访å»é¢ï¼1æ°å 2丽水 3çç«åå¾· |
| | | visitHosp: 1 |
| | | |
| | | #å¤çæè¯å»ºè®®çé¨é¨ç¼ç |
| | | dealDeptCode: |
| | | |
| | | #æ¯å¦å å¯ 0ä¸å 1å å¯ |
| | | isEncryp: 0 |
| | | |
| | | #æä»¶ä¸ä¼ å°å |
| | | fileUpload: http://218.108.11.22:8093 |
| | | profile: /profile-api |
| | |
| | | #admin管çåuserId |
| | | isAdmin: 1,2,3,4,5,6,7,8,9,10,11,12,13 |
| | | |
| | | #é访å»é¢ï¼1æ°å 2丽水 |
| | | visitHosp: 2 |
| | | |
| | | #å¤çæè¯å»ºè®®çé¨é¨ç¼ç |
| | | dealDeptCode: |
| | |
| | | # å½é
åèµæºæä»¶è·¯å¾ |
| | | basename: i18n/messages |
| | | profiles: |
| | | active: ls |
| | | active: sltd |
| | | # æä»¶ä¸ä¼ |
| | | servlet: |
| | | multipart: |
| | |
| | | package com.ruoyi.common.core.domain.entity; |
| | | |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | |
| | | @ApiModelProperty("é¨é¨ç¼ç ") |
| | | private String type; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @ApiModelProperty("é¢åº") |
| | | @Excel(name = " é¢åº ") |
| | | private String campusid; |
| | | |
| | | } |
| | |
| | | private List<Map<String, Object>> belongDepts = new ArrayList(); |
| | | |
| | | |
| | | public String getCampusid() { |
| | | return campusid; |
| | | } |
| | | |
| | | public void setCampusid(String campusid) { |
| | | this.campusid = campusid; |
| | | } |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @ApiModelProperty("é¢åº") |
| | | @Excel(name = " é¢åº ") |
| | | private String campusid; |
| | | |
| | | |
| | | public SysUser() { |
| | | |
| | | } |
| | |
| | | private Long delFlag; |
| | | |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @ApiModelProperty("é¢åº") |
| | | @Excel(name = " é¢åº ") |
| | | private String campusid; |
| | | |
| | | } |
| | | |
| | |
| | | |
| | | |
| | | /** |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <pre> |
| | | * <complexType> |
| | | * <complexContent> |
| | |
| | | * </complexContent> |
| | | * </complexType> |
| | | * </pre> |
| | | * |
| | | * |
| | | * |
| | | * |
| | | */ |
| | | @XmlAccessorType(XmlAccessType.FIELD) |
| | | @XmlType(name = "") |
| | |
| | | |
| | | |
| | | /** |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <pre> |
| | | * <complexType> |
| | | * <complexContent> |
| | |
| | | * </complexContent> |
| | | * </complexType> |
| | | * </pre> |
| | | * |
| | | * |
| | | * |
| | | * |
| | | */ |
| | | @XmlAccessorType(XmlAccessType.FIELD) |
| | | @XmlType(name = "", propOrder = { |
| | |
| | | protected String helloResult; |
| | | |
| | | /** |
| | | * è·åhelloResult屿§çå¼ã |
| | | * |
| | | * è·åhelloResult屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getHelloResult() { |
| | | return helloResult; |
| | | } |
| | | |
| | | /** |
| | | * 设置helloResult屿§çå¼ã |
| | | * |
| | | * 设置helloResult屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setHelloResult(String value) { |
| | | this.helloResult = value; |
| | |
| | | |
| | | |
| | | /** |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <pre> |
| | | * <complexType> |
| | | * <complexContent> |
| | |
| | | * </complexContent> |
| | | * </complexType> |
| | | * </pre> |
| | | * |
| | | * |
| | | * |
| | | * |
| | | */ |
| | | @XmlAccessorType(XmlAccessType.FIELD) |
| | | @XmlType(name = "", propOrder = { |
| | |
| | | protected String sUserNumber; |
| | | |
| | | /** |
| | | * è·åsServerNumber屿§çå¼ã |
| | | * |
| | | * è·åsServerNumber屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSServerNumber() { |
| | | return sServerNumber; |
| | | } |
| | | |
| | | /** |
| | | * 设置sServerNumber屿§çå¼ã |
| | | * |
| | | * 设置sServerNumber屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSServerNumber(String value) { |
| | | this.sServerNumber = value; |
| | | } |
| | | |
| | | /** |
| | | * è·åsTemplateNumber屿§çå¼ã |
| | | * |
| | | * è·åsTemplateNumber屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSTemplateNumber() { |
| | | return sTemplateNumber; |
| | | } |
| | | |
| | | /** |
| | | * 设置sTemplateNumber屿§çå¼ã |
| | | * |
| | | * 设置sTemplateNumber屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSTemplateNumber(String value) { |
| | | this.sTemplateNumber = value; |
| | | } |
| | | |
| | | /** |
| | | * è·åsOrderNo屿§çå¼ã |
| | | * |
| | | * è·åsOrderNo屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSOrderNo() { |
| | | return sOrderNo; |
| | | } |
| | | |
| | | /** |
| | | * 设置sOrderNo屿§çå¼ã |
| | | * |
| | | * 设置sOrderNo屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSOrderNo(String value) { |
| | | this.sOrderNo = value; |
| | | } |
| | | |
| | | /** |
| | | * è·åsUserNumber屿§çå¼ã |
| | | * |
| | | * è·åsUserNumber屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSUserNumber() { |
| | | return sUserNumber; |
| | | } |
| | | |
| | | /** |
| | | * 设置sUserNumber屿§çå¼ã |
| | | * |
| | | * 设置sUserNumber屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSUserNumber(String value) { |
| | | this.sUserNumber = value; |
| | |
| | | |
| | | |
| | | /** |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <pre> |
| | | * <complexType> |
| | | * <complexContent> |
| | |
| | | * </complexContent> |
| | | * </complexType> |
| | | * </pre> |
| | | * |
| | | * |
| | | * |
| | | * |
| | | */ |
| | | @XmlAccessorType(XmlAccessType.FIELD) |
| | | @XmlType(name = "", propOrder = { |
| | |
| | | protected String i5GReplyResult; |
| | | |
| | | /** |
| | | * è·åi5GReplyResult屿§çå¼ã |
| | | * |
| | | * è·åi5GReplyResult屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getI5GReplyResult() { |
| | | return i5GReplyResult; |
| | | } |
| | | |
| | | /** |
| | | * 设置i5GReplyResult屿§çå¼ã |
| | | * |
| | | * 设置i5GReplyResult屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setI5GReplyResult(String value) { |
| | | this.i5GReplyResult = value; |
| | |
| | | |
| | | |
| | | /** |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <pre> |
| | | * <complexType> |
| | | * <complexContent> |
| | |
| | | * </complexContent> |
| | | * </complexType> |
| | | * </pre> |
| | | * |
| | | * |
| | | * |
| | | * |
| | | */ |
| | | @XmlAccessorType(XmlAccessType.FIELD) |
| | | @XmlType(name = "") |
| | |
| | | |
| | | |
| | | /** |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <pre> |
| | | * <complexType> |
| | | * <complexContent> |
| | |
| | | * </complexContent> |
| | | * </complexType> |
| | | * </pre> |
| | | * |
| | | * |
| | | * |
| | | * |
| | | */ |
| | | @XmlAccessorType(XmlAccessType.FIELD) |
| | | @XmlType(name = "", propOrder = { |
| | |
| | | protected String i5GReportResult; |
| | | |
| | | /** |
| | | * è·åi5GReportResult屿§çå¼ã |
| | | * |
| | | * è·åi5GReportResult屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getI5GReportResult() { |
| | | return i5GReportResult; |
| | | } |
| | | |
| | | /** |
| | | * 设置i5GReportResult屿§çå¼ã |
| | | * |
| | | * 设置i5GReportResult屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setI5GReportResult(String value) { |
| | | this.i5GReportResult = value; |
| | |
| | | |
| | | |
| | | /** |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <pre> |
| | | * <complexType> |
| | | * <complexContent> |
| | |
| | | * </complexContent> |
| | | * </complexType> |
| | | * </pre> |
| | | * |
| | | * |
| | | * |
| | | * |
| | | */ |
| | | @XmlAccessorType(XmlAccessType.FIELD) |
| | | @XmlType(name = "") |
| | |
| | | |
| | | |
| | | /** |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <pre> |
| | | * <complexType> |
| | | * <complexContent> |
| | |
| | | * </complexContent> |
| | | * </complexType> |
| | | * </pre> |
| | | * |
| | | * |
| | | * |
| | | * |
| | | */ |
| | | @XmlAccessorType(XmlAccessType.FIELD) |
| | | @XmlType(name = "", propOrder = { |
| | |
| | | protected String i5GSearchNumberResult; |
| | | |
| | | /** |
| | | * è·åi5GSearchNumberResult屿§çå¼ã |
| | | * |
| | | * è·åi5GSearchNumberResult屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getI5GSearchNumberResult() { |
| | | return i5GSearchNumberResult; |
| | | } |
| | | |
| | | /** |
| | | * 设置i5GSearchNumberResult屿§çå¼ã |
| | | * |
| | | * 设置i5GSearchNumberResult屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setI5GSearchNumberResult(String value) { |
| | | this.i5GSearchNumberResult = value; |
| | |
| | | |
| | | |
| | | /** |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <pre> |
| | | * <complexType> |
| | | * <complexContent> |
| | |
| | | * </complexContent> |
| | | * </complexType> |
| | | * </pre> |
| | | * |
| | | * |
| | | * |
| | | * |
| | | */ |
| | | @XmlAccessorType(XmlAccessType.FIELD) |
| | | @XmlType(name = "", propOrder = { |
| | |
| | | protected String sScheduleTime; |
| | | |
| | | /** |
| | | * è·åsServerNumber屿§çå¼ã |
| | | * |
| | | * è·åsServerNumber屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSServerNumber() { |
| | | return sServerNumber; |
| | | } |
| | | |
| | | /** |
| | | * 设置sServerNumber屿§çå¼ã |
| | | * |
| | | * 设置sServerNumber屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSServerNumber(String value) { |
| | | this.sServerNumber = value; |
| | | } |
| | | |
| | | /** |
| | | * è·åsTemplateNumber屿§çå¼ã |
| | | * |
| | | * è·åsTemplateNumber屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSTemplateNumber() { |
| | | return sTemplateNumber; |
| | | } |
| | | |
| | | /** |
| | | * 设置sTemplateNumber屿§çå¼ã |
| | | * |
| | | * 设置sTemplateNumber屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSTemplateNumber(String value) { |
| | | this.sTemplateNumber = value; |
| | | } |
| | | |
| | | /** |
| | | * è·åsOrderNo屿§çå¼ã |
| | | * |
| | | * è·åsOrderNo屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSOrderNo() { |
| | | return sOrderNo; |
| | | } |
| | | |
| | | /** |
| | | * 设置sOrderNo屿§çå¼ã |
| | | * |
| | | * 设置sOrderNo屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSOrderNo(String value) { |
| | | this.sOrderNo = value; |
| | | } |
| | | |
| | | /** |
| | | * è·åsMessageContent屿§çå¼ã |
| | | * |
| | | * è·åsMessageContent屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSMessageContent() { |
| | | return sMessageContent; |
| | | } |
| | | |
| | | /** |
| | | * 设置sMessageContent屿§çå¼ã |
| | | * |
| | | * 设置sMessageContent屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSMessageContent(String value) { |
| | | this.sMessageContent = value; |
| | | } |
| | | |
| | | /** |
| | | * è·åsMessageType屿§çå¼ã |
| | | * |
| | | * è·åsMessageType屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSMessageType() { |
| | | return sMessageType; |
| | | } |
| | | |
| | | /** |
| | | * 设置sMessageType屿§çå¼ã |
| | | * |
| | | * 设置sMessageType屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSMessageType(String value) { |
| | | this.sMessageType = value; |
| | | } |
| | | |
| | | /** |
| | | * è·åsUserNumber屿§çå¼ã |
| | | * |
| | | * è·åsUserNumber屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSUserNumber() { |
| | | return sUserNumber; |
| | | } |
| | | |
| | | /** |
| | | * 设置sUserNumber屿§çå¼ã |
| | | * |
| | | * 设置sUserNumber屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSUserNumber(String value) { |
| | | this.sUserNumber = value; |
| | | } |
| | | |
| | | /** |
| | | * è·åsScheduleTime屿§çå¼ã |
| | | * |
| | | * è·åsScheduleTime屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSScheduleTime() { |
| | | return sScheduleTime; |
| | | } |
| | | |
| | | /** |
| | | * 设置sScheduleTime屿§çå¼ã |
| | | * |
| | | * 设置sScheduleTime屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSScheduleTime(String value) { |
| | | this.sScheduleTime = value; |
| | |
| | | |
| | | |
| | | /** |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <pre> |
| | | * <complexType> |
| | | * <complexContent> |
| | |
| | | * </complexContent> |
| | | * </complexType> |
| | | * </pre> |
| | | * |
| | | * |
| | | * |
| | | * |
| | | */ |
| | | @XmlAccessorType(XmlAccessType.FIELD) |
| | | @XmlType(name = "", propOrder = { |
| | |
| | | protected String i5GSendResult; |
| | | |
| | | /** |
| | | * è·åi5GSendResult屿§çå¼ã |
| | | * |
| | | * è·åi5GSendResult屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getI5GSendResult() { |
| | | return i5GSendResult; |
| | | } |
| | | |
| | | /** |
| | | * 设置i5GSendResult屿§çå¼ã |
| | | * |
| | | * 设置i5GSendResult屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setI5GSendResult(String value) { |
| | | this.i5GSendResult = value; |
| | |
| | | |
| | | import com.alibaba.fastjson2.JSONObject; |
| | | import com.ruoyi.common.utils.uuid.UUID; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | |
| | | /** |
| | | * çç«åå¾·ä¿¡æ¯åéæ¥å£ |
| | | */ |
| | | @Slf4j |
| | | public class MessageSend { |
| | | /** |
| | | * // * @param sServiceNumber åå®¶è®¸å¯ |
| | |
| | | * @param sScheduleTime é¢çº¦åéæ¶é´ |
| | | * @return |
| | | */ |
| | | public static JSONObject sendMsg(String sMessageContent, String sMessageType, String sUserNumber, String sScheduleTime) { |
| | | SmsService service = new SmsService(); |
| | | public static String sendMsg(String sMessageContent, String sMessageType, String sUserNumber, String sScheduleTime) { |
| | | log.info("--sMessageContentçå¼ä¸ºï¼{} ,--sMessageTypeçå¼ä¸ºï¼{}, --sUserNumberçå¼ä¸ºï¼{}, --sScheduleTimeçå¼ä¸ºï¼{}", sMessageContent, sMessageType, sUserNumber, sScheduleTime); |
| | | com.ruoyi.common.dx.SmsService service = new SmsService(); |
| | | SmsServiceSoap soap = service.getSmsServiceSoap(); |
| | | String result = soap.i5GSend("202508291634227086", "T202508291635259440", UUID.randomUUID().toString(), sMessageContent, sMessageType, sUserNumber, sScheduleTime); |
| | | return JSONObject.parseObject(result); |
| | | log.info("----çä¿¡è¿åçæ°æ®ä¸ºï¼{}", result); |
| | | return result; |
| | | } |
| | | } |
| | |
| | | |
| | | |
| | | /** |
| | | * This object contains factory methods for each |
| | | * Java content interface and Java element interface |
| | | * generated in the com.ruoyi.web.webservice.dx package. |
| | | * <p>An ObjectFactory allows you to programatically |
| | | * construct new instances of the Java representation |
| | | * for XML content. The Java representation of XML |
| | | * content can consist of schema derived interfaces |
| | | * and classes representing the binding of schema |
| | | * type definitions, element declarations and model |
| | | * groups. Factory methods for each of these are |
| | | * This object contains factory methods for each |
| | | * Java content interface and Java element interface |
| | | * generated in the com.ruoyi.common.dx package. |
| | | * <p>An ObjectFactory allows you to programatically |
| | | * construct new instances of the Java representation |
| | | * for XML content. The Java representation of XML |
| | | * content can consist of schema derived interfaces |
| | | * and classes representing the binding of schema |
| | | * type definitions, element declarations and model |
| | | * groups. Factory methods for each of these are |
| | | * provided in this class. |
| | | * |
| | | * |
| | | */ |
| | | @XmlRegistry |
| | | public class ObjectFactory { |
| | | |
| | | |
| | | /** |
| | | * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.ruoyi.web.webservice.dx |
| | | * |
| | | * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.ruoyi.common.dx |
| | | * |
| | | */ |
| | | public ObjectFactory() { |
| | | } |
| | | |
| | | /** |
| | | * Create an instance of {@link SMSGetNumberResponse } |
| | | * |
| | | * |
| | | */ |
| | | public SMSGetNumberResponse createSMSGetNumberResponse() { |
| | | return new SMSGetNumberResponse(); |
| | |
| | | |
| | | /** |
| | | * Create an instance of {@link SMSVerify } |
| | | * |
| | | * |
| | | */ |
| | | public SMSVerify createSMSVerify() { |
| | | return new SMSVerify(); |
| | |
| | | |
| | | /** |
| | | * Create an instance of {@link I5GSearchNumberResponse } |
| | | * |
| | | * |
| | | */ |
| | | public I5GSearchNumberResponse createI5GSearchNumberResponse() { |
| | | return new I5GSearchNumberResponse(); |
| | |
| | | |
| | | /** |
| | | * Create an instance of {@link I5GSendResponse } |
| | | * |
| | | * |
| | | */ |
| | | public I5GSendResponse createI5GSendResponse() { |
| | | return new I5GSendResponse(); |
| | |
| | | |
| | | /** |
| | | * Create an instance of {@link SMSVerifyResponse } |
| | | * |
| | | * |
| | | */ |
| | | public SMSVerifyResponse createSMSVerifyResponse() { |
| | | return new SMSVerifyResponse(); |
| | |
| | | |
| | | /** |
| | | * Create an instance of {@link I5GSend } |
| | | * |
| | | * |
| | | */ |
| | | public I5GSend createI5GSend() { |
| | | return new I5GSend(); |
| | |
| | | |
| | | /** |
| | | * Create an instance of {@link SMSGetUserList } |
| | | * |
| | | * |
| | | */ |
| | | public SMSGetUserList createSMSGetUserList() { |
| | | return new SMSGetUserList(); |
| | |
| | | |
| | | /** |
| | | * Create an instance of {@link I5GReportResponse } |
| | | * |
| | | * |
| | | */ |
| | | public I5GReportResponse createI5GReportResponse() { |
| | | return new I5GReportResponse(); |
| | |
| | | |
| | | /** |
| | | * Create an instance of {@link I5GReply } |
| | | * |
| | | * |
| | | */ |
| | | public I5GReply createI5GReply() { |
| | | return new I5GReply(); |
| | |
| | | |
| | | /** |
| | | * Create an instance of {@link SMSGetTemplateList } |
| | | * |
| | | * |
| | | */ |
| | | public SMSGetTemplateList createSMSGetTemplateList() { |
| | | return new SMSGetTemplateList(); |
| | |
| | | |
| | | /** |
| | | * Create an instance of {@link SMSGetNumber } |
| | | * |
| | | * |
| | | */ |
| | | public SMSGetNumber createSMSGetNumber() { |
| | | return new SMSGetNumber(); |
| | |
| | | |
| | | /** |
| | | * Create an instance of {@link Hello } |
| | | * |
| | | * |
| | | */ |
| | | public Hello createHello() { |
| | | return new Hello(); |
| | |
| | | |
| | | /** |
| | | * Create an instance of {@link I5GReport } |
| | | * |
| | | * |
| | | */ |
| | | public I5GReport createI5GReport() { |
| | | return new I5GReport(); |
| | |
| | | |
| | | /** |
| | | * Create an instance of {@link SMSGetUserListResponse } |
| | | * |
| | | * |
| | | */ |
| | | public SMSGetUserListResponse createSMSGetUserListResponse() { |
| | | return new SMSGetUserListResponse(); |
| | |
| | | |
| | | /** |
| | | * Create an instance of {@link SMSSaveContent } |
| | | * |
| | | * |
| | | */ |
| | | public SMSSaveContent createSMSSaveContent() { |
| | | return new SMSSaveContent(); |
| | |
| | | |
| | | /** |
| | | * Create an instance of {@link SMSSaveContentResponse } |
| | | * |
| | | * |
| | | */ |
| | | public SMSSaveContentResponse createSMSSaveContentResponse() { |
| | | return new SMSSaveContentResponse(); |
| | |
| | | |
| | | /** |
| | | * Create an instance of {@link I5GSearchNumber } |
| | | * |
| | | * |
| | | */ |
| | | public I5GSearchNumber createI5GSearchNumber() { |
| | | return new I5GSearchNumber(); |
| | |
| | | |
| | | /** |
| | | * Create an instance of {@link I5GReplyResponse } |
| | | * |
| | | * |
| | | */ |
| | | public I5GReplyResponse createI5GReplyResponse() { |
| | | return new I5GReplyResponse(); |
| | |
| | | |
| | | /** |
| | | * Create an instance of {@link HelloResponse } |
| | | * |
| | | * |
| | | */ |
| | | public HelloResponse createHelloResponse() { |
| | | return new HelloResponse(); |
| | |
| | | |
| | | /** |
| | | * Create an instance of {@link SMSGetTemplateListResponse } |
| | | * |
| | | * |
| | | */ |
| | | public SMSGetTemplateListResponse createSMSGetTemplateListResponse() { |
| | | return new SMSGetTemplateListResponse(); |
| | |
| | | |
| | | /** |
| | | * Create an instance of {@link SMSVerifyPrivateResponse } |
| | | * |
| | | * |
| | | */ |
| | | public SMSVerifyPrivateResponse createSMSVerifyPrivateResponse() { |
| | | return new SMSVerifyPrivateResponse(); |
| | |
| | | |
| | | /** |
| | | * Create an instance of {@link SMSVerifyPrivate } |
| | | * |
| | | * |
| | | */ |
| | | public SMSVerifyPrivate createSMSVerifyPrivate() { |
| | | return new SMSVerifyPrivate(); |
| | |
| | | |
| | | |
| | | /** |
| | | * <p>anonymous complex type�� Java �ࡣ |
| | | * |
| | | * <p>����ģʽƬ��ָ�������ڴ����е�Ԥ�����ݡ� |
| | | * |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <pre> |
| | | * <complexType> |
| | | * <complexContent> |
| | |
| | | * </complexContent> |
| | | * </complexType> |
| | | * </pre> |
| | | * |
| | | * |
| | | * |
| | | * |
| | | */ |
| | | @XmlAccessorType(XmlAccessType.FIELD) |
| | | @XmlType(name = "") |
| | |
| | | |
| | | |
| | | /** |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <pre> |
| | | * <complexType> |
| | | * <complexContent> |
| | |
| | | * </complexContent> |
| | | * </complexType> |
| | | * </pre> |
| | | * |
| | | * |
| | | * |
| | | * |
| | | */ |
| | | @XmlAccessorType(XmlAccessType.FIELD) |
| | | @XmlType(name = "", propOrder = { |
| | |
| | | protected String smsGetNumberResult; |
| | | |
| | | /** |
| | | * è·åsmsGetNumberResult屿§çå¼ã |
| | | * |
| | | * è·åsmsGetNumberResult屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSMSGetNumberResult() { |
| | | return smsGetNumberResult; |
| | | } |
| | | |
| | | /** |
| | | * 设置smsGetNumberResult屿§çå¼ã |
| | | * |
| | | * 设置smsGetNumberResult屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSMSGetNumberResult(String value) { |
| | | this.smsGetNumberResult = value; |
| | |
| | | |
| | | |
| | | /** |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <pre> |
| | | * <complexType> |
| | | * <complexContent> |
| | |
| | | * </complexContent> |
| | | * </complexType> |
| | | * </pre> |
| | | * |
| | | * |
| | | * |
| | | * |
| | | */ |
| | | @XmlAccessorType(XmlAccessType.FIELD) |
| | | @XmlType(name = "", propOrder = { |
| | |
| | | protected String sUserName; |
| | | |
| | | /** |
| | | * è·åsUserName屿§çå¼ã |
| | | * |
| | | * è·åsUserName屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSUserName() { |
| | | return sUserName; |
| | | } |
| | | |
| | | /** |
| | | * 设置sUserName屿§çå¼ã |
| | | * |
| | | * 设置sUserName屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSUserName(String value) { |
| | | this.sUserName = value; |
| | |
| | | |
| | | |
| | | /** |
| | | * <p>anonymous complex type�� Java �ࡣ |
| | | * |
| | | * <p>����ģʽƬ��ָ�������ڴ����е�Ԥ�����ݡ� |
| | | * |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <pre> |
| | | * <complexType> |
| | | * <complexContent> |
| | |
| | | * </complexContent> |
| | | * </complexType> |
| | | * </pre> |
| | | * |
| | | * |
| | | * |
| | | * |
| | | */ |
| | | @XmlAccessorType(XmlAccessType.FIELD) |
| | | @XmlType(name = "", propOrder = { |
| | |
| | | protected String smsGetTemplateListResult; |
| | | |
| | | /** |
| | | * ��ȡsmsGetTemplateListResult���Ե�ֵ�� |
| | | * |
| | | * è·åsmsGetTemplateListResult屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSMSGetTemplateListResult() { |
| | | return smsGetTemplateListResult; |
| | | } |
| | | |
| | | /** |
| | | * ����smsGetTemplateListResult���Ե�ֵ�� |
| | | * |
| | | * 设置smsGetTemplateListResult屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSMSGetTemplateListResult(String value) { |
| | | this.smsGetTemplateListResult = value; |
| | |
| | | |
| | | |
| | | /** |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <pre> |
| | | * <complexType> |
| | | * <complexContent> |
| | |
| | | * </complexContent> |
| | | * </complexType> |
| | | * </pre> |
| | | * |
| | | * |
| | | * |
| | | * |
| | | */ |
| | | @XmlAccessorType(XmlAccessType.FIELD) |
| | | @XmlType(name = "", propOrder = { |
| | | "sUserName" |
| | | "sUserName" |
| | | }) |
| | | @XmlRootElement(name = "SMSGetUserList") |
| | | public class SMSGetUserList { |
| | |
| | | protected String sUserName; |
| | | |
| | | /** |
| | | * è·åsUserName屿§çå¼ã |
| | | * |
| | | * è·åsUserName屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSUserName() { |
| | | return sUserName; |
| | | } |
| | | |
| | | /** |
| | | * 设置sUserName屿§çå¼ã |
| | | * |
| | | * 设置sUserName屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSUserName(String value) { |
| | | this.sUserName = value; |
| | |
| | | |
| | | |
| | | /** |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <pre> |
| | | * <complexType> |
| | | * <complexContent> |
| | |
| | | * </complexContent> |
| | | * </complexType> |
| | | * </pre> |
| | | * |
| | | * |
| | | * |
| | | * |
| | | */ |
| | | @XmlAccessorType(XmlAccessType.FIELD) |
| | | @XmlType(name = "", propOrder = { |
| | |
| | | protected String smsGetUserListResult; |
| | | |
| | | /** |
| | | * è·åsmsGetUserListResult屿§çå¼ã |
| | | * |
| | | * è·åsmsGetUserListResult屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSMSGetUserListResult() { |
| | | return smsGetUserListResult; |
| | | } |
| | | |
| | | /** |
| | | * 设置smsGetUserListResult屿§çå¼ã |
| | | * |
| | | * 设置smsGetUserListResult屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSMSGetUserListResult(String value) { |
| | | this.smsGetUserListResult = value; |
| | |
| | | |
| | | |
| | | /** |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <pre> |
| | | * <complexType> |
| | | * <complexContent> |
| | |
| | | * </complexContent> |
| | | * </complexType> |
| | | * </pre> |
| | | * |
| | | * |
| | | * |
| | | * |
| | | */ |
| | | @XmlAccessorType(XmlAccessType.FIELD) |
| | | @XmlType(name = "", propOrder = { |
| | |
| | | protected String sMark; |
| | | |
| | | /** |
| | | * è·åssUseq屿§çå¼ã |
| | | * |
| | | * è·åssUseq屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSSUseq() { |
| | | return ssUseq; |
| | | } |
| | | |
| | | /** |
| | | * 设置ssUseq屿§çå¼ã |
| | | * |
| | | * 设置ssUseq屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSSUseq(String value) { |
| | | this.ssUseq = value; |
| | | } |
| | | |
| | | /** |
| | | * è·åssTseq屿§çå¼ã |
| | | * |
| | | * è·åssTseq屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSSTseq() { |
| | | return ssTseq; |
| | | } |
| | | |
| | | /** |
| | | * 设置ssTseq屿§çå¼ã |
| | | * |
| | | * 设置ssTseq屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSSTseq(String value) { |
| | | this.ssTseq = value; |
| | | } |
| | | |
| | | /** |
| | | * è·åsOrderNo屿§çå¼ã |
| | | * |
| | | * è·åsOrderNo屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSOrderNo() { |
| | | return sOrderNo; |
| | | } |
| | | |
| | | /** |
| | | * 设置sOrderNo屿§çå¼ã |
| | | * |
| | | * 设置sOrderNo屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSOrderNo(String value) { |
| | | this.sOrderNo = value; |
| | | } |
| | | |
| | | /** |
| | | * è·åsMessageType屿§çå¼ã |
| | | * |
| | | * è·åsMessageType屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSMessageType() { |
| | | return sMessageType; |
| | | } |
| | | |
| | | /** |
| | | * 设置sMessageType屿§çå¼ã |
| | | * |
| | | * 设置sMessageType屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSMessageType(String value) { |
| | | this.sMessageType = value; |
| | | } |
| | | |
| | | /** |
| | | * è·åsMessageContent屿§çå¼ã |
| | | * |
| | | * è·åsMessageContent屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSMessageContent() { |
| | | return sMessageContent; |
| | | } |
| | | |
| | | /** |
| | | * 设置sMessageContent屿§çå¼ã |
| | | * |
| | | * 设置sMessageContent屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSMessageContent(String value) { |
| | | this.sMessageContent = value; |
| | | } |
| | | |
| | | /** |
| | | * è·åsUserNumber屿§çå¼ã |
| | | * |
| | | * è·åsUserNumber屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSUserNumber() { |
| | | return sUserNumber; |
| | | } |
| | | |
| | | /** |
| | | * 设置sUserNumber屿§çå¼ã |
| | | * |
| | | * 设置sUserNumber屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSUserNumber(String value) { |
| | | this.sUserNumber = value; |
| | | } |
| | | |
| | | /** |
| | | * è·åsSerialNumber屿§çå¼ã |
| | | * |
| | | * è·åsSerialNumber屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSSerialNumber() { |
| | | return sSerialNumber; |
| | | } |
| | | |
| | | /** |
| | | * 设置sSerialNumber屿§çå¼ã |
| | | * |
| | | * 设置sSerialNumber屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSSerialNumber(String value) { |
| | | this.sSerialNumber = value; |
| | | } |
| | | |
| | | /** |
| | | * è·åsScheduleTime屿§çå¼ã |
| | | * |
| | | * è·åsScheduleTime屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSScheduleTime() { |
| | | return sScheduleTime; |
| | | } |
| | | |
| | | /** |
| | | * 设置sScheduleTime屿§çå¼ã |
| | | * |
| | | * 设置sScheduleTime屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSScheduleTime(String value) { |
| | | this.sScheduleTime = value; |
| | | } |
| | | |
| | | /** |
| | | * è·åsExtendAccessNum屿§çå¼ã |
| | | * |
| | | * è·åsExtendAccessNum屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSExtendAccessNum() { |
| | | return sExtendAccessNum; |
| | | } |
| | | |
| | | /** |
| | | * 设置sExtendAccessNum屿§çå¼ã |
| | | * |
| | | * 设置sExtendAccessNum屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSExtendAccessNum(String value) { |
| | | this.sExtendAccessNum = value; |
| | | } |
| | | |
| | | /** |
| | | * è·åsStatus屿§çå¼ã |
| | | * |
| | | * è·åsStatus屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSStatus() { |
| | | return sStatus; |
| | | } |
| | | |
| | | /** |
| | | * 设置sStatus屿§çå¼ã |
| | | * |
| | | * 设置sStatus屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSStatus(String value) { |
| | | this.sStatus = value; |
| | | } |
| | | |
| | | /** |
| | | * è·åsMark屿§çå¼ã |
| | | * |
| | | * è·åsMark屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSMark() { |
| | | return sMark; |
| | | } |
| | | |
| | | /** |
| | | * 设置sMark屿§çå¼ã |
| | | * |
| | | * 设置sMark屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSMark(String value) { |
| | | this.sMark = value; |
| | |
| | | |
| | | |
| | | /** |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <pre> |
| | | * <complexType> |
| | | * <complexContent> |
| | |
| | | * </complexContent> |
| | | * </complexType> |
| | | * </pre> |
| | | * |
| | | * |
| | | * |
| | | * |
| | | */ |
| | | @XmlAccessorType(XmlAccessType.FIELD) |
| | | @XmlType(name = "", propOrder = { |
| | |
| | | protected int smsSaveContentResult; |
| | | |
| | | /** |
| | | * è·åsmsSaveContentResult屿§çå¼ã |
| | | * |
| | | * è·åsmsSaveContentResult屿§çå¼ã |
| | | * |
| | | */ |
| | | public int getSMSSaveContentResult() { |
| | | return smsSaveContentResult; |
| | | } |
| | | |
| | | /** |
| | | * 设置smsSaveContentResult屿§çå¼ã |
| | | * |
| | | * 设置smsSaveContentResult屿§çå¼ã |
| | | * |
| | | */ |
| | | public void setSMSSaveContentResult(int value) { |
| | | this.smsSaveContentResult = value; |
| | |
| | | |
| | | |
| | | /** |
| | | * <p>anonymous complex type?? Java ?? |
| | | * |
| | | * <p>??????????????????????е????????? |
| | | * |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <pre> |
| | | * <complexType> |
| | | * <complexContent> |
| | |
| | | * </complexContent> |
| | | * </complexType> |
| | | * </pre> |
| | | * |
| | | * |
| | | * |
| | | * |
| | | */ |
| | | @XmlAccessorType(XmlAccessType.FIELD) |
| | | @XmlType(name = "", propOrder = { |
| | |
| | | protected String sTemplateNumber; |
| | | |
| | | /** |
| | | * ???sServerNumber???????? |
| | | * |
| | | * è·åsServerNumber屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSServerNumber() { |
| | | return sServerNumber; |
| | | } |
| | | |
| | | /** |
| | | * ????sServerNumber???????? |
| | | * |
| | | * 设置sServerNumber屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSServerNumber(String value) { |
| | | this.sServerNumber = value; |
| | | } |
| | | |
| | | /** |
| | | * ???sTemplateNumber???????? |
| | | * |
| | | * è·åsTemplateNumber屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSTemplateNumber() { |
| | | return sTemplateNumber; |
| | | } |
| | | |
| | | /** |
| | | * ????sTemplateNumber???????? |
| | | * |
| | | * 设置sTemplateNumber屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSTemplateNumber(String value) { |
| | | this.sTemplateNumber = value; |
| | |
| | | |
| | | |
| | | /** |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <pre> |
| | | * <complexType> |
| | | * <complexContent> |
| | |
| | | * </complexContent> |
| | | * </complexType> |
| | | * </pre> |
| | | * |
| | | * |
| | | * |
| | | * |
| | | */ |
| | | @XmlAccessorType(XmlAccessType.FIELD) |
| | | @XmlType(name = "", propOrder = { |
| | |
| | | protected String sServerNumber; |
| | | |
| | | /** |
| | | * è·åsServerNumber屿§çå¼ã |
| | | * |
| | | * è·åsServerNumber屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSServerNumber() { |
| | | return sServerNumber; |
| | | } |
| | | |
| | | /** |
| | | * 设置sServerNumber屿§çå¼ã |
| | | * |
| | | * 设置sServerNumber屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSServerNumber(String value) { |
| | | this.sServerNumber = value; |
| | |
| | | |
| | | |
| | | /** |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <pre> |
| | | * <complexType> |
| | | * <complexContent> |
| | |
| | | * </complexContent> |
| | | * </complexType> |
| | | * </pre> |
| | | * |
| | | * |
| | | * |
| | | * |
| | | */ |
| | | @XmlAccessorType(XmlAccessType.FIELD) |
| | | @XmlType(name = "", propOrder = { |
| | | "smsVerifyPrivateResult" |
| | | "smsVerifyPrivateResult" |
| | | }) |
| | | @XmlRootElement(name = "SMSVerifyPrivateResponse") |
| | | public class SMSVerifyPrivateResponse { |
| | |
| | | protected String smsVerifyPrivateResult; |
| | | |
| | | /** |
| | | * è·åsmsVerifyPrivateResult屿§çå¼ã |
| | | * |
| | | * è·åsmsVerifyPrivateResult屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSMSVerifyPrivateResult() { |
| | | return smsVerifyPrivateResult; |
| | | } |
| | | |
| | | /** |
| | | * 设置smsVerifyPrivateResult屿§çå¼ã |
| | | * |
| | | * 设置smsVerifyPrivateResult屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSMSVerifyPrivateResult(String value) { |
| | | this.smsVerifyPrivateResult = value; |
| | |
| | | |
| | | |
| | | /** |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <p>anonymous complex typeç Java ç±»ã |
| | | * |
| | | * <p>以䏿¨¡å¼ç段æå®å
å«å¨æ¤ç±»ä¸ç颿å
容ã |
| | | * |
| | | * <pre> |
| | | * <complexType> |
| | | * <complexContent> |
| | |
| | | * </complexContent> |
| | | * </complexType> |
| | | * </pre> |
| | | * |
| | | * |
| | | * |
| | | * |
| | | */ |
| | | @XmlAccessorType(XmlAccessType.FIELD) |
| | | @XmlType(name = "", propOrder = { |
| | |
| | | protected String smsVerifyResult; |
| | | |
| | | /** |
| | | * è·åsmsVerifyResult屿§çå¼ã |
| | | * |
| | | * è·åsmsVerifyResult屿§çå¼ã |
| | | * |
| | | * @return |
| | | * possible object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public String getSMSVerifyResult() { |
| | | return smsVerifyResult; |
| | | } |
| | | |
| | | /** |
| | | * 设置smsVerifyResult屿§çå¼ã |
| | | * |
| | | * 设置smsVerifyResult屿§çå¼ã |
| | | * |
| | | * @param value |
| | | * allowed object is |
| | | * {@link String } |
| | | * |
| | | * |
| | | */ |
| | | public void setSMSVerifyResult(String value) { |
| | | this.smsVerifyResult = value; |
| | |
| | | /** |
| | | * |
| | | * @param features |
| | | * A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values. |
| | | * A list of {@link WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values. |
| | | * @return |
| | | * returns SmsServiceSoap |
| | | */ |
| | |
| | | * This class was generated by the JAX-WS RI. |
| | | * JAX-WS RI 2.2.9-b130926.1035 |
| | | * Generated source version: 2.2 |
| | | * |
| | | * |
| | | */ |
| | | @WebService(name = "smsServiceSoap", targetNamespace = "http://tempuri.org/") |
| | | @XmlSeeAlso({ |
| | |
| | | |
| | | |
| | | /** |
| | | * |
| | | * |
| | | * @return |
| | | * returns java.lang.String |
| | | */ |
| | |
| | | public String hello(); |
| | | |
| | | /** |
| | | * ä¼ å
¬å¸è®¸å¯å模æ¿è®¸å¯æ¥è¯¢ä¿¡æ¯ï¼å
é¨å¹³å°éªè¯ |
| | | * |
| | | * ä¼ å
¬å¸è®¸å¯å模æ¿è®¸å¯æ¥è¯¢ä¿¡æ¯ï¼å
é¨å¹³å°éªè¯ |
| | | * |
| | | * @param sServerNumber |
| | | * @return |
| | | * returns java.lang.String |
| | |
| | | String sServerNumber); |
| | | |
| | | /** |
| | | * ä¼ å
¬å¸è®¸å¯å模æ¿è®¸å¯æ¥è¯¢ä¿¡æ¯ |
| | | * |
| | | * ä¼ å
¬å¸è®¸å¯å模æ¿è®¸å¯æ¥è¯¢ä¿¡æ¯ |
| | | * |
| | | * @param sServerNumber |
| | | * @param sTemplateNumber |
| | | * @return |
| | |
| | | String sTemplateNumber); |
| | | |
| | | /** |
| | | * æ ¹æ®å
¬å¸åç§°æ¥è¯¢å
¬å¸è®¸å¯ä¿¡æ¯ |
| | | * |
| | | * æ ¹æ®å
¬å¸åç§°æ¥è¯¢å
¬å¸è®¸å¯ä¿¡æ¯ |
| | | * |
| | | * @param sUserName |
| | | * @return |
| | | * returns java.lang.String |
| | |
| | | String sUserName); |
| | | |
| | | /** |
| | | * æ ¹æ®å
¬å¸åç§°æ¥è¯¢æ¨¡æ¿è®¸å¯ |
| | | * |
| | | * æ ¹æ®å
¬å¸åç§°æ¥è¯¢æ¨¡æ¿è®¸å¯ |
| | | * |
| | | * @param sUserName |
| | | * @return |
| | | * returns java.lang.String |
| | |
| | | String sUserName); |
| | | |
| | | /** |
| | | * è·åæ°æ®é |
| | | * |
| | | * è·åæ°æ®é |
| | | * |
| | | * @return |
| | | * returns java.lang.String |
| | | */ |
| | |
| | | public String smsGetNumber(); |
| | | |
| | | /** |
| | | * çä¿¡æ°æ®ä¿å |
| | | * |
| | | * çä¿¡æ°æ®ä¿å |
| | | * |
| | | * @param sOrderNo |
| | | * @param sUserNumber |
| | | * @param sMessageContent |
| | |
| | | String sMark); |
| | | |
| | | /** |
| | | * æ°çä¿¡å¹³å°åéçä¿¡ |
| | | * |
| | | * æ°çä¿¡å¹³å°åéçä¿¡ |
| | | * |
| | | * @param sOrderNo |
| | | * @param sUserNumber |
| | | * @param sMessageContent |
| | |
| | | String sScheduleTime); |
| | | |
| | | /** |
| | | * æ°çä¿¡å¹³å°åæ§æ¥å£ |
| | | * |
| | | * æ°çä¿¡å¹³å°åæ§æ¥å£ |
| | | * |
| | | * @return |
| | | * returns java.lang.String |
| | | */ |
| | |
| | | public String i5GReport(); |
| | | |
| | | /** |
| | | * æ°çä¿¡å¹³å°çä¿¡ä½éæ¥è¯¢ |
| | | * |
| | | * æ°çä¿¡å¹³å°çä¿¡ä½éæ¥è¯¢ |
| | | * |
| | | * @return |
| | | * returns java.lang.String |
| | | */ |
| | |
| | | public String i5GSearchNumber(); |
| | | |
| | | /** |
| | | * æ°çä¿¡å¹³å°çä¿¡å夿¥è¯¢ |
| | | * |
| | | * æ°çä¿¡å¹³å°çä¿¡å夿¥è¯¢ |
| | | * |
| | | * @param sOrderNo |
| | | * @param sUserNumber |
| | | * @param sServerNumber |
| | |
| | | import com.ruoyi.common.utils.http.HttpUtils; |
| | | import com.ruoyi.common.utils.sms.smsUtils; |
| | | import com.ruoyi.quartz.service.ICollectHISService; |
| | | import com.ruoyi.system.domain.SysConfig; |
| | | import com.ruoyi.system.service.ISysConfigService; |
| | | import com.smartor.common.LSHospTokenUtil; |
| | | import com.smartor.domain.*; |
| | |
| | | import java.nio.file.Files; |
| | | import java.nio.file.Paths; |
| | | import java.security.MessageDigest; |
| | | import java.text.SimpleDateFormat; |
| | | import java.time.LocalDate; |
| | | import java.time.LocalDateTime; |
| | | import java.time.LocalTime; |
| | |
| | | |
| | | @Value("${req_path}") |
| | | private String req_path; |
| | | |
| | | @Value("${visitHosp}") |
| | | private Integer visitHosp; |
| | | |
| | | @Autowired |
| | | private ServiceTaskMapper serviceTaskMapper; |
| | |
| | | } |
| | | } else if (active.trim().equals("sltd")) { |
| | | try { |
| | | //è·åæ¯å¦éè¦ééç¨æ·ãé¨é¨ä¿¡æ¯ |
| | | SysConfig config = new SysConfig(); |
| | | config.setConfigKey("sltd.gather.sysuser"); |
| | | config.setOrgid("20001001"); |
| | | List<SysConfig> sysConfigs = configService.selectConfigList(config); |
| | | |
| | | //è·åçç«åå¾·è¦ééçé¢åº |
| | | SysConfig cf = new SysConfig(); |
| | | cf.setConfigKey("sltd.gather.campusid"); |
| | | cf.setOrgid("20001001"); |
| | | List<SysConfig> sysConfigcampusids = configService.selectConfigList(cf); |
| | | |
| | | List<Long> campusidList = new ArrayList<>(); |
| | | if (CollectionUtils.isNotEmpty(sysConfigcampusids)) { |
| | | String[] split = sysConfigcampusids.get(0).getConfigValue().split(","); |
| | | campusidList = Arrays.stream(split).map(Long::valueOf).collect(Collectors.toList()); |
| | | } else { |
| | | log.error("SysConfigä¸çé¢åºID为空ï¼"); |
| | | return; |
| | | } |
| | | |
| | | //configValue = 1 ä¸éè¦éé configValue = 2éè¦éé |
| | | if (CollectionUtils.isNotEmpty(sysConfigs) && sysConfigs.get(0).getConfigValue().equals("2")) { |
| | | log.info("ãdealHisDataãçç«åå¾·âé¨é¨ä¿¡æ¯âå¼å§ééæ°æ®"); |
| | | ServiceSLTDDeptReqVO serviceSLTDDeptReqVO = new ServiceSLTDDeptReqVO(); |
| | | serviceSLTDDeptReqVO.setOrgId("20001001"); |
| | | serviceSLTDDeptReqVO.setCampusIds(campusidList); |
| | | Boolean aBoolean1 = serviceSLTDHealthcareRecordService.queryDeptWardAreaInfoList(serviceSLTDDeptReqVO); |
| | | log.info("ãdealHisDataãçç«åå¾·âé¨é¨ä¿¡æ¯âç»æééæ°æ®ï¼{}", aBoolean1); |
| | | |
| | | Boolean aBoolean = false; |
| | | for (Long cid : campusidList) { |
| | | log.info("ãdealHisDataãçç«åå¾·âç¨æ·ä¿¡æ¯âå¼å§ééæ°æ®ï¼é¢åºï¼{}", cid); |
| | | ServiceSLTDInhospReqVO reqVO = new ServiceSLTDInhospReqVO(); |
| | | reqVO.setOrgId("20001001"); |
| | | reqVO.setCampusId(cid); |
| | | ArrayList<String> statusList = new ArrayList<>(); |
| | | statusList.add("1"); |
| | | reqVO.setStatusList(statusList); |
| | | aBoolean = serviceSLTDHealthcareRecordService.queryHospUserInfoList(reqVO); |
| | | } |
| | | log.info("ãdealHisDataãçç«åå¾·âç¨æ·ä¿¡æ¯âç»æééæ°æ®ï¼{}", aBoolean); |
| | | } |
| | | |
| | | // çç«åå¾·æ°æ®éé |
| | | log.info("ãdealHisDataãçç«åå¾·âå
¥é¢âå¼å§ééæ°æ®"); |
| | | String yesterday = LocalDate.now().minusDays(1).format(DateTimeFormatter.ofPattern("yyyy-MM-dd")); |
| | | ServiceSLTDInhospReqVO serviceSLTDInhospReqVO = new ServiceSLTDInhospReqVO(); |
| | | serviceSLTDInhospReqVO.setOrgId("20001001"); |
| | | serviceSLTDInhospReqVO.setCampusId(30001002L); |
| | | serviceSLTDInhospReqVO.setStartHeadTime(yesterday); |
| | | serviceSLTDInhospReqVO.setStartTailTime(yesterday); |
| | | List<String> list = new ArrayList<>(); |
| | | list.add("FH0108.02"); |
| | | serviceSLTDInhospReqVO.setHealthcareRecordTypeList(list); |
| | | serviceSLTDHealthcareRecordService.queryHealthcareRecordList(serviceSLTDInhospReqVO); |
| | | log.info("ãdealHisDataãçç«åå¾·âå
¥é¢âçµæééæ°æ®"); |
| | | for (Long cid : campusidList) { |
| | | log.info("ãdealHisDataãçç«åå¾·âå
¥é¢âå¼å§ééæ°æ®ï¼é¢åºï¼{}", cid); |
| | | String nowTime = LocalDate.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd")); |
| | | ServiceSLTDInhospReqVO serviceSLTDInhospReqVO = new ServiceSLTDInhospReqVO(); |
| | | serviceSLTDInhospReqVO.setOrgId("20001001"); |
| | | serviceSLTDInhospReqVO.setCampusId(cid); |
| | | serviceSLTDInhospReqVO.setStartHeadTime(nowTime); |
| | | serviceSLTDInhospReqVO.setStartTailTime(nowTime); |
| | | List<String> list = new ArrayList<>(); |
| | | list.add("FH0108.02"); |
| | | serviceSLTDInhospReqVO.setHealthcareRecordTypeList(list); |
| | | log.info("ãdealHisDataãçç«åå¾·âå
¥é¢âééæ°æ®å
¥åï¼{}", serviceSLTDInhospReqVO); |
| | | serviceSLTDHealthcareRecordService.queryHealthcareRecordList(serviceSLTDInhospReqVO); |
| | | log.info("ãdealHisDataãçç«åå¾·âå
¥é¢âçµæééæ°æ®ï¼é¢åºï¼{}", cid); |
| | | |
| | | log.info("ãdealHisDataãçç«åå¾·â鍿¥è¯âå¼å§ééæ°æ®"); |
| | | serviceSLTDInhospReqVO.setStartHeadTime(null); |
| | | serviceSLTDInhospReqVO.setStartTailTime(null); |
| | | serviceSLTDInhospReqVO.setEncounterTimeStart(yesterday); |
| | | serviceSLTDInhospReqVO.setEncounterTimeEnd(yesterday); |
| | | List<String> list1 = new ArrayList<>(); |
| | | list1.add("FH0108.01"); |
| | | list1.add("FH0108.03"); |
| | | serviceSLTDInhospReqVO.setHealthcareRecordTypeList(list1); |
| | | serviceSLTDHealthcareRecordService.queryHealthcareRecordList(serviceSLTDInhospReqVO); |
| | | log.info("ãdealHisDataãæ²³åç»â鍿¥è¯âæééæ°æ®"); |
| | | log.info("ãdealHisDataãçç«åå¾·â鍿¥è¯âå¼å§ééæ°æ®ï¼é¢åºï¼{}", cid); |
| | | serviceSLTDInhospReqVO.setStartHeadTime(null); |
| | | serviceSLTDInhospReqVO.setStartTailTime(null); |
| | | serviceSLTDInhospReqVO.setEncounterTimeStart(nowTime); |
| | | serviceSLTDInhospReqVO.setEncounterTimeEnd(nowTime); |
| | | List<String> list1 = new ArrayList<>(); |
| | | list1.add("FH0108.01"); |
| | | list1.add("FH0108.03"); |
| | | serviceSLTDInhospReqVO.setHealthcareRecordTypeList(list1); |
| | | log.info("ãdealHisDataãçç«åå¾·â鍿¥è¯âééæ°æ®å
¥åï¼{}", serviceSLTDInhospReqVO); |
| | | serviceSLTDHealthcareRecordService.queryHealthcareRecordList(serviceSLTDInhospReqVO); |
| | | log.info("ãdealHisDataãçç«åå¾·â鍿¥è¯âæééæ°æ®ï¼é¢åºï¼{}", cid); |
| | | |
| | | log.info("ãdealHisDataãçç«åå¾·âåºé¢âå¼å§ééæ°æ®"); |
| | | serviceSLTDInhospReqVO.setStartHeadTime(null); |
| | | serviceSLTDInhospReqVO.setStartTailTime(null); |
| | | serviceSLTDInhospReqVO.setEncounterTimeStart(null); |
| | | serviceSLTDInhospReqVO.setEncounterTimeEnd(null); |
| | | serviceSLTDInhospReqVO.setPreOutHospitalHeadDate(yesterday); |
| | | serviceSLTDInhospReqVO.setPreOutHospitalTailDate(yesterday); |
| | | List<String> list2 = new ArrayList<>(); |
| | | list2.add("FH0108.02"); |
| | | serviceSLTDInhospReqVO.setHealthcareRecordTypeList(list2); |
| | | serviceSLTDHealthcareRecordService.queryHealthcareRecordList(serviceSLTDInhospReqVO); |
| | | log.info("ãdealHisDataãæ²³åç»âåºé¢âæééæ°æ®"); |
| | | |
| | | log.info("ãdealHisDataãçç«åå¾·âåºé¢âå¼å§ééæ°æ®ï¼é¢åºï¼{}", cid); |
| | | serviceSLTDInhospReqVO.setStartHeadTime(null); |
| | | serviceSLTDInhospReqVO.setStartTailTime(null); |
| | | serviceSLTDInhospReqVO.setEncounterTimeStart(null); |
| | | serviceSLTDInhospReqVO.setEncounterTimeEnd(null); |
| | | serviceSLTDInhospReqVO.setPreOutHospitalHeadDate(nowTime); |
| | | serviceSLTDInhospReqVO.setPreOutHospitalTailDate(nowTime); |
| | | List<String> list2 = new ArrayList<>(); |
| | | list2.add("FH0108.02"); |
| | | serviceSLTDInhospReqVO.setHealthcareRecordTypeList(list2); |
| | | log.info("ãdealHisDataãçç«åå¾·âåºé¢âééæ°æ®å
¥åï¼{}", serviceSLTDInhospReqVO); |
| | | serviceSLTDHealthcareRecordService.queryHealthcareRecordList(serviceSLTDInhospReqVO); |
| | | log.info("ãdealHisDataãçç«åå¾·âåºé¢âæééæ°æ®ï¼é¢åºï¼{}", cid); |
| | | } |
| | | // SysConfig sysConfig = sysConfigs.get(0); |
| | | // sysConfig.setConfigValue(nowTime); |
| | | // configService.updateConfig(sysConfig); |
| | | } catch (Exception e) { |
| | | log.error("ãdealHisDataãçç«åå¾·æ°æ®ééå¼å¸¸", e); |
| | | } |
| | |
| | | //åºé¢è¡¨ |
| | | iPatMedInhospService.dealOutHospInfo(); |
| | | //é¨è¯è¡¨ |
| | | if (visitHosp != 1) { |
| | | if (active.equals("xh")) { |
| | | iPatMedOuthospService.dealOutpatientInfo(); |
| | | } |
| | | } |
| | |
| | | sendMagParam.setContent("æ¨å¥½ï¼é请æ¨å¡«ååºé¢è°æ¥è¡¨ï¼è¯·ç¹å»" + sendMagParam.getUrl() + "å¡«åãæè°¢æ¨é
åï¼"); |
| | | } else { |
| | | HeLibrary heLibrary = heLibraryMapper.selectHeLibraryById(serviceSubtask.getLibtemplateid()); |
| | | if ("2".equals(heLibrary.getHetype())) { |
| | | if (heLibrary.getHetype().equals("1")) { |
| | | sendMagParam.setPhone(serviceSubtask.getPhone()); |
| | | sendMagParam.setUrl(localIP + ":" + req_path + "/xj?p=" + format); |
| | | if (active.equals("ls") || active.equals("sltd")) { |
| | | sendMagParam.setContent("æ¨å¥½ï¼é请æ¨å¡«ååºé¢å®£æè°æ¥è¡¨ï¼è¯·ç¹å»" + sendMagParam.getUrl() + "æ¥çãæè°¢æ¨é
åï¼"); |
| | | } else if (active.equals("xh")) { |
| | | sendMagParam.setContent("ãæ°åå»é¢ãæ¨å¥½ï¼é请æ¨å¡«ååºé¢å®£æè°æ¥è¡¨ï¼è¯·ç¹å»" + sendMagParam.getUrl() + "æ¥çãæè°¢æ¨é
åï¼"); |
| | | } |
| | | } else if (heLibrary.getHetype().equals("2")) { |
| | | //éç¥ |
| | | sendMagParam.setPhone(serviceSubtask.getPhone()); |
| | | sendMagParam.setContent(heLibrary.getPreachcontent()); |
| | | } |
| | | |
| | | } |
| | | String isSuccess = null; |
| | | if (visitHosp == 1) { |
| | | log.info("activeçå¼ä¸ºï¼{}", active); |
| | | if (active.equals("xh")) { |
| | | Map<String, String> req = new HashMap<>(); |
| | | req.put("phone", sendMagParam.getPhone()); |
| | | req.put("content", sendMagParam.getContent()); |
| | | isSuccess = HttpUtil.postJsonRequest(xhsmsPath, new Gson().toJson(req)); |
| | | } else if (visitHosp == 2) { |
| | | } else if (active.equals("ls")) { |
| | | String url = configService.selectConfigByKey("token.360", serviceSubtask.getOrgid()); |
| | | //丽水ççä¿¡åéæ¹å¼ |
| | | Map<String, String> map = MsgLSEnum.getAddressByCode(serviceSubtask.getOrgid()); |
| | |
| | | if (code.equals("0")) { |
| | | isSuccess = "true"; |
| | | } |
| | | } else if (visitHosp == 4) { |
| | | } else if (active.equals("sltd")) { |
| | | log.info("sltdè¿æ¥äºåï¼{} ,---sendMagParam.getContent()çåæ°ä¸ºï¼{}", active, sendMagParam.getContent()); |
| | | //çç«åå¾·ççä¿¡åéæ¹å¼ |
| | | JSONObject data = MessageSend.sendMsg(sendMagParam.getContent(), "2", sendMagParam.getPhone(), LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyyMMddHHmmss"))); |
| | | String code = data.get("code").toString(); |
| | | if (StringUtils.isNotEmpty(code) && code.equals("00000")) { |
| | | String data = MessageSend.sendMsg(sendMagParam.getContent(), "2", sendMagParam.getPhone(), LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyyMMddHHmmss"))); |
| | | if (StringUtils.isNotEmpty(data) && data.contains("result=0")) { |
| | | isSuccess = "true"; |
| | | } |
| | | } else if (visitHosp == 3) {//å¸ä¸å»é¢ |
| | | } else if (active.equals("hzszlyy")) {//å¸ä¸å»é¢ |
| | | String content = sendMagParam.getContent().replace("ãæ°åå»é¢ã", ""); |
| | | String result = smsUtils.sendSms(xhsmsPath, xhsmsAccount, xhsmsPwd, sendMagParam.getPhone(), content); |
| | | //è¿ééè¦æ ¹æ®resultè¿åçå¼å»å¤æï¼æ¯å¦æåï¼ç¶åå°å¼èµå¼ç»isSuccess |
| | |
| | | return; |
| | | } |
| | | String wxCode = ""; |
| | | if (visitHosp == 3) {//å¸ä¸å»é¢ |
| | | String urlTemp = "http://192.200.54.14:5003/sfjk/SendMessage?sfzh=" + serviceSubtask.getSfzh() |
| | | + "&title=æ¨å¥½ï¼é请æ¨å¡«ååºé¢è°æ¥è¡¨ï¼è¯·ç¹å»å¡«åã&content=æ¨å¥½ï¼é请æ¨å¡«ååºé¢è°æ¥è¡¨ï¼è¯·ç¹å»å¡«åã&phone=" + patArchive.getTelcode() |
| | | + "&url=" + url + "&key=ff76f8904f5f32b5ee1739e8ea46e60g"; |
| | | if (active.equals("hzszlyy")) {//å¸ä¸å»é¢ |
| | | String urlTemp = "http://192.200.54.14:5003/sfjk/SendMessage?sfzh=" + serviceSubtask.getSfzh() + "&title=æ¨å¥½ï¼é请æ¨å¡«ååºé¢è°æ¥è¡¨ï¼è¯·ç¹å»å¡«åã&content=æ¨å¥½ï¼é请æ¨å¡«ååºé¢è°æ¥è¡¨ï¼è¯·ç¹å»å¡«åã&phone=" + patArchive.getTelcode() + "&url=" + url + "&key=ff76f8904f5f32b5ee1739e8ea46e60g"; |
| | | HttpUtils.sendGet(urlTemp); |
| | | } else { |
| | | wxCode = getWXCode(serviceSubtask.getSfzh(), url, serviceSubtask.getTaskName(), serviceSubtask.getTaskDesc(), patArchive.getTelcode(), serviceSubtask.getSendname(), patArchive.getPatidHis(), wxqqxx); |
| | |
| | | if (CollectionUtils.isNotEmpty(serviceSubtaskPreachforms)) { |
| | | ServiceSubtaskPreachform serviceSubtaskPreachform1 = serviceSubtaskPreachforms.get(0); |
| | | serviceSubtaskPreachform1.setSendstate(failSendstate); |
| | | if (serviceSubtask.getType().equals("3") || serviceSubtask.getType().equals("4")) { |
| | | //妿æ¯å®£ææéç¥ï¼å¹¶ä¸åéæåï¼ç´æ¥å°åéç¶ææ¹æ9 |
| | | if (failSendstate.equals("2")) serviceSubtaskPreachform1.setSendstate("9"); |
| | | } |
| | | serviceSubtaskPreachform1.setRemark(remark); |
| | | serviceSubtaskPreachformMapper.updateServiceSubtaskPreachform(serviceSubtaskPreachform1); |
| | | |
| | |
| | | serviceSubtask.setVisitTime(getNextVisitTime(serviceSubtask.getId(), serviceSubtask.getTaskid(), serviceSubtask.getVisitTime())); |
| | | serviceSubtask.setCurrentPreachform(preachform); |
| | | serviceSubtask.setSendstate(3L); |
| | | if (serviceSubtask.getType().equals("3") || serviceSubtask.getType().equals("4")) { |
| | | //妿æ¯å®£ææéç¥ï¼å¹¶ä¸åéæåï¼åç´æ¥å°serviceSubtaskç¶ææ¹æ6Lï¼è¿ä¸ªæ£è
æ¯æ²¡æé¢åçï¼ä¸ä¼åè§¦åæ¥å£è¿è¡ç¶æä¿®æ¹ï¼ |
| | | if (failSendstate.equals("2")) { |
| | | serviceSubtask.setSendstate(6L); |
| | | } |
| | | } |
| | | serviceSubtaskMapper.updateServiceSubtask(serviceSubtask); |
| | | return true; |
| | | } |
| | |
| | | <result property="deptType" column="dept_type"/> |
| | | <result property="guid" column="guid"/> |
| | | <result property="orgid" column="orgid"/> |
| | | <result property="campusid" column="campusid"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectDeptVo"> |
| | | select d.dept_id, |
| | | d.dept_code, |
| | | d.campusid, |
| | | d.parent_id, |
| | | d.ancestors, |
| | | d.dept_name, |
| | |
| | | <if test="deptType != null and deptType != ''"> |
| | | AND dept_type = #{deptType} |
| | | </if> |
| | | <if test="campusid != null and campusid != ''"> |
| | | AND campusid = #{campusid} |
| | | </if> |
| | | <if test="hisDeptId != null and hisDeptId != ''"> |
| | | AND his_dept_id = #{hisDeptId} |
| | | </if> |
| | | <if test="hisParentId != null and hisParentId != ''"> |
| | | AND his_parent_id = #{hisParentId} |
| | | </if> |
| | | <if test="orgid != null and orgid != ''"> |
| | | <if test="orgid != null and orgid != ''"> |
| | | AND orgid = #{orgid} |
| | | </if> |
| | | <!-- æ°æ®èå´è¿æ»¤ --> |
| | |
| | | d.leader, |
| | | d.phone, |
| | | d.email, |
| | | d.campusid, |
| | | d.status, |
| | | d.his_dept_id, |
| | | d.his_parent_id, |
| | |
| | | <select id="selectDeptByCode" parameterType="string" resultMap="SysDeptResult"> |
| | | select d.dept_id, |
| | | d.parent_id, |
| | | d.campusid, |
| | | d.dept_code, |
| | | d.dept_type, |
| | | d.ancestors, |
| | |
| | | <if test="hisDeptId != null and hisDeptId != ''">his_dept_id,</if> |
| | | <if test="hisParentId != null and hisParentId != ''">his_parent_id,</if> |
| | | <if test="orgid != null and orgid != ''">orgid,</if> |
| | | <if test="campusid != null and campusid != ''">campusid,</if> |
| | | create_time |
| | | )values( |
| | | <if test="deptId != null and deptId != 0">#{deptId},</if> |
| | |
| | | <if test="hisDeptId != null and hisDeptId != ''">#{hisDeptId},</if> |
| | | <if test="hisParentId != null and hisParentId != ''">#{hisParentId},</if> |
| | | <if test="orgid != null and orgid != ''">#{orgid},</if> |
| | | <if test="campusid != null and campusid != ''">#{campusid},</if> |
| | | sysdate() |
| | | ) |
| | | </insert> |
| | |
| | | <if test="hisParentId != null and hisParentId != ''">his_parent_id = #{hisParentId},</if> |
| | | <if test="hisDeptId != null and hisDeptId != ''">his_dept_id = #{hisDeptId},</if> |
| | | <if test="orgid != null and orgid != ''">orgid = #{orgid},</if> |
| | | <if test="campusid != null and campusid != ''">campusid = #{campusid},</if> |
| | | update_time = sysdate() |
| | | </set> |
| | | where dept_id = #{deptId} |
| | |
| | | <result property="searchscope" column="searchscope"/> |
| | | <result property="guid" column="guid"/> |
| | | <result property="orgid" column="orgid"/> |
| | | <result property="campusid" column="campusid"/> |
| | | <association property="dept" column="dept_id" javaType="com.ruoyi.common.core.domain.entity.SysDept" |
| | | resultMap="deptResult"/> |
| | | <collection property="roles" javaType="java.util.List" resultMap="RoleResult"/> |
| | |
| | | <result property="orderNum" column="order_num"/> |
| | | <result property="leader" column="leader"/> |
| | | <result property="status" column="dept_status"/> |
| | | <result property="campusid" column="campusid"/> |
| | | </resultMap> |
| | | |
| | | <resultMap id="RoleResult" type="com.ruoyi.common.core.domain.entity.SysRole"> |
| | |
| | | u.dept_id, |
| | | u.id_card, |
| | | u.hosp_info, |
| | | u.campusid, |
| | | u.dept_info, |
| | | u.searchscope, |
| | | u.user_name, |
| | |
| | | u.nick_name, u.user_name, |
| | | u.email,u.id_card, |
| | | u.avatar, |
| | | u.campusid, |
| | | u.dept_name, |
| | | u.dept_code, |
| | | u.birthday, |
| | |
| | | </if> |
| | | <if test="status != null and status != ''"> |
| | | AND u.status = #{status} |
| | | </if> |
| | | <if test="campusid != null and campusid != ''"> |
| | | AND u.campusid = #{campusid} |
| | | </if> |
| | | <if test="idCard != null and idCard != ''"> |
| | | AND u.id_card = #{idCard} |
| | |
| | | </select> |
| | | <select id="getUserList" parameterType="com.ruoyi.common.core.domain.entity.SysUser" resultMap="SysUserResult"> |
| | | select u.user_id,u.title,u.his_user_id,u.hosp_info,u.dept_info, u.searchscope, u.dept_id, u.user_type, |
| | | u.nick_name, u.user_name, |
| | | u.nick_name, u.user_name,u.campusid, |
| | | u.email,u.id_card, |
| | | u.avatar, |
| | | u.dept_name, |
| | |
| | | </if> |
| | | <if test="orgid != null and orgid != ''"> |
| | | AND u.orgid = #{orgid} |
| | | </if> |
| | | <if test="campusid != null and campusid != ''"> |
| | | AND u.campusid = #{campusid} |
| | | </if> |
| | | <if test="userName != null and userName != ''"> |
| | | AND u.user_name like concat('%', #{userName}, '%') |
| | |
| | | u.email, |
| | | u.dept_code, |
| | | u.dept_name, |
| | | u.campusid, |
| | | u.birthday, |
| | | u.job_phone, |
| | | u.phonenumber, u.status,u.id_card, |
| | |
| | | resultMap="SysUserResult"> |
| | | select distinct u.user_id, u.dept_id, u.hosp_info, u.dept_info,u.searchscope, u.user_name, u.user_type, |
| | | u.nick_name, |
| | | u.campusid, |
| | | u.email, |
| | | u.his_user_id, |
| | | u.title, |
| | |
| | | <if test="orgid != null and orgid != ''">orgid,</if> |
| | | <if test="deptCode != null and deptCode != ''">dept_code,</if> |
| | | <if test="deptName != null and deptName != ''">dept_name,</if> |
| | | <if test="campusid != null and campusid != ''">campusid,</if> |
| | | create_time |
| | | )values( |
| | | <if test="userId != null and userId != ''">#{userId},</if> |
| | |
| | | <if test="orgid != null and orgid != ''">#{orgid},</if> |
| | | <if test="deptCode != null and deptCode != ''">#{deptCode},</if> |
| | | <if test="deptName != null and deptName != ''">#{deptName},</if> |
| | | <if test="campusid != null and campusid != ''">#{campusid},</if> |
| | | sysdate() |
| | | ) |
| | | </insert> |
| | |
| | | </if> |
| | | <if test="deptCode != null and deptCode != ''">dept_code=#{deptCode},</if> |
| | | <if test="deptName != null and deptName != ''">dept_name=#{deptName},</if> |
| | | <if test="campusid != null and campusid != ''">campusid=#{campusid},</if> |
| | | update_time = sysdate() |
| | | </set> |
| | | where user_id = #{userId} |
| | |
| | | private String orgid; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @ApiModelProperty("é¢åº") |
| | | @Excel(name = " é¢åº ") |
| | | private String campusid; |
| | | |
| | | /** |
| | | * 微信openid |
| | | */ |
| | | @ApiModelProperty("微信openid") |
| | |
| | | private String guid; |
| | | |
| | | /** |
| | | * é¢åº |
| | | */ |
| | | @ApiModelProperty("é¢åº") |
| | | private String campusid; |
| | | |
| | | /** |
| | | * GUID |
| | | */ |
| | | @ApiModelProperty("åºé¢è¯æ") |
| | |
| | | */ |
| | | @ApiModelProperty("åºå
¥é¢æ è¯ï¼0å
¥é¢ 1åºé¢ ") |
| | | private Integer cry; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @ApiModelProperty("é¢åº") |
| | | @Excel(name = " é¢åº ") |
| | | private String campusid; |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 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.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ£è
æ¡£æ¡å¯¹è±¡ PatArchiveVO |
| | | * |
| | | * @author ls |
| | | */ |
| | | @ApiModel(value = "PatArchiveVO", description = "æ£è
ç信模æ¿åé") |
| | | @Data |
| | | public class PatArchiveSrmVO extends BaseEntity { |
| | | |
| | | /** |
| | | * å§å |
| | | */ |
| | | @ApiModelProperty("å§å") |
| | | @Excel(name = " å§å ") |
| | | private String name; |
| | | |
| | | |
| | | @ApiModelProperty("ç信模æ¿") |
| | | @Excel(name = "ç信模æ¿") |
| | | private String srmTemplate; |
| | | |
| | | @ApiModelProperty("ææºå·") |
| | | @Excel(name = "ææºå·") |
| | | private String phone; |
| | | |
| | | |
| | | @ApiModelProperty("æ¥è®¿æ¶é´") |
| | | @Excel(name = "æ¥è®¿æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm") |
| | | private Date visitTime; |
| | | |
| | | } |
| | |
| | | @Excel(name = "主è¦ç
§æ¤äººå¹´é¾") |
| | | private String casePersonAge; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @ApiModelProperty("é¢åº") |
| | | @Excel(name = " é¢åº ") |
| | | private String campusid; |
| | | } |
| | |
| | | |
| | | @ApiModelProperty(value = "æåç»ææ¶é´") |
| | | private String lastEndTime; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @ApiModelProperty("é¢åº") |
| | | @Excel(name = " é¢åº ") |
| | | private String campusid; |
| | | } |
| | |
| | | @ApiModelProperty("ç»ç®¡å»ç") |
| | | @Excel(name = " ç»ç®¡å»ç ") |
| | | private String managementDoctorCode; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @ApiModelProperty("é¢åº") |
| | | @Excel(name = " é¢åº ") |
| | | private String campusid; |
| | | } |
| | | |
| | |
| | | @ApiModelProperty(value = "æåç»ææ¶é´") |
| | | private String lastEndTime; |
| | | |
| | | /** |
| | | * æºæID |
| | | */ |
| | | @ApiModelProperty("é¢åº") |
| | | @Excel(name = " é¢åº ") |
| | | private String campusid; |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | 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.util.Date; |
| | | |
| | | /** |
| | | * æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼å¯¹è±¡ pat_med_outhosp_provisional |
| | | * |
| | | * @author ls |
| | | * @date 2025-11-04 |
| | | */ |
| | | @Data |
| | | @ApiModel("æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼") |
| | | public class PatMedOuthospProvisional extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * èªå¢ID |
| | | */ |
| | | @ApiModelProperty("èªå¢ID") |
| | | //æ°æ®åºèªå¢æ¹æ@TableId(type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | /** |
| | | * é¨è¯ç¼å· |
| | | */ |
| | | @ApiModelProperty("é¨è¯ç¼å·") |
| | | @Excel(name = "é¨è¯ç¼å·") |
| | | private String outhospno; |
| | | |
| | | /** |
| | | * æµæ°´å· |
| | | */ |
| | | @ApiModelProperty("æµæ°´å·") |
| | | @Excel(name = "æµæ°´å·") |
| | | private String serialnum; |
| | | |
| | | /** |
| | | * æ£è
æ¡£æ¡ID |
| | | */ |
| | | @ApiModelProperty("æ£è
æ¡£æ¡ID") |
| | | @Excel(name = "æ£è
æ¡£æ¡ID") |
| | | private Long patid; |
| | | |
| | | /** |
| | | * ç
人å§å |
| | | */ |
| | | @ApiModelProperty("ç
人å§å") |
| | | @Excel(name = "ç
人å§å") |
| | | private String patname; |
| | | |
| | | /** |
| | | * æ£è
æ¡£æ¡ç¼å· |
| | | */ |
| | | @ApiModelProperty("æ£è
æ¡£æ¡ç¼å·") |
| | | @Excel(name = "æ£è
æ¡£æ¡ç¼å·") |
| | | private String patno; |
| | | |
| | | /** |
| | | * å»é¢åç§° |
| | | */ |
| | | @ApiModelProperty("å»é¢åç§°") |
| | | @Excel(name = "å»é¢åç§°") |
| | | private String hospitalname; |
| | | |
| | | /** |
| | | * å»é¢ç¼å· |
| | | */ |
| | | @ApiModelProperty("å»é¢ç¼å·") |
| | | @Excel(name = "å»é¢ç¼å·") |
| | | private String hospitalcode; |
| | | |
| | | /** |
| | | * è¯æICDå¼ |
| | | */ |
| | | @ApiModelProperty("è¯æICDå¼") |
| | | @Excel(name = "è¯æICDå¼") |
| | | private String icd10code; |
| | | |
| | | /** |
| | | * è¯æåç§° |
| | | */ |
| | | @ApiModelProperty("è¯æåç§°") |
| | | @Excel(name = "è¯æåç§°") |
| | | private String diagname; |
| | | |
| | | /** |
| | | * ç§å®¤ID |
| | | */ |
| | | @ApiModelProperty("ç§å®¤ID") |
| | | @Excel(name = "ç§å®¤ID") |
| | | private Long deptid; |
| | | |
| | | /** |
| | | * ç§å®¤ä»£ç |
| | | */ |
| | | @ApiModelProperty("ç§å®¤ä»£ç ") |
| | | @Excel(name = "ç§å®¤ä»£ç ") |
| | | private String deptcode; |
| | | |
| | | /** |
| | | * ç§å®¤åç§° |
| | | */ |
| | | @ApiModelProperty("ç§å®¤åç§°") |
| | | @Excel(name = "ç§å®¤åç§°") |
| | | private String deptname; |
| | | |
| | | /** |
| | | * å»çå·¥å· |
| | | */ |
| | | @ApiModelProperty("å»çå·¥å·") |
| | | @Excel(name = "å»çå·¥å·") |
| | | private String drcode; |
| | | |
| | | /** |
| | | * å»çåç§° |
| | | */ |
| | | @ApiModelProperty("å»çåç§°") |
| | | @Excel(name = "å»çåç§°") |
| | | private String drname; |
| | | |
| | | /** |
| | | * å°±è¯æ¥æ |
| | | */ |
| | | @ApiModelProperty("å°±è¯æ¥æ") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "å°±è¯æ¥æ", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date admitdate; |
| | | |
| | | /** |
| | | * å»é¢æºæID |
| | | */ |
| | | @ApiModelProperty("å»é¢æºæID") |
| | | @Excel(name = "å»é¢æºæID") |
| | | private String orgid; |
| | | |
| | | /** |
| | | * å 餿 å¿ï¼0ï¼æªå é¤ 1ï¼å·²å é¤ï¼ |
| | | */ |
| | | @ApiModelProperty("å 餿 å¿ï¼0ï¼æªå é¤ 1ï¼å·²å é¤ï¼") |
| | | private String delFlag; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ å¿ï¼0ï¼æªä¸ä¼ 1ï¼å·²ä¸ä¼ ï¼ |
| | | */ |
| | | @ApiModelProperty("ä¸ä¼ æ å¿ï¼0ï¼æªä¸ä¼ 1ï¼å·²ä¸ä¼ ï¼") |
| | | @Excel(name = "ä¸ä¼ æ å¿", readConverterExp = "0=ï¼æªä¸ä¼ ,1=ï¼å·²ä¸ä¼ ") |
| | | private Long isupload; |
| | | |
| | | /** |
| | | * ä¸ä¼ æ¶é´ |
| | | */ |
| | | @ApiModelProperty("ä¸ä¼ æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "ä¸ä¼ æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date uploadTime; |
| | | |
| | | /** |
| | | * æ¯å¦çææ¹æ¡ç¶æ;0æªçæ 1çæå°±è¯ 9æ å¹é
æ¹æ¡ |
| | | */ |
| | | @ApiModelProperty("æ¯å¦çææ¹æ¡ç¶æ;0æªçæ 1çæå°±è¯ 9æ å¹é
æ¹æ¡") |
| | | @Excel(name = "æ¯å¦çææ¹æ¡ç¶æ;0æªçæ 1çæå°±è¯ 9æ å¹é
æ¹æ¡") |
| | | private Long schemestatus; |
| | | |
| | | /** |
| | | * æ¹æ¡ç¶ææä½æ¶é´ |
| | | */ |
| | | @ApiModelProperty("æ¹æ¡ç¶ææä½æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "æ¹æ¡ç¶ææä½æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date schemetime; |
| | | |
| | | /** |
| | | * ç°ç
å² |
| | | */ |
| | | @ApiModelProperty("ç°ç
å²") |
| | | @Excel(name = "ç°ç
å²") |
| | | private String hpi; |
| | | |
| | | /** |
| | | * 主述 |
| | | */ |
| | | @ApiModelProperty("主述") |
| | | @Excel(name = "主述") |
| | | private String mainsuit; |
| | | |
| | | /** |
| | | * ç¶ID |
| | | */ |
| | | @ApiModelProperty("ç¶ID") |
| | | @Excel(name = "ç¶ID") |
| | | private Long pid; |
| | | |
| | | /** |
| | | * GUID |
| | | */ |
| | | @ApiModelProperty("GUID") |
| | | @Excel(name = "GUID") |
| | | private String guid; |
| | | |
| | | /** |
| | | * ç¶GUID |
| | | */ |
| | | @ApiModelProperty("ç¶GUID") |
| | | @Excel(name = "ç¶GUID") |
| | | private String pguid; |
| | | |
| | | /** |
| | | * é¢åºç¼å· |
| | | */ |
| | | @ApiModelProperty("é¢åºç¼å·") |
| | | @Excel(name = "é¢åºç¼å·") |
| | | private String hospitaldistrictcode; |
| | | |
| | | /** |
| | | * é¢åºåç§° |
| | | */ |
| | | @ApiModelProperty("é¢åºåç§°") |
| | | @Excel(name = "é¢åºåç§°") |
| | | private String hospitaldistrictname; |
| | | |
| | | /** |
| | | * ç¾ç
é¿æä»»å¡ï¼æ¯å¦å¤çï¼0æªå¤ç 1å¤çæå 2å¤ç失败 |
| | | */ |
| | | @ApiModelProperty("ç¾ç
é¿æä»»å¡ï¼æ¯å¦å¤çï¼0æªå¤ç 1å¤çæå 2å¤ç失败") |
| | | @Excel(name = "ç¾ç
é¿æä»»å¡ï¼æ¯å¦å¤çï¼0æªå¤ç 1å¤çæå 2å¤ç失败") |
| | | private String diagcheckFlag; |
| | | |
| | | /** |
| | | * éè®¿æ¥æ |
| | | */ |
| | | @ApiModelProperty("éè®¿æ¥æ") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "éè®¿æ¥æ", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date fudate; |
| | | |
| | | /** |
| | | * é访æ è¯ |
| | | */ |
| | | @ApiModelProperty("é访æ è¯") |
| | | @Excel(name = "é访æ è¯") |
| | | private String fuflag; |
| | | |
| | | /** |
| | | * é¢åº |
| | | */ |
| | | @ApiModelProperty("é¢åº") |
| | | @Excel(name = "é¢åº") |
| | | private String campusid; |
| | | |
| | | } |
| | | |
| | |
| | | package com.smartor.domain; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | |
| | | @ApiModelProperty(value = "æºæID æºæå¯ä¸ç¼å·") |
| | | private String orgId; |
| | | |
| | | @ApiModelProperty(value = "æºæID æºæå¯ä¸ç¼å·") |
| | | private String campusId; |
| | | |
| | | @ApiModelProperty(value = "è¯çè®°å½id æ£è
æ¯æ¬¡å°±è¯é½ä¸ç¸å") |
| | | private Long healthcareRecordId; |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.mapper; |
| | | |
| | | import com.smartor.domain.PatMedOuthospProvisional; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼Mapperæ¥å£ |
| | | * |
| | | * @author ls |
| | | * @date 2025-11-04 |
| | | */ |
| | | @Mapper |
| | | public interface PatMedOuthospProvisionalMapper |
| | | { |
| | | /** |
| | | * æ¥è¯¢æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ |
| | | * |
| | | * @param id æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ä¸»é® |
| | | * @return æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ |
| | | */ |
| | | public PatMedOuthospProvisional selectPatMedOuthospProvisionalById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼å表 |
| | | * |
| | | * @param patMedOuthospProvisional æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ |
| | | * @return æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼éå |
| | | */ |
| | | public List<PatMedOuthospProvisional> selectPatMedOuthospProvisionalList(PatMedOuthospProvisional patMedOuthospProvisional); |
| | | |
| | | /** |
| | | * æ°å¢æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ |
| | | * |
| | | * @param patMedOuthospProvisional æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertPatMedOuthospProvisional(PatMedOuthospProvisional patMedOuthospProvisional); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ |
| | | * |
| | | * @param patMedOuthospProvisional æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ |
| | | * @return ç»æ |
| | | */ |
| | | public int updatePatMedOuthospProvisional(PatMedOuthospProvisional patMedOuthospProvisional); |
| | | |
| | | /** |
| | | * å 餿£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ |
| | | * |
| | | * @param id æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatMedOuthospProvisionalById(Long id); |
| | | |
| | | /** |
| | | * æ¹éå 餿£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ |
| | | * |
| | | * @param ids éè¦å é¤çæ°æ®ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatMedOuthospProvisionalByIds(Long[] ids); |
| | | } |
| | |
| | | * @author ruoyi |
| | | */ |
| | | @Mapper |
| | | public interface SysUserRole2Mapper |
| | | { |
| | | public interface SysUserRole2Mapper { |
| | | /** |
| | | * éè¿ç¨æ·IDå é¤ç¨æ·åè§è²å
³è |
| | | * |
| | |
| | | */ |
| | | public int countUserRoleByRoleId(Long roleId); |
| | | |
| | | public SysUserRole selectUserRoleByRoleIdAndUserId(@Param("roleId") Long roleId, @Param("userId") Long userId); |
| | | |
| | | /** |
| | | * æ¹éæ°å¢ç¨æ·è§è²ä¿¡æ¯ |
| | | * |
| | |
| | | /** |
| | | * æ¹éåæ¶ææç¨æ·è§è² |
| | | * |
| | | * @param roleId è§è²ID |
| | | * @param roleId è§è²ID |
| | | * @param userIds éè¦å é¤çç¨æ·æ°æ®ID |
| | | * @return ç»æ |
| | | */ |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service; |
| | | |
| | | import com.smartor.domain.PatMedOuthospProvisional; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼Serviceæ¥å£ |
| | | * |
| | | * @author ls |
| | | * @date 2025-11-04 |
| | | */ |
| | | public interface IPatMedOuthospProvisionalService |
| | | { |
| | | /** |
| | | * æ¥è¯¢æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ |
| | | * |
| | | * @param id æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ä¸»é® |
| | | * @return æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ |
| | | */ |
| | | public PatMedOuthospProvisional selectPatMedOuthospProvisionalById(Long id); |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼å表 |
| | | * |
| | | * @param patMedOuthospProvisional æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ |
| | | * @return æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼éå |
| | | */ |
| | | public List<PatMedOuthospProvisional> selectPatMedOuthospProvisionalList(PatMedOuthospProvisional patMedOuthospProvisional); |
| | | |
| | | /** |
| | | * æ°å¢æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ |
| | | * |
| | | * @param patMedOuthospProvisional æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ |
| | | * @return ç»æ |
| | | */ |
| | | public int insertPatMedOuthospProvisional(PatMedOuthospProvisional patMedOuthospProvisional); |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ |
| | | * |
| | | * @param patMedOuthospProvisional æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ |
| | | * @return ç»æ |
| | | */ |
| | | public int updatePatMedOuthospProvisional(PatMedOuthospProvisional patMedOuthospProvisional); |
| | | |
| | | /** |
| | | * æ¹éå 餿£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ |
| | | * |
| | | * @param ids éè¦å é¤çæ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ä¸»é®éå |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatMedOuthospProvisionalByIds(Long[] ids); |
| | | |
| | | /** |
| | | * å 餿£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ä¿¡æ¯ |
| | | * |
| | | * @param id æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | public int deletePatMedOuthospProvisionalById(Long id); |
| | | } |
| | |
| | | public List<ServiceSubtaskCount> getSfStatisticsJoydetails(ServiceSubtaskCountReq serviceSubtaskCountReq); |
| | | |
| | | public List<ServiceStatisticsResponse> getServiceStatistics(ServiceStatisticsRequest request); |
| | | |
| | | public List<PatArchiveSrmVO> sendMsgTemplate(List<PatArchiveSrmVO> patArchiveSrmVOS); |
| | | } |
| | |
| | | @Autowired |
| | | private ServiceSubtaskPreachformMapper serviceSubtaskPreachformMapper; |
| | | |
| | | @Value("${visitHosp}") |
| | | private Integer visitHosp; |
| | | @Value("${spring.profiles.active}") |
| | | private String active; |
| | | |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
ä½é¢è®°å½ |
| | |
| | | } |
| | | |
| | | //æ ¹æ®æ£è
æå¨ç
åºï¼è·å该ç
åºçé¿æä»»å¡,æ°åå»é¢å¯ä»¥å
ä¸ç¨æ ¹æ®ç
åºåç¾ç
æ¥å |
| | | if (visitHosp != 1) { |
| | | |
| | | if (active.equals("xh")) { |
| | | PatMedInhosp pmbq = new PatMedInhosp(); |
| | | //è·åéè¦åºé¢é¨é¨éè®¿ï¼æªå¤ççæ°æ® |
| | | pmbq.setWardcheckFlag("0"); |
| | |
| | | return; |
| | | } |
| | | ServiceTask serviceTask = serviceTasks.get(0); |
| | | |
| | | if (Objects.isNull(patMedInhosp1.getEndtime())) { |
| | | return; |
| | | } |
| | | //å°è£
serviceSubtask |
| | | ServiceSubtask serviceSubtask = boxedServiceSubtask(serviceTask, patMedInhosp1, patArchive); |
| | | if (type != 2) { |
| | |
| | | |
| | | } |
| | | } |
| | | } else { |
| | | if (StringUtils.isEmpty(serviceSubtask.getPhone())) { |
| | | serviceSubtask.setRemark("ææºå·ä¸ºç©º"); |
| | | serviceSubtask.setSendstate(4L); |
| | | serviceSubtask.setResult("error"); |
| | | } |
| | | serviceSubtask.setCreateBy(serviceTask.getCreateBy()); |
| | | serviceSubtask.setCreateTime(new Date()); |
| | | i = serviceSubtaskMapper.insertServiceSubtask(serviceSubtask); |
| | | } |
| | | } else { |
| | | if (StringUtils.isEmpty(serviceSubtask.getPhone())) { |
| | | serviceSubtask.setRemark("ææºå·ä¸ºç©º"); |
| | | serviceSubtask.setSendstate(4L); |
| | | serviceSubtask.setResult("error"); |
| | | } |
| | | serviceSubtask.setCreateBy(serviceTask.getCreateBy()); |
| | | serviceSubtask.setCreateTime(new Date()); |
| | | i = serviceSubtaskMapper.insertServiceSubtask(serviceSubtask); |
| | |
| | | serviceSubtask.setUpdateTime(new Date()); |
| | | //设置åéæ¶é´ |
| | | if (serviceTask.getSendDay() == null) serviceTask.setSendDay(1L); |
| | | Date newDate = addDays(patMedInhosp1.getEndtime(), serviceTask.getSendDay().intValue()); |
| | | Date newDate = null; |
| | | if (!Objects.isNull(patMedInhosp1.getEndtime())) { |
| | | newDate = addDays(patMedInhosp1.getEndtime(), serviceTask.getSendDay().intValue()); |
| | | } else { |
| | | //妿åºé¢æ¶é´ä¸ºç©ºï¼åè¿åä¸ä¸ªæ°å¯¹è±¡ |
| | | return new ServiceSubtask(); |
| | | } |
| | | serviceSubtask.setLongSendTime(newDate); |
| | | serviceSubtask.setVisitTime(newDate); |
| | | //妿æ¯éç¥çè¯ï¼éè¦æåå 天å°éè¿çä¿¡ååºå»ï¼å
·ä½å 天ï¼è¿ä¸ªå¯ä»¥é
ç½®å¨sys_conf表ä¸ï¼ |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import java.util.List; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.smartor.mapper.PatMedOuthospProvisionalMapper; |
| | | import com.smartor.domain.PatMedOuthospProvisional; |
| | | import com.smartor.service.IPatMedOuthospProvisionalService; |
| | | |
| | | /** |
| | | * æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ls |
| | | * @date 2025-11-04 |
| | | */ |
| | | @Service |
| | | public class PatMedOuthospProvisionalServiceImpl implements IPatMedOuthospProvisionalService |
| | | { |
| | | @Autowired |
| | | private PatMedOuthospProvisionalMapper patMedOuthospProvisionalMapper; |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ |
| | | * |
| | | * @param id æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ä¸»é® |
| | | * @return æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ |
| | | */ |
| | | @Override |
| | | public PatMedOuthospProvisional selectPatMedOuthospProvisionalById(Long id) |
| | | { |
| | | return patMedOuthospProvisionalMapper.selectPatMedOuthospProvisionalById(id); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼å表 |
| | | * |
| | | * @param patMedOuthospProvisional æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ |
| | | * @return æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ |
| | | */ |
| | | @Override |
| | | public List<PatMedOuthospProvisional> selectPatMedOuthospProvisionalList(PatMedOuthospProvisional patMedOuthospProvisional) |
| | | { |
| | | return patMedOuthospProvisionalMapper.selectPatMedOuthospProvisionalList(patMedOuthospProvisional); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ |
| | | * |
| | | * @param patMedOuthospProvisional æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int insertPatMedOuthospProvisional(PatMedOuthospProvisional patMedOuthospProvisional) |
| | | { |
| | | patMedOuthospProvisional.setCreateTime(DateUtils.getNowDate()); |
| | | return patMedOuthospProvisionalMapper.insertPatMedOuthospProvisional(patMedOuthospProvisional); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ |
| | | * |
| | | * @param patMedOuthospProvisional æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int updatePatMedOuthospProvisional(PatMedOuthospProvisional patMedOuthospProvisional) |
| | | { |
| | | patMedOuthospProvisional.setUpdateTime(DateUtils.getNowDate()); |
| | | return patMedOuthospProvisionalMapper.updatePatMedOuthospProvisional(patMedOuthospProvisional); |
| | | } |
| | | |
| | | /** |
| | | * æ¹éå 餿£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ |
| | | * |
| | | * @param ids éè¦å é¤çæ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deletePatMedOuthospProvisionalByIds(Long[] ids) |
| | | { |
| | | return patMedOuthospProvisionalMapper.deletePatMedOuthospProvisionalByIds(ids); |
| | | } |
| | | |
| | | /** |
| | | * å 餿£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ä¿¡æ¯ |
| | | * |
| | | * @param id æ£è
é¨è¯è®°å½ï¼è¿æ¸¡ï¼ä¸»é® |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | public int deletePatMedOuthospProvisionalById(Long id) |
| | | { |
| | | return patMedOuthospProvisionalMapper.deletePatMedOuthospProvisionalById(id); |
| | | } |
| | | } |
| | |
| | | import com.ruoyi.common.core.domain.entity.SysUser; |
| | | import com.ruoyi.common.core.domain.entity.SysUserDept; |
| | | import com.ruoyi.common.core.domain.entity.SysUserRole; |
| | | import com.ruoyi.common.utils.DtoConversionUtils; |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.ruoyi.common.utils.http.HttpUtils; |
| | | import com.smartor.domain.*; |
| | |
| | | import com.sun.org.apache.bcel.internal.generic.NEW; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.collections4.CollectionUtils; |
| | | import org.apache.commons.lang3.ObjectUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; |
| | |
| | | log.info("-----------dataListæ¥å£ååºç»æï¼{}", dataList.size()); |
| | | for (Map<String, Object> dataItem : dataList) { |
| | | SysDept sysDept = new SysDept(); |
| | | sysDept.setOrgid("" + serviceSLTDDeptReqVO.getCampusIds().get(0)); |
| | | sysDept.setOrgid("" + getLongValue(dataItem, "orgId")); |
| | | sysDept.setCampusid("" + getLongValue(dataItem, "campusId")); |
| | | sysDept.setHisDeptId("" + getLongValue(dataItem, "deptId")); |
| | | sysDept.setHisParentId(getStringValue(dataItem, "parentDeptId")); |
| | | //éè¿hisçç¶ç§å®¤ID廿¾å°ç§å®¤ID,å¡«å
parentId |
| | |
| | | sysUser.setUpdateBy("admin"); |
| | | sysUser.setCreateBy("admin"); |
| | | sysUser.setCreateBy("admin"); |
| | | sysUser.setOrgid(reqVO.getCampusId().toString()); |
| | | sysUser.setOrgid("" + getLongValue(dataItem, "orgId")); |
| | | // sysUser.setCampusid("" + getLongValue(dataItem, "cmpusId")); |
| | | BCryptPasswordEncoder passwordEncoder = new BCryptPasswordEncoder(); |
| | | sysUser.setPassword(passwordEncoder.encode(userPwd)); |
| | | |
| | | sysUser2Mapper.insertUser(sysUser); |
| | | SysUser sysUser1 = sysUser2Mapper.selectUserByUserName(sysUser.getUserName()); |
| | | if (ObjectUtils.isNotEmpty(sysUser1)) { |
| | | sysUser.setUserId(sysUser1.getUserId()); |
| | | sysUser2Mapper.updateUser(sysUser); |
| | | } else { |
| | | sysUser2Mapper.insertUser(sysUser); |
| | | } |
| | | |
| | | // å¤çç¨æ·ä¸é¨é¨çå
³ç³» |
| | | List personnelDepts = (List<?>) dataItem.get("personnelDepts"); |
| | | if (CollectionUtils.isEmpty(personnelDepts)) { |
| | | List businessDepts = (List<?>) dataItem.get("businessDepts"); |
| | | if (CollectionUtils.isEmpty(businessDepts)) { |
| | | continue; |
| | | } |
| | | |
| | | List<List<String>> deptInfoList = new ArrayList<>(); |
| | | List<List<String>> hospInfoList = new ArrayList<>(); |
| | | for (Object personnelDept : personnelDepts) { |
| | | if (personnelDept instanceof Map) { |
| | | Map<String, Object> personnelDeptMap = (Map<String, Object>) personnelDept; |
| | | log.info("------businessDeptsæ¯å¦æå¼ï¼{}", businessDepts.size()); |
| | | for (Object businessDept : businessDepts) { |
| | | if (businessDept instanceof Map) { |
| | | Map<String, Object> businessDeptMap = (Map<String, Object>) businessDept; |
| | | log.info("------businessDeptMapæ¯å¦æå¼ï¼{}", businessDeptMap); |
| | | // Long hisDeptId = (Long) personnelDeptMap.get("deptId"); |
| | | String hisDeptId = getStringValue(personnelDeptMap, "deptId"); |
| | | String hisDeptId = getStringValue(businessDeptMap, "deptId"); |
| | | log.info("------hisDeptIdæ¯å¦æå¼ï¼{}, reqVO.getOrgId()çå¼ä¸º:{}", hisDeptId, reqVO.getCampusId()); |
| | | //å¨è¿éï¼hisDeptIdå°±æ¯deptCode |
| | | SysDept sysDept = sysDeptMapper.selectDeptByCode(hisDeptId, reqVO.getCampusId().toString()); |
| | | SysDept sysDept = sysDeptMapper.selectDeptByCode(hisDeptId, reqVO.getOrgId()); |
| | | log.info("------hisDeptIdæ¯å¦æå¼ï¼{}, reqVO.getCampusId()çå¼ä¸º:{}", hisDeptId, reqVO.getCampusId()); |
| | | if (Objects.isNull(sysDept)) continue; |
| | | SysUserDept sysUserDept = new SysUserDept(); |
| | | sysUserDept.setUserId(sysUser.getUserId()); |
| | |
| | | sysUserDept.setOrgid(sysDept.getOrgid()); |
| | | sysUserDept.setCreateTime(new Date()); |
| | | sysUserDept.setDelFlag(0L); |
| | | sysUserDeptMapper.insertSysUserDept(sysUserDept); |
| | | |
| | | //夿ä¸ä¸æ¯ä¸æ¯å·²ç»åå¨äº |
| | | if (ObjectUtils.isNotEmpty(sysUser1) && ObjectUtils.isNotEmpty(sysDept)) { |
| | | SysUserDept sud = new SysUserDept(); |
| | | sud.setUserId(sysUser1.getUserId()); |
| | | sud.setDeptId(sysDept.getDeptId()); |
| | | List<SysUserDept> sysUserDepts = sysUserDeptMapper.selectSysUserDeptList(sud); |
| | | if (CollectionUtils.isNotEmpty(sysUserDepts)) { |
| | | sysUserDept.setId(sysUserDepts.get(0).getId()); |
| | | sysUserDeptMapper.updateSysUserDept(sysUserDept); |
| | | } |
| | | } else { |
| | | //ä¸åå¨ï¼åæ°å¢ |
| | | sysUserDeptMapper.insertSysUserDept(sysUserDept); |
| | | } |
| | | if (StringUtils.isNotEmpty(sysDept.getDeptType()) && sysDept.getDeptType().equals("1")) { |
| | | hospInfoList.add(Arrays.asList(sysDept.getDeptCode())); |
| | | } else if (StringUtils.isNotEmpty(sysDept.getDeptType()) && sysDept.getDeptType().equals("2")) { |
| | |
| | | sur.setUserId(sysUser.getUserId()); |
| | | sur.setRoleId(3L); |
| | | sur.setOrgid(sysUser.getOrgid()); |
| | | |
| | | //å
æ¥è¯¢ä¸ä¸ï¼æ¯å¦åå¨ |
| | | SysUserRole sysUserRole = sysUserRoleMapper.selectUserRoleByRoleIdAndUserId(sysUser.getUserId(), 3L); |
| | | if (ObjectUtils.isNotEmpty(sysUserRole)) continue; |
| | | |
| | | userRoleList.add(sur); |
| | | sysUserRoleMapper.batchUserRole(userRoleList); |
| | | |
| | | } |
| | | |
| | | return true; |
| | |
| | | if (Objects.isNull(dto)) continue; |
| | | PatArchive patArchive = processPatientArchive(dto, orgid); |
| | | PatMedOuthosp patMedOuthosp = buildPatMedOuthosp(dto, patArchive, orgid); |
| | | //æ¥è¯¢å½åæ°å¢ç鍿¥è¯æ°æ®ï¼æ¯å¦å¨è¿æ¸¡è¡¨ä¸æ¯å¦åå¨ï¼å¦æåå¨ï¼å°±ä¸å¾é¨æ¥è¯è¡¨éæ°å¢äº |
| | | PatMedOuthospProvisional pmop = DtoConversionUtils.sourceToTarget(patMedOuthosp, PatMedOuthospProvisional.class); |
| | | |
| | | |
| | | patMedOuthospMapper.insertPatMedOuthosp(patMedOuthosp); |
| | | } |
| | | return true; |
| | |
| | | patMedOuthosp.setMainsuit(dto.getDiagnosisName()); |
| | | patMedOuthosp.setHpi(null); |
| | | patMedOuthosp.setCreateTime(new Date()); |
| | | patMedOuthosp.setOrgid("" + orgid); |
| | | patMedOuthosp.setOrgid(dto.getOrgId()); |
| | | patMedOuthosp.setCampusid(dto.getCampusId()); |
| | | return patMedOuthosp; |
| | | } |
| | | |
| | |
| | | PatMedInhosp queryInhosp = new PatMedInhosp(); |
| | | queryInhosp.setPatno(patArchive.getPatientno()); |
| | | queryInhosp.setSerialnum(patMedInhosp.getSerialnum()); |
| | | queryInhosp.setOrgid("" + orgid); |
| | | queryInhosp.setOrgid(dto.getOrgId()); |
| | | queryInhosp.setCampusid(dto.getCampusId()); |
| | | queryInhosp.setInhospstate(cry); |
| | | log.info("----------------è¿éçå
¥å为ï¼{}", queryInhosp); |
| | | List<PatMedInhosp> existingInhosps = patMedInhospService.selectPatMedInhospList(queryInhosp); |
| | | |
| | | if (cry.equals("0") && CollectionUtils.isNotEmpty(existingInhosps)) { |
| | | //æ°å¢è¿çå
¥é¢æ°æ®ï¼ä¸åå¤ç |
| | | return; |
| | | } |
| | | |
| | | log.info("----------------è¿éçè¿å为ï¼{}", existingInhosps); |
| | | if (CollectionUtils.isNotEmpty(existingInhosps)) { |
| | |
| | | patMedInhosp.setDrcode("" + dto.getDoctorId()); |
| | | patMedInhosp.setSchemestatus("0".equals(cry) ? 1L : 2L); |
| | | patMedInhosp.setDelFlag("0"); |
| | | patMedInhosp.setOrgid("" + orgid); |
| | | patMedInhosp.setOrgid(dto.getOrgId()); |
| | | patMedInhosp.setCampusid(dto.getCampusId()); |
| | | return patMedInhosp; |
| | | } |
| | | |
| | |
| | | patArchive.setDelFlag("0"); |
| | | patArchive.setCreateTime(new Date()); |
| | | patArchive.setUpdateTime(new Date()); |
| | | patArchive.setOrgid("" + orgid); |
| | | patArchive.setOrgid("" + dto.getOrgId()); |
| | | patArchive.setCampusid(dto.getCampusId()); |
| | | return patArchive; |
| | | } |
| | | |
| | | private ServiceSLTDInhospResDTO convertToDTO(Map<String, Object> dataItem) { |
| | | ServiceSLTDInhospResDTO dto = new ServiceSLTDInhospResDTO(); |
| | | dto.setOrgId(getStringValue(dataItem, "orgId")); |
| | | dto.setCampusId(getStringValue(dataItem, "campusId")); |
| | | dto.setHealthcareRecordId(getLongValue(dataItem, "healthcareRecordId")); |
| | | dto.setHealthcareRecordNo(getStringValue(dataItem, "healthcareRecordNo")); |
| | | dto.setPatientId(getLongValue(dataItem, "patientId")); |
| | |
| | | return serviceSubtaskAnswerMapper.deleteServiceSubtaskAnswerById(id); |
| | | } |
| | | |
| | | |
| | | @Override |
| | | public Integer saveQuestionAnswer(ServiceSubTaskAnswerReq serviceSubTaskAnswerReq, Long flag) { |
| | | Long tid = null; |
| | |
| | | package com.smartor.service.impl; |
| | | |
| | | import com.alibaba.fastjson2.JSON; |
| | | import com.alibaba.fastjson2.JSONObject; |
| | | import com.fasterxml.jackson.core.JsonProcessingException; |
| | | import com.fasterxml.jackson.databind.ObjectMapper; |
| | | import com.google.gson.Gson; |
| | | import com.ruoyi.common.core.redis.RedisCache; |
| | | import com.ruoyi.common.dx.MessageSend; |
| | | import com.ruoyi.common.exception.base.BaseException; |
| | | import com.ruoyi.common.utils.*; |
| | | import com.smartor.common.FtpService; |
| | |
| | | import java.math.BigDecimal; |
| | | import java.text.DecimalFormat; |
| | | import java.text.SimpleDateFormat; |
| | | import java.time.Duration; |
| | | import java.time.LocalDate; |
| | | import java.time.LocalTime; |
| | | import java.time.ZoneId; |
| | | import java.time.*; |
| | | import java.time.format.DateTimeFormatter; |
| | | import java.util.*; |
| | | import java.util.concurrent.TimeUnit; |
| | |
| | | serviceSubtask.setTaskid(serviceTask.getTaskid().longValue()); |
| | | serviceSubtask.setTemplatename(tempName); |
| | | serviceSubtask.setTemplateid(tempid); |
| | | serviceSubtask.setLibtemplateid(ObjectUtils.isEmpty(serviceTaskVO.getLibtemplateid()) ? null : Long.valueOf(serviceTaskVO.getLibtemplateid())); |
| | | serviceSubtask.setLibtemplatename(serviceTaskVO.getLibtemplatename()); |
| | | //æ°å¢ |
| | | if (CollectionUtils.isNotEmpty(serviceTaskVO.getPatTaskRelevances())) { |
| | | for (PatTaskRelevance patTaskRelevance : serviceTaskVO.getPatTaskRelevances()) { |
| | |
| | | if (CollectionUtils.isNotEmpty(serviceSubtaskList1)) serviceSubtaskList.addAll(serviceSubtaskList1); |
| | | } else { |
| | | if (CollectionUtils.isNotEmpty(serviceSubtaskList1)) serviceSubtaskList = serviceSubtaskList1; |
| | | } |
| | | if (CollectionUtils.isNotEmpty(serviceSubtaskList)) { |
| | | for (ServiceSubtask serviceSubtask : serviceSubtaskList) { |
| | | log.error("sfSendéè¦ç§»é¤çsubId为ï¼{}", serviceSubtask.getId().toString()); |
| | | serviceSubtaskMapper.deleteServiceSubtaskById(serviceSubtask.getId()); |
| | | redisCache.removeElementFromList("cache-exist", serviceSubtask.getId().toString()); |
| | | redisCache.removeElementFromList("cache-0", serviceSubtask.getId().toString()); |
| | | redisCache.removeElementFromList("cache-1", serviceSubtask.getId().toString()); |
| | | redisCache.removeElementFromList("cache-2", serviceSubtask.getId().toString()); |
| | | redisCache.removeElementFromList("cache-3", serviceSubtask.getId().toString()); |
| | | redisCache.removeElementFromList("cache-4", serviceSubtask.getId().toString()); |
| | | } |
| | | } |
| | | |
| | | if (serviceTaskVO.getLibtemplateid() != null) |
| | |
| | | if (CollectionUtils.isNotEmpty(serviceTaskVO.getPatTaskRelevances())) { |
| | | for (PatTaskRelevance patTaskRelevance : serviceTaskVO.getPatTaskRelevances()) { |
| | | ServiceSubtask serviceSubtask = DtoConversionUtils.sourceToTarget(serviceTaskVO, ServiceSubtask.class); |
| | | serviceSubtask.setLibtemplateid(ObjectUtils.isEmpty(serviceTaskVO.getLibtemplateid()) ? null : Long.valueOf(serviceTaskVO.getLibtemplateid())); |
| | | serviceSubtask.setLibtemplatename(serviceTaskVO.getLibtemplatename()); |
| | | serviceSubtask.setSendname(patTaskRelevance.getName()); |
| | | serviceSubtask.setAge(patTaskRelevance.getAge()); |
| | | serviceSubtask.setSfzh(patTaskRelevance.getSfzh()); |
| | |
| | | return result; |
| | | } |
| | | |
| | | @Override |
| | | public List<PatArchiveSrmVO> sendMsgTemplate(List<PatArchiveSrmVO> patArchiveSrmVOS) { |
| | | //ç¨æ¥è®°å½åé失败ç |
| | | List<PatArchiveSrmVO> sendError = new ArrayList<>(); |
| | | |
| | | for (PatArchiveSrmVO patArchiveSrmVO : patArchiveSrmVOS) { |
| | | SimpleDateFormat simpleDateFormat = new SimpleDateFormat("YYYYå¹´MMæddæ¥HH:mm"); |
| | | String timestamp = simpleDateFormat.format(patArchiveSrmVO.getVisitTime()); |
| | | |
| | | StringBuilder stringBuilder = new StringBuilder(); |
| | | if (patArchiveSrmVO.getSrmTemplate().equals("å
¥é¢åå¤ä¸å¿-æ æ£æ¥")) { |
| | | stringBuilder.append(patArchiveSrmVO.getName() + ",æ¨å¥½ï¼ä¸»ç®¡å»ç已为æ¨å®æä½é¢ï¼è¯·äºå½å¤©"); |
| | | } else if (patArchiveSrmVO.getSrmTemplate().equals("å
¥é¢åå¤ä¸å¿-空è
¹æ£æ¥")) { |
| | | stringBuilder.append(patArchiveSrmVO.getName() + ",æ¨å¥½ï¼ä¸»ç®¡å»ç已为æ¨å®æä½é¢ï¼è¯·å½å¤©ç©ºè
¹å¹¶äº"); |
| | | } else if (patArchiveSrmVO.getSrmTemplate().equals("æ¥é´ç
æ¿âæ©æç
äººæ£æ¥")) { |
| | | stringBuilder.append(patArchiveSrmVO.getName() + ",æ¨å¥½ï¼ä¸»ç®¡å»ç已为æ¨å®æä½é¢åæ£æ¥ï¼è¯·å½å¤©ç©ºè
¹å¹¶äº"); |
| | | } |
| | | |
| | | stringBuilder.append(timestamp + "ä¹åæºå¸¦å»ä¿å¡æçµåå»ä¿å¡èº«ä»½è¯åæ¤æ¡çä¿¡å°1å·æ¥¼3楼åå
¥é¢åå¤ä¸å¿å
¥é¢ç»è®°çªå£ï¼åçæ£å¼ä½é¢æç»ï¼å®æåé¡¹æ£æ¥ååå°ç¸åºç
åºæ¤å£«ç«æ¥å°ã"); |
| | | stringBuilder.append("å
¥é¢åå¤ä¸å¿çµè¯ï¼89975977ãå
¥é¢åçé¡»ç¥:https://mp.weixin.qq.com/s/OCkotuRyQ8Ld2owFF0YErw"); |
| | | |
| | | String data = MessageSend.sendMsg(stringBuilder.toString(), "2", patArchiveSrmVO.getPhone(), LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyyMMddHHmmss"))); |
| | | if (StringUtils.isNotEmpty(data) && data.contains("result=0")) { |
| | | sendError.add(patArchiveSrmVO); |
| | | } |
| | | } |
| | | |
| | | return sendError; |
| | | } |
| | | |
| | | /** |
| | | * è·åé访ç»è®¡æ¯ä¾ |
| | | * |
| | |
| | | <result property="guid" column="guid"/> |
| | | <result property="filterDrname" column="filter_drname"/> |
| | | <result property="filterDrcode" column="filter_drcode"/> |
| | | <result property="campusid" column="campusid"/> |
| | | </resultMap> |
| | | |
| | | |
| | |
| | | <result property="leaveicd10code" column="leaveicd10code"/> |
| | | <result property="filterDrname" column="filter_drname"/> |
| | | <result property="filterDrcode" column="filter_drcode"/> |
| | | <result property="campusid" column="campusid"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectPatArchiveVo"> |
| | |
| | | notrequired_flag, |
| | | notrequiredreason, |
| | | patientno, |
| | | campusid, |
| | | filter_drname, |
| | | filter_drcode, |
| | | patid_his, |
| | |
| | | <if test="casePersonAge != null ">and case_person_age = #{casePersonAge}</if> |
| | | <if test="filterDrname != null ">and filter_drname = #{filterDrname}</if> |
| | | <if test="filterDrcode != null ">and filter_drcode = #{filterDrcode}</if> |
| | | <if test="campusid != null ">and campusid = #{campusid}</if> |
| | | </where> |
| | | </select> |
| | | |
| | |
| | | a.age_unit, |
| | | a.age_unit2, |
| | | a.notrequired_flag, |
| | | a.campusid, |
| | | a.notrequiredreason, |
| | | a.patientno, |
| | | a.patid_his, |
| | |
| | | <if test="name != null and name != ''">and a.name like concat('%', #{name}, '%')</if> |
| | | <if test="idcardno != null and idcardno != ''">and idcardno = #{idcardno}</if> |
| | | <if test="telcode != null and telcode != ''">and telcode = #{telcode}</if> |
| | | <if test="campusid != null and campusid != ''">and campusid = #{campusid}</if> |
| | | <if test="tagIds != null and tagIds != ''">and c.tagid in |
| | | <foreach collection="tagIds" item="tagId" open="(" separator="," close=")"> |
| | | #{tagId} |
| | |
| | | <if test="casePersonAge != null ">case_person_age,</if> |
| | | <if test="filterDrname != null ">filter_drname,</if> |
| | | <if test="filterDrcode != null ">filter_drcode,</if> |
| | | <if test="campusid != null ">campusid,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="patientno != null">#{patientno},</if> |
| | |
| | | <if test="casePersonAge != null ">#{casePersonAge},</if> |
| | | <if test="filterDrname != null ">#{filterDrname},</if> |
| | | <if test="filterDrcode != null ">#{filterDrcode},</if> |
| | | <if test="campusid != null ">#{campusid},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | insert into |
| | | pat_archive(name,viptype,sex,idcardno,birthdate,place_of_residence,age,age2,sourcefrom,archivetime,archiveby,telcode,relativetelcode,idcardtype,orgid,openid,dduserid,update_by,update_time |
| | | ,create_by,create_time,isupload,upload_time,pattype,nation,birthplace,native_place,patientno,patid_his,sd_flag,age_unit,age_unit2,notrequired_flag,notrequiredreason,care_facilities,case_path, |
| | | degree_of_education,marital_status,income,medicare_type,care_person,case_person_age,filter_drname,filter_drcode) |
| | | degree_of_education,marital_status,income,medicare_type,care_person,case_person_age,filter_drname,filter_drcode,campusid) |
| | | values |
| | | <foreach item="item" index="index" collection="list" separator=","> |
| | | (#{item.name},#{item.viptype},#{item.sex},#{item.idcardno},#{item.birthdate},#{item.placeOfResidence},#{item.age},#{item.age2},#{item.sourcefrom},#{item.archivetime},#{item.archiveby} |
| | | ,#{item.telcode},#{item.archiveby},#{item.idcardtype},#{item.orgid},#{item.openid},#{item.dduserid},#{item.updateBy}, |
| | | #{item.updateTime},#{item.createBy},#{item.createTime},#{item.isupload},#{item.uploadTime},#{item.pattype},#{item.nation},#{item.birthplace},#{item.nativePlace},#{item.patientno}, |
| | | #{item.patidHis},#{item.sdFlag},#{item.ageUnit},#{item.ageUnit2},#{item.notrequiredFlag},#{item.notrequiredreason} |
| | | ,#{item.careFacilities},#{item.casePath},#{item.degreeOfEducation},#{item.maritalStatus},#{item.income},#{item.medicareType},#{item.carePerson},#{item.casePersonAge},#{item.filterDrname},#{item.filterDrcode}) |
| | | ,#{item.careFacilities},#{item.casePath},#{item.degreeOfEducation},#{item.maritalStatus},#{item.income},#{item.medicareType},#{item.carePerson},#{item.casePersonAge},#{item.filterDrname},#{item.filterDrcode},#{item.campusid}) |
| | | </foreach> |
| | | </insert> |
| | | |
| | |
| | | <if test="guid != null ">guid = #{guid},</if> |
| | | <if test="filterDrname != null ">filter_drname = #{filterDrname},</if> |
| | | <if test="filterDrcode != null ">filter_drcode = #{filterDrcode},</if> |
| | | <if test="campusid != null ">campusid = #{campusid},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | |
| | | a.pattype, |
| | | a.filter_drname, |
| | | a.filter_drcode, |
| | | a.campusid, |
| | | b.tagname AS tag, |
| | | b.tagid AS tagid |
| | | FROM |
| | |
| | | <if test="notrequiredFlag != null and notrequiredFlag != ''">and a.notrequired_flag = #{notrequiredFlag} |
| | | </if> |
| | | <if test="pid != null and pid != ''">and a.id = #{pid}</if> |
| | | <if test="campusid != null and campusid != ''">and a.campusid = #{campusid}</if> |
| | | <if test="telcode != null and telcode != ''">and a.telcode = #{telcode}</if> |
| | | <if test="tagIds != null and tagIds != ''">and b.tagid in |
| | | <foreach collection="tagIds" item="tagId" open="(" separator="," close=")"> |
| | |
| | | a.id, |
| | | a.age_unit, |
| | | a.age_unit2, |
| | | a.campusid, |
| | | a.inhospno, |
| | | a.notrequired_flag, |
| | | a.notrequiredreason, |
| | |
| | | <if test="name != null and name != ''">and a.name like concat('%', #{name}, '%')</if> |
| | | <if test="idcardno != null and idcardno != ''">and a.idcardno = #{idcardno}</if> |
| | | <if test="pid != null and pid != ''">and a.id = #{id}</if> |
| | | <if test="campusid != null and campusid != ''">and a.campusid = #{campusid}</if> |
| | | <if test="telcode != null and telcode != ''">and a.telcode = #{telcode}</if> |
| | | <if test="notrequiredFlag != null and notrequiredFlag != ''">and a.notrequired_flag = #{notrequiredFlag} |
| | | </if> |
| | |
| | | a.age_unit, |
| | | a.age_unit2, |
| | | a.patid_his, |
| | | a.campusid, |
| | | a.sd_flag, |
| | | a.patientno, |
| | | a.notrequired_flag, |
| | |
| | | AND a.del_flag != 1 |
| | | and d.orgid = #{orgid} |
| | | <if test="pid != null and pid != ''">and a.id = #{pid}</if> |
| | | <if test="campusid != null and campusid != ''">and a.campusid = #{campusid}</if> |
| | | <if test="name != null and name != ''">and a.name like concat('%', #{name}, '%')</if> |
| | | <if test="idcardno != null and idcardno != ''">and a.idcardno = #{idcardno}</if> |
| | | <if test="telcode != null and telcode != ''">and a.telcode = #{telcode}</if> |
| | |
| | | a.notrequiredreason, |
| | | a.patid_his, |
| | | a.sd_flag, |
| | | a.campusid, |
| | | a.patientno, |
| | | a.sex, |
| | | d.deptname, |
| | |
| | | AND a.del_flag != 1 |
| | | and d.orgid = #{orgid} |
| | | <if test="pid != null and pid != ''">and a.id = #{pid}</if> |
| | | <if test="campusid != null and campusid != ''">and a.campusid = #{campusid}</if> |
| | | <if test="name != null and name != ''">and a.name like concat('%', #{name}, '%')</if> |
| | | <if test="idcardno != null and idcardno != ''">and a.idcardno = #{idcardno}</if> |
| | | <if test="telcode != null and telcode != ''">and a.telcode = #{telcode}</if> |
| | |
| | | a.age_unit, |
| | | a.age_unit2, |
| | | a.inhospno, |
| | | a.campusid, |
| | | a.notrequired_flag, |
| | | a.notrequiredreason, |
| | | a.patid_his, |
| | |
| | | <if test="drcode != null"> |
| | | AND d.drcode = #{drcode} |
| | | </if> |
| | | <if test="campusid != null"> |
| | | AND d.campusid = #{campusid} |
| | | </if> |
| | | <if test="allhosp != null and allhosp == 1 ">and d.endtime is null</if> |
| | | <if test="allhosp != null and allhosp == 4 ">and d.endtime is not null</if> |
| | | <if test="visitno != null and visitno != ''"> |
| | |
| | | a.age_unit2, |
| | | a.patid_his, |
| | | a.sd_flag, |
| | | a.campusid, |
| | | a.patientno, |
| | | a.notrequired_flag, |
| | | a.notrequiredreason, |
| | |
| | | AND a.del_flag != 1 |
| | | and d.orgid = #{orgid} |
| | | <if test="pid != null and pid != ''">and a.id = #{pid}</if> |
| | | <if test="campusid != null and campusid != ''">and a.campusid = #{campusid}</if> |
| | | <if test="name != null and name != ''">and a.name like concat('%', #{name}, '%')</if> |
| | | <if test="idcardno != null and idcardno != ''">and a.idcardno = #{idcardno}</if> |
| | | <if test="telcode != null and telcode != ''">and a.telcode = #{telcode}</if> |
| | |
| | | select |
| | | a.idcardno, |
| | | a.id, |
| | | a.campusid, |
| | | a.age_unit, |
| | | a.age_unit2, |
| | | a.name, |
| | |
| | | AND a.del_flag != 1 |
| | | and d.orgid = #{orgid} |
| | | <if test="pid != null and pid != ''">and a.id = #{pid}</if> |
| | | <if test="campusid != null and campusid != ''">and a.campusid = #{campusid}</if> |
| | | <if test="name != null and name != ''">and a.name like concat('%', #{name}, '%')</if> |
| | | <if test="idcardno != null and idcardno != ''">and a.idcardno = #{idcardno}</if> |
| | | <if test="telcode != null and telcode != ''">and a.telcode = #{telcode}</if> |
| | |
| | | <result property="fuspecialadvice" column="fuspecialadvice"/> |
| | | <result property="managementDoctor" column="management_doctor"/> |
| | | <result property="managementDoctorCode" column="management_doctor_code"/> |
| | | <result property="campusid" column="campusid"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectPatMedInhospVo"> |
| | | select inhospid, |
| | | patname, |
| | | campusid, |
| | | fuflag, |
| | | management_doctor, |
| | | management_doctor_code, |
| | |
| | | b.starttime, |
| | | b.endtime, |
| | | b.deptcode, |
| | | b.campusid, |
| | | b.deptname, |
| | | b.roomno, |
| | | b.bed_no, |
| | |
| | | <if test="cry != null and cry == 0 ">and b.endtime is null</if> |
| | | <if test="cry != null and cry == 1 ">and b.inhospstate=1</if> |
| | | <if test="inhospstate != null ">and b.inhospstate = #{inhospstate}</if> |
| | | <if test="campusid != null ">and b.campusid = #{campusid}</if> |
| | | <if test="schemestatus != null ">and b.schemestatus = #{schemestatus}</if> |
| | | <if test="outWayId != null ">and b.out_way_id = #{outWayId}</if> |
| | | <if test="outWayName != null ">and b.out_way_name = #{outWayName}</if> |
| | |
| | | b.management_doctor, |
| | | b.management_doctor_code, |
| | | b.out_way_id, |
| | | b.campusid, |
| | | b.out_way_name, |
| | | b.deptcheck_flag, |
| | | b.wardcheck_flag, |
| | |
| | | b.patname, |
| | | b.operator_id, |
| | | b.operator, |
| | | b.campusid, |
| | | b.remark, |
| | | b.out_way_id, |
| | | b.out_way_name, |
| | |
| | | <if test="nurseId != null ">and b.nurse_id = #{nurseId}</if> |
| | | <if test="nurseName != null ">and b.nurse_name = #{nurseName}</if> |
| | | <if test="patno != null ">and b.patno = #{patno}</if> |
| | | <if test="campusid != null ">and b.campusid = #{campusid}</if> |
| | | <if test="diagcheckFlag != null ">and b.diagcheck_flag = #{diagcheckFlag}</if> |
| | | <if test="deptcheckFlag != null ">and b.deptcheck_flag = #{deptcheckFlag}</if> |
| | | <if test="wardcheckFlag != null ">and b.wardcheck_flag = #{wardcheckFlag}</if> |
| | |
| | | <if test="fuspecialadvice != null ">fuspecialadvice,</if> |
| | | <if test="managementDoctor != null ">management_doctor,</if> |
| | | <if test="managementDoctorCode != null ">management_doctor_code,</if> |
| | | <if test="campusid != null ">campusid,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="serialnum != null">#{serialnum},</if> |
| | |
| | | <if test="fuspecialadvice != null ">#{fuspecialadvice},</if> |
| | | <if test="managementDoctor != null ">#{managementDoctor},</if> |
| | | <if test="managementDoctorCode != null ">#{managementDoctorCode},</if> |
| | | <if test="campusid != null ">#{campusid},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | nurse_id, nurse_name, out_way_id, out_way_name, guid, |
| | | operator, operator_id, inhospno, remark, |
| | | fuflag, fudate, fuperiod, futypecode, futypedesc, fuadvice, fuspecialadvice, management_doctor, |
| | | management_doctor_doctor |
| | | management_doctor_doctor,campusid |
| | | ) |
| | | values |
| | | <foreach collection="list" item="item" separator=","> |
| | |
| | | #{item.nurseId}, #{item.nurseName}, #{item.outWayId}, #{item.outWayName}, #{item.guid}, |
| | | #{item.operator}, #{item.operatorId}, #{item.inhospno}, #{item.remark}, |
| | | #{item.fuflag}, #{item.fudate}, #{item.fuperiod}, #{item.futypecode}, #{item.futypedesc}, #{item.fuadvice}, |
| | | #{item.fuspecialadvice}, #{item.managementDoctor}, #{item.managementDoctorCode} |
| | | #{item.fuspecialadvice}, #{item.managementDoctor}, #{item.managementDoctorCode}, #{item.campusid} |
| | | ) |
| | | </foreach> |
| | | </insert> |
| | |
| | | <if test="fuspecialadvice != null ">fuspecialadvice = #{fuspecialadvice},</if> |
| | | <if test="managementDoctor != null ">management_doctor = #{managementDoctor},</if> |
| | | <if test="managementDoctorCode != null ">management_doctor_code = #{managementDoctorCode}</if> |
| | | <if test="campusid != null ">campusid = #{campusid}</if> |
| | | |
| | | </trim> |
| | | where inhospid = #{inhospid} |
| | |
| | | <result property="idcardno" column="idcardno"/> |
| | | <result property="remark" column="remark"/> |
| | | <result property="fudate" column="fudate"/> |
| | | <result property="campusid" column="campusid"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectPatMedOuthospVo"> |
| | | select id, |
| | | outhospno, |
| | | campusid, |
| | | diagcheck_flag, |
| | | patno, |
| | | remark, |
| | |
| | | resultMap="PatMedOuthospResult"> |
| | | select |
| | | pmo.id, |
| | | pmo.campusid, |
| | | pmo.remark, |
| | | pmo.fudate, |
| | | pmo.outhospno, |
| | |
| | | date_format(#{endTime},'%y%m%d') |
| | | </if> |
| | | <if test="patid != null ">and pmo.patid = #{patid}</if> |
| | | <if test="campusid != null ">and pmo.campusid = #{campusid}</if> |
| | | <if test="fuflag != null ">and pmo.fuflag = #{fuflag}</if> |
| | | <if test="patno != null ">and pmo.patno = #{patno}</if> |
| | | <if test="outhospno != null and outhospno != ''">and pmo.outhospno = #{outhospno}</if> |
| | |
| | | <if test="remark != null">remark,</if> |
| | | <if test="fuflag != null">fuflag,</if> |
| | | <if test="fudate != null">fudate,</if> |
| | | <if test="campusid != null">campusid,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="serialnum != null">#{serialnum},</if> |
| | |
| | | <if test="remark != null">#{remark},</if> |
| | | <if test="fuflag != null">#{fuflag},</if> |
| | | <if test="fudate != null">#{fudate},</if> |
| | | <if test="campusid != null">#{campusid},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | diagcheck_flag, |
| | | fuflag, |
| | | fudate, |
| | | campusid, |
| | | remark) |
| | | values |
| | | <foreach collection="list" item="item" separator=","> |
| | |
| | | #{item.diagcheckFlag}, |
| | | #{item.fuflag}, |
| | | #{item.fudate}, |
| | | #{item.campusid}, |
| | | #{item.remark} |
| | | ) |
| | | </foreach> |
| | |
| | | <if test="remark != null">remark = #{remark},</if> |
| | | <if test="fuflag != null">fuflag = #{fuflag},</if> |
| | | <if test="fudate != null">fudate = #{fudate},</if> |
| | | <if test="campusid != null">campusid = #{campusid},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.PatMedOuthospProvisionalMapper"> |
| | | |
| | | <resultMap type="com.smartor.domain.PatMedOuthospProvisional" id="PatMedOuthospProvisionalResult"> |
| | | <result property="id" column="id"/> |
| | | <result property="outhospno" column="outhospno"/> |
| | | <result property="serialnum" column="serialnum"/> |
| | | <result property="patid" column="patid"/> |
| | | <result property="patname" column="patname"/> |
| | | <result property="patno" column="patno"/> |
| | | <result property="hospitalname" column="hospitalname"/> |
| | | <result property="hospitalcode" column="hospitalcode"/> |
| | | <result property="icd10code" column="icd10code"/> |
| | | <result property="diagname" column="diagname"/> |
| | | <result property="deptid" column="deptid"/> |
| | | <result property="deptcode" column="deptcode"/> |
| | | <result property="deptname" column="deptname"/> |
| | | <result property="drcode" column="drcode"/> |
| | | <result property="drname" column="drname"/> |
| | | <result property="admitdate" column="admitdate"/> |
| | | <result property="orgid" column="orgid"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | | <result property="updateBy" column="update_by"/> |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="isupload" column="isupload"/> |
| | | <result property="uploadTime" column="upload_time"/> |
| | | <result property="schemestatus" column="schemestatus"/> |
| | | <result property="schemetime" column="schemetime"/> |
| | | <result property="hpi" column="hpi"/> |
| | | <result property="mainsuit" column="mainsuit"/> |
| | | <result property="pid" column="pid"/> |
| | | <result property="guid" column="guid"/> |
| | | <result property="pguid" column="pguid"/> |
| | | <result property="hospitaldistrictcode" column="hospitaldistrictcode"/> |
| | | <result property="hospitaldistrictname" column="hospitaldistrictname"/> |
| | | <result property="diagcheckFlag" column="diagcheck_flag"/> |
| | | <result property="remark" column="remark"/> |
| | | <result property="fudate" column="fudate"/> |
| | | <result property="fuflag" column="fuflag"/> |
| | | <result property="campusid" column="campusid"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectPatMedOuthospProvisionalVo"> |
| | | select id, outhospno, serialnum, patid, patname, patno, hospitalname, hospitalcode, icd10code, diagname, deptid, deptcode, deptname, drcode, drname, admitdate, orgid, del_flag, update_by, update_time, create_by, create_time, isupload, upload_time, schemestatus, schemetime, hpi, mainsuit, pid, guid, pguid, hospitaldistrictcode, hospitaldistrictname, diagcheck_flag, remark, fudate, fuflag, campusid |
| | | from pat_med_outhosp_provisional |
| | | </sql> |
| | | |
| | | <select id="selectPatMedOuthospProvisionalList" parameterType="com.smartor.domain.PatMedOuthospProvisional" |
| | | resultMap="PatMedOuthospProvisionalResult"> |
| | | <include refid="selectPatMedOuthospProvisionalVo"/> |
| | | <where> |
| | | del_flag=0 |
| | | <if test="outhospno != null and outhospno != ''"> |
| | | and outhospno = #{outhospno} |
| | | </if> |
| | | <if test="serialnum != null and serialnum != ''"> |
| | | and serialnum = #{serialnum} |
| | | </if> |
| | | <if test="patid != null "> |
| | | and patid = #{patid} |
| | | </if> |
| | | <if test="patname != null and patname != ''"> |
| | | and patname like concat('%', #{patname}, '%') |
| | | </if> |
| | | <if test="patno != null and patno != ''"> |
| | | and patno = #{patno} |
| | | </if> |
| | | <if test="hospitalname != null and hospitalname != ''"> |
| | | and hospitalname like concat('%', #{hospitalname}, '%') |
| | | </if> |
| | | <if test="hospitalcode != null and hospitalcode != ''"> |
| | | and hospitalcode = #{hospitalcode} |
| | | </if> |
| | | <if test="icd10code != null and icd10code != ''"> |
| | | and icd10code = #{icd10code} |
| | | </if> |
| | | <if test="diagname != null and diagname != ''"> |
| | | and diagname like concat('%', #{diagname}, '%') |
| | | </if> |
| | | <if test="deptid != null "> |
| | | and deptid = #{deptid} |
| | | </if> |
| | | <if test="deptcode != null and deptcode != ''"> |
| | | and deptcode = #{deptcode} |
| | | </if> |
| | | <if test="deptname != null and deptname != ''"> |
| | | and deptname like concat('%', #{deptname}, '%') |
| | | </if> |
| | | <if test="drcode != null and drcode != ''"> |
| | | and drcode = #{drcode} |
| | | </if> |
| | | <if test="drname != null and drname != ''"> |
| | | and drname like concat('%', #{drname}, '%') |
| | | </if> |
| | | <if test="admitdate != null "> |
| | | and admitdate = #{admitdate} |
| | | </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="schemestatus != null "> |
| | | and schemestatus = #{schemestatus} |
| | | </if> |
| | | <if test="schemetime != null "> |
| | | and schemetime = #{schemetime} |
| | | </if> |
| | | <if test="hpi != null and hpi != ''"> |
| | | and hpi = #{hpi} |
| | | </if> |
| | | <if test="mainsuit != null and mainsuit != ''"> |
| | | and mainsuit = #{mainsuit} |
| | | </if> |
| | | <if test="pid != null "> |
| | | and pid = #{pid} |
| | | </if> |
| | | <if test="guid != null and guid != ''"> |
| | | and guid = #{guid} |
| | | </if> |
| | | <if test="pguid != null and pguid != ''"> |
| | | and pguid = #{pguid} |
| | | </if> |
| | | <if test="hospitaldistrictcode != null and hospitaldistrictcode != ''"> |
| | | and hospitaldistrictcode = #{hospitaldistrictcode} |
| | | </if> |
| | | <if test="hospitaldistrictname != null and hospitaldistrictname != ''"> |
| | | and hospitaldistrictname like concat('%', #{hospitaldistrictname}, '%') |
| | | </if> |
| | | <if test="diagcheckFlag != null and diagcheckFlag != ''"> |
| | | and diagcheck_flag = #{diagcheckFlag} |
| | | </if> |
| | | <if test="fudate != null "> |
| | | and fudate = #{fudate} |
| | | </if> |
| | | <if test="fuflag != null and fuflag != ''"> |
| | | and fuflag = #{fuflag} |
| | | </if> |
| | | <if test="campusid != null and campusid != ''"> |
| | | and campusid = #{campusid} |
| | | </if> |
| | | </where> |
| | | </select> |
| | | |
| | | <select id="selectPatMedOuthospProvisionalById" parameterType="Long" |
| | | resultMap="PatMedOuthospProvisionalResult"> |
| | | <include refid="selectPatMedOuthospProvisionalVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <insert id="insertPatMedOuthospProvisional" parameterType="com.smartor.domain.PatMedOuthospProvisional" useGeneratedKeys="true" keyProperty="id"> |
| | | insert into pat_med_outhosp_provisional |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |
| | | <if test="outhospno != null">outhospno, |
| | | </if> |
| | | <if test="serialnum != null">serialnum, |
| | | </if> |
| | | <if test="patid != null">patid, |
| | | </if> |
| | | <if test="patname != null">patname, |
| | | </if> |
| | | <if test="patno != null">patno, |
| | | </if> |
| | | <if test="hospitalname != null">hospitalname, |
| | | </if> |
| | | <if test="hospitalcode != null">hospitalcode, |
| | | </if> |
| | | <if test="icd10code != null">icd10code, |
| | | </if> |
| | | <if test="diagname != null">diagname, |
| | | </if> |
| | | <if test="deptid != null">deptid, |
| | | </if> |
| | | <if test="deptcode != null">deptcode, |
| | | </if> |
| | | <if test="deptname != null">deptname, |
| | | </if> |
| | | <if test="drcode != null">drcode, |
| | | </if> |
| | | <if test="drname != null">drname, |
| | | </if> |
| | | <if test="admitdate != null">admitdate, |
| | | </if> |
| | | <if test="orgid != null">orgid, |
| | | </if> |
| | | <if test="delFlag != null">del_flag, |
| | | </if> |
| | | <if test="updateBy != null">update_by, |
| | | </if> |
| | | <if test="updateTime != null">update_time, |
| | | </if> |
| | | <if test="createBy != null">create_by, |
| | | </if> |
| | | <if test="createTime != null">create_time, |
| | | </if> |
| | | <if test="isupload != null">isupload, |
| | | </if> |
| | | <if test="uploadTime != null">upload_time, |
| | | </if> |
| | | <if test="schemestatus != null">schemestatus, |
| | | </if> |
| | | <if test="schemetime != null">schemetime, |
| | | </if> |
| | | <if test="hpi != null">hpi, |
| | | </if> |
| | | <if test="mainsuit != null">mainsuit, |
| | | </if> |
| | | <if test="pid != null">pid, |
| | | </if> |
| | | <if test="guid != null">guid, |
| | | </if> |
| | | <if test="pguid != null">pguid, |
| | | </if> |
| | | <if test="hospitaldistrictcode != null">hospitaldistrictcode, |
| | | </if> |
| | | <if test="hospitaldistrictname != null">hospitaldistrictname, |
| | | </if> |
| | | <if test="diagcheckFlag != null">diagcheck_flag, |
| | | </if> |
| | | <if test="remark != null">remark, |
| | | </if> |
| | | <if test="fudate != null">fudate, |
| | | </if> |
| | | <if test="fuflag != null">fuflag, |
| | | </if> |
| | | <if test="campusid != null">campusid, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="outhospno != null">#{outhospno}, |
| | | </if> |
| | | <if test="serialnum != null">#{serialnum}, |
| | | </if> |
| | | <if test="patid != null">#{patid}, |
| | | </if> |
| | | <if test="patname != null">#{patname}, |
| | | </if> |
| | | <if test="patno != null">#{patno}, |
| | | </if> |
| | | <if test="hospitalname != null">#{hospitalname}, |
| | | </if> |
| | | <if test="hospitalcode != null">#{hospitalcode}, |
| | | </if> |
| | | <if test="icd10code != null">#{icd10code}, |
| | | </if> |
| | | <if test="diagname != null">#{diagname}, |
| | | </if> |
| | | <if test="deptid != null">#{deptid}, |
| | | </if> |
| | | <if test="deptcode != null">#{deptcode}, |
| | | </if> |
| | | <if test="deptname != null">#{deptname}, |
| | | </if> |
| | | <if test="drcode != null">#{drcode}, |
| | | </if> |
| | | <if test="drname != null">#{drname}, |
| | | </if> |
| | | <if test="admitdate != null">#{admitdate}, |
| | | </if> |
| | | <if test="orgid != null">#{orgid}, |
| | | </if> |
| | | <if test="delFlag != null">#{delFlag}, |
| | | </if> |
| | | <if test="updateBy != null">#{updateBy}, |
| | | </if> |
| | | <if test="updateTime != null">#{updateTime}, |
| | | </if> |
| | | <if test="createBy != null">#{createBy}, |
| | | </if> |
| | | <if test="createTime != null">#{createTime}, |
| | | </if> |
| | | <if test="isupload != null">#{isupload}, |
| | | </if> |
| | | <if test="uploadTime != null">#{uploadTime}, |
| | | </if> |
| | | <if test="schemestatus != null">#{schemestatus}, |
| | | </if> |
| | | <if test="schemetime != null">#{schemetime}, |
| | | </if> |
| | | <if test="hpi != null">#{hpi}, |
| | | </if> |
| | | <if test="mainsuit != null">#{mainsuit}, |
| | | </if> |
| | | <if test="pid != null">#{pid}, |
| | | </if> |
| | | <if test="guid != null">#{guid}, |
| | | </if> |
| | | <if test="pguid != null">#{pguid}, |
| | | </if> |
| | | <if test="hospitaldistrictcode != null">#{hospitaldistrictcode}, |
| | | </if> |
| | | <if test="hospitaldistrictname != null">#{hospitaldistrictname}, |
| | | </if> |
| | | <if test="diagcheckFlag != null">#{diagcheckFlag}, |
| | | </if> |
| | | <if test="remark != null">#{remark}, |
| | | </if> |
| | | <if test="fudate != null">#{fudate}, |
| | | </if> |
| | | <if test="fuflag != null">#{fuflag}, |
| | | </if> |
| | | <if test="campusid != null">#{campusid}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | | |
| | | <update id="updatePatMedOuthospProvisional" parameterType="com.smartor.domain.PatMedOuthospProvisional"> |
| | | update pat_med_outhosp_provisional |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | <if test="outhospno != null">outhospno = |
| | | #{outhospno}, |
| | | </if> |
| | | <if test="serialnum != null">serialnum = |
| | | #{serialnum}, |
| | | </if> |
| | | <if test="patid != null">patid = |
| | | #{patid}, |
| | | </if> |
| | | <if test="patname != null">patname = |
| | | #{patname}, |
| | | </if> |
| | | <if test="patno != null">patno = |
| | | #{patno}, |
| | | </if> |
| | | <if test="hospitalname != null">hospitalname = |
| | | #{hospitalname}, |
| | | </if> |
| | | <if test="hospitalcode != null">hospitalcode = |
| | | #{hospitalcode}, |
| | | </if> |
| | | <if test="icd10code != null">icd10code = |
| | | #{icd10code}, |
| | | </if> |
| | | <if test="diagname != null">diagname = |
| | | #{diagname}, |
| | | </if> |
| | | <if test="deptid != null">deptid = |
| | | #{deptid}, |
| | | </if> |
| | | <if test="deptcode != null">deptcode = |
| | | #{deptcode}, |
| | | </if> |
| | | <if test="deptname != null">deptname = |
| | | #{deptname}, |
| | | </if> |
| | | <if test="drcode != null">drcode = |
| | | #{drcode}, |
| | | </if> |
| | | <if test="drname != null">drname = |
| | | #{drname}, |
| | | </if> |
| | | <if test="admitdate != null">admitdate = |
| | | #{admitdate}, |
| | | </if> |
| | | <if test="orgid != null">orgid = |
| | | #{orgid}, |
| | | </if> |
| | | <if test="delFlag != null">del_flag = |
| | | #{delFlag}, |
| | | </if> |
| | | <if test="updateBy != null">update_by = |
| | | #{updateBy}, |
| | | </if> |
| | | <if test="updateTime != null">update_time = |
| | | #{updateTime}, |
| | | </if> |
| | | <if test="createBy != null">create_by = |
| | | #{createBy}, |
| | | </if> |
| | | <if test="createTime != null">create_time = |
| | | #{createTime}, |
| | | </if> |
| | | <if test="isupload != null">isupload = |
| | | #{isupload}, |
| | | </if> |
| | | <if test="uploadTime != null">upload_time = |
| | | #{uploadTime}, |
| | | </if> |
| | | <if test="schemestatus != null">schemestatus = |
| | | #{schemestatus}, |
| | | </if> |
| | | <if test="schemetime != null">schemetime = |
| | | #{schemetime}, |
| | | </if> |
| | | <if test="hpi != null">hpi = |
| | | #{hpi}, |
| | | </if> |
| | | <if test="mainsuit != null">mainsuit = |
| | | #{mainsuit}, |
| | | </if> |
| | | <if test="pid != null">pid = |
| | | #{pid}, |
| | | </if> |
| | | <if test="guid != null">guid = |
| | | #{guid}, |
| | | </if> |
| | | <if test="pguid != null">pguid = |
| | | #{pguid}, |
| | | </if> |
| | | <if test="hospitaldistrictcode != null">hospitaldistrictcode = |
| | | #{hospitaldistrictcode}, |
| | | </if> |
| | | <if test="hospitaldistrictname != null">hospitaldistrictname = |
| | | #{hospitaldistrictname}, |
| | | </if> |
| | | <if test="diagcheckFlag != null">diagcheck_flag = |
| | | #{diagcheckFlag}, |
| | | </if> |
| | | <if test="remark != null">remark = |
| | | #{remark}, |
| | | </if> |
| | | <if test="fudate != null">fudate = |
| | | #{fudate}, |
| | | </if> |
| | | <if test="fuflag != null">fuflag = |
| | | #{fuflag}, |
| | | </if> |
| | | <if test="campusid != null">campusid = |
| | | #{campusid}, |
| | | </if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <update id="deletePatMedOuthospProvisionalById" parameterType="Long"> |
| | | update pat_med_outhosp_provisional |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | del_flag =1 |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | | |
| | | <update id="deletePatMedOuthospProvisionalByIds" parameterType="String"> |
| | | update pat_med_outhosp_provisional |
| | | <trim prefix="SET" suffixOverrides=","> |
| | | del_flag =1 |
| | | </trim> |
| | | where id in |
| | | <foreach item="id" collection="array" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </update> |
| | | |
| | | |
| | | |
| | | |
| | | </mapper> |
| | |
| | | <if test="appenddesc != null">#{appenddesc},</if> |
| | | <if test="score != null">#{score},</if> |
| | | <if test="prompt != null">#{prompt},</if> |
| | | <if test="sendTaskid != null">#{sendTaskid}</if> |
| | | <if test="sendTaskid != null">#{sendTaskid},</if> |
| | | <if test="sendTaskname != null">#{sendTaskname}</if> |
| | | </trim> |
| | | </insert> |
| | |
| | | <result property="guid" column="guid"/> |
| | | <result property="orgid" column="orgid"/> |
| | | <result property="type" column="type"/> |
| | | <result property="campusid" column="campusid"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectDeptVo"> |
| | |
| | | d.dept_code, |
| | | d.type, |
| | | d.orgid, |
| | | d.campusid, |
| | | d.parent_id, |
| | | d.ancestors, |
| | | d.dept_name, |
| | |
| | | <if test="hisParentId != null and hisParentId != ''"> |
| | | AND his_parent_id = #{hisParentId} |
| | | </if> |
| | | <if test="campusid != null and campusid != ''"> |
| | | AND campusid = #{campusid} |
| | | </if> |
| | | order by d.parent_id, d.order_num |
| | | </select> |
| | | |
| | |
| | | <select id="selectDeptById" parameterType="Long" resultMap="SysDeptResult"> |
| | | select d.dept_id, |
| | | d.parent_id, |
| | | d.campusid, |
| | | d.dept_code, |
| | | d.type, |
| | | d.dept_type, |
| | |
| | | select d.dept_id, |
| | | d.parent_id, |
| | | d.type, |
| | | d.campusid, |
| | | d.dept_code, |
| | | d.dept_type, |
| | | d.ancestors, |
| | |
| | | type, |
| | | guid, |
| | | orgid, |
| | | campusid, |
| | | create_time |
| | | ) values |
| | | <foreach collection="list" item="item" separator=","> |
| | |
| | | #{item.type}, |
| | | #{item.guid}, |
| | | #{item.orgid}, |
| | | #{item.campusid}, |
| | | now() |
| | | ) |
| | | </foreach> |
| | |
| | | <if test="type != null and type != ''">type,</if> |
| | | <if test="guid != null and guid != ''">guid,</if> |
| | | <if test="orgid != null and orgid != ''">orgid,</if> |
| | | <if test="campusid != null and campusid != ''">campusid,</if> |
| | | create_time |
| | | )values( |
| | | <if test="deptId != null and deptId != 0">#{deptId},</if> |
| | |
| | | <if test="type != null and type != ''">#{type},</if> |
| | | <if test="guid != null and guid != ''">#{guid},</if> |
| | | <if test="orgid != null and orgid != ''">#{orgid},</if> |
| | | <if test="campusid != null and campusid != ''">#{campusid},</if> |
| | | sysdate() |
| | | ) |
| | | </insert> |
| | |
| | | <if test="hisParentId != null and hisParentId != ''">his_parent_id = #{hisParentId},</if> |
| | | <if test="hisDeptId != null and hisDeptId != ''">his_dept_id = #{hisDeptId},</if> |
| | | <if test="type != null and type != ''">type = #{type},</if> |
| | | <if test="campusid != null and campusid != ''">campusid = #{campusid},</if> |
| | | update_time = sysdate() |
| | | </set> |
| | | where dept_id = #{deptId} |
| | |
| | | <result property="deptType" column="dept_type"/> |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="campusid" column="campusid"/> |
| | | </resultMap> |
| | | |
| | | <resultMap id="deptResult" type="com.ruoyi.common.core.domain.entity.SysDept"> |
| | |
| | | <result property="orderNum" column="order_num"/> |
| | | <result property="leader" column="leader"/> |
| | | <result property="status" column="dept_status"/> |
| | | <result property="campusid" column="campusid"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectSysUserDeptVo"> |
| | |
| | | user_id, |
| | | dept_id, |
| | | del_flag, |
| | | campusid, |
| | | orgid, |
| | | create_time, |
| | | update_time, |
| | |
| | | </if> |
| | | <if test="deptCode != null "> |
| | | and dept_code = #{deptCode} |
| | | </if> |
| | | <if test="campusid != null "> |
| | | and campusid = #{campusid} |
| | | </if> |
| | | </where> |
| | | </select> |
| | |
| | | <if test="userCode != null "> |
| | | user_code, |
| | | </if> |
| | | <if test="campusid != null "> |
| | | campusid, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="userId != null">#{userId}, |
| | |
| | | </if> |
| | | <if test="userCode != null "> |
| | | #{userCode}, |
| | | </if> |
| | | <if test="campusid != null "> |
| | | #{campusid}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | |
| | | <if test="orgid != null "> |
| | | orgid = #{orgid}, |
| | | </if> |
| | | <if test="campusid != null "> |
| | | campusid = #{campusid}, |
| | | </if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |
| | |
| | | d.ancestors, |
| | | d.dept_name, |
| | | d.order_num, |
| | | d.campusid, |
| | | d.leader, |
| | | d.orgid, |
| | | d.status as dept_status |
| | |
| | | <result property="userType" column="user_type"/> |
| | | <result property="searchscope" column="searchscope"/> |
| | | <result property="guid" column="guid"/> |
| | | <result property="campusid" column="campusid"/> |
| | | <association property="dept" column="dept_id" javaType="com.ruoyi.common.core.domain.entity.SysDept" |
| | | resultMap="deptResult"/> |
| | | <collection property="roles" javaType="java.util.List" resultMap="RoleResult"/> |
| | |
| | | <result property="orderNum" column="order_num"/> |
| | | <result property="leader" column="leader"/> |
| | | <result property="status" column="dept_status"/> |
| | | <result property="campusid" column="campusid"/> |
| | | </resultMap> |
| | | |
| | | <resultMap id="RoleResult" type="com.ruoyi.common.core.domain.entity.SysRole"> |
| | |
| | | u.id_card, |
| | | u.hosp_info, |
| | | u.dept_info, |
| | | u.campusid, |
| | | u.searchscope, |
| | | u.user_name, |
| | | u.user_type, |
| | |
| | | <select id="selectUserList" parameterType="com.ruoyi.common.core.domain.entity.SysUser" resultMap="SysUserResult"> |
| | | select u.user_code,u.user_id,u.title,u.his_user_id,u.hosp_info,u.dept_info, u.searchscope, u.dept_id, |
| | | u.user_type, |
| | | u.campusid, |
| | | u.nick_name, u.user_name, |
| | | u.email,u.id_card, |
| | | u.avatar, |
| | |
| | | <if test="userName != null and userName != ''"> |
| | | AND u.user_name = #{userName} |
| | | </if> |
| | | <if test="orgid != null and orgid != ''"> |
| | | <if test="orgid != null and orgid != ''"> |
| | | AND u.orgid = #{orgid} |
| | | </if> |
| | | <if test="nickName != null and nickName != ''"> |
| | |
| | | </if> |
| | | <if test="jobPhone != null and jobPhone != ''"> |
| | | AND u.job_phone = #{jobPhone} |
| | | </if> |
| | | <if test="campusid != null and campusid != ''"> |
| | | AND u.campusid = #{campusid} |
| | | </if> |
| | | <if test="birthday != null and birthday != ''"> |
| | | AND u.birthday = #{birthday} |
| | |
| | | u.birthday, |
| | | u.job_phone, |
| | | u.orgid, |
| | | u.campusid, |
| | | u.phonenumber, u.status,u.id_card, |
| | | u.create_time |
| | | from sys_user u |
| | |
| | | <if test="hisUserId != null and hisUserId != ''"> |
| | | AND u.his_user_id = #{hisUserId} |
| | | </if> |
| | | <if test="campusid != null and campusid != ''"> |
| | | AND u.campusid = #{campusid} |
| | | </if> |
| | | <!-- æ°æ®èå´è¿æ»¤ --> |
| | | ${params.dataScope} |
| | | </select> |
| | |
| | | u.nick_name, |
| | | u.user_code, |
| | | u.email, |
| | | u.campusid, |
| | | u.his_user_id, |
| | | u.title, |
| | | u.orgid, |
| | |
| | | <if test="deptCode != null and deptCode != ''">dept_code,</if> |
| | | <if test="deptName != null and deptName != ''">dept_name,</if> |
| | | <if test="userCode != null and userCode != ''">user_code,</if> |
| | | <if test="campusid != null and campusid != ''">campusid,</if> |
| | | create_time |
| | | )values( |
| | | <if test="userId != null and userId != ''">#{userId},</if> |
| | |
| | | <if test="deptCode != null and deptCode != ''">#{deptCode},</if> |
| | | <if test="deptName != null and deptName != ''">#{deptName},</if> |
| | | <if test="userCode != null and userCode != ''">#{userCode},</if> |
| | | <if test="campusid != null and campusid != ''">#{campusid},</if> |
| | | sysdate() |
| | | ) |
| | | </insert> |
| | |
| | | insert into sys_user( |
| | | user_id, dept_id, user_name, nick_name, email, avatar, phonenumber, sex, password, status, create_by, remark, |
| | | user_type, dept_info, hosp_info, searchscope, id_card, title, job_phone, birthday, his_user_id, guid, |
| | | orgid,user_code, |
| | | orgid,user_code,campusid, |
| | | create_time |
| | | ) values |
| | | <foreach collection="list" item="item" separator=","> |
| | |
| | | #{item.guid}, |
| | | #{item.orgid}, |
| | | #{item.userCode}, |
| | | #{item.campusid}, |
| | | now() |
| | | ) |
| | | </foreach> |
| | |
| | | <if test="birthday != null ">birthday=#{birthday},</if> |
| | | <if test="orgid != null ">orgid=#{orgid},</if> |
| | | <if test="userCode != null ">user_code=#{userCode},</if> |
| | | <if test="campusid != null ">campusid=#{campusid},</if> |
| | | <if test="title != null and title != ''"> |
| | | title = #{title}, |
| | | </if> |
| | |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.smartor.mapper.SysUserRole2Mapper"> |
| | | |
| | | <resultMap type="SysUserRole" id="SysUserRoleResult"> |
| | | <resultMap type="com.ruoyi.common.core.domain.entity.SysUserRole" id="SysUserRoleResult"> |
| | | <result property="userId" column="user_id"/> |
| | | <result property="roleId" column="role_id"/> |
| | | <result property="guid" column="guid"/> |
| | |
| | | where role_id = #{roleId} |
| | | </select> |
| | | |
| | | <select id="selectUserRoleByRoleIdAndUserId" resultMap="SysUserRoleResult"> |
| | | select user_id,role_id,guid,orgid |
| | | from sys_user_role |
| | | <where> |
| | | <if test="roleId != null ">and role_id = #{roleId}</if> |
| | | <if test="userId != null ">and user_id = #{userId}</if> |
| | | |
| | | </where> |
| | | </select> |
| | | |
| | | <delete id="deleteUserRole" parameterType="Long"> |
| | | delete from sys_user_role where user_id in |
| | | <foreach collection="array" item="userId" open="(" separator="," close=")"> |