fei.wang
10 天以前 e15f561a1f9eddfde503d59baf45a860b131928e
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);
    }