mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
添加仓库供应商管理
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user