Browse Source

运营端客户管理、客户定制化页面查询客户列表接口调整按客户创建时间降序展示

dev_shibei_match
sunyuchao 4 years ago
parent
commit
b4417561a2
  1. 20
      epmet-module/oper-crm/oper-crm-server/src/main/resources/mapper/CustomerDao.xml

20
epmet-module/oper-crm/oper-crm-server/src/main/resources/mapper/CustomerDao.xml

@ -69,6 +69,8 @@
<if test='customerName != "" and customerName != null'>
AND customer_name LIKE concat('%', trim(#{customerName}), '%')
</if>
ORDER BY
created_time DESC
</select>
<select id="getAllList" resultMap="customerMap">
@ -106,19 +108,21 @@
<select id="selectAllCustomerList" resultType="com.epmet.dto.result.CustomerListResultDTO">
SELECT
ID AS "customerId",
CUSTOMER_NAME,
TITLE,
VALIDITY_TIME,
ORGANIZATION_LEVEL,
LOGO,
GRID_NUMBER
id AS "customerId",
customer_name,
title,
validity_time,
organization_level,
logo,
grid_number
FROM customer
WHERE
DEL_FLAG = '0'
del_flag = '0'
<if test='customerName != "" and customerName != null'>
AND customer_name LIKE concat('%', trim(#{customerName}), '%')
</if>
ORDER BY
created_time DESC
</select>
<select id="getExternalAndParentCustomerId" resultType="String">

Loading…
Cancel
Save