fix created at
This commit is contained in:
@@ -276,8 +276,8 @@ namespace TodoAPI2.Models
|
|||||||
where i.id == owner_eva_employee_id
|
where i.id == owner_eva_employee_id
|
||||||
select i).FirstOrDefault();
|
select i).FirstOrDefault();
|
||||||
string sql = $@"
|
string sql = $@"
|
||||||
insert into notifications(id,type,notifiable_type,notifiable_id,data)
|
insert into notifications(id,type,notifiable_type,notifiable_id,data,created_at)
|
||||||
values('{Guid.NewGuid().ToString()}','App\Notifications\WorkflowNotification','App\Models\User',{noti_to_user_id.ToString()},@data)
|
values('{Guid.NewGuid().ToString()}','App\Notifications\WorkflowNotification','App\Models\User',{noti_to_user_id.ToString()},@data,NOW())
|
||||||
";
|
";
|
||||||
DataOfNotification d = new DataOfNotification();
|
DataOfNotification d = new DataOfNotification();
|
||||||
d.title = noti_message.Replace("{0}", owner_info.fullname);
|
d.title = noti_message.Replace("{0}", owner_info.fullname);
|
||||||
|
|||||||
Reference in New Issue
Block a user