|
@@ -52,7 +52,7 @@
|
|
</if>
|
|
</if>
|
|
and
|
|
and
|
|
wf.create_by = #{item.userId}
|
|
wf.create_by = #{item.userId}
|
|
- or
|
|
|
|
|
|
+ and
|
|
wf.field_code in (select code_number from sys_organization_auth where role_id =#{item.roleId} and code_type = 'field')
|
|
wf.field_code in (select code_number from sys_organization_auth where role_id =#{item.roleId} and code_type = 'field')
|
|
</select>
|
|
</select>
|
|
|
|
|
|
@@ -66,7 +66,7 @@
|
|
and wf.del_state = 0
|
|
and wf.del_state = 0
|
|
and wf.state = 1
|
|
and wf.state = 1
|
|
and wf.create_by = #{userId}
|
|
and wf.create_by = #{userId}
|
|
- or
|
|
|
|
|
|
+ and
|
|
wf.field_code in (select code_number from sys_organization_auth where role_id = #{roleId} and code_type = 'field')
|
|
wf.field_code in (select code_number from sys_organization_auth where role_id = #{roleId} and code_type = 'field')
|
|
</select>
|
|
</select>
|
|
|
|
|