Commit 6dc66121 authored by cq990612's avatar cq990612

优化代码结构

parent e56d3962
......@@ -30,7 +30,7 @@
<select id="getByTypeAndStartDate" resultType="cn.wisenergy.model.app.WorkHoliday">
SELECT <include refid="Base_Column_List"/>
FROM <include refid="table"/>
WHERE year(day_start) = year(#{date})
WHERE year(day_start) = year(#{date}) OR year(day_end) = year(#{date})
ORDER BY day_type desc,day_start asc
</select>
......
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