WeBankBlockchain / DDCMS-Service

Apache License 2.0
3 stars 5 forks source link

Dev分支修复编译时出现的错误 #10

Closed Len-Jon closed 1 month ago

Len-Jon commented 3 months ago

问题1:Param注解没导入

> Task :compileJava
/root/test/DDCMS-Service/src/main/java/com/webank/ddcms/dao/mapper/CompanyInfoMapper.java:47: error: cannot find symbol
          @Param("status") Integer status, @Param("companyName") String companyName, @Param("offset") Long offset, @Param("pageSize") Integer pageSize);
           ^
  symbol:   class Param
  location: interface CompanyInfoMapper

问题2:参数不匹配

> Task :compileJava
/root/test/DDCMS-Service/src/main/java/com/webank/ddcms/service/impl/CompanyServiceImpl.java:78: error: incompatible types: int cannot be converted to Long
            offset,
            ^