build_app
This commit is contained in:
parent
3ef44bd9e8
commit
02a531e42e
@ -75,6 +75,12 @@ addCustomMenu( "Note","Note", "Transcations");
|
|||||||
addCustomMenu( "Note","Note", "Transcations");
|
addCustomMenu( "Note","Note", "Transcations");
|
||||||
|
|
||||||
|
|
||||||
|
addCustomMenu( "Note","Note", "Transcations");
|
||||||
|
|
||||||
|
|
||||||
|
addCustomMenu( "Note","Note", "Transcations");
|
||||||
|
|
||||||
|
|
||||||
addCustomMenu( "Calculator","Calculator", "Transcations");
|
addCustomMenu( "Calculator","Calculator", "Transcations");
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -20,9 +20,9 @@ import com.realnet.WhoColumn.Entity.Extension;
|
|||||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||||
private Integer id;
|
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) {
|
public Note update(Note data,Integer id) {
|
||||||
Note old = Repository.findById(id).get();
|
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);
|
final Note test = Repository.save(old);
|
||||||
data.setUpdatedBy(getUser().getUserId());
|
data.setUpdatedBy(getUser().getUserId());
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
CREATE TABLE app-d.Note(id BIGINT NOT NULL AUTO_INCREMENT, lastmodifieddate Date, isimportant bit(1), content VARCHAR(400), createddate Date, title VARCHAR(400), PRIMARY KEY (id));
|
CREATE TABLE app-d.Note(id BIGINT NOT NULL AUTO_INCREMENT, lastmodifieddate Date, content VARCHAR(400), createddate Date, title VARCHAR(400), PRIMARY KEY (id));
|
||||||
|
|
||||||
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>
|
<div *ngIf="error;else loadingSpinner">{{error}}</div>
|
||||||
</clr-dg-placeholder>
|
</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>
|
</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>
|
</ng-container></clr-dg-column>
|
||||||
|
|
||||||
|
|
||||||
@ -39,10 +39,10 @@
|
|||||||
|
|
||||||
<clr-dg-row *clrDgItems="let user of product" [clrDgItem]="user">
|
<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 -->
|
<!-- who column -->
|
||||||
@ -214,13 +214,13 @@
|
|||||||
<form >
|
<form >
|
||||||
<div class="clr-row">
|
<div class="clr-row">
|
||||||
<div class="clr-col-sm-12">
|
<div class="clr-col-sm-12">
|
||||||
<label>NoteTitle</label>
|
<label>Title</label>
|
||||||
<input class="clr-input" type="text" [(ngModel)]="rowSelected.notetitle" name="notetitle" />
|
<input class="clr-input" type="text" [(ngModel)]="rowSelected.title" name="title" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="clr-col-sm-12">
|
<div class="clr-col-sm-12">
|
||||||
<label>NoteContent</label>
|
<label>Content</label>
|
||||||
<input class="clr-input" type="text" [(ngModel)]="rowSelected.notecontent" name="notecontent" />
|
<input class="clr-input" type="text" [(ngModel)]="rowSelected.content" name="content" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@ -290,13 +290,13 @@
|
|||||||
<div class="clr-row" style="height: fit-content;">
|
<div class="clr-row" style="height: fit-content;">
|
||||||
|
|
||||||
<div class="clr-col-sm-12">
|
<div class="clr-col-sm-12">
|
||||||
<label> NoteTitle</label>
|
<label> Title</label>
|
||||||
<input class="clr-input" type="text" formControlName="notetitle" />
|
<input class="clr-input" type="text" formControlName="title" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="clr-col-sm-12">
|
<div class="clr-col-sm-12">
|
||||||
<label> NoteContent</label>
|
<label> Content</label>
|
||||||
<input class="clr-input" type="text" formControlName="notecontent" />
|
<input class="clr-input" type="text" formControlName="content" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -64,9 +64,9 @@ private userInfoService:UserInfoService,
|
|||||||
this.userrole=this.userInfoService.getRoles();
|
this.userrole=this.userInfoService.getRoles();
|
||||||
this.getData();
|
this.getData();
|
||||||
this.entryForm = this._fb.group({
|
this.entryForm = this._fb.group({
|
||||||
notetitle : [null],
|
title : [null],
|
||||||
|
|
||||||
notecontent : [null],
|
content : [null],
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
import { NoteComponent } from './BuilderComponents/app-b/Note/Note.component';
|
import { NoteComponent } from './BuilderComponents/app-b/Note/Note.component';
|
||||||
|
|
||||||
import { CalculatorComponent } from './BuilderComponents/app-b/Calculator/Calculator.component';
|
import { CalculatorComponent } from './BuilderComponents/app-b/Calculator/Calculator.component';
|
||||||
@ -266,6 +268,10 @@ const routes: Routes = [
|
|||||||
// buildercomponents
|
// buildercomponents
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{path:'Note',component:NoteComponent},
|
{path:'Note',component:NoteComponent},
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
import { NoteComponent } from './BuilderComponents/app-b/Note/Note.component';
|
import { NoteComponent } from './BuilderComponents/app-b/Note/Note.component';
|
||||||
|
|
||||||
import { CalculatorComponent } from './BuilderComponents/app-b/Calculator/Calculator.component';
|
import { CalculatorComponent } from './BuilderComponents/app-b/Calculator/Calculator.component';
|
||||||
@ -139,6 +141,10 @@ import { MyworkspaceComponent } from './admin/myworkspace/myworkspace.component'
|
|||||||
// buildercomponents
|
// buildercomponents
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
NoteComponent,
|
NoteComponent,
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -226,4 +226,9 @@
|
|||||||
"MENU_ACTION_LINK": "Menu Action Link",
|
"MENU_ACTION_LINK": "Menu Action Link",
|
||||||
"STATUS": "Status",
|
"STATUS": "Status",
|
||||||
"SUB_MENU": "Sub Menu",
|
"SUB_MENU": "Sub Menu",
|
||||||
|
"LastModifiedDate": "LastModifiedDate",
|
||||||
|
"Content": "Content",
|
||||||
|
"Note": "Note",
|
||||||
|
"CreatedDate": "CreatedDate",
|
||||||
|
"Title": "Title"
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user