Commit a32ca02b authored by neo's avatar neo

[Bugfix] fixed sql error for maunal query

parent d154a365
...@@ -109,13 +109,13 @@ public interface PeriodReportMapper extends MyVatMapper { ...@@ -109,13 +109,13 @@ public interface PeriodReportMapper extends MyVatMapper {
@Select("" + @Select("" +
"SELECT " + "SELECT " +
" tCOUNT( 1 ) " + " COUNT( 1 ) " +
"FROM " + "FROM " +
" tPERIOD_DATA_SOURCE pds " + " PERIOD_DATA_SOURCE pds " +
"WHERE " + "WHERE " +
" tpds.PROJECT_ID = #{projectId} " + " pds.PROJECT_ID = #{projectId} " +
" tAND pds.TYPE = 10 " + " AND pds.TYPE = 10 " +
" tAND pds.PERIOD = #{period}" + " AND pds.PERIOD = #{period}" +
"") "")
int hasManualDataSource(@Param("projectId") String projectId, @Param("period") Integer period); int hasManualDataSource(@Param("projectId") String projectId, @Param("period") Integer period);
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment