mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 15:55:18 +08:00
bugfix
This commit is contained in:
@@ -9,6 +9,7 @@ import cn.lihongjie.coal.department.entity.DepartmentEntity;
|
||||
import cn.lihongjie.coal.dictionary.entity.DictionaryEntity;
|
||||
import cn.lihongjie.coal.dictionary.entity.DictionaryItemEntity;
|
||||
import cn.lihongjie.coal.file.entity.FileEntity;
|
||||
import cn.lihongjie.coal.inventoryCheck.entity.InventoryCheckEntity;
|
||||
import cn.lihongjie.coal.meter.entity.MeterEntity;
|
||||
import cn.lihongjie.coal.meterLog.entity.MeterLogEntity;
|
||||
import cn.lihongjie.coal.netDisk.entity.NetDiskEntity;
|
||||
@@ -16,6 +17,7 @@ import cn.lihongjie.coal.noteBook.entity.NoteBookEntity;
|
||||
import cn.lihongjie.coal.noteBookChapter.entity.NoteBookChapterEntity;
|
||||
import cn.lihongjie.coal.organization.entity.OrganizationEntity;
|
||||
import cn.lihongjie.coal.permission.entity.PermissionEntity;
|
||||
import cn.lihongjie.coal.product.entity.ProductEntity;
|
||||
import cn.lihongjie.coal.purchaseOrder.entity.PurchaseOrderEntity;
|
||||
import cn.lihongjie.coal.resource.entity.ResourceEntity;
|
||||
import cn.lihongjie.coal.role.entity.RoleEntity;
|
||||
@@ -286,7 +288,27 @@ public interface CommonMapper {
|
||||
e.setId(id);
|
||||
return e;
|
||||
}
|
||||
default InventoryCheckEntity createInventoryCheckEntity(String id) {
|
||||
|
||||
if (StringUtils.isEmpty(id)) {
|
||||
|
||||
return null;
|
||||
}
|
||||
var e = new InventoryCheckEntity();
|
||||
e.setId(id);
|
||||
return e;
|
||||
}
|
||||
|
||||
default ProductEntity createProductEntity(String id) {
|
||||
|
||||
if (StringUtils.isEmpty(id)) {
|
||||
|
||||
return null;
|
||||
}
|
||||
var e = new ProductEntity();
|
||||
e.setId(id);
|
||||
return e;
|
||||
}
|
||||
default String toString(Object o) {
|
||||
|
||||
if (o == null) {
|
||||
|
||||
Reference in New Issue
Block a user