diff --git a/src/main/resources/application-pro.yml b/src/main/resources/application-pro.yml index 5af6646..f1be409 100644 --- a/src/main/resources/application-pro.yml +++ b/src/main/resources/application-pro.yml @@ -291,6 +291,10 @@ insure: batchUrl: 'https://portal.unistar-ins.com/fuli/Home/WelfareProduct/batch_declare' #保全取消支付 cancelPayment: 'https://portal.unistar-ins.com/fuli/Home/OrderImport/order_import_set' + #预付款出单接口 + issue: 'http://sandbox.portal.unistar-ins.com/cps/Labor/Policy/issue' + #预付款提交接口 + order_import_set: 'https://portal.unistar-ins.com/cps/Labor/OrderImport/order_import_set' youling: serverUrl: 'https://www.youlingrc.com' diff --git a/src/main/resources/mapping/crm/CrmClientDataMapper.xml b/src/main/resources/mapping/crm/CrmClientDataMapper.xml index 6d13927..0cccd80 100644 --- a/src/main/resources/mapping/crm/CrmClientDataMapper.xml +++ b/src/main/resources/mapping/crm/CrmClientDataMapper.xml @@ -33,9 +33,8 @@ COUNT(IF(ccd.client_status=3,ccd.id,NULL))signing, COUNT(IF(ccd.client_status=4,ccd.id,NULL))cooperation, COUNT(IF(ccd.client_status=5,ccd.id,NULL))file FROM `crm_client_data` ccd - LEFT JOIN crm_business_group_member cbgm ON cbgm.emp_num = ccd.belong_user <where> - ccd.org_code = #{orgCode} and cbgm.org_code = #{orgCode} + ccd.org_code = #{orgCode} <if test='null != belongUser and belongUser !=""'> AND ccd.belong_user = #{belongUser} </if>