renjiaojiao 1 жил өмнө
parent
commit
893d0c1bc8

+ 1 - 1
src/jfw/modules/subscribepay/src/service/invoice.go

@@ -1555,7 +1555,7 @@ func OpenInvoiceAgain(oldOnlyIdentifying string, data map[string]interface{}) er
 	if !ok {
 		return errors.New("插入失败记录出错")
 	}
-	if !util.Mysql.Update("invoice", map[string]interface{}{"only_Identifying": oldOnlyIdentifying}, data) {
+	if !util.Mysql.Update("invoice", map[string]interface{}{"only_Identifying": oldOnlyIdentifying, "invoice_status": -1}, data) {
 		return errors.New("再次开票更新发票信息出错")
 	}
 	return nil