Browse Source

客户新增客户性质

anderx 10 months ago
parent
commit
c7a49d3efb
1 changed files with 6 additions and 0 deletions
  1. 6 0
      src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

+ 6 - 0
src/main/java/com/goafanti/common/mapper/UserMapperExt.xml

@@ -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 &gt; 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">