| | |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.smartor.domain.BaseOrganization; |
| | | import com.smartor.domain.PatArchive; |
| | | import com.smartor.domain.ServiceOutPath; |
| | | import com.smartor.domain.ServiceTask; |
| | | import com.smartor.service.IBaseOrganizationService; |
| | | import com.smartor.service.IPatArchiveService; |
| | | import com.smartor.service.IServiceOutPathService; |
| | | import com.smartor.service.IServiceTaskService; |
| | | import io.swagger.annotations.Api; |
| | |
| | | |
| | | @Autowired |
| | | private IServiceTaskService serviceTaskService; |
| | | |
| | | @Autowired |
| | | IPatArchiveService patArchiveService; |
| | | |
| | | @Autowired |
| | | private IBaseOrganizationService baseOrganizationService; |
| | |
| | | serviceOutPath1.setOrgname(orgname); |
| | | } |
| | | } |
| | | if(StringUtils.isNotEmpty(serviceOutPath1.getParam2())){ |
| | | RSAPublicKeyExample rsaPublicKeyExample = new RSAPublicKeyExample(); |
| | | Long patId = Long.valueOf(rsaPublicKeyExample.decryptedData(serviceOutPath1.getParam2(), pri_key)); |
| | | if(patId != null){ |
| | | PatArchive patArchive = patArchiveService.selectPatArchiveByPatid(patId); |
| | | serviceOutPath1.setPatArchive(patArchive); |
| | | } |
| | | } |
| | | |
| | | return success(serviceOutPath1); |
| | | } |
| | | return success(null); |
| | |
| | | <groupId>mysql</groupId> |
| | | <artifactId>mysql-connector-java</artifactId> |
| | | </dependency> |
| | | <dependency> |
| | | <groupId>com.ruoyi</groupId> |
| | | <artifactId>ruoyi-system</artifactId> |
| | | </dependency> |
| | | </dependencies> |
| | | |
| | | |
| | |
| | | @ApiModelProperty(value = "进制") |
| | | private String radix; |
| | | |
| | | @ApiModelProperty(value = "病人信息") |
| | | private PatArchive patArchive; |
| | | |
| | | } |
| | | |
| | |
| | | @ApiModelProperty(value = "疾病病种") |
| | | @Excel(name = " 疾病病种") |
| | | private String diagType; |
| | | |
| | | /** |
| | | * 开始出院日期 |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "开始出院日期") |
| | | private Date startOutHospTime; |
| | | |
| | | /** |
| | | * 结束出院日期 |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "结束出院日期") |
| | | private Date endOutHospTime; |
| | | |
| | | /** |
| | | * 开始发送日期 |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "开始发送日期") |
| | | private Date startSendDateTime; |
| | | |
| | | /** |
| | | * 结束发送日期 |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @ApiModelProperty(value = "结束发送日期") |
| | | private Date endSendDateTime; |
| | | } |
| | |
| | | <if test="continueTimeNow != null ">and continue_time_now = #{continueTimeNow,jdbcType=TIMESTAMP}</if> |
| | | <if test="continueCount != null ">and continue_count = #{continueCount}</if> |
| | | <if test="continueTimeNext != null ">and continue_time_next = #{continueTimeNext}</if> |
| | | <if test="startOutHospTime != null"> |
| | | AND date_format(endtime,'%y%m%d') >= date_format(#{startOutHospTime},'%y%m%d') |
| | | </if> |
| | | <if test="endOutHospTime != null"> |
| | | AND date_format(endtime,'%y%m%d') <= date_format(#{endOutHospTime},'%y%m%d') |
| | | </if> |
| | | GROUP BY sendname,sendstate,starttime,endtime,nurse_name,phone,sex,task_name,leavediagname,visit_time |
| | | ORDER BY sendname,visit_time |
| | | <if test="pageSize != null and pageNum != null">limit ${pageSize} OFFSET ${pageNum}</if> |