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 {
@Select("" +
"SELECT " +
" tCOUNT( 1 ) " +
" COUNT( 1 ) " +
"FROM " +
" tPERIOD_DATA_SOURCE pds " +
" PERIOD_DATA_SOURCE pds " +
"WHERE " +
" tpds.PROJECT_ID = #{projectId} " +
" tAND pds.TYPE = 10 " +
" tAND pds.PERIOD = #{period}" +
" pds.PROJECT_ID = #{projectId} " +
" AND pds.TYPE = 10 " +
" AND pds.PERIOD = #{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