如何每小时添加一个值 [英] How to add a value every hour

查看:80
本文介绍了如何每小时添加一个值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

基本上,我正在创建一个EmployeeManagementSystem。



我基本上想知道如何每小时为运行总计添加一个值。



原因是因为工资单。



我想在运行总额中增加15.50英镑的工资那个人工资。



因此,每过一小时我就要将15.50英镑加到运行总计上,它会不断更新数据库的总数。



谢谢。

Basically, I'm creating an EmployeeManagementSystem.

I basically want to know how to add a value on to a running total every hour.

The reason is because of the payrol.

I want to add a wage of £15.50 to the running total of that persons wage.

So every hour that goes by i want £15.50 to be added onto the running total, and it would keep updating the total that is withing a database.

Thanks.

推荐答案

我认为录制开始时间和结束时间数据会提供很多更健壮的系统。



这样可以更容易地审核结果。



这是怎么回事我见过的所有其他工资单系统都有效。



工资单是可验证性非常重要的那些讨厌系统之一。
I would think recording start time and end time data would provide a much more robust system.

It would make it much easier to audit the results.

This is how every other payroll system I've seen works.

Payroll is one of those nasty systems where verifiability is extremely important.


这篇关于如何每小时添加一个值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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