All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.founder.core.mapper.GsPublicMapper Maven / Gradle / Ivy

There is a newer version: 3.6.1.9
Show newest version
package com.founder.core.mapper;

import com.founder.core.domain.GsUdiDocComp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.Date;
import java.util.List;

@Component
@Mapper
public interface GsPublicMapper {

    @Select({"select GETDATE() as datetime"})
    Date getDateTime();

    @Select("${sqlStr}")
    List getCompData(@Param("sqlStr")String sqlStr);

    //@Select("select #{code} code_his,#{name} name_his from #{table_name} where 1 = 1 #{where_str}")
    //List> getCompData(@Param("code")String code,@Param("name")String name,@Param("table_name")String table_name,@Param("where_str")String where_str);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy