增加使用状态、最后修改时间、文件ID、文件组ID
This commit is contained in:
parent
e77bbf11f6
commit
34951256da
@ -81,6 +81,8 @@ import com.actionsoft.sdk.local.SDK;
|
|||||||
* 流程清单-web
|
* 流程清单-web
|
||||||
*/
|
*/
|
||||||
public class PALRepositoryListWeb extends ActionWeb {
|
public class PALRepositoryListWeb extends ActionWeb {
|
||||||
|
private static SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
||||||
|
|
||||||
UserContext _uc;
|
UserContext _uc;
|
||||||
public PALRepositoryListWeb() {
|
public PALRepositoryListWeb() {
|
||||||
}
|
}
|
||||||
@ -889,6 +891,15 @@ public class PALRepositoryListWeb extends ActionWeb {
|
|||||||
JSONObject statusObj = getJsonObject("status", "status", "状态", "状态", "150", "150", false, columnType, "selectStatus");
|
JSONObject statusObj = getJsonObject("status", "status", "状态", "状态", "150", "150", false, columnType, "selectStatus");
|
||||||
statusObj.put("filters", getProcessStatusFilters());
|
statusObj.put("filters", getProcessStatusFilters());
|
||||||
map.put("status", statusObj);
|
map.put("status", statusObj);
|
||||||
|
|
||||||
|
//使用状态
|
||||||
|
map.put("is_use", getJsonObject("is_use", "is_use", "使用状态", "使用状态", "150", "150", false, columnType, "default"));
|
||||||
|
//最后修改时间
|
||||||
|
map.put("modify_date", getJsonObject("modify_date", "modify_date", "修改时间", "修改时间", "150", "150", false, columnType, "default"));
|
||||||
|
//文件ID
|
||||||
|
map.put("file_id", getJsonObject("file_id", "file_id", "文件ID", "文件ID", "150", "150", false, columnType, "default"));
|
||||||
|
//文件组ID
|
||||||
|
map.put("group_id", getJsonObject("group_id", "group_id", "文件组ID", "文件组ID", "150", "150", false, columnType, "default"));
|
||||||
// map.put("parent_name",getJsonObject("parent_name","parent_name","上级名称","上级名称","250","250",false,columnType,"name"));
|
// map.put("parent_name",getJsonObject("parent_name","parent_name","上级名称","上级名称","250","250",false,columnType,"name"));
|
||||||
}
|
}
|
||||||
return map;
|
return map;
|
||||||
@ -1116,6 +1127,20 @@ public class PALRepositoryListWeb extends ActionWeb {
|
|||||||
return model.getInput();
|
return model.getInput();
|
||||||
case "output":
|
case "output":
|
||||||
return model.getOutput();
|
return model.getOutput();
|
||||||
|
case "is_use":
|
||||||
|
return model.isUse()?"使用中":"非使用中";
|
||||||
|
case "modify_date":
|
||||||
|
String modifyDate = "";
|
||||||
|
try {
|
||||||
|
modifyDate = sdf.format(model.getModifyDate());
|
||||||
|
} catch (Exception e) {
|
||||||
|
e.getMessage();
|
||||||
|
}
|
||||||
|
return modifyDate;
|
||||||
|
case "file_id":
|
||||||
|
return model.getId();
|
||||||
|
case "group_id":
|
||||||
|
return model.getVersionId();
|
||||||
default:
|
default:
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user