Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mytime
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Narendar Vakiti
mytime
Commits
433a0ed7
Unverified
Commit
433a0ed7
authored
Jul 27, 2018
by
mmudrakola-nisum-com
Committed by
GitHub
Jul 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update MyTimeUtils.java
parent
27627f50
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
MyTimeUtils.java
src/main/java/com/nisum/mytime/utils/MyTimeUtils.java
+3
-3
No files found.
src/main/java/com/nisum/mytime/utils/MyTimeUtils.java
View file @
433a0ed7
...
...
@@ -78,7 +78,7 @@ public class MyTimeUtils {
public
final
static
String
ABESENT_STATUS_QUERY
=
"select emp.EmployeeCode,emp.FirstName,"
+
"MIN(tr.aDateTime) AS FirstLogin,MAX(tr.aDateTime) AS LastLogin\n"
+
"from Transactions as tr,EmployeeMaster as emp\n"
+
"where tr.EmployeemasterID=emp.EmployeeMasterID and \n"
+
"where tr.EmployeemasterID=emp.EmployeeMasterID and
EmployeeControllerStatus=1 and
\n"
+
"replace(convert(varchar,tr.aDateTime, 111), '/', '-')>= "
;
public
final
static
String
ABESENT_STATUS_QUERY1
=
" and \n"
+
"replace(convert(varchar,tr.aDateTime, 111), '/', '-')<= "
;
...
...
@@ -86,7 +86,7 @@ public class MyTimeUtils {
public
final
static
String
ABESENT_STATUS_QUERY3
=
" group by convert(varchar,tr.aDateTime, 111),emp.EmployeeCode,emp.FirstName"
;
public
final
static
String
ATTENDANCE_PRESENT_REPORT_QUERY
=
"select distinct emp.EmployeeCode,emp.FirstName,'P' as AttStatus\n"
+
" FROM Transactions as tr,EmployeeMaster as emp where tr.EmployeemasterID=emp.EmployeeMasterID and \n"
+
" FROM Transactions as tr,EmployeeMaster as emp where tr.EmployeemasterID=emp.EmployeeMasterID and
EmployeeControllerStatus=1 and
\n"
+
" replace(convert(varchar,tr.aDateTime, 111), '/', '-')= "
;
public
final
static
String
UNION
=
" Union "
;
public
final
static
String
ATTENDANCE_ABSENT_REPORT_QUERY
=
"select distinct M.EmployeeCode,M.FirstName,'A' as AttStatus from [smartiSCC].[dbo].[EmployeeMaster] M \n"
+
...
...
@@ -102,4 +102,4 @@ public class MyTimeUtils {
public
static
final
String
LEAD
=
"Lead"
;
public
static
final
String
IS_ACTIVE
=
"isActive"
;
}
\ No newline at end of file
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment