Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
business-java
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Proteus
business-java
Commits
5c4a351a
Commit
5c4a351a
authored
Apr 15, 2020
by
CORP\sonam.kamble
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes done for vist unavailable to_date
parent
f8f0e12f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
webitm-dashboard/ibase/dashboard/crm/ejb/Appointment.java
webitm-dashboard/ibase/dashboard/crm/ejb/Appointment.java
+2
-2
No files found.
webitm-dashboard/ibase/dashboard/crm/ejb/Appointment.java
View file @
5c4a351a
...
@@ -368,7 +368,7 @@ public class Appointment
...
@@ -368,7 +368,7 @@ public class Appointment
if
(!
""
.
equalsIgnoreCase
(
lineNo
))
if
(!
""
.
equalsIgnoreCase
(
lineNo
))
{
{
int
cnt
=
0
;
int
cnt
=
0
;
sql
=
"select count(1) as cnt from VISIT_UNAVAILABLE where SC_CODE = ? and FR_DATE = ? and TO_DA
A
TE = ? and VIST_REF_NO = ? "
;
sql
=
"select count(1) as cnt from VISIT_UNAVAILABLE where SC_CODE = ? and FR_DATE = ? and TO_DATE = ? and VIST_REF_NO = ? "
;
pStmt
=
conn
.
prepareStatement
(
sql
);
pStmt
=
conn
.
prepareStatement
(
sql
);
pStmt
.
setString
(
1
,
userCode
);
pStmt
.
setString
(
1
,
userCode
);
pStmt
.
setTimestamp
(
2
,
fromDtTStmp
);
pStmt
.
setTimestamp
(
2
,
fromDtTStmp
);
...
@@ -391,7 +391,7 @@ public class Appointment
...
@@ -391,7 +391,7 @@ public class Appointment
else
else
{
{
cnt
=
0
;
cnt
=
0
;
sql
=
"INSERT INTO VISIT_UNAVAILABLE (SC_CODE,FR_DATE,TO_DA
A
TE,VIST_REF_NO,REMARK) VALUES (?,?,?,?,?)"
;
sql
=
"INSERT INTO VISIT_UNAVAILABLE (SC_CODE,FR_DATE,TO_DATE,VIST_REF_NO,REMARK) VALUES (?,?,?,?,?)"
;
pStmt
=
conn
.
prepareStatement
(
sql
);
pStmt
=
conn
.
prepareStatement
(
sql
);
pStmt
.
setString
(
1
,
userCode
);
pStmt
.
setString
(
1
,
userCode
);
pStmt
.
setTimestamp
(
2
,
fromDtTStmp
);
pStmt
.
setTimestamp
(
2
,
fromDtTStmp
);
...
...
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