|
@@ -19,7 +19,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectJnbQuotationsVo">
|
|
<sql id="selectJnbQuotationsVo">
|
|
- select id, product_name, area, type, price, phone, address, create_by, create_time, del_flag from jnb_quotations
|
|
|
|
|
|
+ select id, product_name, area, type, price, phone, address,url, create_by, create_time, del_flag from jnb_quotations
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
<select id="selectJnbQuotationsList" parameterType="JnbQuotations" resultMap="JnbQuotationsResult">
|
|
<select id="selectJnbQuotationsList" parameterType="JnbQuotations" resultMap="JnbQuotationsResult">
|
|
@@ -27,6 +27,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<where>
|
|
<where>
|
|
<if test="productName != null and productName != ''"> and product_name like concat('%', #{productName}, '%')</if>
|
|
<if test="productName != null and productName != ''"> and product_name like concat('%', #{productName}, '%')</if>
|
|
<if test="area != null and area != ''"> and area = #{area}</if>
|
|
<if test="area != null and area != ''"> and area = #{area}</if>
|
|
|
|
+ <if test="type != null and type != ''"> and type = #{type}</if>
|
|
and del_flag = 0
|
|
and del_flag = 0
|
|
</where>
|
|
</where>
|
|
</select>
|
|
</select>
|
|
@@ -54,6 +55,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="price != null">price,</if>
|
|
<if test="price != null">price,</if>
|
|
<if test="phone != null">phone,</if>
|
|
<if test="phone != null">phone,</if>
|
|
<if test="address != null">address,</if>
|
|
<if test="address != null">address,</if>
|
|
|
|
+ <if test="url != null">url,</if>
|
|
<if test="createBy != null">create_by,</if>
|
|
<if test="createBy != null">create_by,</if>
|
|
<if test="createTime != null">create_time,</if>
|
|
<if test="createTime != null">create_time,</if>
|
|
<if test="updateBy != null">update_by,</if>
|
|
<if test="updateBy != null">update_by,</if>
|
|
@@ -67,6 +69,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="price != null">#{price},</if>
|
|
<if test="price != null">#{price},</if>
|
|
<if test="phone != null">#{phone},</if>
|
|
<if test="phone != null">#{phone},</if>
|
|
<if test="address != null">#{address},</if>
|
|
<if test="address != null">#{address},</if>
|
|
|
|
+ <if test="url != null">#{url},</if>
|
|
<if test="createBy != null">#{createBy},</if>
|
|
<if test="createBy != null">#{createBy},</if>
|
|
<if test="createTime != null">#{createTime},</if>
|
|
<if test="createTime != null">#{createTime},</if>
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
<if test="updateBy != null">#{updateBy},</if>
|
|
@@ -84,6 +87,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="price != null">price = #{price},</if>
|
|
<if test="price != null">price = #{price},</if>
|
|
<if test="phone != null">phone = #{phone},</if>
|
|
<if test="phone != null">phone = #{phone},</if>
|
|
<if test="address != null">address = #{address},</if>
|
|
<if test="address != null">address = #{address},</if>
|
|
|
|
+ <if test="url != null">address = #{url},</if>
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|
|
<if test="createBy != null">create_by = #{createBy},</if>
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
<if test="createTime != null">create_time = #{createTime},</if>
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|
|
<if test="updateBy != null">update_by = #{updateBy},</if>
|