feat: 关联预验收入库单号

dev_2.5_optimize
chenhc 4 months ago
parent 984e5c6a0b
commit 2dd2796835

@ -218,7 +218,7 @@ public class IoCollectOrderCodeManService extends ServiceImpl<IoCollectOrderCode
String preInBillNo = addTagCodeReqeust.getPreInBillNo();
String orderId = addTagCodeReqeust.getBillNo();
if (StrUtil.isNotEmpty(preInBillNo)){
BasicBussinessTypeEntity bussinessTypeEntity = basicBussinessTypeService.findByAction("SC74047369831589");
BasicBussinessTypeEntity bussinessTypeEntity = basicBussinessTypeService.findByAction("SC74047387362851");
if (bussinessTypeEntity.isScanPreIn() && checkDiAttribute(bussinessTypeEntity, udiRelevanceResponse, 2)) {
if (bussinessTypeEntity.getBackPreinType() == 1 && bussinessTypeEntity.isPreInBack()) {//按单出库&& bussinessTypeEntity.isPreInBack()
String orderIds = preInBillNo;

@ -852,11 +852,11 @@ public class IoCollectOrderService extends ServiceImpl<IoCollectOrderMapper, IoC
removeOrderByBillNo(finalCollectOrder);
//更新数据至第三方系统
//单据更新
//如果有有关联预验收入库单号 进行单据得内部生成更新
String preInBillNo = collectOrderRequest.getPreInBillNo();
if (StrUtil.isNotEmpty(preInBillNo)){
ioCollectOrderBackupService.generateOrder(finalCollectOrder.getBillNo(), authAdmin);
}
// //如果有有关联预验收入库单号 进行单据得内部生成更新
// String preInBillNo = collectOrderRequest.getPreInBillNo();
// if (StrUtil.isNotEmpty(preInBillNo)){
// ioCollectOrderBackupService.generateOrder(finalCollectOrder.getBillNo(), authAdmin);
// }
//不立马上传,等待定时器自动上传
// IoCollectSet ioCollectSet = collectSetService.getSet();

Loading…
Cancel
Save