Commit e7714bac authored by neo's avatar neo

[Bugfix] fixed sql error for query formula ds

parent 47e4367b
......@@ -140,7 +140,7 @@ public interface PeriodCellDataMapper extends MyVatMapper {
"FROM " +
" PERIOD_DATA_SOURCE p " +
"WHERE " +
" PROJECT_ID = #{projectId} AND p.TYPE = 10 " +
" PROJECT_ID = #{projectId} AND p.TYPE = 10 AND " +
" <foreach item=\"item\" index=\"index\" collection=\"list\"" +
" open=\"(\" separator=\"OR\" close=\")\">" +
" ( p.PERIOD=#{item.period} AND p.CELL_TEMPLATE_ID=#{item.cellTemplateId} )" +
......
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