Commit 0f3bf2d4 authored by knight's avatar knight Committed by wux

bug228 (生产)A2500234GA订单调仓到仓动态出现:状态错误

parent 7451226c
......@@ -321,7 +321,7 @@ public interface ErrorCodeConstants {
ErrorCode ORDER_IS_WAITING_SHIPMENT = new ErrorCode(1006010079, "order.is.waiting.shipment");
ErrorCode WAREHOUSE_IN_RECORD_DATA_NOT_IS_ZERO = new ErrorCode(1006010080, "warehouse.in.record.data.not.is.zero");
ErrorCode WAREHOUSE_ADJUST_ILLEGAL_OPERATION = new ErrorCode(1006010081, "warehouse.adjust.illegal.operation");
ErrorCode WAREHOUSE_ADJUST_HAVE_ARRIVED = new ErrorCode(1006010081, "warehouse.adjust.have.arrived");
ErrorCode USER_NOT_EXISTS = new ErrorCode(1004001000, "member.user.not.exist");
......
......@@ -477,7 +477,7 @@ public class OrderWarehouseAdjustServiceImpl extends AbstractService<OrderWareho
}
// 不是出仓状态不可操作到仓
if (!Objects.equals(OrderWarehouseAdjustStatusEnum.deliveries.getValue() , orderWarehouseAdjustDO.getStatus())){
throw exception(WAREHOUSE_ADJUST_ILLEGAL_OPERATION);
throw exception(WAREHOUSE_ADJUST_HAVE_ARRIVED);
}
String note = "";
......
......@@ -130,7 +130,7 @@ order.warehouse.check.not.exists=order warehouse check not exists
order.warehouse.check.bad.volume=order warehouse check bad volume
order.warehouse.check.bad.weight=order warehouse check bad weight
warehouse.adjust.not.exists=warehouse adjust not exists
warehouse.adjust.illegal.operation=warehouse adjust illegal operation
warehouse.adjust.have.arrived=Position transfer records have arrived in the warehouse
shipment.not.exists=Shipment does not exist
shipment.order.exit.not.exists=Order exit information does not exist
line.not.open=line not open
......
......@@ -130,7 +130,7 @@ order.warehouse.check.not.exists=D\u00E9tails des marchandises non trouv\u00E9s
order.warehouse.check.bad.volume=Volume de marchandise d\u00E9pass\u00E9 \u00E0 l'entrep\u00F4t
order.warehouse.check.bad.weight=Poids de marchandise d\u00E9pass\u00E9 \u00E0 l'entrep\u00F4t
warehouse.adjust.not.exists=Aucune trace de transfert de stock n'existe
warehouse.adjust.illegal.operation=l'entrep\u00F4t ajuste l'op\u00E9ration ill\u00E9gale
warehouse.adjust.have.arrived=Les enregistrements de transfert de positions sont arriv\u00E9s dans l'entrep\u00F4t
shipment.not.exists=Bon de sortie introuvable
shipment.order.exit.not.exists=Information de sortie de la commande introuvable
line.not.open=La ligne n'est pas activ\u00E9e
......
......@@ -130,7 +130,7 @@ order.warehouse.check.not.exists=\u5230\u4ED3\u8D27\u7269\u8BE6\u60C5\u4E0D\u5B5
order.warehouse.check.bad.volume=\u5230\u4ED3\u8D27\u7269\u4F53\u79EF\u8D85\u51FA
order.warehouse.check.bad.weight=\u5230\u4ED3\u8D27\u7269\u91CD\u91CF\u8D85\u51FA
warehouse.adjust.not.exists=\u8C03\u4ED3\u8BB0\u5F55\u4E0D\u5B58\u5728
warehouse.adjust.illegal.operation=\u8C03\u4ED3\u8BB0\u5F55\u975E\u6CD5\u64CD\u4F5C
warehouse.adjust.have.arrived=\u8C03\u4ED3\u8BB0\u5F55\u5DF2\u5230\u4ED3
shipment.not.exists=\u51FA\u8D27\u4E0D\u5B58\u5728
shipment.order.exit.not.exists=\u8BA2\u5355\u9000\u573A\u4FE1\u606F\u4E0D\u5B58\u5728
line.not.open=\u7EBF\u8DEF\u672A\u5F00\u901A
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment