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