package com.hxhq.business.controller;

import java.util.Arrays;
import java.util.List;

import com.hxhq.business.form.study.StudyCellSearchForm;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import com.hxhq.business.domain.Cell;
import com.hxhq.business.service.ICellService;
import com.hxhq.common.core.web.controller.BaseController;
import com.hxhq.common.core.web.domain.AjaxResult;
import com.hxhq.common.core.web.page.TableDataInfo;


/**
 * 细胞Controller
 *
 * @author hxhq
 * @date 2026-01-12
 */
@RestController
@RequestMapping("/business/cell")
public class CellController extends BaseController
{
    @Autowired
    private ICellService cellService;

    /**
     * 查询细胞列表
     */
    @GetMapping("/studyList")
    public TableDataInfo list(StudyCellSearchForm form)
    {
        startPage();
        List<Cell> list = cellService.queryStudyList(form);
        return getDataTable(list);
    }

}
