Эх сурвалжийг харах

Merge branch 'pool_677' into debug

ziwen 1 жил өмнө
parent
commit
850b740bfa

+ 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{