| | |
| | | import org.apache.ibatis.annotations.Select; |
| | | |
| | | public interface CompanyMapper extends BaseMapper<Company> { |
| | | @Select({"select * from company where none = 0"}) |
| | | @Select({"select * from company where none = 0 ORDER BY enterdate DESC"}) |
| | | List<Company> findAllcompany(); |
| | | |
| | | @Select({"select * from company where none = 0 and companyabbName = #{Zong}"}) |
| | | @Select({"select * from company where none = 0 and companyabbName = #{Zong} ORDER BY enterdate DESC"}) |
| | | List<Company> findAllcompanyZi(String var1); |
| | | |
| | | @Select({"SELECT * FROM company where none = 0 and companyabbName = #{companybbName} or none = 0 and companyName = #{companyName} "}) |