Commit ddb109c4 authored by 盖献康's avatar 盖献康

车企信息 - 只查存在

parent 558ff021
......@@ -15,6 +15,7 @@
<result property="createTime" column="create_time"/>
<result property="updateBy" column="update_by"/>
<result property="updateTime" column="update_time"/>
<result property="deleted" column="deleted"/>
</resultMap>
<sql id="selectAutomobileEnterpriseVo">
......@@ -27,7 +28,8 @@
create_by,
create_time,
update_by,
update_time
update_time,
deleted
from t_automobile_enterprise
</sql>
......@@ -35,6 +37,7 @@
resultMap="AutomobileEnterpriseResult">
<include refid="selectAutomobileEnterpriseVo"/>
<where>
deleted = 0
<if test="enterpriseName != null and enterpriseName != ''">and enterprise_name like concat('%',
#{enterpriseName}, '%')
</if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment