Commit 5a54d3d1 authored by msinkar's avatar msinkar

adding the changes for attendance compliance dashboard

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@187980 ce508802-f39f-4f6c-b175-0d175dae99d5
parent c747fae8
...@@ -362,7 +362,7 @@ public class AttendanceCompliance extends ValidatorEJB implements AttendanceComp ...@@ -362,7 +362,7 @@ public class AttendanceCompliance extends ValidatorEJB implements AttendanceComp
"FROM users WHERE code = '"+loginId+"' AND STATUS='A' ) " + "FROM users WHERE code = '"+loginId+"' AND STATUS='A' ) " +
"CONNECT BY prior emp_code = report_to ) )A ";*/ "CONNECT BY prior emp_code = report_to ) )A ";*/
//commented by mrunalini sinkar on 20-july-2018 Required to much time to execute quey(end) //commented by mrunalini sinkar on 20-july-2018 Required to much time to execute quey(end)
//Added by mrunalini sinkar on 20-july-2018 Required to much time to execute quey(end) //Added by mrunalini sinkar on 20-july-2018 Required to much time to execute quey(start)
sql="SELECT SUM(CASE WHEN REP_NONREP='R' THEN 1 ELSE 0 END ) AS Reported , " + sql="SELECT SUM(CASE WHEN REP_NONREP='R' THEN 1 ELSE 0 END ) AS Reported , " +
" SUM(CASE WHEN REP_NONREP='NR' THEN 1 ELSE 0 END ) AS NonReported, " + " SUM(CASE WHEN REP_NONREP='NR' THEN 1 ELSE 0 END ) AS NonReported, " +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment