|
|
|
@ -122,10 +122,10 @@ |
|
|
|
LEFT JOIN enum_type et ON et.ENUMTYPEID = '6601' |
|
|
|
LEFT JOIN enum_type et ON et.ENUMTYPEID = '6601' |
|
|
|
AND et.enumvalue = hdb.status |
|
|
|
AND et.enumvalue = hdb.status |
|
|
|
WHERE hdb.handle_dept = #{cdepartmentid} |
|
|
|
WHERE hdb.handle_dept = #{cdepartmentid} |
|
|
|
<if test="status != null and status == 0"> |
|
|
|
<!--<if test="status != null and status == 0"> |
|
|
|
AND hdb.status in ('0','99') |
|
|
|
AND hdb.status in ('0','99') |
|
|
|
</if> |
|
|
|
</if>--> |
|
|
|
<if test="status != null and status != 0"> |
|
|
|
<if test="status != null"> |
|
|
|
AND hdb.status = #{status} |
|
|
|
AND hdb.status = #{status} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="search != null and search != ''"> |
|
|
|
<if test="search != null and search != ''"> |
|
|
|
|