feat(financial_adjust):add update project_price
This commit is contained in:
@@ -26,7 +26,6 @@ class FinancialStatusRepository(BaseRepository):
|
||||
result = await super().update(_id, _update)
|
||||
price = await use_collection(TaskEnv.CLN_PROJECT_PRICE_REPORT).find_one({'project_id': _update.project_id})
|
||||
if price:
|
||||
change = 0
|
||||
_old = StatusFinancialModel(**_old_dic)
|
||||
if 'amount' not in _old_dic and _update.amount:
|
||||
change = _update.amount
|
||||
|
||||
Reference in New Issue
Block a user