- 新增BasCargoSpaceWeight实体类用于货位重量统计 - 在BasCargoSpaceMapper中添加selectPlatByWeight方法查询每排重量 - 实现selectPlatByWeight方法的SQL查询逻辑 - 在IBasCargoSpaceService中添加selectPlatByWeight接口 - 实现selectPlatByWeight服务方法用于分配重量平衡的货位 - 更新RequestLogService接口添加sourceSystem参数 - 在ToErpApiController中添加接口调用日志记录功能 - 在ToMesApiController中添加接口调用日志记录功能 - 重构ToWcsApiController添加任务完成、重新分配等接口 - 移除IToWmsService中已废弃的接口方法 - 移除PdaController中已废弃的addInJob方法 - 在ToWcsServiceImpl中实现货位分配和任务处理逻辑 - 添加RequestEnterResponse用于返回货位分配结果
81 lines
1.7 KiB
Java
81 lines
1.7 KiB
Java
package com.ruoyi.log.service;
|
|
|
|
import com.ruoyi.common.core.domain.AjaxResult;
|
|
import com.ruoyi.log.domain.RequestLog;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 接口记录Service接口
|
|
*
|
|
* @author ruoyi
|
|
* @date 2025-07-02
|
|
*/
|
|
public interface IRequestLogService
|
|
{
|
|
/**
|
|
* 查询接口记录
|
|
*
|
|
* @param requestId 接口记录主键
|
|
* @return 接口记录
|
|
*/
|
|
public RequestLog selectRequestLogByRequestId(Long requestId);
|
|
|
|
/**
|
|
* 查询接口记录列表
|
|
*
|
|
* @param requestLog 接口记录
|
|
* @return 接口记录集合
|
|
*/
|
|
public List<RequestLog> selectRequestLogList(RequestLog requestLog);
|
|
|
|
/**
|
|
* 新增接口记录
|
|
*
|
|
* @param requestLog 接口记录
|
|
* @return 结果
|
|
*/
|
|
public int insertRequestLog(RequestLog requestLog);
|
|
|
|
/**
|
|
* 修改接口记录
|
|
*
|
|
* @param requestLog 接口记录
|
|
* @return 结果
|
|
*/
|
|
public int updateRequestLog(RequestLog requestLog);
|
|
|
|
/**
|
|
* 批量删除接口记录
|
|
*
|
|
* @param requestIds 需要删除的接口记录主键集合
|
|
* @return 结果
|
|
*/
|
|
public int deleteRequestLogByRequestIds(Long[] requestIds);
|
|
|
|
/**
|
|
* 删除接口记录信息
|
|
*
|
|
* @param requestId 接口记录主键
|
|
* @return 结果
|
|
*/
|
|
public int deleteRequestLogByRequestId(Long requestId);
|
|
|
|
/**
|
|
* 请求接口记录
|
|
* @param url
|
|
* @param param
|
|
* @param remark
|
|
* @return
|
|
*/
|
|
public RequestLog getRequestLog(String url, String param, String remark);
|
|
/**
|
|
* 接收接口记录
|
|
*
|
|
* @param param
|
|
* @param remark
|
|
* @return
|
|
*/
|
|
public RequestLog getRequestLog(String param, String remark, AjaxResult ajaxResult,String sourceSystem);
|
|
}
|