Your Name 3 years ago
parent
commit
03ea5b41ca

+ 1
- 1
src/main/java/com/yunzhi/marketing/xlk/controller/ChannelCustomerController.java View File

276
         QueryWrapper<TaCustomerFollowUpRecord> queryWrapper = new QueryWrapper<>();
276
         QueryWrapper<TaCustomerFollowUpRecord> queryWrapper = new QueryWrapper<>();
277
         queryWrapper.eq("customer_id", customerId);
277
         queryWrapper.eq("customer_id", customerId);
278
         queryWrapper.like("record_type", "%跟进%");
278
         queryWrapper.like("record_type", "%跟进%");
279
-        queryWrapper.last(" and DATE_FORMAT(create_date. '%Y-%m-$d') = '"+ DateUtils.today() +"'");
279
+        queryWrapper.last(" and DATE_FORMAT(create_date, '%Y-%m-$d') = '"+ DateUtils.today() +"'");
280
         int num = iTaCustomerFollowUpRecordService.count(queryWrapper);
280
         int num = iTaCustomerFollowUpRecordService.count(queryWrapper);
281
 
281
 
282
         Map<String, Object> rtn = new HashMap<>();
282
         Map<String, Object> rtn = new HashMap<>();