| | |
| | | //package com.ltkj.web.controller.his; |
| | | // |
| | | // |
| | | //import com.ltkj.common.core.controller.BaseController; |
| | | //import com.ltkj.common.core.domain.AjaxResult; |
| | | //import com.ltkj.common.core.page.TableDataInfo; |
| | | //import com.ltkj.common.utils.http.HttpUtils; |
| | | //import com.ltkj.hosp.domain.DictSsdm; |
| | | //import com.ltkj.hosp.domain.TjCustomer; |
| | | //import com.ltkj.hosp.hisDto.*; |
| | | //import com.ltkj.hosp.service.ITjCustomerService; |
| | | //import com.ltkj.web.wxUtils.HttpClientUtils; |
| | | //import io.swagger.annotations.Api; |
| | | //import io.swagger.annotations.ApiOperation; |
| | | //import io.swagger.annotations.ApiParam; |
| | | //import org.springframework.beans.factory.annotation.Autowired; |
| | | //import org.springframework.web.bind.annotation.*; |
| | | // |
| | | //import javax.annotation.Resource; |
| | | //import java.util.Date; |
| | | //import java.util.HashMap; |
| | | //import java.util.List; |
| | | //import java.util.Map; |
| | | // |
| | | // |
| | | //@Api(tags = "AAAAA-----HISAPI相关接口文档") |
| | | //@RestController |
| | | //@RequestMapping("/api/His") |
| | | //public class HisApiController extends BaseController { |
| | | package com.ltkj.web.controller.his; |
| | | |
| | | |
| | | import com.ltkj.common.core.controller.BaseController; |
| | | import com.ltkj.common.core.domain.AjaxResult; |
| | | import com.ltkj.common.core.page.TableDataInfo; |
| | | import com.ltkj.common.utils.http.HttpUtils; |
| | | import com.ltkj.hosp.domain.DictSsdm; |
| | | import com.ltkj.hosp.domain.TjCustomer; |
| | | import com.ltkj.hosp.hisDto.*; |
| | | import com.ltkj.hosp.service.ITjCustomerService; |
| | | import com.ltkj.web.wxUtils.HttpClientUtils; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import io.swagger.annotations.ApiParam; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.Date; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | |
| | | @Api(tags = "AAAAA-----HISAPI相关接口文档") |
| | | @RestController |
| | | @RequestMapping("/api/His") |
| | | public class HisApiController extends BaseController { |
| | | // @Autowired |
| | | // private ITjCustomerService tjCustomerService; |
| | | // |
| | | // @Autowired |
| | | // private HisApiGetMethodService service; |
| | | // |
| | | // private static final String HIS_URL = "https://mock.mengxuegu.com/mock/664d3dbce45d2156fa209c80/example/api/His/HisRequest"; |
| | | // |
| | | // |
| | | // @GetMapping("/his") |
| | | // public AjaxResult Outpinconapply() { |
| | | // Map<String, Object> maps = new HashMap<>(); |
| | | // maps.put("his_registration_id","20240704000218"); |
| | | // maps.put("ksbm", "体检中心"); |
| | | // maps.put("pagecount", 100); |
| | | // maps.put("page", 1); |
| | | // service.getHISDataNew("", maps); |
| | | // return AjaxResult.success(); |
| | | // } |
| | | |
| | | |
| | | // @PostMapping("/Outpincreateapply") |
| | | // @ApiOperation(value = "新增/修改门诊注册信息") |
| | | // public AjaxResult Outpincreateapply(@RequestBody TjCustomer customer) { |
| | |
| | | // String post = HttpClientUtils.sendPost(HIS_URL, map); |
| | | // return AjaxResult.success(post); |
| | | // } |
| | | //} |
| | | } |