|
@@ -1,5 +1,6 @@
|
|
|
package com.ruoyi.web.controller.system;
|
|
|
|
|
|
+import java.util.Date;
|
|
|
import java.util.List;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
@@ -7,14 +8,7 @@ import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
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.PutMapping;
|
|
|
-import org.springframework.web.bind.annotation.DeleteMapping;
|
|
|
-import org.springframework.web.bind.annotation.PathVariable;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
import com.ruoyi.common.annotation.Log;
|
|
|
import com.ruoyi.common.core.controller.BaseController;
|
|
|
import com.ruoyi.common.core.domain.AjaxResult;
|
|
@@ -111,4 +105,23 @@ public class PostCollectionsSystemController extends BaseController
|
|
|
{
|
|
|
return toAjax(postCollectionsSystemService.deletePostCollectionsSystemByIds(ids));
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 根据套系名称进行查询
|
|
|
+ * @param title
|
|
|
+ * @param TimeLeft
|
|
|
+ * @param TimeRight
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @ApiOperation("根据套系名称进行查询")
|
|
|
+ @PreAuthorize("@ss.hasPermi('system:collections:queryCollections')")
|
|
|
+ @GetMapping("/queryCollections")
|
|
|
+ public TableDataInfo list(@RequestParam(value="title",required = false)String title,
|
|
|
+ @RequestParam(value="TimeLeft",required = false) Date TimeLeft,
|
|
|
+ @RequestParam(value="TimeRight",required = false) Date TimeRight)
|
|
|
+ {
|
|
|
+ startPage();
|
|
|
+ List<PostCollectionsSystem> list= postCollectionsSystemService.selectByTitleAndTime(title,TimeLeft,TimeRight);
|
|
|
+ return getDataTable(list);
|
|
|
+ }
|
|
|
}
|