2019年2月13日

sqlserver 时间段拆分

摘要: 输入一个时间 2015/1/1 -2016/12/31 价格500 在输入一个时间 2015/2/1-2015/10/3 价格600 这时数据变成 2015/1/1 - 2015/2/1 价格500 2015/2/1 - 2015/10/3价格600 2015/10/3 - 2016/12/31价格 阅读全文

posted @ 2019-02-13 11:30 新手vs中华 阅读(418) 评论(0) 推荐(0) 编辑

不固定数量 按比例分配(将比例转为权重)

摘要: 遇到的问题:后台给多个不同管道设置比例,根据递增的数据和后台设置的比例寻找应用管道 阅读全文

posted @ 2019-02-13 11:06 新手vs中华 阅读(1493) 评论(0) 推荐(0) 编辑

2019年1月14日

Python学习(二) 格式化数据

摘要: python格式化字符串方式有两种 %和format1、百分号方式:%[(name)][flags][width].[precision]typecode2、format方式:[[fill]align][sign][#][0][width][,][.precision][type] 百分号方式:%[ 阅读全文

posted @ 2019-01-14 16:23 新手vs中华 阅读(157) 评论(0) 推荐(0) 编辑

2019年1月11日

Python学习(一) 从print开始

摘要: print(*objects, sep=’ ‘, end=’\n’, file=sys.stdout, flush=False) 如 输出:test1/test2/test3/test4 换行 到D:\test.txt文件中 阅读全文

posted @ 2019-01-11 16:28 新手vs中华 阅读(222) 评论(0) 推荐(0) 编辑

导航