From bfd7201c84e250e88b9a83ba55317b16f08c7a38 Mon Sep 17 00:00:00 2001 From: feige <feige@qq.com> Date: 星期五, 15 九月 2023 12:00:24 +0800 Subject: [PATCH] 定义了EsModel作为报错到es的数据模型,每个表要存储的是每个表的表明 表对应的主键,以及要被检索的字段 --- zhang-content/src/main/java/com/ruoyi/service/IZfPropertyService.java | 18 +++++++++++++++++- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git a/zhang-content/src/main/java/com/ruoyi/service/IZfPropertyService.java b/zhang-content/src/main/java/com/ruoyi/service/IZfPropertyService.java index 53c8598..9106639 100644 --- a/zhang-content/src/main/java/com/ruoyi/service/IZfPropertyService.java +++ b/zhang-content/src/main/java/com/ruoyi/service/IZfPropertyService.java @@ -2,7 +2,9 @@ import com.baomidou.mybatisplus.extension.service.IService; import com.ruoyi.common.core.domain.AjaxResult; +import com.ruoyi.domain.ZfEquipment; import com.ruoyi.domain.ZfProperty; +import org.springframework.web.multipart.MultipartFile; import java.util.List; @@ -17,6 +19,20 @@ List<ZfProperty> selectByCondition(ZfProperty zfProperty); - AjaxResult selectUserList(ZfProperty zfProperty,Integer pageNum,Integer pageSize); + AjaxResult selectDataList(ZfProperty zfProperty,Integer pageNum,Integer pageSize); + List<ZfProperty> selectByIds(Long[] ids); + + List<ZfProperty> selectByFamilyIds(Long[] familyIds); + AjaxResult addData(ZfProperty zfProperty); + + AjaxResult updateData(ZfProperty zfProperty); + + AjaxResult deleteData(Long[] ids); + +// AjaxResult addData2(ZfProperty zfProperty); + + AjaxResult importExcel(MultipartFile file); + + AjaxResult listType(); } -- Gitblit v1.9.1