|
@@ -58,7 +58,8 @@ public class DcDocumentController extends BaseController
|
|
Integer pageSize =(Integer) maps.get("pageSize");
|
|
Integer pageSize =(Integer) maps.get("pageSize");
|
|
DcDocument dcDocument = new DcDocument();
|
|
DcDocument dcDocument = new DcDocument();
|
|
BeanUtils.mapToBean(maps, dcDocument);
|
|
BeanUtils.mapToBean(maps, dcDocument);
|
|
- PageResult pageResult = documentService.selectDcDocumentList(page,pageSize,dcDocument);
|
|
|
|
|
|
+ PageResult pageResult = documentService.selectDcDocumentList(page,pageSize,dcDocument,maps);
|
|
|
|
+
|
|
return AjaxResultCQY.success("查询成功", pageResult);
|
|
return AjaxResultCQY.success("查询成功", pageResult);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -97,7 +98,7 @@ public class DcDocumentController extends BaseController
|
|
* 删除文档
|
|
* 删除文档
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
- @GetMapping("/delete/{dcbId}")
|
|
|
|
|
|
+ @GetMapping("/dele/{dcbId}")
|
|
public @ResponseBody AjaxResultCQY delete(@PathVariable("dcbId") Long dcbId) {
|
|
public @ResponseBody AjaxResultCQY delete(@PathVariable("dcbId") Long dcbId) {
|
|
try{
|
|
try{
|
|
documentService.deleteDcDocumentById(dcbId);
|
|
documentService.deleteDcDocumentById(dcbId);
|
|
@@ -107,6 +108,18 @@ public class DcDocumentController extends BaseController
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 获取数据块详细信息
|
|
|
|
+ * 更具id查询信息
|
|
|
|
+ */
|
|
|
|
+ @GetMapping(value = "/info/{dcm_id}")
|
|
|
|
+ public AjaxResultCQY getInfo(@PathVariable("dcm_id") Long dcbId) {
|
|
|
|
+ return AjaxResultCQY.success(documentService.selectDcDocumentByDcmId(dcbId));
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
//
|
|
//
|
|
// @Autowired
|
|
// @Autowired
|
|
// private IExportService exportService;
|
|
// private IExportService exportService;
|