提示信息优化
This commit is contained in:
parent
af3268756f
commit
da42182ecc
|
|
@ -91,7 +91,7 @@ public class OriginalBomApi extends BaseApi {
|
|||
BomNewOriginalParentEntity parentEntity = originalParentService.getBaseMapper().selectById(bom.getParentRowId());
|
||||
LogRecordContext.putVariable("drawingNo",parentEntity.getDrawingNo());
|
||||
|
||||
VUtils.isTure(!Objects.equals(parentEntity.getCreatedBy(), SessionUtil.getUserCode())).throwMessage("不能操作非本人创建的数据");
|
||||
VUtils.isTure(!Objects.equals(parentEntity.getCreatedBy(), SessionUtil.getUserCode())).throwMessage("不能操作他人创建的数据");
|
||||
|
||||
return ResultVO.success(originalParentService.saveBom(bom, false));
|
||||
}
|
||||
|
|
@ -104,7 +104,7 @@ public class OriginalBomApi extends BaseApi {
|
|||
BomNewOriginalParentEntity parentEntity = originalParentService.getBaseMapper().selectById(bom.getParentRowId());
|
||||
LogRecordContext.putVariable("drawingNo",parentEntity.getDrawingNo());
|
||||
|
||||
VUtils.isTure(!Objects.equals(parentEntity.getCreatedBy(), SessionUtil.getUserCode())).throwMessage("不能操作非本人创建的数据");
|
||||
VUtils.isTure(!Objects.equals(parentEntity.getCreatedBy(), SessionUtil.getUserCode())).throwMessage("不能操作他人创建的数据");
|
||||
|
||||
return ResultVO.success(originalParentService.saveSubmit(bom));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue