添加仓库供应商管理

This commit is contained in:
2024-02-24 13:21:28 +08:00
parent f937519d3b
commit afada8c6b9

View File

@@ -56,6 +56,7 @@ import cn.lihongjie.coal.syslog.entity.SysLogEntity;
import cn.lihongjie.coal.user.entity.UserEntity;
import cn.lihongjie.coal.warehouse.entity.WarehouseEntity;
import cn.lihongjie.coal.warehouseShelve.entity.WarehouseShelveEntity;
import cn.lihongjie.coal.warehouseSupplier.entity.WarehouseSupplierEntity;
import org.mapstruct.Mapper;
@@ -582,6 +583,16 @@ public interface CommonEntityMapper {
return e;
}
default WarehouseSupplierEntity createWarehouseSupplierEntity(String id) {
if (org.apache.commons.lang3.StringUtils.isEmpty(id)) {
return null;
}
var e = new WarehouseSupplierEntity();
e.setId(id);
return e;
}
default LoginUserEntity createLoginUserEntity(String id) {
if (org.apache.commons.lang3.StringUtils.isEmpty(id)) {