| | |
| | | import cn.lihu.jh.framework.mybatis.core.query.LambdaQueryWrapperX; |
| | | import cn.lihu.jh.framework.mybatis.core.mapper.BaseMapperX; |
| | | import cn.lihu.jh.module.ecg.dal.dataobject.checktype.CheckTypeDO; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.*; |
| | | import cn.lihu.jh.module.ecg.controller.admin.checktype.vo.*; |
| | | import org.apache.ibatis.annotations.Select; |
| | | |
| | | /** |
| | | * 检查类型 Mapper |
| | |
| | | .orderByDesc(CheckTypeDO::getId)); |
| | | } |
| | | |
| | | @Select("<script> " + |
| | | "SELECT * FROM lihu.check_type;" + |
| | | "</script>") |
| | | @Select("SELECT * FROM lihu.check_type;") |
| | | @Results({ |
| | | @Result(property = "affinityCheckTypes", column = "affinity_check_types", typeHandler=com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler.class) |
| | | }) |
| | | List<CheckTypeDO> simpleCheckTypeList(); |
| | | |
| | | } |
| | | } |