Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PERFORMA_REPLICA
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Muhammad Usman
PERFORMA_REPLICA
Commits
9052c03b
Commit
9052c03b
authored
Apr 27, 2018
by
Nilu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding IsPPJ attribute to job
parent
de28186a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
19 additions
and
0 deletions
+19
-0
Job.xml
cmsWebApp/sql/Job.xml
+1
-0
Job.sql
cmsWebApp/sql/ms/Job.sql
+1
-0
Job.sql
cmsWebApp/sql/oracle/Job.sql
+1
-0
Job.sql
cmsWebApp/sql/postgres/Job.sql
+1
-0
MakePaymentFP.java
cmsWebApp/src/performa/form/MakePaymentFP.java
+1
-0
BaseJob.java
cmsWebApp/src/performa/orm/BaseJob.java
+0
-0
Job.xml
cmsWebApp/src/performa/orm/Job.xml
+1
-0
JobPersistenceMgr.java
cmsWebApp/src/performa/orm/JobPersistenceMgr.java
+0
-0
20180426_Alter_Job.xml
...ot/extensions/adminportal/upgrades/20180426_Alter_Job.xml
+13
-0
No files found.
cmsWebApp/sql/Job.xml
View file @
9052c03b
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
<column
name=
"country"
type=
"String"
nullable=
"true"
length=
"200"
/>
<column
name=
"country"
type=
"String"
nullable=
"true"
length=
"200"
/>
<column
name=
"manually_closed"
type=
"Boolean"
nullable=
"true"
/>
<column
name=
"manually_closed"
type=
"Boolean"
nullable=
"true"
/>
<column
name=
"last_edited"
type=
"Date"
nullable=
"true"
/>
<column
name=
"last_edited"
type=
"Date"
nullable=
"true"
/>
<column
name=
"is_ppj"
type=
"Boolean"
nullable=
"true"
/>
<column
name=
"level_id"
type=
"Long"
length=
"11"
nullable=
"true"
/>
<column
name=
"level_id"
type=
"Long"
length=
"11"
nullable=
"true"
/>
<column
name=
"client_id"
type=
"Long"
length=
"11"
nullable=
"true"
/>
<column
name=
"client_id"
type=
"Long"
length=
"11"
nullable=
"true"
/>
<column
name=
"company_user_id"
type=
"Long"
length=
"11"
nullable=
"true"
/>
<column
name=
"company_user_id"
type=
"Long"
length=
"11"
nullable=
"true"
/>
...
...
cmsWebApp/sql/ms/Job.sql
View file @
9052c03b
...
@@ -25,6 +25,7 @@ CREATE TABLE tl_job (
...
@@ -25,6 +25,7 @@ CREATE TABLE tl_job (
country
varchar
(
200
)
NULL
,
country
varchar
(
200
)
NULL
,
manually_closed
char
(
1
)
NULL
,
manually_closed
char
(
1
)
NULL
,
last_edited
datetime
NULL
,
last_edited
datetime
NULL
,
is_ppj
char
(
1
)
NULL
,
level_id
numeric
(
12
)
NULL
,
level_id
numeric
(
12
)
NULL
,
client_id
numeric
(
12
)
NULL
,
client_id
numeric
(
12
)
NULL
,
company_user_id
numeric
(
12
)
NULL
,
company_user_id
numeric
(
12
)
NULL
,
...
...
cmsWebApp/sql/oracle/Job.sql
View file @
9052c03b
...
@@ -26,6 +26,7 @@ CREATE TABLE tl_job (
...
@@ -26,6 +26,7 @@ CREATE TABLE tl_job (
country
varchar2
(
200
)
NULL
,
country
varchar2
(
200
)
NULL
,
manually_closed
char
(
1
)
NULL
,
manually_closed
char
(
1
)
NULL
,
last_edited
date
NULL
,
last_edited
date
NULL
,
is_ppj
char
(
1
)
NULL
,
level_id
number
(
12
)
NULL
,
level_id
number
(
12
)
NULL
,
client_id
number
(
12
)
NULL
,
client_id
number
(
12
)
NULL
,
company_user_id
number
(
12
)
NULL
,
company_user_id
number
(
12
)
NULL
,
...
...
cmsWebApp/sql/postgres/Job.sql
View file @
9052c03b
...
@@ -26,6 +26,7 @@ CREATE TABLE tl_job (
...
@@ -26,6 +26,7 @@ CREATE TABLE tl_job (
country
varchar
(
200
)
NULL
,
country
varchar
(
200
)
NULL
,
manually_closed
char
(
1
)
NULL
,
manually_closed
char
(
1
)
NULL
,
last_edited
timestamp
NULL
,
last_edited
timestamp
NULL
,
is_ppj
char
(
1
)
NULL
,
level_id
numeric
(
12
)
NULL
,
level_id
numeric
(
12
)
NULL
,
client_id
numeric
(
12
)
NULL
,
client_id
numeric
(
12
)
NULL
,
company_user_id
numeric
(
12
)
NULL
,
company_user_id
numeric
(
12
)
NULL
,
...
...
cmsWebApp/src/performa/form/MakePaymentFP.java
View file @
9052c03b
...
@@ -94,6 +94,7 @@ public class MakePaymentFP extends SaveFP
...
@@ -94,6 +94,7 @@ public class MakePaymentFP extends SaveFP
job
.
setOpenDate
(
new
Date
());
job
.
setOpenDate
(
new
Date
());
job
.
setJobStatus
(
JobStatus
.
OPEN
);
job
.
setJobStatus
(
JobStatus
.
OPEN
);
job
.
setLastEdited
(
new
Date
());
job
.
setLastEdited
(
new
Date
());
job
.
setIsPPJ
(
ppj
);
if
(
job
.
getShortenedURL
()
==
null
)
if
(
job
.
getShortenedURL
()
==
null
)
{
{
...
...
cmsWebApp/src/performa/orm/BaseJob.java
View file @
9052c03b
This diff is collapsed.
Click to expand it.
cmsWebApp/src/performa/orm/Job.xml
View file @
9052c03b
...
@@ -48,6 +48,7 @@
...
@@ -48,6 +48,7 @@
<ATTRIB
name=
"Country"
type=
"Countries"
dbcol=
"country"
defaultValue=
"Countries.AU"
attribHelper=
"EnumeratedAttributeHelper"
/>
<ATTRIB
name=
"Country"
type=
"Countries"
dbcol=
"country"
defaultValue=
"Countries.AU"
attribHelper=
"EnumeratedAttributeHelper"
/>
<ATTRIB
name=
"IsManuallyClosed"
type=
"Boolean"
dbcol=
"manually_closed"
defaultValue=
"Boolean.FALSE"
/>
<ATTRIB
name=
"IsManuallyClosed"
type=
"Boolean"
dbcol=
"manually_closed"
defaultValue=
"Boolean.FALSE"
/>
<ATTRIB
name=
"LastEdited"
type=
"Date"
dbcol=
"last_edited"
/>
<ATTRIB
name=
"LastEdited"
type=
"Date"
dbcol=
"last_edited"
/>
<ATTRIB
name=
"IsPPJ"
type=
"Boolean"
dbcol=
"is_ppj"
defaultValue=
"Boolean.FALSE"
/>
<SINGLEREFERENCE
name=
"Level"
type=
"Level"
dbcol=
"level_id"
mandatory=
"false"
/>
<SINGLEREFERENCE
name=
"Level"
type=
"Level"
dbcol=
"level_id"
mandatory=
"false"
/>
<SINGLEREFERENCE
name=
"Client"
type=
"Client"
dbcol=
"client_id"
backreferenceName=
"Jobs"
/>
<SINGLEREFERENCE
name=
"Client"
type=
"Client"
dbcol=
"client_id"
backreferenceName=
"Jobs"
/>
...
...
cmsWebApp/src/performa/orm/JobPersistenceMgr.java
View file @
9052c03b
This diff is collapsed.
Click to expand it.
cmsWebApp/webroot/extensions/adminportal/upgrades/20180426_Alter_Job.xml
0 → 100644
View file @
9052c03b
<?xml version="1.0" encoding="UTF-8"?>
<!-- @AutoRun -->
<OBJECTS
name=
""
xmlns:oneit=
"http://www.1iT.com.au"
>
<NODE
name=
"Script"
factory=
"Vector"
>
<NODE
name=
"DDL"
factory=
"Participant"
class=
"oneit.sql.transfer.RedefineTableOperation"
>
<tableName
factory=
"String"
>
tl_job
</tableName>
<column
name=
"is_ppj"
type=
"Boolean"
nullable=
"true"
/>
</NODE>
</NODE>
</OBJECTS>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment