Merge pull request 'm' (#20) from yanyang into master

Reviewed-on: #20
This commit is contained in:
闫阳 2023-03-07 12:12:58 +08:00
當前提交 c9ddb770e1
共有 2 個檔案被更改,包括 3 行新增1 行删除

查看文件

@ -89,7 +89,7 @@ public abstract class BaseSupportUtils {
.updaterName(getLoginUser().getUsername())
.updateTime(LocalDateTime.now())
.build();
BeanUtils.copyProperties(commonField, t, "enabled", "valid");
BeanUtils.copyProperties(commonField, t, "valid");
return t;
}

查看文件

@ -178,6 +178,8 @@ public class WoPackagingBoxServiceBizImpl extends CrudServiceImpl<WoPackagingBox
for(WoPackagingBoxSubstrate substrate : substrateList){
substrate.setPackagingBoxId(box.getBoxNo());
substrate.setPowerLevel(box.getPowerLevel());
substrate.setSapMaterial(box.getSapMaterial());
substrate.setLineBody(box.getLineBody());
BaseSupportUtils.setCommonField(substrate);
woPackagingBoxSubstrateServiceBiz.insert(substrate);
}