| | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.apache.ibatis.annotations.Select; |
| | | import org.jeecg.modules.mdc.dto.MdcEquDepDto; |
| | | import org.jeecg.modules.mdc.dto.MdcEquProDto; |
| | | import org.jeecg.modules.mdc.dto.MdcEquipmentDto; |
| | |
| | | import org.jeecg.modules.mdc.vo.WorkshopEquipmentVo; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * @Description: 设备表 |
| | |
| | | IPage<MdcEquipment> pageList(Page<MdcEquipment> page, @Param("mdcEquipment") MdcEquipmentVo mdcEquipment); |
| | | |
| | | @InterceptorIgnore(tenantLine = "1") |
| | | MdcEquipmentDto getWorkLineLast(@Param("tableName") String saveTableName); |
| | | @Select("select TOP 1 CollectTime ${columns} from [${tableName}] order by CollectTime desc") |
| | | Map<String, Object> getWorkLineLast(Map<String, Object> param); |
| | | |
| | | /** |
| | | * 导出list |
| | | * @param mdcEquipment |
| | | * @return |
| | | */ |
| | | List<MdcEquipment> exportXlsList(@Param("mdcEquipment") MdcEquipmentVo mdcEquipment); |
| | | |
| | | /** |
| | | * 查询单表数据 |
| | | * @param tableName |
| | | * @return |
| | | */ |
| | | @InterceptorIgnore(tenantLine = "1") |
| | | MdcEquipmentDto findWorkLineLast(@Param("tableName") String tableName); |
| | | } |