浏览代码

王子文 专项培养
1) bug fixed: 月度反馈带出审核未通过数据
2) bug fixed: 季度汇报带出审核未通过数据

wangggziwen 3 年之前
父节点
当前提交
d44b76b636
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      master/src/main/resources/mybatis/training/spec/TStPlanMapper.xml

+ 2 - 0
master/src/main/resources/mybatis/training/spec/TStPlanMapper.xml

@@ -78,6 +78,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
                 and floor((extract(month from d.end_date) + 2) / 3) >= #{feedbackSeason}
                 and floor((extract(month from d.end_date) + 2) / 3) >= #{feedbackSeason}
             </if>
             </if>
             and d.del_flag = 0
             and d.del_flag = 0
+            and d.APPROVE_STATUS = 1
             <!-- 数据范围过滤 -->
             <!-- 数据范围过滤 -->
             ${params.dataScope}
             ${params.dataScope}
         </where>
         </where>
@@ -102,6 +103,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
                 and extract(month from d.end_date) &gt;= #{feedbackMonth}
                 and extract(month from d.end_date) &gt;= #{feedbackMonth}
             </if>
             </if>
             and d.del_flag = 0
             and d.del_flag = 0
+            and d.APPROVE_STATUS = 1
             <!-- 数据范围过滤 -->
             <!-- 数据范围过滤 -->
             ${params.dataScope}
             ${params.dataScope}
         </where>
         </where>