如何在RFID Swiping Project中找到第一次和最后一次刷卡 [英] how to find the first and last swiping in RFID Swiping Project

查看:67
本文介绍了如何在RFID Swiping Project中找到第一次和最后一次刷卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开发了Rfid刷卡机项目,因为我有一个问题,我想根据第一个swipIn和最后一个swipeOut来计算每个和每个员工的总工作时间。



请帮助我....





谢谢和问候



Venkat

I develop the Rfid swiping machine project in that i have a problem that is i want to calculate the total working hours of each and Every Employee of based on first swipIn and last swipeOut .

pls help me....


Thanks & Regards

Venkat

推荐答案

试试我以前的帖子。在您的情况下,表结构可能会有所不同。如果您发布表结构,可以优化答案。



在Sql Server 2008中计算时间 [ ^ ]
Try my previous post. The table structure might be different in you case. Can refine the answer if you post the table structure.

Calculation of Time in Sql Server 2008[^]


表Structor就像下面



日期,EmpName,EmpId,EMpRFID,SwipeIn,SwipeOut,小时



i实现每次刷卡和刷卡时间和还有SwipeIn和Swipe之间的小时数。

但我想先用SwipeIn和Last SwipeOut来计算一天的总工作时间。





请帮帮我......
The table Structor is like Below

Date,EmpName,EmpId,EMpRFID,SwipeIn,SwipeOut,Hours

i implements the Every time Swipe in and Swipeout Time and also hours of in between SwipeIn and Swipe out .
but i want first SwipeIn and Last SwipeOut for calculate total working hours in a day.


pls help me...


这篇关于如何在RFID Swiping Project中找到第一次和最后一次刷卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆