Skip to content

Commit

Permalink
[UPDATED]- Bulk uploading completion date
Browse files Browse the repository at this point in the history
  • Loading branch information
ndasanayaka committed Dec 2, 2024
1 parent f3d2a2d commit d4fa16b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
9 changes: 9 additions & 0 deletions src/net/qldarch/archobj/ProjectObj.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ public class ProjectObj {
@JsonProperty("australian")
private boolean australian;

@JsonProperty("completionpd")
private Short completionpd;

@JsonProperty("demolished")
private boolean demolished;

Expand Down Expand Up @@ -86,6 +89,12 @@ public Date getCompletion() {
public void setCompletion(Date completion ) {
this.completion = completion;
}
public Short getCompletionpd() {
return completionpd;
}
public void setCompletionpd(Short completionpd) {
this.completionpd = completionpd;
}
public String getSummary() {
return summary;
}
Expand Down
4 changes: 4 additions & 0 deletions src/net/qldarch/archobj/WsUpdateBulkArchObj.java
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,10 @@ public Response create( MultivaluedMap<String, Object> data) {
}
if (projectObj.getCompletion()!=null)
params.add("completion",projectObj.getCompletion());

if (projectObj.getCompletionpd()!=null) {
params.add("completionpd",projectObj.getCompletionpd());
}
if (projectObj.getSummary()!=null)
params.add("summary",projectObj.getSummary());
if (projectObj.getAssociateArchitect() !=null) {
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.5
0.1.6

0 comments on commit d4fa16b

Please sign in to comment.