瀏覽代碼

新增操作记录功能

周浩 9 年之前
父節點
當前提交
4003e1c7b7

+ 17 - 0
hsweb-web-service-interface/src/main/java/org/hsweb/web/service/history/HistoryService.java

@@ -0,0 +1,17 @@
+package org.hsweb.web.service.history;
+
+import org.hsweb.web.bean.po.history.History;
+import org.hsweb.web.service.GenericService;
+
+/**
+ * Created by zhouhao on 16-4-22.
+ */
+public interface HistoryService extends GenericService<History, String> {
+    /**
+     * 根据类型,查询最后一条历史记录,如果不存在返回null
+     *
+     * @param type 类型
+     * @return 查询结果
+     */
+    History selectLastHistoryByType(String type) throws Exception;
+}