|
@@ -254,8 +254,8 @@
|
|
from custom
|
|
from custom
|
|
where company_id = #{companyId}
|
|
where company_id = #{companyId}
|
|
and is_delete =#{isDelete}
|
|
and is_delete =#{isDelete}
|
|
- and incharger_id = #{userId}
|
|
|
|
- or incharger_id is null
|
|
|
|
|
|
+ and (incharger_id = #{userId}
|
|
|
|
+ or incharger_id is null)
|
|
<if test="inchargerId != null and inchargerId != '' ">
|
|
<if test="inchargerId != null and inchargerId != '' ">
|
|
and incharger_id =#{inchargerId}
|
|
and incharger_id =#{inchargerId}
|
|
</if>
|
|
</if>
|