|
|
@@ -4,8 +4,10 @@ import java.util.List;
|
|
|
import java.util.Arrays;
|
|
|
|
|
|
import com.zhongzheng.modules.top.financial.bo.*;
|
|
|
+import com.zhongzheng.modules.top.financial.service.ITopCostInstTpItemService;
|
|
|
import com.zhongzheng.modules.top.financial.service.ITopCostInstTpService;
|
|
|
import com.zhongzheng.modules.top.financial.vo.TopCostInstTpVo;
|
|
|
+import com.zhongzheng.modules.top.goods.vo.TopCourseEducationTypeVo;
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
@@ -40,6 +42,8 @@ public class TopCostInstTpController extends BaseController {
|
|
|
|
|
|
private final ITopCostInstTpService iTopCostInstTpService;
|
|
|
|
|
|
+ private final ITopCostInstTpItemService iTopCostInstTpItemService;
|
|
|
+
|
|
|
/**
|
|
|
* 查询供应商成本模板列表
|
|
|
*/
|
|
|
@@ -52,6 +56,14 @@ public class TopCostInstTpController extends BaseController {
|
|
|
return getDataTable(list);
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation("查询供应商成本模板所有业务层次列表")
|
|
|
+ @PreAuthorize("@ss.hasPermi('system:tp:list')")
|
|
|
+ @GetMapping("/businessList")
|
|
|
+ public AjaxResult<List<TopCourseEducationTypeVo>> businessList(TopCostInstTpItemQueryBo bo) {
|
|
|
+ List<TopCourseEducationTypeVo> list = iTopCostInstTpItemService.queryEduList(bo);
|
|
|
+ return AjaxResult.success(list);
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
/**
|
|
|
* 获取供应商成本模板详细信息
|