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