feat:创建时间
This commit is contained in:
@@ -83,6 +83,7 @@ public class FranchiseFeeServiceImpl implements FranchiseFeeService {
|
|||||||
throw new ServiceException(ErrorCodeEnum.UNISSUED_STATEMENT_2);
|
throw new ServiceException(ErrorCodeEnum.UNISSUED_STATEMENT_2);
|
||||||
}
|
}
|
||||||
franchiseFeeDO.setXgjCollectionStatus(XGJCollectionStatusEnum.WAIT_PAY.getCode());
|
franchiseFeeDO.setXgjCollectionStatus(XGJCollectionStatusEnum.WAIT_PAY.getCode());
|
||||||
|
franchiseFeeDO.setCreateTime(new Date());
|
||||||
franchiseFeeMapper.insertSelective(franchiseFeeDO);
|
franchiseFeeMapper.insertSelective(franchiseFeeDO);
|
||||||
}
|
}
|
||||||
ShopInfoDO shopInfoDO = shopInfoMapper.selectByPrimaryKey(request.getShopId());
|
ShopInfoDO shopInfoDO = shopInfoMapper.selectByPrimaryKey(request.getShopId());
|
||||||
@@ -109,6 +110,7 @@ public class FranchiseFeeServiceImpl implements FranchiseFeeService {
|
|||||||
ShopInfoDO shopInfoDO = shopInfoMapper.selectByPrimaryKey(request.getShopId());
|
ShopInfoDO shopInfoDO = shopInfoMapper.selectByPrimaryKey(request.getShopId());
|
||||||
LineInfoDO lineInfoDO = lineInfoMapper.getByLineId(shopInfoDO.getLineId());
|
LineInfoDO lineInfoDO = lineInfoMapper.getByLineId(shopInfoDO.getLineId());
|
||||||
//推送加盟费信息到新管家
|
//推送加盟费信息到新管家
|
||||||
|
franchiseFeeDO.setCreateTime(franchiseFeeDO1.getCreateTime());
|
||||||
PushFranchiseFeeRequest feeRequest = new PushFranchiseFeeRequest(shopInfoDO.getId(), lineInfoDO.getUsername(), franchiseFeeDO);
|
PushFranchiseFeeRequest feeRequest = new PushFranchiseFeeRequest(shopInfoDO.getId(), lineInfoDO.getUsername(), franchiseFeeDO);
|
||||||
pushService.pushFranchiseFeeToXGJ(feeRequest);
|
pushService.pushFranchiseFeeToXGJ(feeRequest);
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user