客户概览注释

master
wyj2080 6 years ago
parent 77e0766b20
commit 01c480e06f

@ -96,7 +96,7 @@ public class CustomerViewService {
//会员总数
Long vipCount = opVipDOMapper.selectVipCount(shopIds, null, null);
//柱状图list
//设置柱状图list
List<OpCustomer> validCustomerList = customerList.stream().filter(customerDO -> VALID.equals(customerDO.getValidType())).collect(Collectors.toList());
customerViewVO.setCustomerList(customerList);
customerViewVO.setValidCustomerList(validCustomerList);

@ -92,10 +92,10 @@
<if test="type != null">
and t2.type = #{type}
</if>
<if test="startDate != null">
<if test="startDate != null and startDate != ''">
and t2.create_time <![CDATA[ >= ]]> #{startDate}
</if>
<if test="endDate != null">
<if test="endDate != null and endDate != ''">
and t2.create_time <![CDATA[ <= ]]> #{endDate}
</if>
</select>

Loading…
Cancel
Save