浏览代码

Merge branch 'bugfix_10/11'

ziwen 1 年之前
父节点
当前提交
38016ab1cd
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      controller/contract/register.go

+ 2 - 0
controller/contract/register.go

@@ -835,6 +835,8 @@ func (rg *RegisterController) Add(c *gin.Context) {
 		}
 		// 开票到款汇总
 		go fmsService.SummaryInvoicePaymentByContractRegisterId(ob.ContractRegisterId)
+		// 自动分配套餐金额
+		go fmsService.CalculatePaymentServiceAmount(ob.ContractRegisterId)
 		// 操作日志
 		go func() {
 			logOB := new(fms.ContractRegisterLog)