|
@@ -94,7 +94,7 @@ class appointmentlogic extends baselogic
|
|
|
return backarr(0, "测试类型错误");
|
|
|
}
|
|
|
$where = ['id' => $aid];
|
|
|
- $field = ['name', 'sfzid', 'telno', 'signurl', 'oprdate', 'ispay', 'isuse', 'payorderno', 'openid', 'code', 'id'];
|
|
|
+ $field = ['name', 'sfzid', 'telno', 'signurl', 'oprdate', 'ispay', 'isuse', 'payorderno', 'openid', 'code', 'id', 'age', 'gender', 'birthday'];
|
|
|
$ainfo = $m_a->getInfo($where, $field);
|
|
|
if (empty($ainfo)) {
|
|
|
return backarr(0, "无申请数据");
|
|
@@ -123,6 +123,9 @@ class appointmentlogic extends baselogic
|
|
|
'appointment_id' => $ainfo['id'],
|
|
|
'test_type' => $testtype,
|
|
|
'wid' => $winfo['id'],
|
|
|
+ 'age' => $ainfo['age'],
|
|
|
+ 'gender' => $ainfo['gender'],
|
|
|
+ 'birthday' => $ainfo['birthday'],
|
|
|
];
|
|
|
$tid = $m_t->insertData($tinsertData);
|
|
|
if (empty($tid)) {
|