陈少旭 4 месяцев назад
Родитель
Сommit
ad716cfc70
1 измененных файлов: 5 добавлений и 0 удалений
  1. 5 0
      controllers/admin_api_controllers/custom_api_controller.go

+ 5 - 0
controllers/admin_api_controllers/custom_api_controller.go Просмотреть файл

@@ -79,6 +79,7 @@ func (this *CustomAPIController) CreateCustom() {
79 79
 
80 80
 	client_remark := this.GetString("client_remark")
81 81
 	topline_time := this.GetString("topline_time")
82
+	sign_end_time := this.GetString("sign_end_time")
82 83
 
83 84
 	kyyChargeCustom := &models.KyyChargeCustom{
84 85
 		ImplementTime:                 implement_time,
@@ -130,6 +131,7 @@ func (this *CustomAPIController) CreateCustom() {
130 131
 		HardwareRemark:                hardwareRemark,
131 132
 		ClientRemark:                  client_remark,
132 133
 		ToplineTime:                   topline_time,
134
+		SignEndTime:                   sign_end_time,
133 135
 	}
134 136
 	//custom, _ := service.FindCustomInfo(xtOrgID)
135 137
 	//if custom.ID > 0 {
@@ -169,6 +171,8 @@ func (this *CustomAPIController) ModifyCustom() {
169 171
 		customType, _ := this.GetInt64("custom_type")
170 172
 		salesperson := this.GetString("salesperson")
171 173
 		signTime := this.GetString("sign_time")
174
+		sign_end_time := this.GetString("sign_end_time")
175
+
172 176
 		contractPrice := this.GetString("contract_price")
173 177
 		softwarePrice := this.GetString("software_price")
174 178
 		hardwarePrice := this.GetString("hardware_price")
@@ -178,6 +182,7 @@ func (this *CustomAPIController) ModifyCustom() {
178 182
 		topline_time := this.GetString("topline_time")
179 183
 		custom.CustomType = customType
180 184
 		custom.Salesperson = salesperson
185
+		custom.SignEndTime = sign_end_time
181 186
 		custom.SignTime = signTime
182 187
 		custom.ContractPrice = contractPrice
183 188
 		custom.SoftwarePrice = softwarePrice