| | |
| | | import cn.flightfeather.supervision.domain.ds1.entity.Userinfo |
| | | import cn.flightfeather.supervision.domain.ds1.mapper.ScenseMapper |
| | | import cn.flightfeather.supervision.domain.ds1.mapper.UserinfoMapper |
| | | import cn.flightfeather.supervision.domain.ds1.repository.SceneRep |
| | | import cn.flightfeather.supervision.domain.ds1.repository.TaskRep |
| | | import cn.flightfeather.supervision.domain.ds1.repository.UserInfoSVRep |
| | | import cn.flightfeather.supervision.domain.ds2.entity.UserinfoTZ |
| | | import cn.flightfeather.supervision.domain.ds2.repository.UserInfoTZRep |
| | |
| | | } |
| | | } |
| | | |
| | | override fun findByType(typeId: Byte): List<Userinfo> { |
| | | override fun findByType(typeId: Byte, enable: Boolean?): List<Userinfo> { |
| | | val result = userinfoMapper.selectByExample(Example(Userinfo::class.java).apply { |
| | | createCriteria().andEqualTo("usertypeid", typeId) |
| | | .apply { |
| | | enable?.let { andEqualTo("isenable", it) } |
| | | } |
| | | }) |
| | | |
| | | return result |