| | |
| | | package com.java110.order.dao.impl; |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.java110.common.constant.ResponseConstant; |
| | | import com.java110.common.exception.DAOException; |
| | | import com.java110.utils.constant.ResponseConstant; |
| | | import com.java110.utils.exception.DAOException; |
| | | import com.java110.core.base.dao.BaseServiceDao; |
| | | import com.java110.order.dao.IPrivilegeDAO; |
| | | import org.slf4j.Logger; |
| | |
| | | } |
| | | |
| | | /** |
| | | * 保存权限组 |
| | | * @param info |
| | | * @return |
| | | */ |
| | | @Override |
| | | public boolean updatePrivilegeGroup(Map info) { |
| | | logger.debug("编辑权限组信息入参:{}",info); |
| | | int saveFlag = sqlSessionTemplate.insert("privilegeDAOImpl.updatePrivilegeGroup",info); |
| | | if(saveFlag < 1){ |
| | | throw new DAOException(ResponseConstant.RESULT_CODE_INNER_ERROR,"编辑权限组信息失败:"+ JSONObject.toJSONString(info)); |
| | | } |
| | | return true; |
| | | } |
| | | |
| | | /** |
| | | * 删除权限组 |
| | | * @param info |
| | | * @return |