diff --git a/stop_watch_app-stop_watch_app-b-b/authsec_springboot/backend/src/main/java/com/realnet/Builders/Services/BuilderService.java b/stop_watch_app-stop_watch_app-b-b/authsec_springboot/backend/src/main/java/com/realnet/Builders/Services/BuilderService.java index 882a8f7..866b396 100644 --- a/stop_watch_app-stop_watch_app-b-b/authsec_springboot/backend/src/main/java/com/realnet/Builders/Services/BuilderService.java +++ b/stop_watch_app-stop_watch_app-b-b/authsec_springboot/backend/src/main/java/com/realnet/Builders/Services/BuilderService.java @@ -75,6 +75,9 @@ addCustomMenu( "Stopwatch","Stopwatch", "Transcations"); addCustomMenu( "Stopwatch","Stopwatch", "Transcations"); +addCustomMenu( "Stopwatch","Stopwatch", "Transcations"); + + addCustomMenu( "Stopwatch","Stopwatch", "Transcations"); diff --git a/stop_watch_app-stop_watch_app-b-b/authsec_springboot/backend/src/main/java/com/realnet/stopwatch/Entity/Stopwatch.java b/stop_watch_app-stop_watch_app-b-b/authsec_springboot/backend/src/main/java/com/realnet/stopwatch/Entity/Stopwatch.java index 2170760..cfd5117 100644 --- a/stop_watch_app-stop_watch_app-b-b/authsec_springboot/backend/src/main/java/com/realnet/stopwatch/Entity/Stopwatch.java +++ b/stop_watch_app-stop_watch_app-b-b/authsec_springboot/backend/src/main/java/com/realnet/stopwatch/Entity/Stopwatch.java @@ -24,13 +24,13 @@ import com.realnet.WhoColumn.Entity.Extension; @GeneratedValue(strategy = GenerationType.IDENTITY) private Integer id; -private int hours; +private String starttime; -private int minutes; +private String endtime; -private int seconds; +private int duration; -private int milliseconds; +private String status; } diff --git a/stop_watch_app-stop_watch_app-b-b/authsec_springboot/backend/src/main/java/com/realnet/stopwatch/Services/StopwatchService.java b/stop_watch_app-stop_watch_app-b-b/authsec_springboot/backend/src/main/java/com/realnet/stopwatch/Services/StopwatchService.java index 3a16b59..997fa55 100644 --- a/stop_watch_app-stop_watch_app-b-b/authsec_springboot/backend/src/main/java/com/realnet/stopwatch/Services/StopwatchService.java +++ b/stop_watch_app-stop_watch_app-b-b/authsec_springboot/backend/src/main/java/com/realnet/stopwatch/Services/StopwatchService.java @@ -77,13 +77,13 @@ public Stopwatch getdetailsbyId(Integer id) { public Stopwatch update(Stopwatch data,Integer id) { Stopwatch old = Repository.findById(id).get(); -old.setHours(data.getHours()); +old.setStarttime(data.getStarttime()); -old.setMinutes(data.getMinutes()); +old.setEndtime(data.getEndtime()); -old.setSeconds(data.getSeconds()); +old.setDuration(data.getDuration()); -old.setMilliseconds(data.getMilliseconds()); +old.setStatus(data.getStatus()); final Stopwatch test = Repository.save(old); data.setUpdatedBy(getUser().getUserId()); diff --git a/stop_watch_app-stop_watch_app-d-d/authsec_mysql/mysql/wf_table/wf_table.sql b/stop_watch_app-stop_watch_app-d-d/authsec_mysql/mysql/wf_table/wf_table.sql index 21201bc..a38ba5e 100755 --- a/stop_watch_app-stop_watch_app-d-d/authsec_mysql/mysql/wf_table/wf_table.sql +++ b/stop_watch_app-stop_watch_app-d-d/authsec_mysql/mysql/wf_table/wf_table.sql @@ -1,6 +1,2 @@ -CREATE TABLE stop_watch_app-d.Stopwatch(id BIGINT NOT NULL AUTO_INCREMENT, currenttime int, laptime VARCHAR(400), isrunning bit(1), PRIMARY KEY (id)); - -CREATE TABLE stop_watch_app-d.Stopwatch(id BIGINT NOT NULL AUTO_INCREMENT, duration int, starttime Date, stoptime Date, status VARCHAR(400), PRIMARY KEY (id)); - -CREATE TABLE stop_watch_app-d.Stopwatch(id BIGINT NOT NULL AUTO_INCREMENT, milliseconds int, hours int, seconds int, minutes int, PRIMARY KEY (id)); +CREATE TABLE stop_watch_app-d.Stopwatch(id BIGINT NOT NULL AUTO_INCREMENT, duration int, starttime Date, endtime Date, status VARCHAR(400), PRIMARY KEY (id)); diff --git a/stop_watch_app-stop_watch_app-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/stopwatch/Stopwatch/Stopwatch.component.html b/stop_watch_app-stop_watch_app-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/stopwatch/Stopwatch/Stopwatch.component.html index 3c9748a..f96bd77 100644 --- a/stop_watch_app-stop_watch_app-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/stopwatch/Stopwatch/Stopwatch.component.html +++ b/stop_watch_app-stop_watch_app-f-f/authsec_angular/frontend/angular-clarity-master/src/app/modules/main/BuilderComponents/stopwatch/Stopwatch/Stopwatch.component.html @@ -1,10 +1,10 @@
-

StopWatch

+

Stopwatch