ソースを参照

Merge branch 'pool_677' into debug

ziwen 1 年間 前
コミット
850b740bfa
1 ファイル変更1 行追加1 行削除
  1. 1 1
      controller/contract/register.go

+ 1 - 1
controller/contract/register.go

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