fixed
This commit is contained in:
@@ -82,6 +82,7 @@ class Reporttt
|
|||||||
'wechat_no'=>input('wechat_no',''),//微信号
|
'wechat_no'=>input('wechat_no',''),//微信号
|
||||||
'form'=>'num_per',
|
'form'=>'num_per',
|
||||||
'ticket'=>$ticket,//对话票据'
|
'ticket'=>$ticket,//对话票据'
|
||||||
|
'date'=>date('Y-m-d')
|
||||||
];
|
];
|
||||||
|
|
||||||
$contentstr = input('content');
|
$contentstr = input('content');
|
||||||
@@ -158,6 +159,8 @@ class Reporttt
|
|||||||
$DATAID = Db::table('fa_tt_userbaseinfo')->insert($basedata);
|
$DATAID = Db::table('fa_tt_userbaseinfo')->insert($basedata);
|
||||||
$item['userbaseid'] = $DATAID;
|
$item['userbaseid'] = $DATAID;
|
||||||
Db::table('fa_tt_medical_report')->insert($item);
|
Db::table('fa_tt_medical_report')->insert($item);
|
||||||
|
//日期
|
||||||
|
$item['date'] = date('Y-m-d');
|
||||||
//统一存档
|
//统一存档
|
||||||
Db::table(TabConf::$fa_hdrmedical_report)->insert($item);
|
Db::table(TabConf::$fa_hdrmedical_report)->insert($item);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -127,7 +127,8 @@ class Reportty
|
|||||||
'form'=>'ty',
|
'form'=>'ty',
|
||||||
];
|
];
|
||||||
$report_id = Db::table('fa_ty_medical_report')->insertGetId($data);
|
$report_id = Db::table('fa_ty_medical_report')->insertGetId($data);
|
||||||
|
//日期
|
||||||
|
$data['date'] = date('Y-m-d');
|
||||||
//统一存档
|
//统一存档
|
||||||
Db::table(TabConf::$fa_hdrmedical_report)->insert($data);
|
Db::table(TabConf::$fa_hdrmedical_report)->insert($data);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user