Commit 7f4fc951526fef74ff001d96732ada57bd140004

Authored by 夏天
1 parent 3bddceac

查询保有客档案sdk

fw-valhalla-dao/src/main/resources/mapper/CustomerMapper.xml
@@ -359,7 +359,7 @@ @@ -359,7 +359,7 @@
359 <select id="queryShopCusCnt" 359 <select id="queryShopCusCnt"
360 parameterType="cn.fw.valhalla.sdk.param.CusCntReq" 360 parameterType="cn.fw.valhalla.sdk.param.CusCntReq"
361 resultType="cn.fw.valhalla.sdk.result.CusCntResult"> 361 resultType="cn.fw.valhalla.sdk.result.CusCntResult">
362 - select t1.shop_id,COUNT(t1.id) 362 + select t1.shop_id as id,COUNT(t1.id) as cnt
363 from customer t1 363 from customer t1
364 where t1.yn = 1 364 where t1.yn = 1
365 <if test="req.shopIds !=null and req.shopIds.size() != 0"> 365 <if test="req.shopIds !=null and req.shopIds.size() != 0">
@@ -374,7 +374,7 @@ @@ -374,7 +374,7 @@
374 <select id="queryAdviserCusCnt" 374 <select id="queryAdviserCusCnt"
375 parameterType="cn.fw.valhalla.sdk.param.CusCntReq" 375 parameterType="cn.fw.valhalla.sdk.param.CusCntReq"
376 resultType="cn.fw.valhalla.sdk.result.CusCntResult"> 376 resultType="cn.fw.valhalla.sdk.result.CusCntResult">
377 - select t1.adviser_id,COUNT(t1.id) 377 + select t1.adviser_id as id,COUNT(t1.id) as cnt
378 from customer t1 378 from customer t1
379 where t1.yn = 1 379 where t1.yn = 1
380 <if test="req.adviserIds !=null and req.adviserIds.size() != 0"> 380 <if test="req.adviserIds !=null and req.adviserIds.size() != 0">