ziwen 1 rok temu
rodzic
commit
d756b17fd0
1 zmienionych plików z 1 dodań i 2 usunięć
  1. 1 2
      controller/census/invoice_payment.go

+ 1 - 2
controller/census/invoice_payment.go

@@ -1660,9 +1660,8 @@ func (ct *InvoicePaymentController) NotInvoiceList(c *gin.Context) {
 		for _, v := range serviceAmountList {
 			if _, ok := serviceAmountMap[v.ContractRegisterId]; !ok {
 				serviceAmountMap[v.ContractRegisterId] = make(map[int]*fms.ContractServiceAmount)
+				serviceAmountMap[v.ContractRegisterId][v.ProductId] = v
 			}
-			serviceAmountMap[v.ContractRegisterId][v.ProductId] = v
-			fmt.Println("ServiceAmount,ProductId", v.ServiceAmount, v.ProductId, v.ContractRegisterId)
 		}
 
 		// 获取汇总数据IDs, 用于查询合计数据