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