build_app
This commit is contained in:
		
							parent
							
								
									90208464ad
								
							
						
					
					
						commit
						9f9b072f55
					
				| @ -69,6 +69,9 @@ public class BuilderService { | ||||
| 		executeDump(true); | ||||
| 
 | ||||
| 		// ADD OTHER SERVICE | ||||
| addCustomMenu( "Todoapp","Todoapp",  "Transcations");  | ||||
| 
 | ||||
| 
 | ||||
| addCustomMenu( "Todo","Todo",  "Transcations");  | ||||
| 
 | ||||
| 
 | ||||
|  | ||||
| @ -24,11 +24,11 @@ import com.realnet.WhoColumn.Entity.Extension; | ||||
|  @GeneratedValue(strategy = GenerationType.IDENTITY) | ||||
|  private Integer id; | ||||
| 
 | ||||
| private String  taskname; | ||||
| private String  task_name; | ||||
| 
 | ||||
| private String  description; | ||||
| 
 | ||||
| private String duedate; | ||||
| private String due_date; | ||||
| 
 | ||||
| private String completed; | ||||
| 
 | ||||
|  | ||||
| @ -77,11 +77,11 @@ public Todoapp getdetailsbyId(Integer id) { | ||||
| 
 | ||||
| public Todoapp update(Todoapp data,Integer id) { | ||||
| 	Todoapp old = Repository.findById(id).get(); | ||||
| old.setTaskname(data.getTaskname()); | ||||
| old.setTask_name(data.getTask_name()); | ||||
| 
 | ||||
| old.setDescription(data.getDescription()); | ||||
| 
 | ||||
| old.setDuedate(data.getDuedate()); | ||||
| old.setDue_date(data.getDue_date()); | ||||
| 
 | ||||
| old.setCompleted(data.getCompleted()); | ||||
| 
 | ||||
|  | ||||
| @ -1,4 +1,2 @@ | ||||
| CREATE TABLE app-d.Todoitem(id BIGINT NOT NULL AUTO_INCREMENT, taskdescription VARCHAR(400), iscompleted bit(1), duedate Date,  PRIMARY KEY (id)); | ||||
| 
 | ||||
| CREATE TABLE app-d.Todo(id BIGINT NOT NULL AUTO_INCREMENT, description VARCHAR(400), taskname VARCHAR(400), iscompleted bit(1), duedate Date,  PRIMARY KEY (id)); | ||||
| CREATE TABLE app-d.Todoapp(id BIGINT NOT NULL AUTO_INCREMENT, description VARCHAR(400), due_date Date, completed bit(1), task_name VARCHAR(400),  PRIMARY KEY (id)); | ||||
| 
 | ||||
|  | ||||
| @ -23,7 +23,7 @@ | ||||
|         <div *ngIf="error;else loadingSpinner">{{error}}</div> | ||||
|     </clr-dg-placeholder> | ||||
| 
 | ||||
| <clr-dg-column [clrDgField]="'taskname'"> <ng-container *clrDgHideableColumn="{hidden: false}"> TaskName | ||||
| <clr-dg-column [clrDgField]="'task_name'"> <ng-container *clrDgHideableColumn="{hidden: false}"> Task Name | ||||
| 						    </ng-container></clr-dg-column> | ||||
| 
 | ||||
| 
 | ||||
| @ -31,7 +31,7 @@ | ||||
| 						    </ng-container></clr-dg-column> | ||||
| 
 | ||||
| 
 | ||||
| <clr-dg-column [clrDgField]="'duedate'"> <ng-container *clrDgHideableColumn="{hidden: false}"> DueDate | ||||
| <clr-dg-column [clrDgField]="'due_date'"> <ng-container *clrDgHideableColumn="{hidden: false}"> Due Date | ||||
| 						    </ng-container></clr-dg-column> | ||||
| 
 | ||||
| 
 | ||||
| @ -47,13 +47,13 @@ | ||||
| 
 | ||||
|  <clr-dg-row *clrDgItems="let user of product" [clrDgItem]="user"> | ||||
| 
 | ||||
| <clr-dg-cell>{{user.taskname }}</clr-dg-cell> | ||||
| <clr-dg-cell>{{user.task_name }}</clr-dg-cell> | ||||
| 
 | ||||
| 
 | ||||
| <clr-dg-cell>{{user.description }}</clr-dg-cell> | ||||
| 
 | ||||
| 
 | ||||
| <clr-dg-cell>{{user.duedate }}</clr-dg-cell> | ||||
| <clr-dg-cell>{{user.due_date }}</clr-dg-cell> | ||||
| 
 | ||||
| 
 | ||||
| <clr-dg-cell>{{user.completed }}</clr-dg-cell> | ||||
| @ -236,8 +236,8 @@ | ||||
|     <form > | ||||
| <div class="clr-row">  | ||||
| <div class="clr-col-sm-12">        | ||||
| <label>TaskName</label> | ||||
| 	        <input class="clr-input"  type="text" [(ngModel)]="rowSelected.taskname" name="taskname" /> | ||||
| <label>Task Name</label> | ||||
| 	        <input class="clr-input"  type="text" [(ngModel)]="rowSelected.task_name" name="task_name" /> | ||||
| 	      </div> | ||||
| 
 | ||||
| <div class="clr-col-sm-12">        | ||||
| @ -246,8 +246,8 @@ | ||||
| 	      </div> | ||||
| 
 | ||||
| <div class="clr-col-sm-12">        | ||||
| <label>DueDate</label> | ||||
| 	        <input id="name" class="clr-input"  type="date" [(ngModel)]="rowSelected.duedate" name="duedate" /> | ||||
| <label>Due Date</label> | ||||
| 	        <input id="name" class="clr-input"  type="date" [(ngModel)]="rowSelected.due_date" name="due_date" /> | ||||
| 	      </div> | ||||
| 
 | ||||
| <div class="clr-col-sm-12">        | ||||
| @ -330,8 +330,8 @@ | ||||
|    <div class="clr-row" style="height: fit-content;"> | ||||
| 
 | ||||
| <div class="clr-col-sm-12"> | ||||
|  <label>  TaskName</label> | ||||
|  <input class="clr-input"  type="text"  formControlName="taskname" />        | ||||
|  <label>  Task Name</label> | ||||
|  <input class="clr-input"  type="text"  formControlName="task_name" />        | ||||
|  </div> | ||||
| 
 | ||||
| <div class="clr-col-sm-12"> | ||||
| @ -340,8 +340,8 @@ | ||||
|  </div> | ||||
| 
 | ||||
| <div class="clr-col-sm-12"> | ||||
|  <label>  DueDate</label> | ||||
|  <input class="clr-input"  type="date"  formControlName="duedate" />        | ||||
|  <label>  Due Date</label> | ||||
|  <input class="clr-input"  type="date"  formControlName="due_date" />        | ||||
|  </div> | ||||
| 
 | ||||
| <div class="clr-col-sm-12"> | ||||
|  | ||||
| @ -64,11 +64,11 @@ private userInfoService:UserInfoService, | ||||
|     this.userrole=this.userInfoService.getRoles(); | ||||
|     this.getData(); | ||||
|     this.entryForm = this._fb.group({ | ||||
| taskname : [null], | ||||
| task_name : [null], | ||||
| 
 | ||||
| description : [null], | ||||
| 
 | ||||
| duedate : [null], | ||||
| due_date : [null], | ||||
| 
 | ||||
| completed : [null], | ||||
| 
 | ||||
|  | ||||
| @ -1,3 +1,4 @@ | ||||
| 
 | ||||
| import { TodoComponent } from './BuilderComponents/app-b/Todo/Todo.component'; | ||||
| 
 | ||||
| import { TodoappComponent } from './BuilderComponents/app-b/Todoapp/Todoapp.component'; | ||||
| @ -279,6 +280,8 @@ const routes: Routes = [ | ||||
| 
 | ||||
| 
 | ||||
|       // buildercomponents
 | ||||
| 
 | ||||
| 
 | ||||
| {path:'Todo',component:TodoComponent}, | ||||
| 
 | ||||
| 
 | ||||
|  | ||||
| @ -1,3 +1,4 @@ | ||||
| 
 | ||||
| import { TodoComponent } from './BuilderComponents/app-b/Todo/Todo.component'; | ||||
| 
 | ||||
| import { TodoappComponent } from './BuilderComponents/app-b/Todoapp/Todoapp.component'; | ||||
| @ -152,6 +153,8 @@ import { MyworkspaceComponent } from './admin/myworkspace/myworkspace.component' | ||||
| 
 | ||||
| 
 | ||||
|     // buildercomponents
 | ||||
| 
 | ||||
| 
 | ||||
| TodoComponent, | ||||
| 
 | ||||
| 
 | ||||
|  | ||||
| @ -226,4 +226,9 @@ | ||||
|   "MENU_ACTION_LINK": "Menu Action Link", | ||||
|   "STATUS": "Status", | ||||
|   "SUB_MENU": "Sub Menu", | ||||
|   "Todoapp": "Todoapp", | ||||
|   "Description": "Description", | ||||
|   "Due_Date": "Due_Date", | ||||
|   "Completed": "Completed", | ||||
|   "Task_Name": "Task_Name" | ||||
| } | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user