林末 林末
4年前
python读取excel数据转为json格式
做自动化时需要从excel读取数据;本文实现将excel文件数据读取为json格式,方便自动化调用读取xls文件使用xlrd读取xls文件代码:pythonimportxlrddefreadxls(file):实例化excelbookxlrd.openworkbook(file)下标读取sheetsheetb
Easter79 Easter79
4年前
stylus基础教程,stylus实例教程,stylus语法总结
stylus特点富于表现力、具有健壮性、功能丰富、动态编码不需要写CSS的冒号、分号、大括号和LESS、SASS功能类似,会这些的入手很快stylus特点安装使用stylus语法(一)选择器(二)变量(三)插值(四)运算符(五)内置函数(六)尾参数…(七)@extend继承
Easter79 Easter79
4年前
SpringBoot整合mybatis、shiro、redis实现基于数据库的细粒度动态权限管理系统实例
1.前言本文主要介绍使用SpringBoot与shiro实现基于数据库的细粒度动态权限管理系统实例。使用技术:SpringBoot、mybatis、shiro、thymeleaf、pagehelper、Mapper插件、druid、dataTables、ztree、jQuery开发工具:intellijidea数据库:mys
Stella981 Stella981
4年前
HBase 在HDFS上的物理目录结构
根目录配置项<namehbase.rootdir</name默认“/hbase”根级文件/hbase/WALs被HLog实例管理的WAL文件。/hbase/WALs/datahbase.com,60020,1443159380730对于每个HregionServer,日志目录中都包含一个对应的子目录
Stella981 Stella981
4年前
SPOOL 命令使用实例【oracle导出纯文本格式文件】
SPOOL命令使用实例【oracle导出纯文本格式文件】SET(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fblog.csdn.net%2Fwen_demon%2Farticle%2Fdetails%2F25411477
Stella981 Stella981
4年前
Python Django 之 直接执行自定义SQL语句(一)
一、执行自定义SQL方法1、ExecutingcustomSQLdirectly   直接执行自定义SQL,这种方式可以完全避免数据模型,而是直接执行原始的SQL语句。2、Manager.raw()   执行原始查询并返回模型实例二、ExecutingcustomSQLdire
Stella981 Stella981
4年前
SpringBoot整合mybatis、shiro、redis实现基于数据库的细粒度动态权限管理系统实例
1.前言本文主要介绍使用SpringBoot与shiro实现基于数据库的细粒度动态权限管理系统实例。使用技术:SpringBoot、mybatis、shiro、thymeleaf、pagehelper、Mapper插件、druid、dataTables、ztree、jQuery开发工具:intellijidea数据库:mys
Wesley13 Wesley13
4年前
B2B2C商城系统基于脚本引擎的运费架构分享
脚本的生成过程!(https://oscimg.oschina.net/oscnet/up962650fba710665a415b77f720851be545e.png)添加模板的时候生成script,商家添加商品的时候拷贝相应的script到sku中。!(https://oscimg.oschina.net/oscnet/u
Stella981 Stella981
4年前
Flutter中的绘图(Canvas&CustomPaint)API
本文是Flutter中Canvas和CustomPaintAPI的使用实例。首先看一下我们要实现的效果:!实现效果(https://img2020.cnblogs.com/blog/1595922/202007/1595922202007301524553491226065709.gif)结合动图演示,列出最终目标如下:
Wesley13 Wesley13
4年前
ThinkPHP 根据关联数据查询 hasWhere 的使用实例
很多时候,模型关联后需要根据关联的模型做查询。场景:广告表(ad),广告类型表(ad\_type),现在需要筛选出广告类型表中id字段为1且广告表中status为1的列表先看关联的设置部分 publicfunctionadType(){return$thisbelongsTo('A