Browse Source

新增统一信用代码添加

anderx 3 years ago
parent
commit
704667d108

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

@@ -382,6 +382,9 @@
 		<if test="area != null">
 			and b.location_area = #{area,jdbcType=INTEGER}
 		</if>
+		<if test="orgCode != null">
+			and b.org_code = #{orgCode}
+		</if>
 		<if test="page_sql != null">
     		${page_sql}
    		</if>
@@ -431,6 +434,9 @@
 		<if test="area != null">
 			and b.location_area = #{area,jdbcType=INTEGER}
 		</if>
+		<if test="orgCode != null">
+			and b.org_code = #{orgCode}
+		</if>
 		group by a.id)x
 	</select>
 

+ 2 - 0
src/main/java/com/goafanti/customer/service/impl/CustomerServiceImpl.java

@@ -306,6 +306,8 @@ public class CustomerServiceImpl extends BaseMybatisDao<UserMapper> implements C
 			params.put("channel", cli.getChannel());
 		if (null != cli.getBusinessScope())
 			params.put("businessScope", cli.getBusinessScope());
+		if (null != cli.getOrgCode())
+			params.put("orgCode", cli.getOrgCode());
 		return params;
 	}