src/main/java/com/flow/service/impl/DuanxinlogServiceImpl.java
@@ -26,10 +26,12 @@ PageInfo<Duanxinlog> info = new PageInfo(cardList); return info; } public int DeleteDuanxinlog(String id) { return ((DuanxinlogMapper) this.baseMapper).deleteById(id); } public int addDuanxinlog(Duanxinlog duanxinlog) { Date date = new Date(); SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd"); SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); duanxinlog.setDispatchdate(formatter.format(date)); return ((DuanxinlogMapper)this.baseMapper).insert(duanxinlog); }