| | |
| | | @Mapper |
| | | public interface AgentImportCommandMapper extends BaseMapperX<AgentImportCommandDO> { |
| | | |
| | | default AgentImportCommandDO selectByCommandId(Long tenantId, Long ownerUserId, |
| | | String moduleId, String commandId) { |
| | | default AgentImportCommandDO selectByCommandId(Long ownerUserId, String moduleId, String commandId) { |
| | | return selectOne(new LambdaQueryWrapperX<AgentImportCommandDO>() |
| | | .eq(AgentImportCommandDO::getTenantId, tenantId) |
| | | .eq(AgentImportCommandDO::getOwnerUserId, ownerUserId) |
| | | .eq(AgentImportCommandDO::getModuleId, moduleId) |
| | | .eq(AgentImportCommandDO::getCommandId, commandId)); |
| | | } |
| | | |
| | | default AgentImportCommandDO selectByIdempotencyKey(Long tenantId, Long ownerUserId, |
| | | String moduleId, String idempotencyKey) { |
| | | default AgentImportCommandDO selectByIdempotencyKey(Long ownerUserId, String moduleId, String idempotencyKey) { |
| | | return selectOne(new LambdaQueryWrapperX<AgentImportCommandDO>() |
| | | .eq(AgentImportCommandDO::getTenantId, tenantId) |
| | | .eq(AgentImportCommandDO::getOwnerUserId, ownerUserId) |
| | | .eq(AgentImportCommandDO::getModuleId, moduleId) |
| | | .eq(AgentImportCommandDO::getIdempotencyKey, idempotencyKey)); |