Commit 45b8b598 authored by hongguangwu's avatar hongguangwu

是否多项目

parent c9f58ba8
...@@ -239,7 +239,12 @@ ...@@ -239,7 +239,12 @@
AND a.FILE_STATUS = #{tEmployeeInfo.fileStatus} AND a.FILE_STATUS = #{tEmployeeInfo.fileStatus}
</if> </if>
<if test="tEmployeeInfo.projectNum != null"> <if test="tEmployeeInfo.projectNum != null">
AND a.PROJECT_NUM = #{tEmployeeInfo.projectNum} <if test="tEmployeeInfo.projectNum == 1">
AND (a.PROJECT_NUM is null or a.PROJECT_NUM <![CDATA[ <= ]]> 1)
</if>
<if test="tEmployeeInfo.projectNum == 2">
AND a.PROJECT_NUM > 1
</if>
</if> </if>
<if test="tEmployeeInfo.contractStatus != null"> <if test="tEmployeeInfo.contractStatus != null">
AND a.CONTRACT_STATUS = #{tEmployeeInfo.contractStatus} AND a.CONTRACT_STATUS = #{tEmployeeInfo.contractStatus}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment