TbKeyMapper.java 448 B

1234567891011121314151617181920212223242526
  1. package com.sf.mapper;
  2. import com.sf.entity.TbKey;
  3. import com.sf.entity.TbLock;
  4. public interface TbKeyMapper {
  5. /**
  6. * 通过钥匙的id获取钥匙的信息已经锁信息
  7. */
  8. TbKey getKeyWithLock(Integer id);
  9. /**
  10. * 方式2 多条sql
  11. * @param id
  12. * @return
  13. */
  14. TbKey getKeyWithLock2(Integer id);
  15. /**
  16. * 通过钥匙id获取锁的信息
  17. */
  18. TbLock getTbLockTbLock(Integer lockId);
  19. }