|
|
@ -34,10 +34,10 @@ |
|
|
|
<select id="selectVisualRecordPage" resultMap="visualRecordDTOResultMap"> |
|
|
|
<select id="selectVisualRecordPage" resultMap="visualRecordDTOResultMap"> |
|
|
|
select id, name, data_type from sys_visual_record where del_flag = 0 |
|
|
|
select id, name, data_type from sys_visual_record where del_flag = 0 |
|
|
|
<where> |
|
|
|
<where> |
|
|
|
<if test="visualRecord.name!=null"> |
|
|
|
<if test="ew.name!=null"> |
|
|
|
and name like concat(concat('%', #{ew.name}), '%') |
|
|
|
and name like concat(concat('%', #{ew.name}), '%') |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
<if test="visualRecord.dataType!=null"> |
|
|
|
<if test="ew.dataType!=null"> |
|
|
|
and data_type = #{ew.dataType} |
|
|
|
and data_type = #{ew.dataType} |
|
|
|
</if> |
|
|
|
</if> |
|
|
|
</where> |
|
|
|
</where> |
|
|
|