| | |
| | | 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); |