Browse Source

添加and a.`STATUS`=1字段

master
yangshaoping 6 years ago
parent
commit
eca6f3fe0d
  1. 1
      epmet-module/oper-customize/oper-customize-server/src/main/resources/mapper/CustomerHomeDetailDao.xml

1
epmet-module/oper-customize/oper-customize-server/src/main/resources/mapper/CustomerHomeDetailDao.xml

@ -49,6 +49,7 @@
a.DEL_FLAG = 0 a.DEL_FLAG = 0
AND a.CUSTOMER_ID = #{customerId} AND a.CUSTOMER_ID = #{customerId}
AND a.CLIENT_TYPE = #{clientType} AND a.CLIENT_TYPE = #{clientType}
and a.`STATUS`=1
ORDER BY ORDER BY
a.CREATED_TIME DESC a.CREATED_TIME DESC
LIMIT 1 LIMIT 1

Loading…
Cancel
Save