|
@@ -369,7 +369,7 @@ func GetInvoiceCensusList(condition string, pars []interface{}) (results []*Invo
|
|
|
|
|
|
// UpdateInvoicePaymentSummaryByRegisterId
|
|
|
func UpdateInvoicePaymentSummaryByRegisterId(newId int, registerIds []int) (err error) {
|
|
|
- sql := `UPDATE FROM invoice_payment_summary SET register_id = ? WHERE register_id IN (?) `
|
|
|
+ sql := `UPDATE invoice_payment_summary SET register_id = ? WHERE register_id IN (?) `
|
|
|
err = global.DEFAULT_MYSQL.Exec(sql, newId, registerIds).Error
|
|
|
return
|
|
|
}
|