Commit 4e1c4fbd authored by neo's avatar neo

[bugfix] fix sql error after where is direct add

parent dbe66483
...@@ -66,7 +66,7 @@ public interface JournalEntryImportMapper extends MyVatMapper { ...@@ -66,7 +66,7 @@ public interface JournalEntryImportMapper extends MyVatMapper {
" (SELECT DISTINCT " + " (SELECT DISTINCT " +
" VID , `Group`, Period " + " VID , `Group`, Period " +
" FROM " + " FROM " +
" Voucher WHERE AND `ImportType` = #{importType} AND `Period` = #{period}) as temp" + " Voucher WHERE `ImportType` = #{importType} AND `Period` = #{period}) as temp" +
"</script>") "</script>")
Integer pageVIDCount(@Param("importType") int code, @Param("period") int periodId); Integer pageVIDCount(@Param("importType") int code, @Param("period") int periodId);
} }
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