@@ -47,4 +47,22 @@
<scope>compile</scope>
</dependency>
</dependencies>
+
+ <build>
+ <resources>
+ <!-- 解决MyBatis配置文件引入问题 -->
+ <resource>
+ <directory>src/main/java</directory>
+ <includes>
+ <include>**/*.properties</include>
+ <include>**/*.xml</include>
+ </includes>
+ <!-- 是否替换资源中的属性-->
+ <filtering>false</filtering>
+ </resource>
+ <directory>src/main/resources</directory>
+ </resources>
+ </build>
</project>
@@ -2,10 +2,12 @@ package cn.com.ctop.bytedance.mapper;
import com.alibaba.fastjson.JSONObject;
+import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
+@Mapper
public interface ReportMapper {
/**
@@ -159,7 +159,6 @@
ctop_kuaishou_report_daily_account
where stat_date = #{statDate}
group by stat_date
-
</select>
</mapper>