|
@@ -38,7 +38,7 @@ func GetIncomeHistory(condition string, pars []interface{}) (results []*IncomeSu
|
|
|
|
|
|
// GetInvoicePaymentSummaryByRegisterIdAndInvoiceId 根据合同登记ID和开票ID获取汇总数据
|
|
|
func GetIncomeHistoryList() (results []*ContractIncomeHistory, err error) {
|
|
|
- sql := `SELECT * FROM contract_income_history `
|
|
|
+ sql := `SELECT * FROM contract_income_history WHERE seller_id=0 `
|
|
|
err = global.DEFAULT_MYSQL.Raw(sql).Find(&results).Error
|
|
|
return
|
|
|
}
|