中扬CRM客户关系管理系统
#
LSH
2023-10-16 8bdf67ac86644d1ba285646ca26b413c58dc7330
src/main/java/com/zy/crm/manager/service/impl/OrderServiceImpl.java
@@ -21,8 +21,8 @@
    }
    @Override
    public Page<Order> getPage(Page<Order> page, Long hostId, String deptId, Long userId, String condition) {
        return page.setRecords(baseMapper.listByPage(page, hostId, deptId, userId, condition));
    public Page<Order> getPage(Page<Order> page, Long hostId, String deptId, Long userId, String condition, Integer status) {
        return page.setRecords(baseMapper.listByPage(page, hostId, deptId, userId, condition, status));
    }
    @Override
@@ -43,9 +43,9 @@
    private String getNextUuid(Long hostId) {
        Order order = this.baseMapper.selectOrderByNewestUuid(hostId);
        if (order == null) {
            return "0001";
            return "00001";
        }
        return zerofill(String.valueOf(Integer.parseInt(order.getUuid()) + 1), 4);
        return zerofill(String.valueOf(Integer.parseInt(order.getUuid()) + 1), 5);
    }
    public static String zerofill(String msg, Integer count){