我正在制作薪资软件,但是当我为员工支付薪水时遇到了一些问题,如何检查出勤表是否已满 [英] i am making payroll software but i m facing some problem when i making salary of employee how can i check that attendance table fill or not

查看:69
本文介绍了我正在制作薪资软件,但是当我为员工支付薪水时遇到了一些问题,如何检查出勤表是否已满的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

< pre lang ="c#">我正在制作薪资软件,但是在我为员工支付薪水时遇到了一些问题,如何检查出勤表是否已填写</pre>

<pre lang="c#">i am making payroll software but i m facing some problem when i making salary of employee how can i check that attendance table fill or not</pre>

推荐答案

有很多方法可以做到这一点.
但简单的方法是..

在执行工资的任何操作之前,您需要首先根据您的where条件触发一个选择查询,如果该选择查询返回任何内容,则它会确认您出勤表中是否有某件事,并使用薪水或出勤表做您想做的事情... ..

还是选择查询不返回任何东西,然后做你想要的...


这是简单的方法.
但是,正如我在开始尝试说的那样,有很多方法可以尝试在存储过程中或使用函数或触发器制作PLSql逻辑
there are many ways for doing this..

but simple way is that..

before you perform any operation of salary you need first fire a select query based on your where criteria and if that select query returns any thing then its confirm you that some thing in attendance table and do what you want with salary or attendance table.....

or is select query is not returning any thing then do what you want...


this is the simple way..
but there is many way as i said at starting try to make PLSql logic in your store procedure or with functions or trigger


这篇关于我正在制作薪资软件,但是当我为员工支付薪水时遇到了一些问题,如何检查出勤表是否已满的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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