feat:推送bug修改

This commit is contained in:
suzhuhong
2026-03-31 18:01:23 +08:00
parent 8786d728a5
commit d67ea88d14

View File

@@ -703,12 +703,12 @@ public class PreAllocationRecordServiceImpl implements PreAllocationRecordServic
//系统使用费
franchiseFeeDO.setCashierFee(order.getSystemUsageFee().stripTrailingZeros().toPlainString());
franchiseFeeDO.setPayType(PayTypeEnum.PING_AN.getType());
Integer feeId = franchiseFeeMapper.insertSelective(franchiseFeeDO);
franchiseFeeMapper.insertSelective(franchiseFeeDO);
ShopInfoDO shopInfoDO = shopInfoDAO.getShopInfo(order.getShopId());
LineInfoDO lineInfo = lineInfoDAO.getLineInfo(shopInfoDO.getLineId());
PushFranchiseFeeRequest feeRequest = new PushFranchiseFeeRequest(shopInfoDO.getId(), lineInfo.getUsername(), franchiseFeeDO,Integer.valueOf(shopInfoDO.getFranchiseBrand()));
feeRequest.setJoinBrand(Integer.valueOf(shopInfoDO.getFranchiseBrand()));
pushService.pushFranchiseFeeToXGJ(feeRequest);
return feeId;
return franchiseFeeDO.getId().intValue();
}
}