ziwen 1 년 전
부모
커밋
41aa0f11e9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      controller/contract/register.go

+ 1 - 1
controller/contract/register.go

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