Browse Source

修复数据

wanghui 7 years ago
parent
commit
d224f23b9a

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

@@ -775,7 +775,7 @@
 		left join user b on a.uid = b.id 
 		left join organization_contact_book c on a.ocb_id = c.id
 		left join admin d on a.aid = d.id
-		<if test="businessGlossoryId != null and businessGlossoryId != ''"><!--  客户甲项目A所有的跟进记录 -->
+		<if test="businessProjectId != null and businessProjectId != ''"><!--  客户甲项目A所有的跟进记录 -->
 			inner join user_follow_business e on a.id = e.follow_id
 		</if>
 		where a.effective = 0
@@ -785,8 +785,8 @@
 		<if test="aid != null and aid != ''">
 			and a.aid = #{aid,jdbcType=VARCHAR}
 		</if>
-		<if test="businessGlossoryId != null and businessGlossoryId != ''"><!--  客户甲项目A所有的跟进记录 -->
-			and e.business_glossory_id = #{businessGlossoryId,jdbcType=VARCHAR}
+		<if test="businessProjectId != null and businessProjectId != ''"><!--  客户甲项目A所有的跟进记录 -->
+			and e.business_project_id = #{businessProjectId,jdbcType=VARCHAR}
 		</if>
 	</select>
 	
@@ -1097,8 +1097,8 @@
 	<if test="uid != null and uid !=''">
 		and a.uid = #{uid,jdbcType=VARCHAR}
 	</if>
-	<if test="businessGlossoryId !=null and businessGlossoryId != ''">
-		and a.business_glossory_id = #{businessGlossoryId,jdbcType=VARCHAR}
+	<if test="businessProjectId !=null and businessProjectId != ''">
+		and a.business_project_id = #{businessProjectId,jdbcType=VARCHAR}
 	</if>
 	<if test="identifyName != null and identifyName != ''">
 		and b.identify_name like concat('%', #{identifyName},'%')

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

@@ -1097,8 +1097,8 @@ public class CustomerServiceImpl  extends BaseMybatisDao<UserMapper> implements
 	@Override
 	public Pagination<CustomerListOut> listSignOrganizationCustomer(CustomerListIn cli, Integer pageNo,
 			Integer pageSize) {
-		Map<String,Object> params = disposeParams(cli);
 		cli.setAid(TokenManager.getAdminId());
+		Map<String,Object> params = disposeParams(cli);
 		Pagination<CustomerListOut> list = (Pagination<CustomerListOut>) findPage("selectSignOrganizationCustomerList","selectSignOrganizationCustomerCount",params,pageNo,pageSize);
 		return list;
 	}
@@ -1107,8 +1107,8 @@ public class CustomerServiceImpl  extends BaseMybatisDao<UserMapper> implements
 	@Override
 	public Pagination<CustomerListOut> listSignPersonalCustomer(CustomerListIn cli, Integer pageNo,
 			Integer pageSize) {
-		Map<String,Object> params = disposeParams(cli);
 		cli.setAid(TokenManager.getAdminId());
+		Map<String,Object> params = disposeParams(cli);
 		Pagination<CustomerListOut> list = (Pagination<CustomerListOut>) findPage("selectSignPersonalCustomerList","selectSignPersonalCustomerCount",params,pageNo,pageSize);
 		return list;
 	}