ZenBaseMapper.kt 346 B

123456789101112
  1. package com.gxzc.zen.persistence
  2. import com.baomidou.mybatisplus.mapper.BaseMapper
  3. import org.apache.ibatis.annotations.Param
  4. /**
  5. * Created by mgr on 2018/1/23.
  6. */
  7. interface ZenBaseMapper<T> : BaseMapper<T> {
  8. fun finds(@Param("cm") params: Map<String, Any?>): List<Long>
  9. fun findList(@Param("cm") params: Map<String, Any?>): List<T>
  10. }