| | |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import jakarta.servlet.http.HttpServletResponse; |
| | | import java.util.*; |
| | | |
| | | @Api(tags = "逻辑分区") |
| | | @RestController |
| | | public class LocAreaController extends BaseController { |
| | | |
| | |
| | | } |
| | | if (Objects.isNull(locArea.getAreaId())) { |
| | | throw new CoolException("库区不能为空!!"); |
| | | } |
| | | if (Objects.isNull(locArea.getLocId())) { |
| | | throw new CoolException("库位不能为空!!"); |
| | | } |
| | | |
| | | locArea.setCreateBy(getLoginUserId()); |