feat:推送bug修改
This commit is contained in:
@@ -703,12 +703,12 @@ public class PreAllocationRecordServiceImpl implements PreAllocationRecordServic
|
|||||||
//系统使用费
|
//系统使用费
|
||||||
franchiseFeeDO.setCashierFee(order.getSystemUsageFee().stripTrailingZeros().toPlainString());
|
franchiseFeeDO.setCashierFee(order.getSystemUsageFee().stripTrailingZeros().toPlainString());
|
||||||
franchiseFeeDO.setPayType(PayTypeEnum.PING_AN.getType());
|
franchiseFeeDO.setPayType(PayTypeEnum.PING_AN.getType());
|
||||||
Integer feeId = franchiseFeeMapper.insertSelective(franchiseFeeDO);
|
franchiseFeeMapper.insertSelective(franchiseFeeDO);
|
||||||
ShopInfoDO shopInfoDO = shopInfoDAO.getShopInfo(order.getShopId());
|
ShopInfoDO shopInfoDO = shopInfoDAO.getShopInfo(order.getShopId());
|
||||||
LineInfoDO lineInfo = lineInfoDAO.getLineInfo(shopInfoDO.getLineId());
|
LineInfoDO lineInfo = lineInfoDAO.getLineInfo(shopInfoDO.getLineId());
|
||||||
PushFranchiseFeeRequest feeRequest = new PushFranchiseFeeRequest(shopInfoDO.getId(), lineInfo.getUsername(), franchiseFeeDO,Integer.valueOf(shopInfoDO.getFranchiseBrand()));
|
PushFranchiseFeeRequest feeRequest = new PushFranchiseFeeRequest(shopInfoDO.getId(), lineInfo.getUsername(), franchiseFeeDO,Integer.valueOf(shopInfoDO.getFranchiseBrand()));
|
||||||
feeRequest.setJoinBrand(Integer.valueOf(shopInfoDO.getFranchiseBrand()));
|
feeRequest.setJoinBrand(Integer.valueOf(shopInfoDO.getFranchiseBrand()));
|
||||||
pushService.pushFranchiseFeeToXGJ(feeRequest);
|
pushService.pushFranchiseFeeToXGJ(feeRequest);
|
||||||
return feeId;
|
return franchiseFeeDO.getId().intValue();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user