last
This commit is contained in:
@ -226,8 +226,8 @@ class ReportViewSet:
|
||||
|
||||
"""post"""
|
||||
|
||||
def repayment(db: Session, data: schemas.RentRegisterNoticeInit):
|
||||
return exec_procedure(db, 'uspGetRentRegisterNotices', **data)
|
||||
def get_rent_register_notices(db: Session, data: schemas.RentRegisterNoticeInit):
|
||||
return exec_procedure(db, 'uspGetRentRegisterNotices', data.dict())
|
||||
|
||||
|
||||
"""AccrualViewSet"""
|
||||
@ -388,7 +388,7 @@ class ReferenceViewSet:
|
||||
return db.query(tb).with_entities(tb.c["ID"], tb.c["Name"]).all()
|
||||
|
||||
def get_address_types(db: Session):
|
||||
tb = get_table('RefAddressType')
|
||||
tb = get_table('RefAddressType', 'General')
|
||||
return db.query(tb).with_entities(tb.c["ID"], tb.c["Name"]).all()
|
||||
|
||||
"""post"""
|
||||
|
Reference in New Issue
Block a user