长泰视图对接

dtxyy
zane 7 months ago
parent 37b2ad9f8a
commit 534752f332

@ -265,4 +265,19 @@ public interface BaseHttpClient {
* @return
*/
BaseResponse queryUdiInvOutScanCode(ForInvOutScanCodeFilter forInvOutScanCodeFilter);
/**
*
* @param udiwmsBasicSkPrescribeRequest
* @return
*/
BaseResponse getPrescribes(UdiwmsBasicSkPrescribeRequest udiwmsBasicSkPrescribeRequest);
/**
*
* @param udiwmsThrOrderRequest
* @return
*/
BaseResponse getThrOrders(UdiwmsThrOrderRequest udiwmsThrOrderRequest);
}

@ -295,4 +295,14 @@ public abstract class CommonHttpClient implements BaseHttpClient {
public BaseResponse getInvFeeResult(UdiwmsInvProductsRequest udiwmsInvProductsRequest) {
return null;
}
@Override
public BaseResponse getPrescribes(UdiwmsBasicSkPrescribeRequest udiwmsBasicSkPrescribeRequest) {
return null;
}
@Override
public BaseResponse getThrOrders(UdiwmsThrOrderRequest udiwmsThrOrderRequest) {
return null;
}
}

@ -31,15 +31,9 @@ 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.BasicSkPrescribeItemEntity;
import com.glxp.mipsdl.entity.ctqyy.MaterialDictEntity;
import com.glxp.mipsdl.entity.ctqyy.PriceClassEntity;
import com.glxp.mipsdl.entity.ctqyy.ThrHslbEntity;
import com.glxp.mipsdl.entity.ctqyy.*;
import com.glxp.mipsdl.entity.inout.*;
import com.glxp.mipsdl.entity.thrsys.ThrCorpEntity;
import com.glxp.mipsdl.entity.thrsys.ThrInvWarehouseEntity;
import com.glxp.mipsdl.entity.thrsys.ThrProductsEntity;
import com.glxp.mipsdl.entity.thrsys.ThrSystemBusApiEntity;
import com.glxp.mipsdl.entity.thrsys.*;
import com.glxp.mipsdl.http.HttpClient;
import com.glxp.mipsdl.req.base.*;
import com.glxp.mipsdl.req.base.forthird.ForInvProductsFilter;
@ -50,12 +44,16 @@ 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.order.OrderUploadLogService;
import com.glxp.mipsdl.service.system.SysParamConfigService;
import com.glxp.mipsdl.service.thrsys.ThrCorpService;
import com.glxp.mipsdl.service.thrsys.ThrSystemDetailService;
import com.glxp.mipsdl.thirddao.ctqyy.PhysicDictMapper;
import com.glxp.mipsdl.thirddao.ctqyy.PlanInfoMapper;
import com.glxp.mipsdl.thirddao.ctqyy.PresInfoMapper;
import com.glxp.mipsdl.util.*;
import lombok.extern.slf4j.Slf4j;
import org.dom4j.Document;
@ -116,6 +114,13 @@ public class CtqyyClient extends CommonHttpClient {
BasicProductsDao basicProductsDao;
@Resource
private OrderUploadLogService orderUploadLogService;
@Resource
private PhysicDictMapper physicDictMapper;
@Resource
private PresInfoMapper presInfoMapper;
@Resource
private PlanInfoMapper planInfoMapper;
/**
* xml
@ -185,39 +190,71 @@ public class CtqyyClient extends CommonHttpClient {
}
}
/**
*
*
* @param udiwmsProductRequest
* @return
*/
@Override
public BaseResponse getProducts(UdiwmsProductRequest udiwmsProductRequest) {
CtqyyRequest ctqyyRequest = new CtqyyRequest();
ctqyyRequest.setMsgHeader(getMsgHeader("getMaterialDict"));
ctqyyRequest.setMsgBody(JSONUtil.toJsonStr(udiwmsProductRequest));
String response = httpClient.postJson(thrSystemDetailService.getUrlExclude(Constants.URL_NAME_PI_QUERY_URL), ctqyyRequest);
response = parserResult(response);
try {
BaseResponse baseResponse = JSONObject.parseObject(response, BaseResponse.class);
Map map = (Map) baseResponse.getData();
List<ZzzyyProductsResponse> zzzyyProductsResponse = JSON.parseArray(map.get("list") + "", ZzzyyProductsResponse.class);
for (ZzzyyProductsResponse productsResponse : zzzyyProductsResponse) {
//判断要是规格和型号一致就是取规格 不一致就合并
if (StrUtil.isNotEmpty(productsResponse.getModel_number()) && StrUtil.isNotEmpty(productsResponse.getStandard())) {
if (productsResponse.getModel_number().equals(productsResponse.getStandard())) {
productsResponse.setStandard(productsResponse.getStandard());
} else {
productsResponse.setStandard(productsResponse.getStandard() + productsResponse.getModel_number());
if(udiwmsProductRequest.getMedicalType().equals(Constants.MEDICAL_TYPE_DEVICE)){
CtqyyRequest ctqyyRequest = new CtqyyRequest();
ctqyyRequest.setMsgHeader(getMsgHeader("getMaterialDict"));
ctqyyRequest.setMsgBody(JSONUtil.toJsonStr(udiwmsProductRequest));
String response = httpClient.postJson(thrSystemDetailService.getUrlExclude(Constants.URL_NAME_PI_QUERY_URL), ctqyyRequest);
response = parserResult(response);
try {
BaseResponse baseResponse = JSONObject.parseObject(response, BaseResponse.class);
Map map = (Map) baseResponse.getData();
List<ZzzyyProductsResponse> zzzyyProductsResponse = JSON.parseArray(map.get("list") + "", ZzzyyProductsResponse.class);
for (ZzzyyProductsResponse productsResponse : zzzyyProductsResponse) {
//判断要是规格和型号一致就是取规格 不一致就合并
if (StrUtil.isNotEmpty(productsResponse.getModel_number()) && StrUtil.isNotEmpty(productsResponse.getStandard())) {
if (productsResponse.getModel_number().equals(productsResponse.getStandard())) {
productsResponse.setStandard(productsResponse.getStandard());
} else {
productsResponse.setStandard(productsResponse.getStandard() + productsResponse.getModel_number());
}
} else if (StrUtil.isNotEmpty(productsResponse.getModel_number()) && StrUtil.isBlank(productsResponse.getStandard())) {
productsResponse.setStandard(productsResponse.getModel_number());
}
} else if (StrUtil.isNotEmpty(productsResponse.getModel_number()) && StrUtil.isBlank(productsResponse.getStandard())) {
productsResponse.setStandard(productsResponse.getModel_number());
}
map.put("list", JSON.toJSON(zzzyyProductsResponse));
baseResponse.setData("");
baseResponse.setData(map);
return baseResponse;
} catch (Exception e) {
log.error("解析长泰区医院智业接口返回产品信息字典数据异常,返回结果:{}", response);
log.error("异常信息:{}", e);
return ResultVOUtils.error(500, "网络错误,或远程服务器异常无法返回正确结果(" + response + ")");
}
map.put("list", JSON.toJSON(zzzyyProductsResponse));
baseResponse.setData("");
baseResponse.setData(map);
return baseResponse;
} catch (Exception e) {
log.error("解析长泰区医院智业接口返回产品信息字典数据异常,返回结果:{}", response);
log.error("异常信息:{}", e);
return ResultVOUtils.error(500, "网络错误,或远程服务器异常无法返回正确结果(" + response + ")");
}else if(udiwmsProductRequest.getMedicalType().equals(Constants.MEDICAL_TYPE_DRUG)){
Map map = new HashMap();
LambdaQueryWrapper<PhysicDictEntity> wrapper = new LambdaQueryWrapper();
//补充其他查询条件
wrapper.eq(StrUtil.isNotBlank(udiwmsProductRequest.getCode()),PhysicDictEntity::getPhysicCode,udiwmsProductRequest.getCode());
wrapper.eq(StrUtil.isNotBlank(udiwmsProductRequest.getName()),PhysicDictEntity::getPhysicName,udiwmsProductRequest.getName());
wrapper.eq(StrUtil.isNotBlank(udiwmsProductRequest.getRegisterNo()),PhysicDictEntity::getPhysicNo,udiwmsProductRequest.getRegisterNo());
List<PhysicDictEntity> physicDictEntities = physicDictMapper.selectList(wrapper);
List<ThrProductsEntity> thrProductsEntityList = null;
if(CollUtil.isNotEmpty(physicDictEntities)){
//数据处理以thr_products 返回
thrProductsEntityList = physicDictEntities.stream().map(dict -> {
ThrProductsEntity products = new ThrProductsEntity();
products.setCode(dict.getPhysicCode());
products.setName(dict.getPhysicName());
products.setMeasname(dict.getPhysicUnit());
products.setSpec(dict.getPhysicSpec());
products.setRegisterNo(dict.getPhysicNo());
return products;
}).collect(Collectors.toList());
}
map.put("list",thrProductsEntityList);
return ResultVOUtils.success(map);
}
log.error("解析长泰区医院医疗类型,返回结果:{}", udiwmsProductRequest.getMedicalType());
return ResultVOUtils.error(500,"医疗类型不正确medicalType"+udiwmsProductRequest.getMedicalType());
}
@Override
@ -1305,4 +1342,67 @@ public class CtqyyClient extends CommonHttpClient {
}
return udiwmsPreInOrderRequest;
}
/**
*
* @param udiwmsBasicSkPrescribeRequest
* @return
*/
@Override
public BaseResponse getPrescribes(UdiwmsBasicSkPrescribeRequest udiwmsBasicSkPrescribeRequest) {
Map map = new HashMap();
LambdaQueryWrapper<PresInfoEntity> wrapper = new LambdaQueryWrapper();
//补充其他查询条件
List<PresInfoEntity> presInfoEntities = presInfoMapper.selectList(wrapper);
List<BasicSkPrescribeResponse> basicSkPrescribeResponses = null;
if(CollUtil.isNotEmpty(presInfoEntities)){
//数据处理以basic_sk_prescribebasic_sk_prescribe_item 主子返回
basicSkPrescribeResponses = presInfoEntities.stream().map(pres -> {
BasicSkPrescribeResponse basicSkPrescribeResponse = new BasicSkPrescribeResponse();
List<BasicSkPrescribeItemEntity> itemList = new ArrayList<>();
BasicSkPrescribeItemEntity item = new BasicSkPrescribeItemEntity();
//TODO 封装数据
itemList.add(item);
basicSkPrescribeResponse.setItemList(itemList);
return basicSkPrescribeResponse;
}).collect(Collectors.toList());
}
map.put("list",basicSkPrescribeResponses);
return ResultVOUtils.success(map);
}
/**
*
* @param udiwmsThrOrderRequest
* @return
*/
@Override
public BaseResponse getThrOrders(UdiwmsThrOrderRequest udiwmsThrOrderRequest) {
Map map = new HashMap();
LambdaQueryWrapper<PlanInfoEntity> wrapper = new LambdaQueryWrapper<>();
//补充其他查询条件
List<PlanInfoEntity> planInfoEntities = planInfoMapper.selectList(wrapper);
List<ThrOrderResponse> thrOrderResponses = null;
if(CollUtil.isNotEmpty(planInfoEntities)){
//数据处理以thr_orderthr_order_detail 主子返回
thrOrderResponses = planInfoEntities.stream().map(plan->{
ThrOrderResponse thrOrderResponse = new ThrOrderResponse();
List<ThrOrderDetailEntity> detailList = new ArrayList<>();
ThrOrderDetailEntity detail = new ThrOrderDetailEntity();
//TODO 封装数据
detailList.add(detail);
thrOrderResponse.setDetailList(detailList);
return thrOrderResponse;
}).collect(Collectors.toList());
}
map.put("list",thrOrderResponses);
return ResultVOUtils.success();
}
}

@ -177,4 +177,14 @@ public interface Constants {
*/
int THIRD_ORDER_RECEIVE = 2;
//医疗类型
/**
*
*/
int MEDICAL_TYPE_DEVICE = 1;
/**
*
*/
int MEDICAL_TYPE_DRUG = 2;
}

@ -310,4 +310,25 @@ public class UdiWmsController {
return ClientProcessor.getHttpClient().postRelProduct(postRelProductRequest);
}
/**
*
* @param udiwmsBasicSkPrescribeRequest
* @return
*/
@PostMapping("/udiwms/erp/getPrescribes")
public BaseResponse getPrescribes(@RequestBody UdiwmsBasicSkPrescribeRequest udiwmsBasicSkPrescribeRequest) {
return ClientProcessor.getHttpClient().getPrescribes(udiwmsBasicSkPrescribeRequest);
}
/**
*
* @param udiwmsThrOrderRequest
* @return
*/
@PostMapping("/udiwms/erp/getThrOrders")
public BaseResponse getThrOrders(@RequestBody UdiwmsThrOrderRequest udiwmsThrOrderRequest) {
return ClientProcessor.getHttpClient().getThrOrders(udiwmsThrOrderRequest);
}
}

@ -0,0 +1,33 @@
package com.glxp.mipsdl.entity.ctqyy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
@Data
@TableName(value = "V_YPZS_PHYSIC_DICT")
public class PhysicDictEntity {
@TableField("PHYSIC_CODE")
private String physicCode;
@TableField("PHYSIC_NO")
private String physicNo;
@TableField("PHYSIC_NAME")
private String physicName;
@TableField("PHYSIC_SPEC")
private String physicSpec;
@TableField("PHYSIC_UNIT")
private String physicUnit;
@TableField("PACK_UNIT")
private String packUnit;
@TableField("PACK_SPEC")
private String packSpec;
@TableField("PACK_UNTUCK")
private String packUntuck;
@TableField("PACK_UNTUCK_RESI")
private String packUntuckResi;
@TableField("COUNTRY_CODE")
private String countryCode;
}

@ -0,0 +1,52 @@
package com.glxp.mipsdl.entity.ctqyy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
@Data
@TableName(value = "V_YPZS_PLAN_INFO")
public class PlanInfoEntity {
@TableField("CGDBH")
private String cgdbh;
@TableField("YPBM")
private String ypbm;
@TableField("YPMC")
private String ypmc;
@TableField("JXMC")
private String jxmc;
@TableField("GGMC")
private String ggmc;
@TableField("BZDW")
private String bzdw;
@TableField("ZXSYDW")
private String zxsydw;
@TableField("ZHB")
private String zhb;
@TableField("SCQYBM")
private String scqybm;
@TableField("SCQYMC")
private String scqymc;
@TableField("YKBM")
private String ykbm;
@TableField("YKMC")
private String ykmc;
@TableField("ZBJ")
private String zbj;
@TableField("GJJ")
private String gjj;
@TableField("GMSL")
private String gmsl;
@TableField("PSQYBM")
private String psqybm;
@TableField("PSQYMC")
private String psqymc;
@TableField("BZ")
private String bz;
@TableField("TPJG")
private String tpjg;
}

@ -0,0 +1,41 @@
package com.glxp.mipsdl.entity.ctqyy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
@Data
@TableName(value = "V_YPZS_PRES_INFO")
public class PresInfoEntity {
@TableField("TABLE_TYPE")
private String tableType;
@TableField("LAYPHYSIC_NO")
private String layphysicNo;
@TableField("PRESCRIBE_NUMBER")
private String prescribeNumber;
@TableField("PRESCRIBE_SUB_NUMBER")
private String prescribeSubNumber;
@TableField("LAY_PHYSIC_TIME")
private String layPhysicTime;
@TableField("STORAGE_CODE")
private String storageCode;
@TableField("STORAGE_NAME")
private String storageName;
@TableField("SICK_ID")
private String sickId;
@TableField("RESIDENCE_NO")
private String residenceNo;
@TableField("PHYSIC_CODE")
private String physicCode;
@TableField("PHYSIC_NAME")
private String physicName;
@TableField("LAY_PHYSIC_QUANTITY")
private String layPhysicQuantity;
@TableField("PHYSIC_UNIT")
private String physicUnit;
@TableField("COST")
private String cost;
}

@ -0,0 +1,130 @@
package com.glxp.mipsdl.entity.thrsys;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
@Data
@TableName(value = "thr_order_detail")
public class ThrOrderDetailEntity implements Serializable {
private static final long serialVersionUID = 1L;
/**
*
*/
private Integer id;
/**
*
*/
private String productId;
/**
*
*/
private String productName;
/**
*
*/
private String spec;
/**
*
*/
private String batchNo;
/**
*
*/
private String expireDate;
/**
*
*/
private String productDate;
/**
*
*/
private String count;
/**
*
*/
private String reCount;
/**
*
*/
private String orderIdFk;
/**
*
*/
private String thirdSysFk;
/**
*
*/
private BigDecimal price;
/**
*
*/
private String corpName;
/**
*
*/
private String ylqxzcrbarmc;
/**
*
*/
private String zczbhhzbapzbh;
/**
*
*/
private String manufactory;
/**
*
*/
private String createUser;
/**
*
*/
private Date createTime;
/**
*
*/
private String updateUser;
/**
*
*/
private Date updateTime;
/**
*
*/
private String remark;
/**
*
*/
private String supId;
/**
*
*/
private String supName;
}

@ -0,0 +1,116 @@
package com.glxp.mipsdl.req.base;
import lombok.Data;
import java.math.BigDecimal;
import java.util.Date;
@Data
public class UdiwmsBasicSkPrescribeRequest extends ListPageRequest{
/**
*
*/
private Integer id;
/**
*
*/
private String code;
/**
*
*/
private String sickerCode;
/**
*
*/
private Date prescribeDate;
/**
*
*/
private String createDr;
/**
*
*/
private BigDecimal amount;
/**
*
*/
private String deptCode;
/**
*
*/
private String deptName;
/**
*
*/
private String diagnosis;
/**
*
*/
private String remark;
/**
*
*/
private String createUser;
/**
*
*/
private Date createTime;
/**
*
*/
private String updateUser;
/**
*
*/
private Date updateTime;
/**
*
*/
private String adNum;
/**
*
*/
private String clinicNumber;
/**
* 1:23
*/
private Byte tagStatus;
/**
* 1:23
*/
private Byte trDiStatus;
/**
*
*/
private String tagMsg;
/**
*
*/
private String workPlaceCode;
/**
*
*/
private String addr;
}

@ -1,5 +1,6 @@
package com.glxp.mipsdl.req.base;
import com.glxp.mipsdl.constant.Constants;
import lombok.Data;
/**
@ -63,4 +64,20 @@ public class UdiwmsProductRequest extends ListPageRequest {
*/
private String remark3;
/**
* 1 2
*/
private Integer medicalType;
/**
* 1
* @return
*/
public Integer getMedicalType() {
if(medicalType == null){
return Constants.MEDICAL_TYPE_DEVICE;
}
return medicalType;
}
}

@ -0,0 +1,193 @@
package com.glxp.mipsdl.req.base;
import java.util.Date;
import lombok.Data;
@Data
public class UdiwmsThrOrderRequest {
/**
*
*/
private Integer id;
/**
*
*/
private String billNo;
/**
*
*/
private String billdate;
/**
*
*/
private String corpId;
/**
*
*/
private String corpName;
/**
*
*/
private String billType;
/**
*
*/
private String billFlag;
/**
*
*/
private String thirdSysFk;
/**
*
*/
private String originType;
/**
*
*/
private String startDate;
/**
*
*/
private String endDate;
/**
*
*/
private String reviewUser;
/**
*
*/
private String address;
/**
*
*/
private String linkMan;
/**
*
*/
private String linkTel;
/**
*
*/
private String remark;
/**
* 1
*/
private String remark1;
/**
* 2
*/
private String remark2;
/**
* 3
*/
private String remark3;
/**
*
*/
private Byte type;
/**
*
*/
private String locStorageCode;
/**
*
*/
private Byte editStatus;
/**
*
*/
private String invWarehouseCode;
/**
*
*/
private String ylqxzcrbarmc;
/**
*
*/
private String zczbhhzbapzbh;
/**
*
*/
private String manufactory;
/**
* 1 2
*/
private Byte thirdPartyDate;
/**
*
*/
private String unitIdFk;
/**
*
*/
private String fromSubInvCode;
/**
*
*/
private String createUser;
/**
*
*/
private Date createTime;
/**
*
*/
private String updateUser;
/**
*
*/
private Date updateTime;
/**
*
*/
private Byte inoutType;
/**
*
*/
private String deptCode;
/**
*
*/
private String invCode;
/**
*
*/
private Date reviewTime;
}

@ -0,0 +1,199 @@
package com.glxp.mipsdl.res.ctqyy;
import java.util.Date;
import java.util.List;
import com.glxp.mipsdl.entity.thrsys.ThrOrderDetailEntity;
import lombok.Data;
@Data
public class ThrOrderResponse {
/**
*
*/
private Integer id;
/**
*
*/
private String billNo;
/**
*
*/
private String billdate;
/**
*
*/
private String corpId;
/**
*
*/
private String corpName;
/**
*
*/
private String billType;
/**
*
*/
private String billFlag;
/**
*
*/
private String thirdSysFk;
/**
*
*/
private String originType;
/**
*
*/
private String startDate;
/**
*
*/
private String endDate;
/**
*
*/
private String reviewUser;
/**
*
*/
private String address;
/**
*
*/
private String linkMan;
/**
*
*/
private String linkTel;
/**
*
*/
private String remark;
/**
* 1
*/
private String remark1;
/**
* 2
*/
private String remark2;
/**
* 3
*/
private String remark3;
/**
*
*/
private Byte type;
/**
*
*/
private String locStorageCode;
/**
*
*/
private Byte editStatus;
/**
*
*/
private String invWarehouseCode;
/**
*
*/
private String ylqxzcrbarmc;
/**
*
*/
private String zczbhhzbapzbh;
/**
*
*/
private String manufactory;
/**
* 1 2
*/
private Byte thirdPartyDate;
/**
*
*/
private String unitIdFk;
/**
*
*/
private String fromSubInvCode;
/**
*
*/
private String createUser;
/**
*
*/
private Date createTime;
/**
*
*/
private String updateUser;
/**
*
*/
private Date updateTime;
/**
*
*/
private Byte inoutType;
/**
*
*/
private String deptCode;
/**
*
*/
private String invCode;
/**
*
*/
private Date reviewTime;
private List<ThrOrderDetailEntity> detailList;
}

@ -0,0 +1,16 @@
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.PhysicDictEntity;
import com.glxp.mipsdl.req.base.UdiwmsProductRequest;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
@Mapper
@DS("ctqyySql")
public interface PhysicDictMapper extends BaseMapper<PhysicDictEntity> {
}

@ -0,0 +1,13 @@
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.PlanInfoEntity;
import org.apache.ibatis.annotations.Mapper;
@Mapper
@DS("ctqyySql")
public interface PlanInfoMapper extends BaseMapper<PlanInfoEntity> {
}

@ -0,0 +1,13 @@
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.PresInfoEntity;
import org.apache.ibatis.annotations.Mapper;
@Mapper
@DS("ctqyySql")
public interface PresInfoMapper extends BaseMapper<PresInfoEntity> {
}

@ -32,6 +32,15 @@ spring:
username: root
password: 123456
driver-class-name: com.p6spy.engine.spy.P6SpyDriver
ctqyySql:
# jdbc-url: jdbc:oracle:thin:@192.168.10.8:1521/njxyy
# username: SD_UDIJK
# password: SD_UDIJK
# driver-class-name: oracle.jdbc.driver.OracleDrive
url: jdbc:p6spy:mysql://127.0.0.1:3306/udi_wms_ct?allowMultiQueries=true&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true
username: root
password: 123456
driver-class-name: com.p6spy.engine.spy.P6SpyDriver
hikari:
connection-timeout: 60000
maximum-pool-size: 60

@ -0,0 +1,5 @@
<?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.PhysicDictMapper">
</mapper>

@ -0,0 +1,5 @@
<?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.PlanInfoMapper">
</mapper>

@ -0,0 +1,5 @@
<?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.PresInfoMapper">
</mapper>
Loading…
Cancel
Save