Commit 3a2fbd8e by guojuxing

关闭工单修复

parent c7c582d6
......@@ -83,6 +83,7 @@ public class StoreWidgetApiServiceImpl implements StoreWidgetApiService {
@Override
public ServiceResponse<Integer> updateAuth(StoreWidgetDTO storeWidgetDTO) {
storeWidgetLogUtils.setLoginUserResource(storeWidgetDTO.getUserId(), storeWidgetDTO);
int i = this.storeWidgetService.updateAuth(storeWidgetDTO);
if (i > 0) {
//日志
......
......@@ -104,10 +104,10 @@ public class StoreWidgetLogUtils {
* @param userId
* @param storeWidgetDTO
*/
private void setLoginUserResource(Integer userId, StoreWidgetDTO storeWidgetDTO) {
public void setLoginUserResource(Integer userId, StoreWidgetDTO storeWidgetDTO) {
logger.info("设置登录管理员的门店资源权限参数:{}", userId);
//子管理员创建/更新权限范围数据,写入管理员管辖权限数据
if (userId != null && storeWidgetDTO.getStoreWidgetId() == null) {
if (userId != null) {
ServiceResponse<UserDTO> userRes = userApiService.getUserInfoById(userId);
if (userRes.isSuccess()) {
UserDTO user = userRes.getResult();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment