安全承诺和责任状 增加按年份筛选,跟签署的起始日期年份比较
parent
91dd408f2c
commit
f62622a42b
|
@ -133,6 +133,9 @@
|
||||||
<if test="pd.DEPARTMENT_ID != null and pd.DEPARTMENT_ID != ''"><!-- 关键词检索 -->
|
<if test="pd.DEPARTMENT_ID != null and pd.DEPARTMENT_ID != ''"><!-- 关键词检索 -->
|
||||||
and dept.DEPARTMENT_ID = #{pd.DEPARTMENT_ID}
|
and dept.DEPARTMENT_ID = #{pd.DEPARTMENT_ID}
|
||||||
</if>
|
</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
|
and dept.`NAME` is not null
|
||||||
GROUP BY
|
GROUP BY
|
||||||
f.PROMISE_ID
|
f.PROMISE_ID
|
||||||
|
|
|
@ -133,6 +133,9 @@
|
||||||
<if test="pd.DEPARTMENT_ID != null and pd.DEPARTMENT_ID != ''"><!-- 关键词检索 -->
|
<if test="pd.DEPARTMENT_ID != null and pd.DEPARTMENT_ID != ''"><!-- 关键词检索 -->
|
||||||
and dept.DEPARTMENT_ID = #{pd.DEPARTMENT_ID}
|
and dept.DEPARTMENT_ID = #{pd.DEPARTMENT_ID}
|
||||||
</if>
|
</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
|
and dept.`NAME` is not null
|
||||||
GROUP BY
|
GROUP BY
|
||||||
f.RESPONSIBILITY_ID
|
f.RESPONSIBILITY_ID
|
||||||
|
|
Loading…
Reference in New Issue