|
@@ -139,7 +139,8 @@ public class WorkerStockLogic {
|
|
|
.eq(WorkerGoods::getGoodsId, goodsId)
|
|
|
.one();
|
|
|
if (workerGoods == null) {
|
|
|
- throw new RemoteServiceException("商品编号【" + goodsId + "】不存在");
|
|
|
+ String typeTipsStr = websitGoodsTypeEnum.getKey().equals(WebsitGoodsTypeEnum.M.getKey()) ? "辅材" : "配件";
|
|
|
+ throw new RemoteServiceException(typeTipsStr + "编号【" + goodsId + "】不存在");
|
|
|
}
|
|
|
|
|
|
//判断师傅信息
|