liupeng 3 vuotta sitten
vanhempi
commit
49407f85db

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