fix:推送缴费单数据到新管家新增加盟品牌字段
This commit is contained in:
@@ -56,6 +56,9 @@ public class ReceiptRequest {
|
||||
@ApiModelProperty( "删除标识")
|
||||
private Integer deleted = 0;
|
||||
|
||||
@ApiModelProperty("品牌")
|
||||
private Integer joinBrand;
|
||||
|
||||
public ReceiptRequest() {
|
||||
}
|
||||
|
||||
|
||||
@@ -308,6 +308,10 @@ public class LinePayServiceImpl implements LinePayService {
|
||||
public Boolean pushPayInfo(Long shopId, LinePayDO linePayDO) {
|
||||
FranchiseFeeDO franchiseFeeDO = franchiseFeeMapper.selectByShopId(shopId);
|
||||
ReceiptRequest receiptRequest = new ReceiptRequest(shopId, franchiseFeeDO.getId().intValue(), linePayDO);
|
||||
ShopInfoDO shopInfoDO = shopInfoMapper.selectByPrimaryKey(shopId);
|
||||
if (Objects.nonNull(shopInfoDO)) {
|
||||
receiptRequest.setJoinBrand(Integer.valueOf(shopInfoDO.getFranchiseBrand()));
|
||||
}
|
||||
//推送缴费单数据到新管家
|
||||
pushService.pushReceiptToXGJ(receiptRequest);
|
||||
return Boolean.TRUE;
|
||||
|
||||
Reference in New Issue
Block a user