fei.wang
7 天以前 e15f561a1f9eddfde503d59baf45a860b131928e
src/main/java/com/flow/mapper/CompanyMapper.java
@@ -13,10 +13,16 @@
import org.apache.ibatis.annotations.Select;
public interface CompanyMapper extends BaseMapper<Company> {
    @Select({"select * from company where none = 0"})
    List<Company> findAllcompany();
    @Select({"select * from company where none = 0 and entryclerk = #{entry} ORDER BY enterdate DESC"})
    List<Company> findAllcompany(String var1);
    @Select({"select * from company where none = 0 and companyabbName = #{Zong}"})
    @Select({"select * from company where none = 0  ORDER BY enterdate DESC"})
    List<Company> findAllcompany1();
    @Select({"select * from company where none = 0 and companyabbName = #{companyName} or companyName = #{companyName}"})
    Company findAllcompanycompany(@Param("companyName") String var1);
    @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} "})
@@ -24,4 +30,6 @@
    @Select({"select * from company where none = 0 and companyabbName = #{companyName} or none = 0 and companyName = #{companyName}"})
    List<Company> findsearch(String var1);
}