package com.hotent.project.controller;


import com.hotent.base.annotation.ApiGroup;
import com.hotent.base.constants.ApiGroupConsts;
import com.hotent.project.model.CostProjectSurvey;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import com.hotent.base.model.CommonResult;
import com.hotent.base.util.StringUtil;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.web.bind.annotation.RestController;
import com.hotent.base.controller.BaseController;
import com.hotent.project.model.CostProjectProccessTemplete;
import com.hotent.project.manager.CostProjectProccessTempleteManager;

import java.util.List;

/**
 * 流程表 前端控制器
 *
 * @company 山西清众科技股份有限公司
 * @author 超级管理员
 * @since 2025-10-01
 */
@RestController
@RequestMapping("/api/costProjectProccessTemplete/v1/")
@Api(tags = "流程模板表 只做查询")
@ApiGroup(group = {ApiGroupConsts.GROUP_COST})
public class CostProjectProccessTempleteController{

	@Autowired
	private CostProjectProccessTempleteManager costProjectProccessTempleteManager;



	//查询列表 不带分页

	@PostMapping(value = "list")
	@ApiOperation(value = "查询list", httpMethod = "POST", notes = "查询list")
	public CommonResult<List<CostProjectProccessTemplete>> list() {
		return CommonResult.<List<CostProjectProccessTemplete>>ok().value(costProjectProccessTempleteManager.list());
	}


}
