| | |
| | | import com.ltkj.hosp.domain.TjCustomer; |
| | | import com.ltkj.hosp.hisDto.*; |
| | | import com.ltkj.hosp.service.ITjCustomerService; |
| | | import com.ltkj.system.service.ISysConfigService; |
| | | import com.ltkj.web.wxUtils.HttpClientUtils; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | public class HisApiMethodService { |
| | | @Autowired |
| | | private ITjCustomerService tjCustomerService; |
| | | @Autowired |
| | | private ISysConfigService configService; |
| | | |
| | | private static String HIS_URL = ""; |
| | | |
| | |
| | | |
| | | // @ApiOperation(value = "新增/修改门诊注册信息") |
| | | public AjaxResult Outpincreateapply (TjCustomer customer) { |
| | | String ysbm = configService.selectConfigByKey("request_default_ysbm"); |
| | | Map<String, Object> map = new HashMap<> (); |
| | | if (null != customer.getPationId () && !customer.getPationId().equals("0")) { |
| | | map.put ("Pationid", customer.getPationId ()); |
| | |
| | | map.put ("mz", null); |
| | | map.put ("zy","职员"); |
| | | map.put ("fbbm", null); |
| | | map.put ("czy", "00029"); |
| | | map.put ("czy", ysbm); |
| | | map.put ("jkkkh",null); |
| | | map.put ("mindex_id",null); |
| | | // map.put ("zybm","职员"); |