This commit is contained in:
parent
e9f4cb2fc5
commit
ada6654edd
@ -122,7 +122,7 @@
|
|||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectSentVacationCount" resultType="io.company.localhost.common.dto.MapDto">
|
<select id="selectSentVacationCount" resultType="io.company.localhost.common.dto.MapDto">
|
||||||
SELECT COUNT(*) as count FROM localvaca WHERE MEMBERSEQ = #{userId} AND LOCVACRMM = #{receiverId}
|
SELECT COUNT(*) as count FROM localvaca WHERE MEMBERSEQ = #{userId} AND LOCVACRMM = #{receiverId} AND YEAR(LOCVACUDT) = YEAR(NOW())
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user