if ( (select COUNT(*) from Hr where 考勤号码 = '149' and 日期时间 = '2015/7/3 12:00:26') = 0 )
INSERT  INTO [BPM].[dbo].[Hr](部门,姓名,考勤号码,日期时间) VALUES ('总公司','142','149','2015/7/3 12:00:26')