房间流水统计
This commit is contained in:
@@ -37,7 +37,7 @@ class RoomDailyIncome extends Model
|
|||||||
'room_id' => $roomId,
|
'room_id' => $roomId,
|
||||||
'date' => $today
|
'date' => $today
|
||||||
])->update([
|
])->update([
|
||||||
'income' => $amount,
|
'income' => $today_res['income'] +$amount,
|
||||||
'update_time'=> time(),
|
'update_time'=> time(),
|
||||||
]);
|
]);
|
||||||
if($res){return true;}
|
if($res){return true;}
|
||||||
|
|||||||
Reference in New Issue
Block a user