fix: 原始bom转ebom忽略非本人创建的,但是打印到日志
This commit is contained in:
parent
7ecfa7d53d
commit
474671154d
|
|
@ -495,11 +495,11 @@ public class BomNewOriginalParentService extends ServiceImpl<BomNewOriginalParen
|
||||||
//开始转换
|
//开始转换
|
||||||
for (BomNewOriginalParentEntity parent : bomNewOriginalParentEntities) {
|
for (BomNewOriginalParentEntity parent : bomNewOriginalParentEntities) {
|
||||||
|
|
||||||
// if (!Objects.equals(parent.getCreatedBy(), SessionUtil.getUserCode())){
|
if (!Objects.equals(parent.getCreatedBy(), SessionUtil.getUserCode())){
|
||||||
// importOriginalBomVOList.add(new ImportOriginalBomVO(parent.getDrawingNo(),"非本人创建"));
|
// importOriginalBomVOList.add(new ImportOriginalBomVO(parent.getDrawingNo(),"非本人创建"));
|
||||||
// log.warn(SessionUtil.getRealName()+"("+SessionUtil.getUserCode()+")转换原始bom("+parent.getRowId().toString()+")到ebom的操作被阻止");
|
log.warn(SessionUtil.getRealName()+"("+SessionUtil.getUserCode()+")转换原始bom("+parent.getRowId().toString()+")到ebom的操作被阻止");
|
||||||
// continue;
|
continue;
|
||||||
// }
|
}
|
||||||
|
|
||||||
LogRecordContext.putVariable("coToEbom",parent);
|
LogRecordContext.putVariable("coToEbom",parent);
|
||||||
Long ebomRowId = IdWorker.getId();
|
Long ebomRowId = IdWorker.getId();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue