feat: replace tenants with organization management
This commit is contained in:
@@ -82,8 +82,8 @@ export class BillsService {
|
||||
|
||||
|
||||
// 分离长租与短租入住记录
|
||||
const shortTermOccs = occupancies.filter((o) => o.rentalType !== 'long');
|
||||
const longTermOccs = occupancies.filter((o) => o.rentalType === 'long');
|
||||
const shortTermOccs = occupancies.filter((o) => o.stayType !== 'long');
|
||||
const longTermOccs = occupancies.filter((o) => o.stayType === 'long');
|
||||
|
||||
// 长租:按月租费独立计费,不参与人天数分摊
|
||||
for (const occ of longTermOccs) {
|
||||
|
||||
Reference in New Issue
Block a user