fei.wang
2024-05-09 871d4095b07cedacb7fbef4c38d64982f539c404
src/main/java/com/flow/mapper/CompanyMapper.java
@@ -13,10 +13,10 @@
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} "})