云霄妇幼增加35051

长泰关于文件包名 改成云霄妇幼
yxfydrug
qiuyt 2 weeks ago
parent a158fb36bb
commit 3d7c3d0048

File diff suppressed because one or more lines are too long

@ -1,41 +0,0 @@
package com.glxp.mipsdl.client.scpwxyy.entity;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
*
*/
@NoArgsConstructor
@Data
public class InvCodeResultEntity {
@JsonProperty("recordNo")
private Integer recordNo;
@JsonProperty("visitNo")
private String visitNo;
@JsonProperty("sickName")
private String sickName;
@JsonProperty("inDept")
private String inDept;
@JsonProperty("deptName")
private String deptName;
@JsonProperty("materialCode")
private String materialCode;
@JsonProperty("materialName")
private String materialName;
@JsonProperty("materialPrc")
private Integer materialPrc;
@JsonProperty("dictBarcode")
private String dictBarcode;
@JsonProperty("Barcode")
private String barcode;
@JsonProperty("feeTime")
private String feeTime;
@JsonProperty("feeOper")
private String feeOper;
}

@ -1,41 +0,0 @@
package com.glxp.mipsdl.client.scpwxyy.entity;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
*
*/
@NoArgsConstructor
@Data
public class InvProjectResultEntity {
@JsonProperty("seqNo")
private String seqNo;
@JsonProperty("visitNo")
private String visitNo;
@JsonProperty("sickName")
private String sickName;
@JsonProperty("applyDept")
private String applyDept;
@JsonProperty("deptName")
private String deptName;
@JsonProperty("itemCode")
private String itemCode;
@JsonProperty("itemName")
private String itemName;
@JsonProperty("Price")
private Double price;
@JsonProperty("quantity")
private Integer quantity;
@JsonProperty("Cost")
private Double cost;
@JsonProperty("materialCode")
private String materialCode;
@JsonProperty("materialName")
private String materialName;
@JsonProperty("OperTime")
private String operTime;
}

@ -1,60 +0,0 @@
package com.glxp.mipsdl.client.scpwxyy.entity;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
*
*/
@NoArgsConstructor
@Data
public class InvResultEntity {
@JsonProperty("applyNo")
private String applyNo;
@JsonProperty("ioFlag")
private String ioFlag;
@JsonProperty("ioType")
private String ioType;
@JsonProperty("ioTypeName")
private String ioTypeName;
@JsonProperty("Debit")
private String debit;
@JsonProperty("DebitName")
private String debitName;
@JsonProperty("Credit")
private String credit;
@JsonProperty("CreditName")
private String creditName;
@JsonProperty("AccoutDate")
private String accoutDate;
@JsonProperty("Accoutant")
private String accoutant;
@JsonProperty("receiveOper")
private String receiveOper;
@JsonProperty("materialCode")
private String materialCode;
@JsonProperty("materialName")
private String materialName;
@JsonProperty("materialSpec")
private String materialSpec;
@JsonProperty("materialUnit")
private String materialUnit;
@JsonProperty("batchNo")
private String batchNo;
@JsonProperty("invoiceNo")
private String invoiceNo;
@JsonProperty("invoiceDate")
private String invoiceDate;
@JsonProperty("quantity")
private Integer quantity;
@JsonProperty("importPrc")
private Double importPrc;
@JsonProperty("importMoney")
private Integer importMoney;
@JsonProperty("factoryCode")
private String factoryCode;
@JsonProperty("factoryName")
private String factoryName;
}

File diff suppressed because one or more lines are too long

@ -1,41 +0,0 @@
package com.glxp.mipsdl.client.yxfuyy.entity;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
*
*/
@NoArgsConstructor
@Data
public class InvCodeResultEntity {
@JsonProperty("recordNo")
private Integer recordNo;
@JsonProperty("visitNo")
private String visitNo;
@JsonProperty("sickName")
private String sickName;
@JsonProperty("inDept")
private String inDept;
@JsonProperty("deptName")
private String deptName;
@JsonProperty("materialCode")
private String materialCode;
@JsonProperty("materialName")
private String materialName;
@JsonProperty("materialPrc")
private Integer materialPrc;
@JsonProperty("dictBarcode")
private String dictBarcode;
@JsonProperty("Barcode")
private String barcode;
@JsonProperty("feeTime")
private String feeTime;
@JsonProperty("feeOper")
private String feeOper;
}

@ -1,41 +0,0 @@
package com.glxp.mipsdl.client.yxfuyy.entity;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
*
*/
@NoArgsConstructor
@Data
public class InvProjectResultEntity {
@JsonProperty("seqNo")
private String seqNo;
@JsonProperty("visitNo")
private String visitNo;
@JsonProperty("sickName")
private String sickName;
@JsonProperty("applyDept")
private String applyDept;
@JsonProperty("deptName")
private String deptName;
@JsonProperty("itemCode")
private String itemCode;
@JsonProperty("itemName")
private String itemName;
@JsonProperty("Price")
private Double price;
@JsonProperty("quantity")
private Integer quantity;
@JsonProperty("Cost")
private Double cost;
@JsonProperty("materialCode")
private String materialCode;
@JsonProperty("materialName")
private String materialName;
@JsonProperty("OperTime")
private String operTime;
}

@ -1,60 +0,0 @@
package com.glxp.mipsdl.client.yxfuyy.entity;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
*
*/
@NoArgsConstructor
@Data
public class InvResultEntity {
@JsonProperty("applyNo")
private String applyNo;
@JsonProperty("ioFlag")
private String ioFlag;
@JsonProperty("ioType")
private String ioType;
@JsonProperty("ioTypeName")
private String ioTypeName;
@JsonProperty("Debit")
private String debit;
@JsonProperty("DebitName")
private String debitName;
@JsonProperty("Credit")
private String credit;
@JsonProperty("CreditName")
private String creditName;
@JsonProperty("AccoutDate")
private String accoutDate;
@JsonProperty("Accoutant")
private String accoutant;
@JsonProperty("receiveOper")
private String receiveOper;
@JsonProperty("materialCode")
private String materialCode;
@JsonProperty("materialName")
private String materialName;
@JsonProperty("materialSpec")
private String materialSpec;
@JsonProperty("materialUnit")
private String materialUnit;
@JsonProperty("batchNo")
private String batchNo;
@JsonProperty("invoiceNo")
private String invoiceNo;
@JsonProperty("invoiceDate")
private String invoiceDate;
@JsonProperty("quantity")
private Integer quantity;
@JsonProperty("importPrc")
private Double importPrc;
@JsonProperty("importMoney")
private Integer importMoney;
@JsonProperty("factoryCode")
private String factoryCode;
@JsonProperty("factoryName")
private String factoryName;
}

@ -1,4 +1,4 @@
package com.glxp.mipsdl.client.ctqyy.entity;
package com.glxp.mipsdl.client.yxfy.entity;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@ -1,4 +1,4 @@
package com.glxp.mipsdl.client.ctqyy.entity;
package com.glxp.mipsdl.client.yxfy.entity;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@ -1,4 +1,4 @@
package com.glxp.mipsdl.client.ctqyy.entity;
package com.glxp.mipsdl.client.yxfy.entity;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@ -1,4 +1,4 @@
package com.glxp.mipsdl.client.ctqyy;
package com.glxp.mipsdl.client.yxfy;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.CollUtil;
@ -12,15 +12,14 @@ import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.TypeReference;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.enums.SqlLike;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.StringUtils;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.glxp.mipsdl.client.CommonHttpClient;
import com.glxp.mipsdl.client.ctqyy.entity.InvCodeResultEntity;
import com.glxp.mipsdl.client.ctqyy.entity.InvProjectResultEntity;
import com.glxp.mipsdl.client.ctqyy.entity.InvResultEntity;
import com.glxp.mipsdl.client.yxfy.entity.InvCodeResultEntity;
import com.glxp.mipsdl.client.yxfy.entity.InvProjectResultEntity;
import com.glxp.mipsdl.client.yxfy.entity.InvResultEntity;
import com.glxp.mipsdl.config.ThirdSysConfig;
import com.glxp.mipsdl.constant.BusTypeConstant;
import com.glxp.mipsdl.constant.ConstantType;
@ -36,9 +35,8 @@ import com.glxp.mipsdl.dao.thrsys.ThrSystemBusApiDao;
import com.glxp.mipsdl.entity.auth.AuthUserEntity;
import com.glxp.mipsdl.entity.auth.AuthWarehouseEntity;
import com.glxp.mipsdl.entity.basic.*;
import com.glxp.mipsdl.entity.ctqyy.*;
import com.glxp.mipsdl.entity.hyfy.*;
import com.glxp.mipsdl.entity.inout.*;
import com.glxp.mipsdl.entity.system.UdiEntity;
import com.glxp.mipsdl.entity.thrsys.*;
import com.glxp.mipsdl.http.HttpClient;
import com.glxp.mipsdl.req.base.*;
@ -51,7 +49,6 @@ import com.glxp.mipsdl.req.zzzyy.ZzzyyRequest;
import com.glxp.mipsdl.res.BaseResponse;
import com.glxp.mipsdl.res.PageSimpleResponse;
import com.glxp.mipsdl.res.ctqyy.CtBaseResponse;
import com.glxp.mipsdl.res.ctqyy.ThrOrderResponse;
import com.glxp.mipsdl.res.udiwms.*;
import com.glxp.mipsdl.service.auth.AuthWarehouseService;
import com.glxp.mipsdl.service.basic.RelCodeDetailService;
@ -72,18 +69,20 @@ import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.text.SimpleDateFormat;
import java.util.*;
import java.util.stream.Collectors;
@Slf4j
@Service(value = "100011HttpClient")
public class CtqyyClient extends CommonHttpClient {
public class yxfyClient extends CommonHttpClient {
// 目前只有3505调通过上传医保 其他先不配置怕自动上传出问题
private final String[] buyType_3501 = {};
private final String[] buyType_3502 = { };
private final String[] buyType_3504 = { };
private final String[] buyType_3505 = {"QXCF001", "YPCF002"};
private final String[] buyType_35051 = {"SC72197936495755"};
private final String[] buyType_3506 = {};
@Resource
AuthWarehouseUserMapper authWarehouseUserMapper;
@ -187,7 +186,7 @@ public class CtqyyClient extends CommonHttpClient {
String message = document.getRootElement().element("message").getText();
return message;
} catch (DocumentException e) {
log.info("解析长泰区医院智业接口返回结果异常, 返回结果:{}", response);
log.info("解析云霄妇幼医院智业接口返回结果异常, 返回结果:{}", response);
log.error("异常信息:", e);
}
}
@ -207,7 +206,7 @@ public class CtqyyClient extends CommonHttpClient {
BaseResponse baseResponse = JSONObject.parseObject(response, BaseResponse.class);
return baseResponse;
} catch (Exception e) {
log.error("解析长泰区医院智业接口返回往来单位字典数据异常,返回结果:{}", response);
log.error("解析云霄妇幼医院智业接口返回往来单位字典数据异常,返回结果:{}", response);
log.error("异常信息:{}", e);
return ResultVOUtils.error(500, "网络错误,或远程服务器异常无法返回正确结果(" + response + ")");
}
@ -226,7 +225,7 @@ public class CtqyyClient extends CommonHttpClient {
BaseResponse baseResponse = JSONObject.parseObject(response, BaseResponse.class);
return baseResponse;
} catch (Exception e) {
log.error("解析长泰区医院智业接口返回生产企业字典数据异常,返回结果:{}", response);
log.error("解析云霄妇幼医院智业接口返回生产企业字典数据异常,返回结果:{}", response);
log.error("异常信息:{}", e);
return ResultVOUtils.error(500, "网络错误,或远程服务器异常无法返回正确结果(" + response + ")");
}
@ -269,7 +268,7 @@ public class CtqyyClient extends CommonHttpClient {
baseResponse.setData(map);
return baseResponse;
} catch (Exception e) {
log.error("解析长泰区医院智业接口返回产品信息字典数据异常,返回结果:{}", response);
log.error("解析云霄妇幼医院智业接口返回产品信息字典数据异常,返回结果:{}", response);
log.error("异常信息:{}", e);
return ResultVOUtils.error(500, "网络错误,或远程服务器异常无法返回正确结果(" + response + ")");
}
@ -332,7 +331,7 @@ public class CtqyyClient extends CommonHttpClient {
pageSimpleResponse.setList(listNew);
return ResultVOUtils.success(pageSimpleResponse);
}
log.error("解析长泰区医院医疗类型,返回结果:{}", udiwmsProductRequest.getProductType());
log.error("解析云霄妇幼医院医疗类型,返回结果:{}", udiwmsProductRequest.getProductType());
return ResultVOUtils.error(500, "医疗类型不正确productType" + udiwmsProductRequest.getProductType());
}
@ -347,7 +346,7 @@ public class CtqyyClient extends CommonHttpClient {
BaseResponse baseResponse = JSONObject.parseObject(response, BaseResponse.class);
return baseResponse;
} catch (Exception e) {
log.error("解析长泰区医院智业接口返回单据类型数据异常,返回结果:{}", response);
log.error("解析云霄妇幼医院智业接口返回单据类型数据异常,返回结果:{}", response);
log.error("异常信息:{}", e);
return ResultVOUtils.error(500, "网络错误,或远程服务器异常无法返回正确结果(" + response + ")");
}
@ -451,7 +450,7 @@ public class CtqyyClient extends CommonHttpClient {
baseResponse.setData(map);
return baseResponse;
} catch (Exception e) {
log.error("解析长泰医院智业返回病人信息数据异常,返回结果:{}", response);
log.error("解析云霄妇幼医院智业返回病人信息数据异常,返回结果:{}", response);
log.error("异常信息:{}", e);
return ResultVOUtils.error(500, "网络错误,或远程服务器异常无法返回正确结果(" + response + ")");
}
@ -488,7 +487,7 @@ public class CtqyyClient extends CommonHttpClient {
baseResponse.setData(map);
return baseResponse;
} catch (Exception e) {
log.error("解析长泰医院智业返回处方信息数据异常,返回结果:{}", response);
log.error("解析云霄妇幼医院智业返回处方信息数据异常,返回结果:{}", response);
log.error("异常信息:{}", e);
return ResultVOUtils.error(500, "网络错误,或远程服务器异常无法返回正确结果(" + response + ")");
}
@ -532,7 +531,7 @@ public class CtqyyClient extends CommonHttpClient {
baseResponse.setData(map);
return baseResponse;
} catch (Exception e) {
log.error("解析长泰医院智业返回项目信息数据异常,返回结果:{}", response);
log.error("解析云霄妇幼医院智业返回项目信息数据异常,返回结果:{}", response);
log.error("异常信息:{}", e);
return ResultVOUtils.error(500, "网络错误,或远程服务器异常无法返回正确结果(" + response + ")");
}
@ -569,7 +568,7 @@ public class CtqyyClient extends CommonHttpClient {
baseResponse.setData(map);
return baseResponse;
} catch (Exception e) {
log.error("解析长泰医院智业返回物价类别信息异常,返回结果:{}", response);
log.error("解析云霄妇幼医院智业返回物价类别信息异常,返回结果:{}", response);
log.error("异常信息:{}", e);
return ResultVOUtils.error(500, "网络错误,或远程服务器异常无法返回正确结果(" + response + ")");
}
@ -1327,7 +1326,7 @@ public class CtqyyClient extends CommonHttpClient {
BaseResponse baseResponse = JSONObject.parseObject(response, BaseResponse.class);
return baseResponse;
} catch (Exception e) {
log.error("解析长泰区医院智业接口提交单据返回数据异常,返回结果:{}", response);
log.error("解析云霄妇幼医院智业接口提交单据返回数据异常,返回结果:{}", response);
log.error("异常信息:{}", e);
return ResultVOUtils.error(500, "网络错误,或远程服务器异常无法返回正确结果(" + response + ")");
}
@ -1695,6 +1694,8 @@ public class CtqyyClient extends CommonHttpClient {
return optionUploadCollectOrder3502(ioCollectOrder);
} else if (matchBusType(busType, buyType_3505)) {
return optionUploadCollectOrder3505(ioCollectOrder);
} else if (matchBusType(busType, buyType_35051)) {
return optionUploadCollectOrder35051(ioCollectOrder);
} else if (matchBusType(busType, buyType_3506)) {
optionUploadCollectOrder3506(ioCollectOrder);
} else {
@ -2159,7 +2160,112 @@ public class CtqyyClient extends CommonHttpClient {
return ResultVOUtils.error(500,"上传医保数据为空请核实");
}
public BaseResponse optionUploadCollectOrder35051(IoCollectOrder ioCollectOrder) {
List<CollectOrderBizResponse> bizList = ioCollectOrder.getCollectOrderBizResponseList();
if (CollUtil.isNotEmpty(bizList)) {
List<Xsck35051Request> xsck35051Requests = new ArrayList<>();
for (CollectOrderBizResponse item : bizList) {
BasicUdirelEntity basicUdirelEntity = basicUdirelDao.selectById(item.getRelId());
String itemCode = basicUdirelEntity.getMainId();
// for (CollectOrderBizResponse item : collectOrderBizResponseList) {
// if (item.getYbbm().equals(itemCode)) {
String[] codes = item.getFinishUdiCode().split(",");
String nameCode = item.getNameCode();
BasicProductsEntity basicProductsEntity = basicProductsDao.selectOne(
new QueryWrapper<BasicProductsEntity>().eq("nameCode", nameCode).last("limit 1")
);
if (Objects.isNull(basicProductsEntity)) {
return ResultVOUtils.error(500, "产品为空请检查");
}
Integer packLevel = Integer.valueOf(basicProductsEntity.getPackLevel());
List<DrugInfoRequest> drugTraceList = new ArrayList<>();
List<String> codeList = new ArrayList<>();
// 遍历fruits数组
for (String code : codes) {
if (StrUtil.isNotBlank(code)) {
List<RelCodeDetail> relCodeDetailList = relCodeDetailService.getAllNext(code);
if (relCodeDetailList != null && relCodeDetailList.size() > 0) {
for (RelCodeDetail relCodeDetail : relCodeDetailList) {
codeList.add(relCodeDetail.getCurCode());
}
}
// 级别为2的产品码不可能只有一个
if (packLevel > 1 && codeList.size() < 2) {
return ResultVOUtils.error(500, "大包装码关联关系拉取不到请检查" + code);
}
}
}
Set<String> set = new HashSet(codeList);
for (String code : set) {
DrugInfoRequest request = new DrugInfoRequest();
request.setDrug_trac_codg(code);
drugTraceList.add(request);
}
if (CollUtil.isEmpty(drugTraceList)) {
return ResultVOUtils.error(500, "单据要传的码为空请检查");
}
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
String formattedDate = sdf.format(ioCollectOrder.getBillTime());
//todo 处方药标志先写死 后面要商量怎么获得
String rxFlag ="1";
log.error("optionUploadCollectOrder35051===item==="+item);
Xsck35051Request xsck35051Request = Xsck35051Request.builder()
.med_list_codg(item.getYbbm())
.fixmedins_hilist_id(item.getNameCode())
.fixmedins_hilist_name(item.getCpmctymc())
.fixmedins_bchno(item.getOrderIdFk())
.prsc_dr_cert_type(null)
.prsc_dr_certno(null)
.prsc_dr_name(null)
.phar_cert_type(null)
.phar_certno(null)
.phar_name(null)
.phar_prac_cert_no(null)
.hi_feesetl_type(null)
.setl_id(null)
.mdtrt_sn(null)
.psn_no(null)
.psn_cert_type(null)
.certno(null)
.psn_name(null)
.manu_lotnum(item.getBatchNo())
.manu_date(DateUtil.timeTransition(item.getProductDate()))
.expy_end(DateUtil.timeTransition(item.getExpireDate()))
.rx_flag(rxFlag)
.trdn_flag(item.getTrdnFlag())
.finl_trns_pric(null)
.rxno(null)
.rx_circ_flag(null)
.rtal_docno(null)
.stoout_no(null)
.bchno(null)
.drug_prod_barc(null)
.shelf_posi(null)
.sel_retn_cnt(item.getCount())
.sel_retn_time(formattedDate)
.sel_retn_opter_name(ioCollectOrder.getCreateUser())
.memo(null)
.mdtrt_setl_type(null)
.drugtracinfo(drugTraceList).build();
xsck35051Requests.add(xsck35051Request);
// }
// }
}
BaseXsck35051Request baseXsck35051Request = new BaseXsck35051Request();
baseXsck35051Request.setSelinfoDetail(xsck35051Requests);
String jsonStr = JSONUtil.toJsonStr(baseXsck35051Request);
JSONObject dataJson = JSONObject.parseObject(jsonStr);
return ybClient.ybPost("35051", dataJson);
} else {
return ResultVOUtils.error(500, "上传医保数据为空请核实");
}
}
public void optionUploadCollectOrder3501(IoCollectOrder ioCollectOrder) {
List<IoCollectOrderBiz> bizList = ioCollectOrder.getBizList();
@ -2370,10 +2476,11 @@ public class CtqyyClient extends CommonHttpClient {
@Override
public BaseResponse getBuyType() {
Map<String, String[]> buyTypeMap = new HashMap<>();
buyTypeMap.put("buyType_3501", buyType_3501);
buyTypeMap.put("buyType_3502", buyType_3502);
buyTypeMap.put("buyType_3504", buyType_3504);
buyTypeMap.put("buyType_3505", buyType_3505);
buyTypeMap.put("buyType_3506", buyType_3506);
buyTypeMap.put("buyType_35051", buyType_35051);
return ResultVOUtils.success(buyTypeMap);
}
}

@ -7,16 +7,12 @@ import cn.hsa.zephyr.apisdk.internal.util.encrypt.SignTypeEnum;
import cn.hsa.zephyr.apisdk.request.ZephyrMedicalRequest;
import cn.hsa.zephyr.apisdk.response.ChsMedicalResponse;
import cn.hutool.core.collection.CollUtil;
import cn.hutool.core.date.DatePattern;
import cn.hutool.core.date.DateUtil;
import cn.hutool.crypto.SecureUtil;
import cn.hutool.json.JSONUtil;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.glxp.mipsdl.dao.basic.BasicUdirelDao;
import com.glxp.mipsdl.entity.basic.BasicUdirelEntity;
import com.glxp.mipsdl.entity.ctqyy.VInsurNationGoodsPhysic;
import com.glxp.mipsdl.entity.hyfy.VInsurNationGoodsPhysic;
import com.glxp.mipsdl.entity.inout.CollectOrderBizResponse;
import com.glxp.mipsdl.entity.inout.IoCollectOrder;
import com.glxp.mipsdl.req.post.PostCollectOrderRequest;
@ -32,7 +28,6 @@ import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
@Slf4j

@ -1,4 +1,4 @@
package com.glxp.mipsdl.entity.ctqyy;
package com.glxp.mipsdl.entity.hyfy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

@ -1,9 +1,7 @@
package com.glxp.mipsdl.entity.ctqyy;
package com.glxp.mipsdl.entity.hyfy;
import lombok.Data;
import java.math.BigDecimal;
@Data
public class MaterialDictEntity {

@ -1,4 +1,4 @@
package com.glxp.mipsdl.entity.ctqyy;
package com.glxp.mipsdl.entity.hyfy;
import lombok.Data;

@ -1,9 +1,5 @@
package com.glxp.mipsdl.entity.ctqyy;
package com.glxp.mipsdl.entity.hyfy;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

@ -1,4 +1,4 @@
package com.glxp.mipsdl.entity.ctqyy;
package com.glxp.mipsdl.entity.hyfy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
@ -6,7 +6,6 @@ import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
@Data
@TableName(value = "v_insur_nation_goods_cl")
@ -147,4 +146,4 @@ public class VInsurNationGoodsCl implements Serializable {
private String MATERIAL_CODE;
}
}

@ -1,12 +1,10 @@
package com.glxp.mipsdl.entity.ctqyy;
package com.glxp.mipsdl.entity.hyfy;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
@Data
@ -133,4 +131,4 @@ public class VInsurNationGoodsPhysic implements Serializable {
private String SICK_ID;
private static final long serialVersionUID = 1L;
}
}

@ -1,8 +1,6 @@
package com.glxp.mipsdl.entity.ctqyy;
package com.glxp.mipsdl.entity.hyfy;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;

@ -1,8 +1,6 @@
package com.glxp.mipsdl.entity.ctqyy;
package com.glxp.mipsdl.entity.hyfy;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
@ -92,4 +90,4 @@ public class VYpzsIoInfo implements Serializable {
private static final long serialVersionUID = 1L;
}
}

@ -1,4 +1,4 @@
package com.glxp.mipsdl.entity.ctqyy;
package com.glxp.mipsdl.entity.hyfy;
import com.baomidou.mybatisplus.annotation.TableField;

@ -1,4 +1,4 @@
package com.glxp.mipsdl.entity.ctqyy;
package com.glxp.mipsdl.entity.hyfy;
import com.baomidou.mybatisplus.annotation.TableField;

@ -1,13 +1,9 @@
package com.glxp.mipsdl.entity.ctqyy;
package com.glxp.mipsdl.entity.hyfy;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

@ -1,4 +1,4 @@
package com.glxp.mipsdl.entity.ctqyy;
package com.glxp.mipsdl.entity.hyfy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;

@ -8,6 +8,7 @@ import java.util.Date;
public class CollectOrderBizResponse {
private Long id;
/**
*
@ -127,4 +128,6 @@ public class CollectOrderBizResponse {
private Integer autoResCount;
private String replaceCode;
private String trdnFlag;
}

@ -0,0 +1,10 @@
package com.glxp.mipsdl.req.yb;
import lombok.Data;
import java.util.List;
@Data
public class BaseXsck35051Request {
private List<Xsck35051Request> selinfoDetail;
}

@ -0,0 +1,213 @@
package com.glxp.mipsdl.req.yb;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;
import java.util.List;
/**
*
*/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Xsck35051Request {
/**
*
*/
private String med_list_codg;
/**
*
*/
private String fixmedins_hilist_id;
/**
*
*/
private String fixmedins_hilist_name;
/**
*
*/
private String fixmedins_bchno;
/**
*
*/
private String prsc_dr_cert_type;
/**
*
*/
private String prsc_dr_certno;
/**
*
*/
private String prsc_dr_name;
/**
*
*/
private String phar_cert_type;
/**
*
*/
private String phar_certno;
/**
*
*/
private String phar_name;
/**
*
*/
private String phar_prac_cert_no;
/**
*
*/
private String hi_feesetl_type;
/**
* ID
*/
private String setl_id;
/**
*
*/
private String mdtrt_sn;
/**
*
*/
private String psn_no;
/**
*
*/
private String psn_cert_type;
/**
*
*/
private String certno;
/**
*
*/
private String psn_name;
/**
*
*/
private String manu_lotnum;
/**
*
*/
private String manu_date;
/**
*
*/
private String expy_end;
/**
*
*/
private String rx_flag;
/**
*
*/
private String trdn_flag;
/**
*
*/
private BigDecimal finl_trns_pric;
/**
*
*/
private String rxno;
/**
*
*/
private String rx_circ_flag;
/**
*
*/
private String rtal_docno;
/**
*
*/
private String stoout_no;
/**
*
*/
private String bchno;
/**
*
*/
private String drug_trac_codg;
/**
*
*/
private String drug_prod_barc;
/**
*
*/
private String shelf_posi;
/**
* /退
*/
private Integer sel_retn_cnt;
/**
* /退
*/
private String sel_retn_time;
/**
* /退
*/
private String sel_retn_opter_name;
/**
*
*/
private String memo;
/**
*
*/
private String mdtrt_setl_type;
/**
*
*/
private List<DrugInfoRequest> drugtracinfo;
}

@ -1,6 +1,6 @@
package com.glxp.mipsdl.res.udiwms;
import com.glxp.mipsdl.entity.ctqyy.BasicSkPrescribeItemEntity;
import com.glxp.mipsdl.entity.hyfy.BasicSkPrescribeItemEntity;
import lombok.Data;
import java.math.BigDecimal;

@ -3,7 +3,7 @@ package com.glxp.mipsdl.service.ctqyy;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.glxp.mipsdl.thirddao.ctqyy.VInsurNationGoodsPhysicMapper;
import com.glxp.mipsdl.entity.ctqyy.VInsurNationGoodsPhysic;
import com.glxp.mipsdl.entity.hyfy.VInsurNationGoodsPhysic;
@Service
public class VInsurNationGoodsPhysicService extends ServiceImpl<VInsurNationGoodsPhysicMapper, VInsurNationGoodsPhysic> {

@ -3,7 +3,7 @@ package com.glxp.mipsdl.service.ctqyy;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.glxp.mipsdl.thirddao.ctqyy.VYpzsIoInfoMapper;
import com.glxp.mipsdl.entity.ctqyy.VYpzsIoInfo;
import com.glxp.mipsdl.entity.hyfy.VYpzsIoInfo;
@Service
public class VYpzsIoInfoService extends ServiceImpl<VYpzsIoInfoMapper, VYpzsIoInfo> {

@ -3,7 +3,7 @@ package com.glxp.mipsdl.service.ctqyy;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.glxp.mipsdl.thirddao.ctqyy.VYpzsPresInfoMapper;
import com.glxp.mipsdl.entity.ctqyy.VYpzsPresInfo;
import com.glxp.mipsdl.entity.hyfy.VYpzsPresInfo;
@Service
public class VYpzsPresInfoService extends ServiceImpl<VYpzsPresInfoMapper, VYpzsPresInfo> {

@ -4,7 +4,7 @@ import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.glxp.mipsdl.entity.ctqyy.VInsurNationGoodsCl;
import com.glxp.mipsdl.entity.hyfy.VInsurNationGoodsCl;
import com.glxp.mipsdl.req.base.UdiwmsBasicSkPrescribeRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@ -13,4 +13,4 @@ import org.apache.ibatis.annotations.Param;
@DS("ctqyySql")
public interface VInsurNationGoodsClMapper extends BaseMapper<VInsurNationGoodsCl> {
IPage<VInsurNationGoodsCl> selectGroupedWithPagination(Page<VInsurNationGoodsCl> page, @Param("udiwmsBasicSkPrescribeRequest") UdiwmsBasicSkPrescribeRequest udiwmsBasicSkPrescribeRequest);
}
}

@ -4,7 +4,7 @@ import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.glxp.mipsdl.entity.ctqyy.VInsurNationGoodsPhysic;
import com.glxp.mipsdl.entity.hyfy.VInsurNationGoodsPhysic;
import com.glxp.mipsdl.req.base.UdiwmsBasicSkPrescribeRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@ -13,4 +13,4 @@ import org.apache.ibatis.annotations.Param;
@DS("ctqyySql")
public interface VInsurNationGoodsPhysicMapper extends BaseMapper<VInsurNationGoodsPhysic> {
IPage<VInsurNationGoodsPhysic> selectGroupedWithPagination(Page<VInsurNationGoodsPhysic> vInsurNationGoodsPhysicPage, @Param("udiwmsBasicSkPrescribeRequest")UdiwmsBasicSkPrescribeRequest udiwmsBasicSkPrescribeRequest);
}
}

@ -4,7 +4,7 @@ import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.glxp.mipsdl.entity.ctqyy.VInsurNationGoodsReturn;
import com.glxp.mipsdl.entity.hyfy.VInsurNationGoodsReturn;
import com.glxp.mipsdl.req.base.UdiwmsBasicSkPrescribeRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@ -13,4 +13,4 @@ import org.apache.ibatis.annotations.Param;
@Mapper
public interface VInsurNationGoodsReturnMapper extends BaseMapper<VInsurNationGoodsReturn> {
IPage<VInsurNationGoodsReturn> selectGroupedWithPagination(Page<VInsurNationGoodsReturn> vInsurNationGoodsReturnPage,@Param("udiwmsBasicSkPrescribeRequest") UdiwmsBasicSkPrescribeRequest udiwmsBasicSkPrescribeRequest);
}
}

@ -4,7 +4,7 @@ import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.glxp.mipsdl.entity.ctqyy.VYpzsIoInfo;
import com.glxp.mipsdl.entity.hyfy.VYpzsIoInfo;
import com.glxp.mipsdl.req.base.UdiwmsThrOrderRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@ -16,4 +16,4 @@ public interface VYpzsIoInfoMapper extends BaseMapper<VYpzsIoInfo> {
Page<VYpzsIoInfo> selectGroupedWithPagination(IPage<VYpzsIoInfo> page, @Param("udiwmsThrOrderRequest") UdiwmsThrOrderRequest udiwmsThrOrderRequest);
}
}

@ -2,7 +2,7 @@ package com.glxp.mipsdl.thirddao.ctqyy;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.glxp.mipsdl.entity.ctqyy.VYpzsPhysicDict;
import com.glxp.mipsdl.entity.hyfy.VYpzsPhysicDict;
import org.apache.ibatis.annotations.Mapper;

@ -4,8 +4,7 @@ import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.glxp.mipsdl.entity.ctqyy.VYpzsIoInfo;
import com.glxp.mipsdl.entity.ctqyy.VYpzsPlanInfo;
import com.glxp.mipsdl.entity.hyfy.VYpzsPlanInfo;
import com.glxp.mipsdl.req.base.UdiwmsThrOrderRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@ -4,8 +4,7 @@ import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.glxp.mipsdl.entity.ctqyy.VInsurNationGoodsPhysic;
import com.glxp.mipsdl.entity.ctqyy.VYpzsPresInfo;
import com.glxp.mipsdl.entity.hyfy.VYpzsPresInfo;
import com.glxp.mipsdl.req.base.UdiwmsBasicSkPrescribeRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@ -16,4 +15,4 @@ public interface VYpzsPresInfoMapper extends BaseMapper<VYpzsPresInfo> {
IPage<VYpzsPresInfo> selectGroupedWithPagination(Page<VYpzsPresInfo> vYpzsPresInfoPage,@Param("udiwmsBasicSkPrescribeRequest") UdiwmsBasicSkPrescribeRequest udiwmsBasicSkPrescribeRequest);
}
}

@ -4,8 +4,7 @@ import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.glxp.mipsdl.entity.ctqyy.VInsurNationGoodsReturn;
import com.glxp.mipsdl.entity.ctqyy.VYpzsPresInfoReturn;
import com.glxp.mipsdl.entity.hyfy.VYpzsPresInfoReturn;
import com.glxp.mipsdl.req.base.UdiwmsBasicSkPrescribeRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@ -15,4 +14,4 @@ import org.apache.ibatis.annotations.Param;
public interface VYpzsPresInfoReturnMapper extends BaseMapper<VYpzsPresInfoReturn> {
IPage<VYpzsPresInfoReturn> selectGroupedWithPagination(Page<VYpzsPresInfoReturn> vYpzsPresInfoReturnPage, @Param("udiwmsBasicSkPrescribeRequest")UdiwmsBasicSkPrescribeRequest udiwmsBasicSkPrescribeRequest);
}
}

@ -9,6 +9,8 @@ import lombok.extern.slf4j.Slf4j;
import java.lang.management.ManagementFactory;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
import java.util.*;
@Slf4j
@ -482,4 +484,18 @@ public class DateUtil {
String formattedDate = sdf.format(date);
return formattedDate;
}
public static String timeTransition(String input) {
if(StrUtil.isEmpty(input)){
return null;
}
// 定义输入日期的格式
DateTimeFormatter inputFormatter = DateTimeFormatter.ofPattern("yyMMdd");
// 定义输出日期的格式
DateTimeFormatter outputFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd");
// 将输入字符串解析为 LocalDate 对象
LocalDate date = LocalDate.parse(input, inputFormatter);
// 将 LocalDate 对象格式化为目标字符串
String output = date.format(outputFormatter);
return output;
}
}

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.glxp.mipsdl.thirddao.ctqyy.VInsurNationGoodsClMapper">
<select id="selectGroupedWithPagination" resultType="com.glxp.mipsdl.entity.ctqyy.VInsurNationGoodsCl">
<select id="selectGroupedWithPagination" resultType="com.glxp.mipsdl.entity.hyfy.VInsurNationGoodsCl">
SELECT STOOUT_NO
FROM v_insur_nation_goods_cl
<where>
@ -57,4 +57,4 @@
ORDER BY
STOOUT_NO
</select>
</mapper>
</mapper>

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.glxp.mipsdl.thirddao.ctqyy.VInsurNationGoodsPhysicMapper">
<resultMap id="BaseResultMap" type="com.glxp.mipsdl.entity.ctqyy.VInsurNationGoodsPhysic">
<resultMap id="BaseResultMap" type="com.glxp.mipsdl.entity.hyfy.VInsurNationGoodsPhysic">
<!--@mbg.generated-->
<!--@Table v_insur_nation_goods_physic-->
<result column="MED_LIST_CODG" jdbcType="VARCHAR" property="MED_LIST_CODG"/>
@ -56,7 +56,7 @@
</sql>
<select id="selectGroupedWithPagination" resultType="com.glxp.mipsdl.entity.ctqyy.VInsurNationGoodsPhysic">
<select id="selectGroupedWithPagination" resultType="com.glxp.mipsdl.entity.hyfy.VInsurNationGoodsPhysic">
SELECT PHYSIC_CODE
FROM v_insur_nation_goods_physic
<where>
@ -92,4 +92,4 @@
ORDER BY
PHYSIC_CODE
</select>
</mapper>
</mapper>

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.glxp.mipsdl.thirddao.ctqyy.VInsurNationGoodsReturnMapper">
<resultMap id="BaseResultMap" type="com.glxp.mipsdl.entity.ctqyy.VInsurNationGoodsReturn">
<resultMap id="BaseResultMap" type="com.glxp.mipsdl.entity.hyfy.VInsurNationGoodsReturn">
<!--@mbg.generated-->
<!--@Table v_insur_nation_goods_return-->
<result column="MED_LIST_CODG" jdbcType="VARCHAR" property="MED_LIST_CODG"/>
@ -37,7 +37,7 @@
</sql>
<select id="selectGroupedWithPagination" resultType="com.glxp.mipsdl.entity.ctqyy.VInsurNationGoodsReturn">
<select id="selectGroupedWithPagination" resultType="com.glxp.mipsdl.entity.hyfy.VInsurNationGoodsReturn">
SELECT APPLY_NO
FROM V_INSUR_NATION_GOODS_RETURN
<where>
@ -72,4 +72,4 @@
ORDER BY
APPLY_NO
</select>
</mapper>
</mapper>

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.glxp.mipsdl.thirddao.ctqyy.VYpzsIoInfoMapper">
<resultMap id="BaseResultMap" type="com.glxp.mipsdl.entity.ctqyy.VYpzsIoInfo">
<resultMap id="BaseResultMap" type="com.glxp.mipsdl.entity.hyfy.VYpzsIoInfo">
<!--@mbg.generated-->
<!--@Table v_ypzs_io_info-->
<result column="RECEIPT_NUMBER" jdbcType="VARCHAR" property="RECEIPT_NUMBER"/>
@ -32,7 +32,7 @@
BATCH_NUMBER, QUANTITY, PACK_UNIT1, IMPORT_PRICE, IMPORT_MONEY, RETAIL_PRICE, RETAIL_MONEY
</sql>
<select id="selectGroupedWithPagination" resultType="com.glxp.mipsdl.entity.ctqyy.VYpzsIoInfo">
<select id="selectGroupedWithPagination" resultType="com.glxp.mipsdl.entity.hyfy.VYpzsIoInfo">
SELECT RECEIPT_NUMBER
FROM v_ypzs_io_info
<where>
@ -130,4 +130,4 @@
GROUP BY RECEIPT_NUMBER
ORDER BY RECEIPT_NUMBER
</select>
</mapper>
</mapper>

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.glxp.mipsdl.thirddao.ctqyy.VYpzsPlanInfoMapper">
<select id="selectGroupedWithPagination" resultType="com.glxp.mipsdl.entity.ctqyy.VYpzsPlanInfo">
<select id="selectGroupedWithPagination" resultType="com.glxp.mipsdl.entity.hyfy.VYpzsPlanInfo">
SELECT CGDBH
FROM V_YPZS_PLAN_INFO
<where>

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.glxp.mipsdl.thirddao.ctqyy.VYpzsPresInfoMapper">
<resultMap id="BaseResultMap" type="com.glxp.mipsdl.entity.ctqyy.VYpzsPresInfo">
<resultMap id="BaseResultMap" type="com.glxp.mipsdl.entity.hyfy.VYpzsPresInfo">
<!--@mbg.generated-->
<!--@Table v_ypzs_pres_info-->
<result column="LAY_TIME" jdbcType="TIMESTAMP" property="LAY_TIME"/>
@ -44,7 +44,7 @@
</sql>
<select id="selectGroupedWithPagination" resultType="com.glxp.mipsdl.entity.ctqyy.VYpzsPresInfo">
<select id="selectGroupedWithPagination" resultType="com.glxp.mipsdl.entity.hyfy.VYpzsPresInfo">
SELECT PRESCRIBE_NUMBER
FROM v_ypzs_pres_info
<where>

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.glxp.mipsdl.thirddao.ctqyy.VYpzsPresInfoReturnMapper">
<resultMap id="BaseResultMap" type="com.glxp.mipsdl.entity.ctqyy.VYpzsPresInfoReturn">
<resultMap id="BaseResultMap" type="com.glxp.mipsdl.entity.hyfy.VYpzsPresInfoReturn">
<!--@mbg.generated-->
<!--@Table v_ypzs_pres_info_return-->
<result column="APPLY_NO" jdbcType="VARCHAR" property="APPLY_NO" />
@ -23,13 +23,13 @@
</resultMap>
<sql id="Base_Column_List">
<!--@mbg.generated-->
APPLY_NO, SICK_ID, STORAGE_CODE, DEPT_NAME, KEEP_BOOK_TIME, KEEP_BOOK_OPERATOR, SETTLE_NO,
PHYSIC_CODE, PHYSIC_NAME, PHYSIC_SPEC, QUANTITY, PHYSIC_UNIT, PRICE, COST, BATCH_NUMBER,
APPLY_NO, SICK_ID, STORAGE_CODE, DEPT_NAME, KEEP_BOOK_TIME, KEEP_BOOK_OPERATOR, SETTLE_NO,
PHYSIC_CODE, PHYSIC_NAME, PHYSIC_SPEC, QUANTITY, PHYSIC_UNIT, PRICE, COST, BATCH_NUMBER,
FEE_SEQUENCE_NO
</sql>
<select id="selectGroupedWithPagination" resultType="com.glxp.mipsdl.entity.ctqyy.VYpzsPresInfoReturn">
<select id="selectGroupedWithPagination" resultType="com.glxp.mipsdl.entity.hyfy.VYpzsPresInfoReturn">
SELECT APPLY_NO
FROM v_ypzs_pres_info_return
<where>
@ -97,4 +97,4 @@
ORDER BY
APPLY_NO
</select>
</mapper>
</mapper>

Loading…
Cancel
Save