build_app
This commit is contained in:
		
							parent
							
								
									b718dff91c
								
							
						
					
					
						commit
						110b7a14cc
					
				| @ -72,6 +72,9 @@ public class BuilderService { | ||||
| addCustomMenu( "Note","Note",  "Transcations");  | ||||
| 
 | ||||
| 
 | ||||
| addCustomMenu( "Note","Note",  "Transcations");  | ||||
| 
 | ||||
| 
 | ||||
| addCustomMenu( "Calculator","Calculator",  "Transcations");  | ||||
| 
 | ||||
| 
 | ||||
|  | ||||
| @ -20,9 +20,9 @@ import com.realnet.WhoColumn.Entity.Extension; | ||||
|  @GeneratedValue(strategy = GenerationType.IDENTITY) | ||||
|  private Integer id; | ||||
| 
 | ||||
| private String  notetitle; | ||||
| private String  title; | ||||
| 
 | ||||
| private String  notecontent; | ||||
| private String  content; | ||||
| 
 | ||||
| 
 | ||||
| } | ||||
|  | ||||
| @ -65,9 +65,9 @@ public Note getdetailsbyId(Integer id) { | ||||
| 
 | ||||
| public Note update(Note data,Integer id) { | ||||
| 	Note old = Repository.findById(id).get(); | ||||
| old.setNotetitle(data.getNotetitle()); | ||||
| old.setTitle(data.getTitle()); | ||||
| 
 | ||||
| old.setNotecontent(data.getNotecontent()); | ||||
| old.setContent(data.getContent()); | ||||
| 
 | ||||
| final Note test = Repository.save(old); | ||||
| 		data.setUpdatedBy(getUser().getUserId()); | ||||
|  | ||||
| @ -1,2 +1,2 @@ | ||||
| CREATE TABLE app-d.Note(id BIGINT NOT NULL AUTO_INCREMENT, notecontent VARCHAR(400), notetitle VARCHAR(400),  PRIMARY KEY (id)); | ||||
| CREATE TABLE app-d.Note(id BIGINT NOT NULL AUTO_INCREMENT, content VARCHAR(400), title VARCHAR(400),  PRIMARY KEY (id)); | ||||
| 
 | ||||
|  | ||||
| @ -23,11 +23,11 @@ | ||||
|         <div *ngIf="error;else loadingSpinner">{{error}}</div> | ||||
|     </clr-dg-placeholder> | ||||
| 
 | ||||
| <clr-dg-column [clrDgField]="'notetitle'"> <ng-container *clrDgHideableColumn="{hidden: false}"> NoteTitle | ||||
| <clr-dg-column [clrDgField]="'title'"> <ng-container *clrDgHideableColumn="{hidden: false}"> Title | ||||
| 						    </ng-container></clr-dg-column> | ||||
| 
 | ||||
| 
 | ||||
| <clr-dg-column [clrDgField]="'notecontent'"> <ng-container *clrDgHideableColumn="{hidden: false}"> NoteContent | ||||
| <clr-dg-column [clrDgField]="'content'"> <ng-container *clrDgHideableColumn="{hidden: false}"> Content | ||||
| 						    </ng-container></clr-dg-column> | ||||
| 
 | ||||
|   | ||||
| @ -39,10 +39,10 @@ | ||||
| 
 | ||||
|  <clr-dg-row *clrDgItems="let user of product" [clrDgItem]="user"> | ||||
| 
 | ||||
| <clr-dg-cell>{{user.notetitle }}</clr-dg-cell> | ||||
| <clr-dg-cell>{{user.title }}</clr-dg-cell> | ||||
| 
 | ||||
| 
 | ||||
| <clr-dg-cell>{{user.notecontent }}</clr-dg-cell> | ||||
| <clr-dg-cell>{{user.content }}</clr-dg-cell> | ||||
| 
 | ||||
|   | ||||
|   <!-- who column --> | ||||
| @ -214,13 +214,13 @@ | ||||
|     <form > | ||||
| <div class="clr-row">  | ||||
| <div class="clr-col-sm-12">        | ||||
| <label>NoteTitle</label> | ||||
| 	        <input class="clr-input"  type="text" [(ngModel)]="rowSelected.notetitle" name="notetitle" /> | ||||
| <label>Title</label> | ||||
| 	        <input class="clr-input"  type="text" [(ngModel)]="rowSelected.title" name="title" /> | ||||
| 	      </div> | ||||
| 
 | ||||
| <div class="clr-col-sm-12">        | ||||
| <label>NoteContent</label> | ||||
| 	        <input class="clr-input"  type="text" [(ngModel)]="rowSelected.notecontent" name="notecontent" /> | ||||
| <label>Content</label> | ||||
| 	        <input class="clr-input"  type="text" [(ngModel)]="rowSelected.content" name="content" /> | ||||
| 	      </div> | ||||
| 
 | ||||
|   </div>  | ||||
| @ -290,13 +290,13 @@ | ||||
|    <div class="clr-row" style="height: fit-content;"> | ||||
| 
 | ||||
| <div class="clr-col-sm-12"> | ||||
|  <label>  NoteTitle</label> | ||||
|  <input class="clr-input"  type="text"  formControlName="notetitle" />        | ||||
|  <label>  Title</label> | ||||
|  <input class="clr-input"  type="text"  formControlName="title" />        | ||||
|  </div> | ||||
| 
 | ||||
| <div class="clr-col-sm-12"> | ||||
|  <label>  NoteContent</label> | ||||
|  <input class="clr-input"  type="text"  formControlName="notecontent" />        | ||||
|  <label>  Content</label> | ||||
|  <input class="clr-input"  type="text"  formControlName="content" />        | ||||
|  </div> | ||||
| 
 | ||||
|   | ||||
|  | ||||
| @ -64,9 +64,9 @@ private userInfoService:UserInfoService, | ||||
|     this.userrole=this.userInfoService.getRoles(); | ||||
|     this.getData(); | ||||
|     this.entryForm = this._fb.group({ | ||||
| notetitle : [null], | ||||
| title : [null], | ||||
| 
 | ||||
| notecontent : [null], | ||||
| content : [null], | ||||
| 
 | ||||
| 
 | ||||
|   | ||||
|  | ||||
| @ -3,6 +3,7 @@ | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| import { StopwatchComponent } from './BuilderComponents/app-b/Stopwatch/Stopwatch.component'; | ||||
| 
 | ||||
| 
 | ||||
| @ -302,6 +303,8 @@ const routes: Routes = [ | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| {path:'Stopwatch',component:StopwatchComponent}, | ||||
| 
 | ||||
| 
 | ||||
|  | ||||
| @ -3,6 +3,7 @@ | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| import { StopwatchComponent } from './BuilderComponents/app-b/Stopwatch/Stopwatch.component'; | ||||
| 
 | ||||
| 
 | ||||
| @ -175,6 +176,8 @@ import { MyworkspaceComponent } from './admin/myworkspace/myworkspace.component' | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| StopwatchComponent, | ||||
| 
 | ||||
| 
 | ||||
|  | ||||
| @ -226,7 +226,7 @@ | ||||
|   "MENU_ACTION_LINK": "Menu Action Link", | ||||
|   "STATUS": "Status", | ||||
|   "SUB_MENU": "Sub Menu", | ||||
|   "Content": "Content", | ||||
|   "Note": "Note", | ||||
|   "NoteContent": "NoteContent", | ||||
|   "NoteTitle": "NoteTitle" | ||||
|   "Title": "Title" | ||||
| } | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user