安全承诺和责任状 增加按年份筛选,跟签署的起始日期年份比较

0927cmt
songwenxuan 2024-06-06 17:33:07 +08:00
parent 91dd408f2c
commit f62622a42b
2 changed files with 6 additions and 0 deletions

View File

@ -133,6 +133,9 @@
<if test="pd.DEPARTMENT_ID != null and pd.DEPARTMENT_ID != ''"><!-- 关键词检索 -->
and dept.DEPARTMENT_ID = #{pd.DEPARTMENT_ID}
</if>
<if test="pd.PROMISE_TERM_START != null and pd.PROMISE_TERM_START != ''"><!-- 关键词检索 -->
and f.PROMISE_TERM_START >= #{pd.PROMISE_TERM_START}
</if>
and dept.`NAME` is not null
GROUP BY
f.PROMISE_ID

View File

@ -133,6 +133,9 @@
<if test="pd.DEPARTMENT_ID != null and pd.DEPARTMENT_ID != ''"><!-- 关键词检索 -->
and dept.DEPARTMENT_ID = #{pd.DEPARTMENT_ID}
</if>
<if test="pd.RESPONSIBILITY_TERM_START != null and pd.RESPONSIBILITY_TERM_START != ''"><!-- 关键词检索 -->
and f.RESPONSIBILITY_TERM_START >= #{pd.RESPONSIBILITY_TERM_START}
</if>
and dept.`NAME` is not null
GROUP BY
f.RESPONSIBILITY_ID