@@ -169,7 +169,7 @@
<select id="selectNotSendLeaveMessageList" resultType="SapUser">
select * from sap_user
- where isPrimary = 1 and delFlag = 1 and sendLeaveMessageFlag = 0 and result = 'LEAVE'
+ where isPrimary = 1 and endDate != '' and endDate is not null and sendLeaveMessageFlag = 0
</select>
<update id="updateSendLeaveMessageFlag">