Commit 4a041590 authored by neo's avatar neo

[DEV] add project id where retrun approval info

parent eccb98ba
...@@ -111,6 +111,7 @@ public interface PeriodApproveMapper extends MyVatMapper { ...@@ -111,6 +111,7 @@ public interface PeriodApproveMapper extends MyVatMapper {
@Select("<script>" + @Select("<script>" +
"SELECT " + "SELECT " +
" p.NAME AS projectName, " + " p.NAME AS projectName, " +
" pa.PROJECT_ID AS projectId, " +
" pa.PERIOD AS period, " + " pa.PERIOD AS period, " +
" pa.INSTANCE_ID AS instanceId, " + " pa.INSTANCE_ID AS instanceId, " +
" u1.USER_NAME AS createBy, " + " u1.USER_NAME AS createBy, " +
......
...@@ -4,6 +4,7 @@ import java.sql.Date; ...@@ -4,6 +4,7 @@ import java.sql.Date;
public class ApprovalTaskInfo { public class ApprovalTaskInfo {
private String projectName; private String projectName;
private String projectId;
private Integer period; private Integer period;
private String instanceId; private String instanceId;
private String createBy; private String createBy;
...@@ -93,4 +94,12 @@ public class ApprovalTaskInfo { ...@@ -93,4 +94,12 @@ public class ApprovalTaskInfo {
public void setReportPaths(String reportPaths) { public void setReportPaths(String reportPaths) {
this.reportPaths = reportPaths; this.reportPaths = reportPaths;
} }
public String getProjectId() {
return projectId;
}
public void setProjectId(String projectId) {
this.projectId = projectId;
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment