TechnologyArchivesMainDao.java 936 B

123456789101112131415161718192021
  1. package thyyxxk.webserver.dao.his.technologyArchives;
  2. import com.baomidou.mybatisplus.core.mapper.BaseMapper;
  3. import org.apache.ibatis.annotations.Mapper;
  4. import org.apache.ibatis.annotations.Param;
  5. import org.apache.ibatis.annotations.Select;
  6. import org.apache.ibatis.annotations.Update;
  7. import thyyxxk.webserver.entity.technologyArchives.TechnologyArchivesMain;
  8. import java.util.List;
  9. import java.util.Map;
  10. @Mapper
  11. public interface TechnologyArchivesMainDao extends BaseMapper<TechnologyArchivesMain> {
  12. @Select(" select * from technology_archives_main where social_no = #{socialNo} or account = #{socialNo} or name = #{socialNo} ")
  13. TechnologyArchivesMain selectTechnologyArchivesMainBySocialNo(@Param("socialNo") String socialNo);
  14. @Select(" select account as accountAuthor, social_no as socialNo, name as accountName from technology_archives_main ")
  15. List<Map<String, Object>> selectTechnologyArchivesMainDict();
  16. }