| | |
| | | import com.moral.api.mapper.ManageRoleMenuMapper; |
| | | import com.moral.api.service.ManageRoleService; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.moral.constant.Constants; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.util.StringUtils; |
| | |
| | | }else { |
| | | ManageRole manageRole = new ManageRole(); |
| | | manageRole.setId(Integer.parseInt(map.get("id").toString())); |
| | | manageRole.setIsDelete("1"); |
| | | manageRole.setIsDelete(Constants.DELETE); |
| | | Map deleteMap = new HashMap(); |
| | | deleteMap.put("id",Integer.parseInt(map.get("id").toString())); |
| | | deleteMap.put("is_delete",1); |