1.修改医院系统配置表结构,增加平潭HIS系统字典解析
parent
6a4ff6c0fd
commit
1aa87121d8
@ -0,0 +1,114 @@
|
||||
package com.glxp.mipsdl.client.ptxhyy;
|
||||
|
||||
import com.alibaba.fastjson2.JSONObject;
|
||||
import com.glxp.mipsdl.client.BaseHttpClient;
|
||||
import com.glxp.mipsdl.config.ThirdSysConfig;
|
||||
import com.glxp.mipsdl.http.HttpClient;
|
||||
import com.glxp.mipsdl.req.base.*;
|
||||
import com.glxp.mipsdl.req.post.PostFileThrOrderRequest;
|
||||
import com.glxp.mipsdl.req.post.PostThrCorpRequest;
|
||||
import com.glxp.mipsdl.req.post.PostThrInvProductsRequest;
|
||||
import com.glxp.mipsdl.req.post.PostThrProductsRequest;
|
||||
import com.glxp.mipsdl.res.BaseResponse;
|
||||
import com.glxp.mipsdl.util.ResultVOUtils;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
|
||||
/**
|
||||
* 平潭协和医院HIS系统接口
|
||||
*/
|
||||
@Slf4j
|
||||
@Service(value = "100009HttpClient")
|
||||
public class PtxhyyHisClient implements BaseHttpClient {
|
||||
|
||||
@Resource
|
||||
private HttpClient httpClient;
|
||||
@Resource
|
||||
private ThirdSysConfig thirdSysConfig;
|
||||
|
||||
@Override
|
||||
public BaseResponse getUnit(UdiwmsUnitRequest udiwmsUnitRequest) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BaseResponse getProducts(UdiwmsProductRequest udiwmsProductRequest) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BaseResponse getOrderTypes(UdiwmsBusTypeRequest udiwmsBusTypeRequest) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BaseResponse getOrders(UdiwmsOrderQueryRequest udiwmsOrderQueryRequest) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BaseResponse submitOrders(UdiwmsOrderRequest udiwmsOrderRequest) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BaseResponse getInvProducts(UdiwmsInvProductsRequest udiwmsInvProductsRequest) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BaseResponse getWarehouse(UdiwmsWarehouseRequest udiwmsWarehouseRequest) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BaseResponse testConnect() {
|
||||
return ResultVOUtils.success();
|
||||
}
|
||||
|
||||
@Override
|
||||
public BaseResponse queryUdiInvProducts(UdiwmsQueryUdiInvProductsRequest queryUdiInvProductsRequest) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BaseResponse submitProducts(UdiwmsAddProductsRequest udiwmsAddProductsRequest) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BaseResponse submitUnit(UdiwmsAddUnitRequest udiwmsAddUnitRequest) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BaseResponse submitPreInOrders(UdiwmsPreInOrderRequest udiwmsPreInOrderRequest) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BaseResponse postProducts(PostThrProductsRequest postThrProductsRequest) {
|
||||
postThrProductsRequest.setUploadType("文件导入");
|
||||
String response = httpClient.postUDIWMSJson(thirdSysConfig.getPostPiUrl(), postThrProductsRequest);
|
||||
BaseResponse baseResponse = JSONObject.parseObject(response, BaseResponse.class);
|
||||
return baseResponse;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BaseResponse postCorps(PostThrCorpRequest postThrCorpRequest) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BaseResponse postOrderDetail(PostFileThrOrderRequest postFileThrOrderRequest) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BaseResponse postInvProducts(PostThrInvProductsRequest postThrInvProductsRequest) {
|
||||
return null;
|
||||
}
|
||||
}
|
@ -0,0 +1,104 @@
|
||||
package com.glxp.mipsdl.vo.file.ptxhyy;
|
||||
|
||||
import com.glxp.mipsdl.annotation.Excel;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 平潭协和医院HIS系统耗材字典excel解析实体类
|
||||
*/
|
||||
@Data
|
||||
public class PtxhyyHisProductEntity {
|
||||
|
||||
@Excel(name = "LASTUPDATETIME")
|
||||
private Date updateTime;
|
||||
|
||||
@Excel(name="CODE")
|
||||
private String code;
|
||||
|
||||
@Excel(name = "NAME")
|
||||
private String name;
|
||||
|
||||
@Excel(name = "MEASNAME")
|
||||
private String measname;
|
||||
|
||||
@Excel(name = "STANDARD")
|
||||
private String standard;
|
||||
|
||||
@Excel(name = "REGISTERNO")
|
||||
private String registerNo;
|
||||
|
||||
@Excel(name = "MANUFACTORYCODE")
|
||||
private String manufactoryCode;
|
||||
|
||||
@Excel(name = "MANUFACTORY")
|
||||
private String manufactory;
|
||||
|
||||
@Excel(name = "SUPCODE")
|
||||
private String supCode;
|
||||
|
||||
@Excel(name = "SUPNAME")
|
||||
private String supName;
|
||||
|
||||
@Excel(name = "CPLB")
|
||||
private String cplb;
|
||||
|
||||
@Excel(name = "FLBM")
|
||||
private String flbm;
|
||||
|
||||
//器械类别
|
||||
@Excel(name = "QXLB")
|
||||
private String qxlb;
|
||||
|
||||
//医保编码
|
||||
@Excel(name = "YBBM")
|
||||
private String ybbm;
|
||||
|
||||
//商品条码
|
||||
@Excel(name = "SPTM")
|
||||
private String sptm;
|
||||
|
||||
//注册人社会信用号
|
||||
@Excel(name = "TYSHXYDM")
|
||||
private String tyshxydm;
|
||||
|
||||
//注册/备案人
|
||||
@Excel(name = "YLQXZCRBARMC")
|
||||
private String ylqxzcrbarmc;
|
||||
|
||||
//注册/备案人英文
|
||||
@Excel(name = "YLQXZCRBARYWMC")
|
||||
private String ylqxzcrbarywmc;
|
||||
|
||||
//商品名称
|
||||
@Excel(name = "SPMC")
|
||||
private String spmc;
|
||||
|
||||
//其他编码
|
||||
@Excel(name = "QTBM")
|
||||
private String qtbm;
|
||||
|
||||
@Excel(name = "CPMS")
|
||||
private String cpms;
|
||||
|
||||
//注册证有效期至
|
||||
@Excel(name = "ZCZYXQZ")
|
||||
private String zczyxqz;
|
||||
|
||||
@Excel(name = "PRICE")
|
||||
private String price;
|
||||
|
||||
@Excel(name = "REMARK")
|
||||
private String remark;
|
||||
|
||||
@Excel(name = "REMARK1")
|
||||
private String remark1;
|
||||
|
||||
@Excel(name = "REMARK2")
|
||||
private String remark2;
|
||||
|
||||
@Excel(name = "REMARK3")
|
||||
private String remark3;
|
||||
|
||||
}
|
Loading…
Reference in New Issue