Bläddra i källkod

客户新增客户性质

anderx 11 månader sedan
förälder
incheckning
c7a49d3efb
1 ändrade filer med 6 tillägg och 0 borttagningar
  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">