|
|
|
@ -12,7 +12,6 @@ import lombok.AllArgsConstructor;
|
|
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
|
import org.springblade.common.exception.CustomerException; |
|
|
|
|
import org.springblade.core.tool.api.R; |
|
|
|
|
import org.springblade.core.tool.utils.StringUtil; |
|
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
@ -58,12 +57,6 @@ public class IncomingController {
|
|
|
|
|
return R.fail(405,"入库方式不正确"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
String orderPackageCode = inComingDTO.getOrderPackageCode(); |
|
|
|
|
if(StringUtil.isBlank(orderPackageCode)){ |
|
|
|
|
log.warn(method+"包件码不能为空 orderPackageCode={}",orderPackageCode); |
|
|
|
|
return R.fail(405,"包件码不能为空"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return inComingService.findIncomingOrderList(inComingDTO); |
|
|
|
|
}catch (CustomerException e){ |
|
|
|
|
log.error(e.message,e); |
|
|
|
|