fei.wang
2024-05-13 b9b58b9ef261cb290d93465f88a2cbd814b576f0
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} "})