|
|
|
@ -1833,7 +1833,7 @@ public class CtqyyClient extends CommonHttpClient {
|
|
|
|
|
value.forEach(entity -> {
|
|
|
|
|
IoCollectOrderBiz collectOrderBiz = new IoCollectOrderBiz();
|
|
|
|
|
String med_list_codg = entity.getMED_LIST_CODG();
|
|
|
|
|
collectOrderBiz.setThrCode(med_list_codg);
|
|
|
|
|
collectOrderBiz.setThrCode(entity.getMATERIAL_CODE());
|
|
|
|
|
BasicProductsEntity basicProductsEntity = null;
|
|
|
|
|
if (StrUtil.isNotBlank(med_list_codg)) {
|
|
|
|
|
basicProductsEntity = basicProductsDao.selectOne(new LambdaQueryWrapper<BasicProductsEntity>()
|
|
|
|
@ -1841,7 +1841,7 @@ public class CtqyyClient extends CommonHttpClient {
|
|
|
|
|
if (basicProductsEntity != null) {
|
|
|
|
|
collectOrderBiz.setGgxh(basicProductsEntity.getGgxh());
|
|
|
|
|
collectOrderBiz.setMeasureUnit(basicProductsEntity.getPackUnit());
|
|
|
|
|
|
|
|
|
|
collectOrderBiz.setNameCode(basicProductsEntity.getNameCode());
|
|
|
|
|
BasicUdirelEntity basicUdirelEntity = basicUdirelDao.selectOne(new LambdaQueryWrapper<BasicUdirelEntity>()
|
|
|
|
|
.eq(BasicUdirelEntity::getUuid, basicProductsEntity.getUuid()).last(" limit 1"));
|
|
|
|
|
if (basicProductsEntity != null) {
|
|
|
|
@ -1860,8 +1860,12 @@ public class CtqyyClient extends CommonHttpClient {
|
|
|
|
|
collectOrderBiz.setCpmctymc(entity.getFIXMEDINS_HILIST_NAME());
|
|
|
|
|
collectOrderBiz.setOrderIdFk(ioCollectOrder.getBillNo());
|
|
|
|
|
collectOrderBiz.setYbbm(entity.getMED_LIST_CODG());
|
|
|
|
|
collectOrderBiz.setProductDate(entity.getMANU_DATE());
|
|
|
|
|
collectOrderBiz.setExpireDate(entity.getEXPY_END());
|
|
|
|
|
collectOrderBiz.setBatchNo(entity.getMANU_LOTNUM());
|
|
|
|
|
//====================================
|
|
|
|
|
collectOrderBiz.setTagStatus(1);
|
|
|
|
|
collectOrderBiz.setCount(entity.getSEL_RETN_CNT());
|
|
|
|
|
collectOrderBiz.setUnTagCount(0);
|
|
|
|
|
bizList.add(collectOrderBiz);
|
|
|
|
|
});
|
|
|
|
|