add 处理历史数据接口

This commit is contained in:
lijiarao
2024-07-16 17:11:17 +08:00
parent 1f85dec5a8
commit 2bba254cef
3 changed files with 146 additions and 2 deletions
@@ -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