Java Code Examples for com.macro.mall.model.UmsPermission#setStatus()
The following examples show how to use
com.macro.mall.model.UmsPermission#setStatus() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: UmsPermissionServiceImpl.java From mall-swarm with Apache License 2.0 | 5 votes |
@Override public int create(UmsPermission permission) { permission.setStatus(1); permission.setCreateTime(new Date()); permission.setSort(0); return permissionMapper.insert(permission); }
Example 2
Source File: UmsPermissionServiceImpl.java From macrozheng with Apache License 2.0 | 5 votes |
@Override public int create(UmsPermission permission) { permission.setStatus(1); permission.setCreateTime(new Date()); permission.setSort(0); return permissionMapper.insert(permission); }
Example 3
Source File: UmsPermissionServiceImpl.java From mall with Apache License 2.0 | 5 votes |
@Override public int create(UmsPermission permission) { permission.setStatus(1); permission.setCreateTime(new Date()); permission.setSort(0); return permissionMapper.insert(permission); }
Example 4
Source File: UmsPermissionServiceImpl.java From macrozheng-mall with MIT License | 5 votes |
@Override public int create(UmsPermission permission) { permission.setStatus(1); permission.setCreateTime(new Date()); permission.setSort(0); return permissionMapper.insert(permission); }