|
@@ -1819,7 +1819,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="userId != null and userId != 0 ">
|
|
<if test="userId != null and userId != 0 ">
|
|
|
AND l.company_user_id = #{userId}
|
|
AND l.company_user_id = #{userId}
|
|
|
</if>
|
|
</if>
|
|
|
- <if test="companyId != null and companyId == 0 ">
|
|
|
|
|
|
|
+ <if test="userId != null and userId == 0 ">
|
|
|
and l.company_id = #{companyId}
|
|
and l.company_id = #{companyId}
|
|
|
</if>
|
|
</if>
|
|
|
<if test="periodId != null and periodId != ''">
|
|
<if test="periodId != null and periodId != ''">
|