摘要: Excel中的数据是按照工单号存储的,且存在如下关系: 工单——母工单——上阶工单 需要分析整理成 母工单——一阶工单——二阶工单……形式的树状关系图。 思路: 1、读取原始文件,转换成一个个工单的list,以及母工单的list 2、以母工单为根节点,生成描述上下阶关系的树 3、将树按照树的样子(不 阅读全文
posted @ 2019-04-25 16:48 lemon6959 阅读(1481) 评论(1) 推荐(0)
摘要: 连接数据库时,报如下错误: psql: fatal: ident authentication failed for user "dbuser" 解决方法: 修改认证权限配置文件 /var/lib/pgsql/9.6/data/pg_hba.conf 原来: # IPv4 local connect 阅读全文
posted @ 2019-04-23 17:02 lemon6959 阅读(533) 评论(0) 推荐(0)
摘要: python3.4,使用pip3 install pillow报如下错误: Command python setup.py egg_info failed with error code 1 in /tmp/pip-build-jmgsf0_x/pillowStoring debug log for 阅读全文
posted @ 2019-04-23 16:51 lemon6959 阅读(3347) 评论(0) 推荐(1)
摘要: css: jQuery显示页面: 阅读全文
posted @ 2019-04-18 16:16 lemon6959 阅读(621) 评论(0) 推荐(0)
摘要: 用法 常变量: const 类型说明符 变量名 常引用: const 类型说明符 &引用名 常对象: 类名 const 对象名 常成员函数: 类名::fun(形参) const 常数组: 类型说明符 const 数组名[大小] 常指针: const 类型说明符* 指针名 ,类型说明符* const 阅读全文
posted @ 2019-04-11 15:07 lemon6959 阅读(355) 评论(0) 推荐(0)