Commit 150c462b authored by David黄金龙's avatar David黄金龙

处理一处字段错误

parent ed630adc
......@@ -138,10 +138,10 @@ extension YHBasicInfoFillViewController {
for (index0,item0) in item.arrQuestionItem.enumerated() {
if index0 == 0 {
let value = ["has":item0.answer,"info":item0.answer == "Y" ? item0.info : ""]
applicant.updateValue(value, forKey: "child_deny")
applicant.updateValue(value, forKey: "child_departure")
} else if index0 == 1 {
let value = ["has":item0.answer,"info":item0.answer == "Y" ? item0.info : ""]
applicant.updateValue(value, forKey: "child_departure")
applicant.updateValue(value, forKey: "child_deny")
} else {
printLog("其他数据没有处理")
}
......@@ -160,10 +160,10 @@ extension YHBasicInfoFillViewController {
for (index0,item0) in item.arrQuestionItem.enumerated() {
if index0 == 0 {
let value = ["has":item0.answer,"info":item0.answer == "Y" ? item0.info : ""]
applicant.updateValue(value, forKey: "child_deny")
applicant.updateValue(value, forKey: "child_departure")
} else if index0 == 1 {
let value = ["has":item0.answer,"info":item0.answer == "Y" ? item0.info : ""]
applicant.updateValue(value, forKey: "child_departure")
applicant.updateValue(value, forKey: "child_deny")
} else {
printLog("其他数据没有处理")
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment