mirror of https://github.com/elunez/eladmin
修改客户订单-- 修改后的产品在原来中不存在
parent
da13d41e39
commit
15311a828e
|
@ -1,4 +1,4 @@
|
|||
package me.zhengjie.modules.wms.order.domain;
|
||||
package me.zhengjie.modules.wms.customerOrder.domain;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.hutool.core.bean.BeanUtil;
|
|
@ -1,4 +1,4 @@
|
|||
package me.zhengjie.modules.wms.order.domain;
|
||||
package me.zhengjie.modules.wms.customerOrder.domain;
|
||||
|
||||
import lombok.Data;
|
||||
import cn.hutool.core.bean.BeanUtil;
|
|
@ -1,6 +1,6 @@
|
|||
package me.zhengjie.modules.wms.order.repository;
|
||||
package me.zhengjie.modules.wms.customerOrder.repository;
|
||||
|
||||
import me.zhengjie.modules.wms.order.domain.CustomerOrderProduct;
|
||||
import me.zhengjie.modules.wms.customerOrder.domain.CustomerOrderProduct;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
|
||||
import org.springframework.data.jpa.repository.Modifying;
|
|
@ -1,6 +1,6 @@
|
|||
package me.zhengjie.modules.wms.order.repository;
|
||||
package me.zhengjie.modules.wms.customerOrder.repository;
|
||||
|
||||
import me.zhengjie.modules.wms.order.domain.CustomerOrder;
|
||||
import me.zhengjie.modules.wms.customerOrder.domain.CustomerOrder;
|
||||
import org.springframework.data.jpa.repository.JpaRepository;
|
||||
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
|
||||
import org.springframework.data.jpa.repository.Modifying;
|
|
@ -1,9 +1,9 @@
|
|||
package me.zhengjie.modules.wms.order.request;
|
||||
package me.zhengjie.modules.wms.customerOrder.request;
|
||||
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.bean.copier.CopyOptions;
|
||||
import lombok.Data;
|
||||
import me.zhengjie.modules.wms.order.domain.CustomerOrder;
|
||||
import me.zhengjie.modules.wms.customerOrder.domain.CustomerOrder;
|
||||
|
||||
import java.sql.Timestamp;
|
||||
import java.util.List;
|
|
@ -1,4 +1,4 @@
|
|||
package me.zhengjie.modules.wms.order.request;
|
||||
package me.zhengjie.modules.wms.customerOrder.request;
|
||||
|
||||
import lombok.Data;
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
package me.zhengjie.modules.wms.order.request;
|
||||
package me.zhengjie.modules.wms.customerOrder.request;
|
||||
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.bean.copier.CopyOptions;
|
||||
import lombok.Data;
|
||||
import me.zhengjie.modules.wms.order.service.dto.CustomerOrderProductDTO;
|
||||
import me.zhengjie.modules.wms.customerOrder.service.dto.CustomerOrderProductDTO;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.sql.Timestamp;
|
|
@ -1,17 +1,15 @@
|
|||
package me.zhengjie.modules.wms.order.rest;
|
||||
package me.zhengjie.modules.wms.customerOrder.rest;
|
||||
|
||||
import me.zhengjie.aop.log.Log;
|
||||
import me.zhengjie.modules.wms.order.domain.CustomerOrder;
|
||||
import me.zhengjie.modules.wms.order.request.CreateCustomerOrderRequest;
|
||||
import me.zhengjie.modules.wms.order.request.UpdateCustomerOrderRequest;
|
||||
import me.zhengjie.modules.wms.order.service.CustomerOrderService;
|
||||
import me.zhengjie.modules.wms.order.service.dto.CustomerOrderQueryCriteria;
|
||||
import me.zhengjie.modules.wms.customerOrder.request.UpdateCustomerOrderRequest;
|
||||
import me.zhengjie.modules.wms.customerOrder.service.CustomerOrderService;
|
||||
import me.zhengjie.modules.wms.customerOrder.service.dto.CustomerOrderQueryCriteria;
|
||||
import me.zhengjie.modules.wms.customerOrder.request.CreateCustomerOrderRequest;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.data.domain.Pageable;
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.security.access.prepost.PreAuthorize;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import io.swagger.annotations.*;
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
package me.zhengjie.modules.wms.order.service;
|
||||
package me.zhengjie.modules.wms.customerOrder.service;
|
||||
|
||||
//import org.springframework.cache.annotation.CacheConfig;
|
||||
//import org.springframework.cache.annotation.CacheEvict;
|
||||
//import org.springframework.cache.annotation.Cacheable;
|
||||
import me.zhengjie.modules.wms.order.domain.CustomerOrderProduct;
|
||||
import me.zhengjie.modules.wms.order.service.dto.CustomerOrderProductDTO;
|
||||
import me.zhengjie.modules.wms.order.service.dto.CustomerOrderProductQueryCriteria;
|
||||
import me.zhengjie.modules.wms.customerOrder.domain.CustomerOrderProduct;
|
||||
import me.zhengjie.modules.wms.customerOrder.service.dto.CustomerOrderProductDTO;
|
||||
import me.zhengjie.modules.wms.customerOrder.service.dto.CustomerOrderProductQueryCriteria;
|
||||
import org.springframework.data.domain.Pageable;
|
||||
|
||||
/**
|
|
@ -1,13 +1,12 @@
|
|||
package me.zhengjie.modules.wms.order.service;
|
||||
package me.zhengjie.modules.wms.customerOrder.service;
|
||||
|
||||
//import org.springframework.cache.annotation.CacheConfig;
|
||||
//import org.springframework.cache.annotation.CacheEvict;
|
||||
//import org.springframework.cache.annotation.Cacheable;
|
||||
import me.zhengjie.modules.wms.order.domain.CustomerOrder;
|
||||
import me.zhengjie.modules.wms.order.request.CreateCustomerOrderRequest;
|
||||
import me.zhengjie.modules.wms.order.request.UpdateCustomerOrderRequest;
|
||||
import me.zhengjie.modules.wms.order.service.dto.CustomerOrderDTO;
|
||||
import me.zhengjie.modules.wms.order.service.dto.CustomerOrderQueryCriteria;
|
||||
import me.zhengjie.modules.wms.customerOrder.service.dto.CustomerOrderQueryCriteria;
|
||||
import me.zhengjie.modules.wms.customerOrder.request.CreateCustomerOrderRequest;
|
||||
import me.zhengjie.modules.wms.customerOrder.request.UpdateCustomerOrderRequest;
|
||||
import me.zhengjie.modules.wms.customerOrder.service.dto.CustomerOrderDTO;
|
||||
import org.springframework.data.domain.Pageable;
|
||||
|
||||
/**
|
|
@ -1,4 +1,4 @@
|
|||
package me.zhengjie.modules.wms.order.service.dto;
|
||||
package me.zhengjie.modules.wms.customerOrder.service.dto;
|
||||
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.bean.copier.CopyOptions;
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
package me.zhengjie.modules.wms.order.service.dto;
|
||||
package me.zhengjie.modules.wms.customerOrder.service.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package me.zhengjie.modules.wms.order.service.dto;
|
||||
package me.zhengjie.modules.wms.customerOrder.service.dto;
|
||||
|
||||
import lombok.Data;
|
||||
import java.sql.Timestamp;
|
|
@ -1,4 +1,4 @@
|
|||
package me.zhengjie.modules.wms.order.service.dto;
|
||||
package me.zhengjie.modules.wms.customerOrder.service.dto;
|
||||
|
||||
import lombok.Data;
|
||||
import java.sql.Timestamp;
|
|
@ -1,11 +1,11 @@
|
|||
package me.zhengjie.modules.wms.order.service.impl;
|
||||
package me.zhengjie.modules.wms.customerOrder.service.impl;
|
||||
|
||||
import me.zhengjie.modules.wms.order.domain.CustomerOrderProduct;
|
||||
import me.zhengjie.modules.wms.order.repository.CustomerOrderProductRepository;
|
||||
import me.zhengjie.modules.wms.order.service.CustomerOrderProductService;
|
||||
import me.zhengjie.modules.wms.order.service.dto.CustomerOrderProductDTO;
|
||||
import me.zhengjie.modules.wms.order.service.dto.CustomerOrderProductQueryCriteria;
|
||||
import me.zhengjie.modules.wms.order.service.mapper.CustomerOrderProductMapper;
|
||||
import me.zhengjie.modules.wms.customerOrder.domain.CustomerOrderProduct;
|
||||
import me.zhengjie.modules.wms.customerOrder.service.dto.CustomerOrderProductQueryCriteria;
|
||||
import me.zhengjie.modules.wms.customerOrder.service.mapper.CustomerOrderProductMapper;
|
||||
import me.zhengjie.modules.wms.customerOrder.repository.CustomerOrderProductRepository;
|
||||
import me.zhengjie.modules.wms.customerOrder.service.CustomerOrderProductService;
|
||||
import me.zhengjie.modules.wms.customerOrder.service.dto.CustomerOrderProductDTO;
|
||||
import me.zhengjie.utils.ValidationUtil;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
|
@ -1,19 +1,19 @@
|
|||
package me.zhengjie.modules.wms.order.service.impl;
|
||||
package me.zhengjie.modules.wms.customerOrder.service.impl;
|
||||
|
||||
import me.zhengjie.exception.BadRequestException;
|
||||
import me.zhengjie.modules.wms.order.domain.CustomerOrder;
|
||||
import me.zhengjie.modules.wms.order.domain.CustomerOrderProduct;
|
||||
import me.zhengjie.modules.wms.order.repository.CustomerOrderProductRepository;
|
||||
import me.zhengjie.modules.wms.order.repository.CustomerOrderRepository;
|
||||
import me.zhengjie.modules.wms.order.request.CreateCustomerOrderRequest;
|
||||
import me.zhengjie.modules.wms.order.request.CustomerOrderProductRequest;
|
||||
import me.zhengjie.modules.wms.order.request.UpdateCustomerOrderRequest;
|
||||
import me.zhengjie.modules.wms.order.service.CustomerOrderService;
|
||||
import me.zhengjie.modules.wms.order.service.dto.CustomerOrderDTO;
|
||||
import me.zhengjie.modules.wms.order.service.dto.CustomerOrderProductDTO;
|
||||
import me.zhengjie.modules.wms.order.service.dto.CustomerOrderQueryCriteria;
|
||||
import me.zhengjie.modules.wms.order.service.mapper.CustomerOrderMapper;
|
||||
import me.zhengjie.modules.wms.order.service.mapper.CustomerOrderProductMapper;
|
||||
import me.zhengjie.modules.wms.customerOrder.domain.CustomerOrderProduct;
|
||||
import me.zhengjie.modules.wms.customerOrder.repository.CustomerOrderRepository;
|
||||
import me.zhengjie.modules.wms.customerOrder.request.UpdateCustomerOrderRequest;
|
||||
import me.zhengjie.modules.wms.customerOrder.service.CustomerOrderService;
|
||||
import me.zhengjie.modules.wms.customerOrder.service.dto.CustomerOrderProductDTO;
|
||||
import me.zhengjie.modules.wms.customerOrder.service.dto.CustomerOrderQueryCriteria;
|
||||
import me.zhengjie.modules.wms.customerOrder.service.mapper.CustomerOrderProductMapper;
|
||||
import me.zhengjie.modules.wms.customerOrder.domain.CustomerOrder;
|
||||
import me.zhengjie.modules.wms.customerOrder.repository.CustomerOrderProductRepository;
|
||||
import me.zhengjie.modules.wms.customerOrder.request.CreateCustomerOrderRequest;
|
||||
import me.zhengjie.modules.wms.customerOrder.request.CustomerOrderProductRequest;
|
||||
import me.zhengjie.modules.wms.customerOrder.service.dto.CustomerOrderDTO;
|
||||
import me.zhengjie.modules.wms.customerOrder.service.mapper.CustomerOrderMapper;
|
||||
import me.zhengjie.utils.ValidationUtil;
|
||||
import org.springframework.beans.BeanUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
|
@ -1,8 +1,8 @@
|
|||
package me.zhengjie.modules.wms.order.service.mapper;
|
||||
package me.zhengjie.modules.wms.customerOrder.service.mapper;
|
||||
|
||||
import me.zhengjie.mapper.EntityMapper;
|
||||
import me.zhengjie.modules.wms.order.domain.CustomerOrder;
|
||||
import me.zhengjie.modules.wms.order.service.dto.CustomerOrderDTO;
|
||||
import me.zhengjie.modules.wms.customerOrder.service.dto.CustomerOrderDTO;
|
||||
import me.zhengjie.modules.wms.customerOrder.domain.CustomerOrder;
|
||||
import org.mapstruct.Mapper;
|
||||
import org.mapstruct.ReportingPolicy;
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
package me.zhengjie.modules.wms.order.service.mapper;
|
||||
package me.zhengjie.modules.wms.customerOrder.service.mapper;
|
||||
|
||||
import me.zhengjie.mapper.EntityMapper;
|
||||
import me.zhengjie.modules.wms.order.domain.CustomerOrderProduct;
|
||||
import me.zhengjie.modules.wms.order.service.dto.CustomerOrderProductDTO;
|
||||
import me.zhengjie.modules.wms.customerOrder.domain.CustomerOrderProduct;
|
||||
import me.zhengjie.modules.wms.customerOrder.service.dto.CustomerOrderProductDTO;
|
||||
import org.mapstruct.Mapper;
|
||||
import org.mapstruct.ReportingPolicy;
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
package me.zhengjie.modules.wms.order.service.request;
|
||||
package me.zhengjie.modules.wms.customerOrder.service.request;
|
||||
|
||||
import lombok.Data;
|
||||
import me.zhengjie.modules.wms.order.domain.CustomerOrder;
|
||||
import me.zhengjie.modules.wms.order.domain.CustomerOrderProduct;
|
||||
import me.zhengjie.modules.wms.customerOrder.domain.CustomerOrderProduct;
|
||||
import me.zhengjie.modules.wms.customerOrder.domain.CustomerOrder;
|
||||
|
||||
import java.util.List;
|
||||
|
Loading…
Reference in New Issue