This commit is contained in:
邹宗楠
2022-11-24 16:26:34 +08:00
parent 57d94f82ed
commit d974a2ff1d
7 changed files with 125 additions and 98 deletions

View File

@@ -26,6 +26,11 @@ func GetUserBill(db *DaoDB, userID, billID string) (userBill *model.UserBill, er
return userBill, err
}
// 添加用户支出记录
func AddUserExpend() {
}
func GetBillExpend(db *DaoDB, userID string, billType int, fromTime, toTime time.Time) (billExpends []*model.BillExpend, err error) {
sql := `
SELECT b.*