|
|
@ -8,6 +8,7 @@ import jakarta.servlet.http.HttpServletResponse; |
|
|
|
import jakarta.validation.constraints.*; |
|
|
|
import cn.dev33.satoken.annotation.SaCheckPermission; |
|
|
|
import org.apache.ibatis.annotations.Param; |
|
|
|
import org.dromara.platform.domain.AgreementInfo; |
|
|
|
import org.dromara.platform.domain.vo.ioCompanySelectVo; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
import org.springframework.validation.annotation.Validated; |
|
|
@ -124,4 +125,11 @@ public class InspectionPlanInfoController extends BaseController { |
|
|
|
Set<String> rs = inspectionPlanInfoService.getIoCompanyNames(); |
|
|
|
return R.ok(rs); |
|
|
|
} |
|
|
|
|
|
|
|
@SaCheckPermission("platform:inspectPlanInfo:findLeafNodeInfos") |
|
|
|
@GetMapping("/findLeafNodeInfos") |
|
|
|
public R<List<AgreementInfo>> findLeafNodeInfos( @Param("categoryId") String categoryId) { |
|
|
|
List<AgreementInfo> rs = inspectionPlanInfoService.findLeafNodeInfos(categoryId); |
|
|
|
return R.ok(rs); |
|
|
|
} |
|
|
|
} |
|
|
|