add 处理历史数据接口
This commit is contained in:
+16
-1
@@ -1154,7 +1154,22 @@ public class SysBaseApiImpl implements ISysBaseAPI {
|
||||
huaWeiSmsUtil.sendMessageNotice( phone, sender, templateId, signature, templateParas);
|
||||
}
|
||||
|
||||
/**
|
||||
@Override
|
||||
public List<JSONObject> getLogByRequestParam(String requestParam) {
|
||||
LambdaQueryWrapper<SysLog> wrapper = new LambdaQueryWrapper<>();
|
||||
wrapper.like(SysLog::getRequestParam,requestParam);
|
||||
wrapper.ne(SysLog::getLogContent,"打包项目维护-添加");
|
||||
wrapper.ne(SysLog::getLogContent,"收入合同-关联");
|
||||
List<SysLog> sysLogs = sysLogMapper.selectList(wrapper);
|
||||
List<JSONObject> jsonObjects = new ArrayList<>();
|
||||
for (SysLog sysLog : sysLogs) {
|
||||
JSONObject jsonObject = JSONObject.parseObject(JSONObject.toJSONString(sysLog));
|
||||
jsonObjects.add(jsonObject);
|
||||
}
|
||||
return jsonObjects;
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据部门id查询部门所有的父级(不包含自己)
|
||||
* @author 马志朝
|
||||
* @date 2021/3/24 8:50
|
||||
|
||||
Reference in New Issue
Block a user