-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a083d9f
commit e2aa54c
Showing
4 changed files
with
97 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Manifest-Version: 1.0 | ||
Class-Path: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Querys> | ||
|
||
<query id="insert_employeedetails"> | ||
<![CDATA[ | ||
insert into employee_details(empFullName, empNIC, empGender, empEmail, empAge, empAddress, empContactNo, empCategory) | ||
values (?, ?, ?, ?, ?, ?, ?, ?) | ||
]]> | ||
</query> | ||
|
||
<query id="all_employeedetails"> | ||
<![CDATA[ | ||
select empId, empFullName, empNIC, empGender, empEmail, empAge, empAddress, empContactNo, empCategory | ||
from employee_details | ||
]]> | ||
</query> | ||
|
||
<query id="employeedetails_by_id"> | ||
<![CDATA[ | ||
select empid, empFullName, empNIC, empGender, empEmail, empAge, empAddress, empContactNo, empCategory | ||
from employee_details | ||
where empId = ? | ||
]]> | ||
</query> | ||
|
||
<query id="remove_employeedetails"> | ||
<![CDATA[ | ||
delete from employee_details where empId = ? | ||
]]> | ||
</query> | ||
|
||
<query id="update_employeedetails"> | ||
<![CDATA[ | ||
update employee_details as g | ||
set g.empFullName = ?, g.empNIC = ?, g.empGender = ?, g.empEmail = ?, | ||
g.empAge = ?, g.empAddress = ?, g.empContactNo = ?, g.empCategory = ? | ||
where g.empId = ? | ||
]]> | ||
</query> | ||
|
||
|
||
<query id="insert_vaccinedetails"> | ||
<![CDATA[ | ||
insert into vaccine_details(batch_number, vaccine_name, receive_date, country, expire_date, quantity) | ||
values (?, ?, ?, ?, ?, ?) | ||
]]> | ||
</query> | ||
|
||
<query id="all_vaccinedetails"> | ||
<![CDATA[ | ||
select vaccineNo, batch_number, vaccine_name, receive_date, country, expire_date, quantity | ||
from vaccine_details | ||
]]> | ||
</query> | ||
|
||
<query id="vaccinedetails_by_id"> | ||
<![CDATA[ | ||
select vaccineNo, batch_number, vaccine_name, receive, country, expire, quantity | ||
from vaccine_details | ||
where vaccineNo = ? | ||
]]> | ||
</query> | ||
|
||
<query id="remove_vaccinedetails"> | ||
<![CDATA[ | ||
delete from vaccine_details where vaccineNo = ? | ||
]]> | ||
</query> | ||
|
||
<query id="update_vaccinedetails"> | ||
<![CDATA[ | ||
update vaccine_details as g | ||
set g.batch_number = ?, g.vaccine_name = ?, g.receive = ?, g.country = ?, | ||
g.expire = ?, g.quantity = ? | ||
where g.vaccineNo = ? | ||
]]> | ||
</query> | ||
|
||
<query id="print_vaccinedetails"> | ||
<![CDATA[ | ||
select vaccineName, COUNT(*) as count | ||
from vaccine_details | ||
group by vaccineName | ||
]]> | ||
</query> | ||
|
||
</Querys> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" version="3.1"> | ||
<display-name>Red Cross Support Service</display-name> | ||
<welcome-file-list> | ||
<welcome-file>index.jsp</welcome-file> | ||
</welcome-file-list> | ||
</web-app> |