返回列表 回复 发帖

升级当中出现排班丢失的问题

由于建立了t_employeeshift 和t_shift之间的外键约束,所以,升级数据库的时候,t_employeeshift表可能会不能导入新的数据库,通过以下语句可以手动的导入:

insert into humanresource.dbo.t_employeeshift select * from hrtemp.dbo.t_employeeshift where shiftid in (select shiftid from hrtemp.dbo.t_shift)
It’s now or never
返回列表