完善物料分类

This commit is contained in:
刘名喜 2024-10-30 15:05:17 +08:00
parent d283e5fa5e
commit 3eb879e497

View File

@ -98,8 +98,8 @@ public class ItemTypeController extends BaseController {
if(itemType.getParentTypeId() ==null || itemType.getParentTypeId()==0){
itemType.setParentTypeId(0L);
}
//自动生成一个唯一编码
itemType.setItemTypeCode(autoCodeUtil.genSerialCode(UserConstants.ITEM_TYPE_CODE,null));
// 自动生成一个唯一编码
// itemType.setItemTypeCode(autoCodeUtil.genSerialCode(UserConstants.ITEM_TYPE_CODE,null));
itemType.setCreateBy(getUsername());
return AjaxResult.success(iItemTypeService.insertItemType(itemType));
}