fei.wang
2024-04-15 61747a14819075bf6da2c1597b6c22e22e026686
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);
    }