forked from kidgrow-microservices-platform

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package com.kidgrow.oprationcenter.service;
 
import com.kidgrow.common.model.PageResult;
import com.kidgrow.common.service.ISuperService;
import com.kidgrow.oprationcenter.model.BusinessRecords;
 
import java.util.Map;
 
/**
 * 石家庄喜高科技有限责任公司 版权所有 © Copyright 2020<br>
 * @Description: 业务操作记录<br>
 * @Project: 用户中心<br>
 * @CreateDate: Created in 2020-04-01 09:37:05 <br>
 * @Author: <a href="4345453@kidgrow.com">liuke</a>
 * @version 1.0
 */
public interface IBusinessRecordsService extends ISuperService<BusinessRecords> {
    /**
     * 列表
     * @param params
     * @return
     */
    PageResult<BusinessRecords> findList(Map<String, Object> params);
 
 
    /**
    * 根据BusinessRecords对象当做查询条件进行查询
    * @param businessRecords
    * @return BusinessRecords对象
    */
    BusinessRecords findByObject(BusinessRecords businessRecords);
 
    /**
     * 写入系统业务日志
     * @param recordTitle 日志标题
     * @param recordNote 日志内容
     * @return
     */
    boolean recordBusinessData(String  recordTitle, String recordNote);
}