|
|
@@ -576,6 +576,9 @@
|
|
|
<if test="area != null">
|
|
|
and b.location_area = #{area,jdbcType=INTEGER}
|
|
|
</if>
|
|
|
+ <if test="nature !=null">
|
|
|
+ and a.nature = #{nature}
|
|
|
+ </if>
|
|
|
order by if(um.last_follow_time is null,a.transfer_time,if(a.transfer_time > um.last_follow_time, a.transfer_time, um.last_follow_time)) ,
|
|
|
a.`number`
|
|
|
<if test="page_sql != null">
|
|
|
@@ -614,6 +617,9 @@
|
|
|
<if test="area != null">
|
|
|
and b.location_area = #{area,jdbcType=INTEGER}
|
|
|
</if>
|
|
|
+ <if test="nature !=null">
|
|
|
+ and a.nature = #{nature}
|
|
|
+ </if>
|
|
|
</select>
|
|
|
|
|
|
<select id="findCustomerByName" parameterType="java.lang.String" resultType="com.goafanti.customer.bo.CustomerSimpleBo">
|