瀏覽代碼

Merge branch 'pool_677' into debug

ziwen 1 年之前
父節點
當前提交
f4e54ee9f9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controller/contract/register.go

+ 1 - 1
controller/contract/register.go

@@ -3913,7 +3913,7 @@ func (rg *RegisterController) CheckContractDuplicate(c *gin.Context) {
 	}
 
 	existCond = ` AND a.contract_type = ? AND a.has_payment = ?`
-	existPars = append(existPars, req.CompanyName, req.HasPayment)
+	existPars = append(existPars, req.ContractType, req.HasPayment)
 
 	data := fms.CheckContractDuplicateResp{
 		Exist: 0,