|
|
|
@ -1092,9 +1092,11 @@ public class YunguanInterfaceController {
|
|
|
|
|
warehousingOutboundQueryWrapper.lambda().eq(WarehousingOutboundEntity::getDocumentNo,yunguanSaleOutBoundModel.getPROD_ZL());
|
|
|
|
|
WarehousingOutboundEntity warehousingOutboundEntity = warehousingOutboundService.getOne(warehousingOutboundQueryWrapper);
|
|
|
|
|
if (ObjectUtil.isNotEmpty(warehousingOutboundEntity)){
|
|
|
|
|
int index = yunguanSaleOutBoundModel.getCK_ORDER().lastIndexOf("-");
|
|
|
|
|
String lineNo =yunguanSaleOutBoundModel.getCK_ORDER().substring(index + 1).replaceFirst("^0*","");
|
|
|
|
|
QueryWrapper<WarehousingOutboundProductEntity> warehousingOutboundProductQueryWrapper = new QueryWrapper<>();
|
|
|
|
|
warehousingOutboundProductQueryWrapper.lambda().eq(WarehousingOutboundProductEntity::getWarehousingOutboundId,warehousingOutboundEntity.getId());
|
|
|
|
|
warehousingOutboundProductQueryWrapper.lambda().eq(WarehousingOutboundProductEntity::getOrderLine,yunguanSaleOutBoundModel.getCK_ORDER());
|
|
|
|
|
warehousingOutboundProductQueryWrapper.lambda().eq(WarehousingOutboundProductEntity::getOrderLine,lineNo);
|
|
|
|
|
WarehousingOutboundProductEntity warehousingOutboundProductEntity = warehousingOutboundProductService.getOne(warehousingOutboundProductQueryWrapper);
|
|
|
|
|
if (ObjectUtil.isNotEmpty(warehousingOutboundProductEntity)){
|
|
|
|
|
warehousingOutboundProductEntity.setYunguanMark(yunguanSaleOutBoundModel.getREAD_FLAG());
|
|
|
|
|