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