完善物料分类
This commit is contained in:
parent
d283e5fa5e
commit
3eb879e497
@ -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));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user