old mode 100644
new mode 100755
| | |
| | | import com.java110.utils.constant.ResponseConstant; |
| | | import com.java110.utils.exception.DAOException; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import com.java110.core.log.LoggerFactory; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | |
| | | public boolean deleteUserAllPrivilege(Map info) { |
| | | logger.debug("用户默认权限保存入参:{}", info); |
| | | int saveFlag = sqlSessionTemplate.insert("privilegeDAOImpl.deleteUserAllPrivilege", info); |
| | | if (saveFlag < 1) { |
| | | throw new DAOException(ResponseConstant.RESULT_CODE_INNER_ERROR, "删除权限信息失败:" + JSONObject.toJSONString(info)); |
| | | } |
| | | // if (saveFlag < 1) { |
| | | // throw new DAOException(ResponseConstant.RESULT_CODE_INNER_ERROR, "删除权限信息失败:" + JSONObject.toJSONString(info)); |
| | | // } |
| | | return true; |
| | | } |
| | | |