@@ -518,7 +518,7 @@ type CustomerInfo struct {
func (m *BookDAO) GetCustomerBorrowInfo(customerInfo string) (*CustomerInfo, error) {
var customer []CustomerInfo
sql := `SELECT
- a.customer_id
+ a.customer_id,
a.name,
a.phone ,
(select count(1) from ta_book_borrow_record c WHERE borrow_status = '1' and c.customer_id = a.customer_id)as borrow_num,