Browse Source

Merge branch 'crm/crm_16.8' of http://8.136.199.33:3000/hongze/hz_crm_api into debug

zhangchuanxing 1 month ago
parent
commit
3aff5686d6
1 changed files with 5 additions and 0 deletions
  1. 5 0
      controllers/company_apply_v2.go

+ 5 - 0
controllers/company_apply_v2.go

@@ -155,6 +155,7 @@ func (this *CompanyApplyController) ApplyServiceUpdate() {
 			}
 			if totalLastYear > 0 {
 				raicontractType = "新签合同"
+				req.ContractType = "新签合同"
 			}
 		}
 
@@ -701,6 +702,10 @@ func (this *CompanyApplyController) ApplyTurnPositive() {
 			}
 		}
 	}
+	//权益合同类型,有一套单独的逻辑
+	if productId == 2 {
+		contractType = raicontractType
+	}
 
 	var companyApprovalId int
 	// 全新的申请转正