|
@@ -8,6 +8,7 @@ import io.swagger.annotations.ApiOperation;
|
|
import lombok.AllArgsConstructor;
|
|
import lombok.AllArgsConstructor;
|
|
import org.springblade.control.dto.ControlProjectInfoDTO;
|
|
import org.springblade.control.dto.ControlProjectInfoDTO;
|
|
import org.springblade.control.dto.ProjectCostBudgetDTO;
|
|
import org.springblade.control.dto.ProjectCostBudgetDTO;
|
|
|
|
+import org.springblade.control.entity.DictInfo;
|
|
import org.springblade.control.entity.ProjectCostBudget;
|
|
import org.springblade.control.entity.ProjectCostBudget;
|
|
import org.springblade.control.service.IProjectCostBudgetService;
|
|
import org.springblade.control.service.IProjectCostBudgetService;
|
|
import org.springblade.control.vo.*;
|
|
import org.springblade.control.vo.*;
|
|
@@ -168,5 +169,24 @@ public class ProjectCostBudgetController {
|
|
return R.data(budgetService.planFinishedRatio(deptId,userId,start,end));
|
|
return R.data(budgetService.planFinishedRatio(deptId,userId,start,end));
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 查询预览-费用分类列表
|
|
|
|
+ */
|
|
|
|
+ @GetMapping("/getCostType")
|
|
|
|
+ @ApiOperationSupport(order = 12)
|
|
|
|
+ @ApiOperation(value = "查询预览-费用分类列表")
|
|
|
|
+ public R<List<DictInfo>> getCostType(){
|
|
|
|
+ return R.data(budgetService.getCostType());
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 查询预览-单位列表
|
|
|
|
+ */
|
|
|
|
+ @GetMapping("/getUnitType")
|
|
|
|
+ @ApiOperationSupport(order = 13)
|
|
|
|
+ @ApiOperation(value = "查询预览-单位列表")
|
|
|
|
+ public R<List<DictInfo>> getUnitType(){
|
|
|
|
+ return R.data(budgetService.getUnitType());
|
|
|
|
+ }
|
|
|
|
|
|
}
|
|
}
|