浏览代码

feat:首页统计

Joburgess 4 年之前
父节点
当前提交
4d65498888
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/IndexBaseMonthDataMapper.xml

+ 1 - 1
mec-biz/src/main/resources/config/mybatis/IndexBaseMonthDataMapper.xml

@@ -274,7 +274,7 @@
 				AND su.lock_flag_ = 0
 			</if>
 		  	<if test="isDemission!=null">
-				AND (su.lock_flag_ = 1 OR t.demission_date_ IS NOT NULL)
+				AND (su.lock_flag_ = 1 OR t.demission_date_&lt;NOW())
 			</if>
 			AND t.organ_id_ IS NOT NULL
 			<if test="jobNature!=null">