功能说明:获取预算明细
请求方式:POST(HTTPS)multipart/form-data
请求地址:https://qwif.do1.com.cn/qwcgi/api/remiApi/getBudgetDetail.do?token=token&corpId=corpId
参数名 |
释义 |
类型 |
是否必须 |
备注 |
---|---|---|---|---|
corpId |
公司唯一标识 |
String |
是 | |
token |
用于验证 |
String |
是 | |
year | 预算年份 | Integer | 是 |
|
projId | 成本中心id | String | 否 | 如果成本中心id为空默认查询整年预算 |
ReimApi api = QwSdkUtil.getInter(ReimApi.class); GetBudgetDetailResultVO res = api.getBudgetDetail( QwSdkUtil.getCacheToken(), SdkConfig.getString("corpId"), 2019, "dfc6ad2dae54434793a1669966b6e175"); System.out.println(JSONUtil.stringify(res));
{ "code":"0", "data": { "budgetDetailList": [ { "approval":0, "budget":0, "budgetId":"4be8d41c03c446758772fdf7491af118", "centerCostId":"dfc6ad2dae54434793a1669966b6e175", "createTime":"2019-07-15 17:47:01", "currentApproval":0, "currentUsed":0, "dimension":"second_season", "id":"2b74c56c55494591b640bd9890d69547", "subjId":"86e1b7394f85426b91803bff9f991913", "subjType":1, "surplus":0, "totalUsed":0, "type":2, "year":2014 }, { "approval":0, "budget":0, "budgetId":"4be8d41c03c446758772fdf7491af118", "centerCostId":"dfc6ad2dae54434793a1669966b6e175", "createTime":"2019-07-15 17:47:01", "currentApproval":0, "currentUsed":0, "dimension":"third_season", "id":"3ab70a859dad4bb7a6a4470dda9cd458", "subjId":"86e1b7394f85426b91803bff9f991913", "subjType":1, "surplus":0, "totalUsed":0, "type":2, "year":2014 }, { "approval":0, "budget":300000, "budgetId":"4be8d41c03c446758772fdf7491af118", "centerCostId":"dfc6ad2dae54434793a1669966b6e175", "createTime":"2019-07-15 14:52:39", "currentApproval":0, "currentUsed":0, "dimension":"fourth_season", "id":"4a7daca0b12e43af8b41fa1ea151e2c1", "subjId":"0215d941-4a63-4f35-bb5e-e7d728455fe2", "subjType":0, "surplus":240000, "totalUsed":0, "type":2, "year":2014 }, { "approval":0, "budget":300000, "budgetId":"4be8d41c03c446758772fdf7491af118", "centerCostId":"dfc6ad2dae54434793a1669966b6e175", "createTime":"2019-07-15 14:52:39", "currentApproval":0, "currentUsed":0, "dimension":"second_season", "id":"56b878a1c05e44539abad17b878cdd60", "subjId":"0215d941-4a63-4f35-bb5e-e7d728455fe2", "subjType":0, "surplus":240000, "totalUsed":0, "type":2, "year":2014 }, { "approval":0, "budget":0, "budgetId":"4be8d41c03c446758772fdf7491af118", "centerCostId":"dfc6ad2dae54434793a1669966b6e175", "createTime":"2019-07-15 17:47:01", "currentApproval":0, "currentUsed":0, "dimension":"first_season", "id":"d433aa9fccfe47d0a21ef5671b21de2e", "subjId":"86e1b7394f85426b91803bff9f991913", "subjType":1, "surplus":0, "totalUsed":0, "type":2, "year":2014 }, { "approval":0, "budget":300000, "budgetId":"4be8d41c03c446758772fdf7491af118", "centerCostId":"dfc6ad2dae54434793a1669966b6e175", "createTime":"2019-07-15 14:52:39", "currentApproval":0, "currentUsed":0, "dimension":"third_season", "id":"e19365adb766406996eb40b1f9ee6d58", "subjId":"0215d941-4a63-4f35-bb5e-e7d728455fe2", "subjType":0, "surplus":240000, "totalUsed":0, "type":2, "year":2014 }, { "approval":0, "budget":300000, "budgetId":"4be8d41c03c446758772fdf7491af118", "centerCostId":"dfc6ad2dae54434793a1669966b6e175", "createTime":"2019-07-15 14:52:39", "currentApproval":0, "currentUsed":0, "dimension":"first_season", "id":"f3cee88a5daf4705a09cd667ed9b7a3d", "subjId":"0215d941-4a63-4f35-bb5e-e7d728455fe2", "subjType":0, "surplus":240000, "totalUsed":0, "type":2, "year":2014 }, { "approval":0, "budget":0, "budgetId":"4be8d41c03c446758772fdf7491af118", "centerCostId":"dfc6ad2dae54434793a1669966b6e175", "createTime":"2019-07-15 17:47:01", "currentApproval":0, "currentUsed":0, "dimension":"fourth_season", "id":"f857f10b53f4415790cc7382a72de6e0", "subjId":"86e1b7394f85426b91803bff9f991913", "subjType":1, "surplus":0, "totalUsed":0, "type":2, "year":2014 } ], "budgetList": [ { "approval":0, "centerCostId":"dfc6ad2dae54434793a1669966b6e175", "createTime":"2019-07-15 14:52:14", "currentApproval":0, "currentUsed":0, "dimensionType":2, "generalBudget":1200000, "generalUsed":0, "id":"4be8d41c03c446758772fdf7491af118", "parentId":"87d497c425be4de4a2b8e4572df6ae1f", "practicalBudget":960000, "projName":"道一云", "status":0 } ] }, "desc":"成功" }
字段 |
类型 |
是否为空 |
描述 | |
---|---|---|---|---|
budgetList |
budgetId |
String |
否 |
预算id |
centerCostId |
String |
否 |
成本中心id | |
parentId |
String |
否 |
上级预算id,0表示根节点 | |
projName |
String |
否 |
成本中心名称 | |
status |
String |
否 |
预算状态0启用1禁用 | |
generalBudget |
BigDecimal |
否 |
总预算 | |
practicalBudget |
BigDecimal |
否 |
实际可用预算 | |
generalUsed |
BigDecimal |
否 |
总已用 | |
approval |
BigDecimal |
否 |
总冻结金额 | |
currentApproval |
BigDecimal |
否 |
本级冻结金额 | |
currentUsed |
BigDecimal |
否 |
本级已用 | |
createTime |
BigDecimal |
否 |
预算创建时间 | |
dimensionType |
Integer |
否 |
1-月,2-季度,3-年 | |
budgetDetailList |
budgetId |
String |
否 |
预算id |
type |
Integer |
否 |
1-月,2-季度,3-年 | |
year |
Integer |
否 |
预算年份 | |
dimension |
String |
否 |
预算时间 January:1月 February :2月 March:3月 April:4月 May:5月 June:6月 July:7月 August:8月 September:9月 October:10月 November:11月 December:12月 first_season:Q1 second_season:Q2 third_season:Q3 fourth_season:Q4 year:年 | |
centerCostId |
String |
否 |
成本中心id | |
subjId |
String |
否 |
科目id | |
budget |
BigDecimal |
否 |
预算金额 | |
totalUsed |
BigDecimal |
否 |
累计已使用金额 | |
approval |
BigDecimal |
否 |
累计冻结金额 | |
currentApproval |
BigDecimal |
否 |
本级审批中金额 | |
surplus |
BigDecimal |
否 |
剩余金额 | |
createTime |
String |
否 |
预算创建时间 |