fei.wang
2024-04-15 61747a14819075bf6da2c1597b6c22e22e026686
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} "})