liupeng 3 سال پیش
والد
کامیت
49407f85db
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      code/sapparent/sapservice/src/main/java/org/fouram/mapper/SapUserMapper.xml

+ 1 - 1
code/sapparent/sapservice/src/main/java/org/fouram/mapper/SapUserMapper.xml

@@ -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">