后台信息国际化
This commit is contained in:
@@ -9,6 +9,7 @@ import java.util.List;
|
||||
import com.ruoyi.bas.basJobId.service.IBasJobIdService;
|
||||
import com.ruoyi.common.annotation.DataScope;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.utils.MessageUtils;
|
||||
import com.ruoyi.common.utils.uuid.UUID;
|
||||
import com.ruoyi.out.outStockout.domain.OutStockoutVo;
|
||||
import com.ruoyi.out.outStockoutDetail.domain.OutStockoutDetail;
|
||||
@@ -161,10 +162,10 @@ public class OutStockoutServiceImpl implements IOutStockoutService
|
||||
|
||||
OutStockout outStockout = outStockoutMapper.selectOutStockoutByStockoutId(stockoutId);
|
||||
if (outStockout == null){
|
||||
return AjaxResult.warn("未找到出库单");
|
||||
return AjaxResult.warn(MessageUtils.message("warn.message4"));
|
||||
}
|
||||
if ("1".equals(outStockout.getStatus())){
|
||||
return AjaxResult.warn("出库单状态未审核");
|
||||
return AjaxResult.warn(MessageUtils.message("warn.message5"));
|
||||
}
|
||||
|
||||
HashMap<String, String> map = new HashMap<>();
|
||||
@@ -184,6 +185,6 @@ public class OutStockoutServiceImpl implements IOutStockoutService
|
||||
if (stringBuilder.length()>0){
|
||||
return AjaxResult.warn(stringBuilder.toString());
|
||||
}
|
||||
return AjaxResult.success("自动分配成功");
|
||||
return AjaxResult.success();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user