|
@@ -9,9 +9,6 @@
|
|
|
<select id="list" parameterType="com.ruoyi.demo.entity.vo.EnterpriseVo" resultType="com.ruoyi.demo.entity.Enterprise">
|
|
|
select * from ddt_enterprise
|
|
|
<where>
|
|
|
- <if test="enterprise.enterpriseUsci != null and enterprise.enterpriseUsci != ''">
|
|
|
- and enterprise_usci = #{enterprise.enterpriseUsci}
|
|
|
- </if>
|
|
|
<if test="enterprise.addrCode != null and enterprise.addrCode != ''">
|
|
|
and addr_code = #{enterprise.addrCode}
|
|
|
</if>
|
|
@@ -21,6 +18,9 @@
|
|
|
<if test="enterprise.enterpriseName != null and enterprise.enterpriseName != ''">
|
|
|
and enterprise_name like concat('%',#{enterprise.enterpriseName},'%')
|
|
|
</if>
|
|
|
+ <if test="enterprise.enterpriseUsci != null and enterprise.enterpriseUsci != ''">
|
|
|
+ and enterprise_usci like concat('%',#{enterprise.enterpriseUsci},'%')
|
|
|
+ </if>
|
|
|
</where>
|
|
|
</select>
|
|
|
</mapper>
|