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

Merge branch 'pool_677' into debug

ziwen 1 жил өмнө
parent
commit
f4e54ee9f9

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