|
|
|
@ -1390,6 +1390,9 @@ public class CtqyyClient extends CommonHttpClient {
|
|
|
|
|
.or().like(VInsurNationGoodsPhysic::getPSN_NO, key)
|
|
|
|
|
);
|
|
|
|
|
wrapper.and(StrUtil.isNotEmpty(fromCorpName), t -> t.eq(VInsurNationGoodsPhysic::getPSN_NAME, fromCorpName));
|
|
|
|
|
|
|
|
|
|
udiwmsBasicSkPrescribeRequest.setDatabaseProductName(getDataSourceType());
|
|
|
|
|
|
|
|
|
|
// 拉取处方时,改成拉取v_ypzs_pres_info
|
|
|
|
|
IPage<VYpzsPresInfo> page = vYpzsPresInfoMapper.selectGroupedWithPagination(new Page<VYpzsPresInfo>(udiwmsBasicSkPrescribeRequest.getPage(), udiwmsBasicSkPrescribeRequest.getLimit()),
|
|
|
|
|
udiwmsBasicSkPrescribeRequest);
|
|
|
|
@ -1413,6 +1416,10 @@ public class CtqyyClient extends CommonHttpClient {
|
|
|
|
|
);
|
|
|
|
|
wrapper.and(StrUtil.isNotEmpty(code), t -> t.eq(VInsurNationGoodsReturn::getAPPLY_NO, code));
|
|
|
|
|
wrapper.and(StrUtil.isNotEmpty(fromCorpName), t -> t.eq(VInsurNationGoodsReturn::getPSN_NAME, fromCorpName));
|
|
|
|
|
|
|
|
|
|
udiwmsBasicSkPrescribeRequest.setDatabaseProductName(getDataSourceType());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//拉取处方退货时,改成拉取v_ypzs_pres_info_return
|
|
|
|
|
IPage<VYpzsPresInfoReturn> page = vYpzsPresInfoReturnMapper.selectGroupedWithPagination(new Page<VYpzsPresInfoReturn>(udiwmsBasicSkPrescribeRequest.getPage(), udiwmsBasicSkPrescribeRequest.getLimit()),
|
|
|
|
|
udiwmsBasicSkPrescribeRequest);
|
|
|
|
@ -1445,7 +1452,7 @@ public class CtqyyClient extends CommonHttpClient {
|
|
|
|
|
wrapper.and(StrUtil.isNotEmpty(keywords), t -> t.like(VYpzsPlanInfo::getCGDBH, keywords)//单据号
|
|
|
|
|
);
|
|
|
|
|
wrapper.like(StrUtil.isNotEmpty(udiwmsThrOrderRequest.getFromCorpName()), VYpzsPlanInfo::getSCQYMC, udiwmsThrOrderRequest.getFromCorpName());
|
|
|
|
|
|
|
|
|
|
udiwmsThrOrderRequest.setDatabaseProductName(getDataSourceType());
|
|
|
|
|
Page<VYpzsPlanInfo> page = vYpzsPlanInfoMapper.selectGroupedWithPagination(
|
|
|
|
|
new Page<VYpzsPlanInfo>(udiwmsThrOrderRequest.getPage(), udiwmsThrOrderRequest.getLimit()), udiwmsThrOrderRequest);
|
|
|
|
|
|
|
|
|
@ -1525,6 +1532,8 @@ public class CtqyyClient extends CommonHttpClient {
|
|
|
|
|
.or().like(VYpzsIoInfo::getIO_SORT, keywords)//收货方
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
udiwmsThrOrderRequest.setDatabaseProductName(getDataSourceType());
|
|
|
|
|
|
|
|
|
|
Page<VYpzsIoInfo> page = vYpzsIoInfoMapper.selectGroupedWithPagination(new Page<VYpzsIoInfo>(udiwmsThrOrderRequest.getPage(), udiwmsThrOrderRequest.getLimit()), udiwmsThrOrderRequest);
|
|
|
|
|
|
|
|
|
|
List<VYpzsIoInfo> ioInfos = page.getRecords();
|
|
|
|
|