修改字段类型
parent
42dc9098cb
commit
dcb66d62c4
|
@ -39,22 +39,22 @@
|
|||
select * from engine_maintenance left join engine_version on engine_maintenance.version_id = engine_version.id
|
||||
<where>
|
||||
<if test="name != null and name != ''">
|
||||
and name like concat('%',#{name},'%')
|
||||
and engine_maintenance.name like concat('%',#{name},'%')
|
||||
</if>
|
||||
<if test="engineCode != null and engineCode != ''">
|
||||
and engine_code = #{engineCode}
|
||||
and engine_maintenance.engine_code = #{engineCode}
|
||||
</if>
|
||||
<if test="description != null and description != ''">
|
||||
and description = #{description}
|
||||
and engine_maintenance.description = #{description}
|
||||
</if>
|
||||
<if test="isActivate != null and isActivate != ''">
|
||||
and is_activate = #{isActivate}
|
||||
and engine_maintenance.is_activate = #{isActivate}
|
||||
</if>
|
||||
<if test="type !=null and type != ''">
|
||||
and type = #{type}
|
||||
and engine_maintenance.type = #{type}
|
||||
</if>
|
||||
<if test="scope !=null and scope != ''">
|
||||
and scope = #{scope}
|
||||
and engine_maintenance.scope = #{scope}
|
||||
</if>
|
||||
<if test="status !=null">
|
||||
and engine_maintenance.status = #{status}
|
||||
|
|
Loading…
Reference in New Issue