|
|
@@ -34,10 +34,10 @@
|
|
|
from sys_storage_record as sr join sys_storage_config sc on sr.config_id=sc.id
|
|
|
<where>
|
|
|
<if test="query.configId != null">
|
|
|
- and st.config_id = #{query.configId}
|
|
|
+ and sr.config_id = #{query.configId}
|
|
|
</if>
|
|
|
<if test="query.realName != null">
|
|
|
- and st.real_name = #{query.realName}
|
|
|
+ and sr.real_name like concat('%',#{query.realName},'%')
|
|
|
</if>
|
|
|
</where>
|
|
|
</select>
|