|
@@ -36,6 +36,7 @@
|
|
left join sys_organization_auth auth
|
|
left join sys_organization_auth auth
|
|
on batch.field_code = auth.code_number
|
|
on batch.field_code = auth.code_number
|
|
where auth.role_id = #{roleId,jdbcType=INTEGER}
|
|
where auth.role_id = #{roleId,jdbcType=INTEGER}
|
|
|
|
+ and batch.is_delete = 0
|
|
<if test="fieldName != null and fieldName != ''">
|
|
<if test="fieldName != null and fieldName != ''">
|
|
and batch.field_name like concat('%', #{fieldName,jdbcType=VARCHAR}, '%')
|
|
and batch.field_name like concat('%', #{fieldName,jdbcType=VARCHAR}, '%')
|
|
</if>
|
|
</if>
|