修改字段类型

master
Qin Dong Ming 2024-09-09 15:23:44 +08:00
parent 42dc9098cb
commit dcb66d62c4
1 changed files with 6 additions and 6 deletions

View File

@ -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}