| | |
| | | import com.ltkj.LtkjApplication; |
| | | import com.ltkj.common.core.domain.AjaxResult; |
| | | import com.ltkj.common.core.domain.entity.DictUserInfo; |
| | | import com.ltkj.common.core.redis.RedisCache; |
| | | import com.ltkj.hosp.domain.*; |
| | | import com.ltkj.hosp.hisDto.OutpintestapplyDetailsDto; |
| | | import com.ltkj.hosp.lisDto.LisSaveSqdxxDto; |
| | |
| | | import org.springframework.boot.autoconfigure.EnableAutoConfiguration; |
| | | import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration; |
| | | import org.springframework.boot.test.context.SpringBootTest; |
| | | import org.springframework.data.redis.core.RedisTemplate; |
| | | import org.springframework.test.context.junit4.SpringRunner; |
| | | |
| | | import javax.annotation.Resource; |
| | |
| | | private ITjReportTemplateService reportTemplateService; |
| | | @Autowired |
| | | private HisPDFUtil hisPDFUtil; |
| | | |
| | | // @Autowired |
| | | // private RedisCache redisCache; |
| | | // @Autowired |
| | | // private RedisTemplate<String,Object> redisTemplate; |
| | | |
| | | public static String generateId() { |
| | | String id; |
| | |
| | | template.setOpen("1"); |
| | | reportTemplateService.save(template); |
| | | } |
| | | // |
| | | // @Test |
| | | // public void test11(){ |
| | | // redisCache.setCacheList("list1",new ArrayList<>()); |
| | | // redisTemplate.opsForList().set("list2",0,new ArrayList<>()); |
| | | // } |
| | | |
| | | } |