|
@@ -79,10 +79,10 @@ FROM u_mattress
|
|
|
<when notnull="@yw_flag" yw_flag!="-1">
|
|
|
u_mattress.yw_flag = @yw_flag
|
|
|
</when>
|
|
|
- <when>
|
|
|
+ <when $user_outrepstr!="-1">
|
|
|
u_mattress.createby in ($$user_outrepstr$$)
|
|
|
</when>
|
|
|
- <when>
|
|
|
+ <when $user_deptstr!="-1">
|
|
|
u_mattress.deptid in ($$user_deptstr$$)
|
|
|
</when>
|
|
|
<when notnull="@arg_search">
|