字面意思 xxx表已存在. 在使用laravel 写同步结构的时候 最好习惯性写个if语句判定是否存在 // 判断数据表是否存在 Schema::hasTable('table'); // 判断数据表是否有该列 Schema::hasColumn('table', 'column'); 实例: pu ...
分类:
数据库 时间:
2020-05-27 10:34:04
阅读次数:
93
<!-- 通用mapper依赖--> <!-- <dependency>--> <!-- <groupId>tk.mybatis</groupId>--> <!-- <artifactId>mapper-spring-boot-starter</artifactId>--> <!-- <versio ...
分类:
移动开发 时间:
2020-05-27 10:31:16
阅读次数:
63
手动删除测试用例在Azure DevOps Server 中,使用网格功能,可以快速批量的将本地Excel文件中的测试用例导入到服务器中,这个功能为测试人员带来了巨大的便利性。但是如果不小心,由于误操作重复批量导入了批量测试用例,如果采取手动方式一条一条的去删除测试用例,估计会把测试人员折腾疯了;这... ...
分类:
其他好文 时间:
2020-05-27 01:02:33
阅读次数:
250
ExportParams exportParams = new ExportParams("错误集合", "错误集合", ExcelType.XSSF); Workbook workbook = ExcelExportUtil.exportExcel(exportParams, Invite.cla ...
分类:
编程语言 时间:
2020-05-26 23:34:57
阅读次数:
329
在wireshark 上右键点击 列表栏, 选择 Column Preferences > Appearance > Columns 目前加了三列,很方便有效。 stream: tcp.stream hash: nfs.fh.hash File Id: smb2.fid ...
分类:
其他好文 时间:
2020-05-26 21:58:30
阅读次数:
62
AllowsTransparency=true是加载winform:panel,控件不显示:原因窗体的逻辑和渲染冲突 <WindowsFormsHost x:Name="wfh" Grid.Row="1" Grid.Column="1" Margin="10,30,10,30" Background ...
1修改 tools -> Model Options ->Naming Convention -> Table 中 code的长度限制 2修改 tools -> Model Options ->Naming Convention -> Column中 code的长度限制 ...
分类:
其他好文 时间:
2020-05-26 18:18:29
阅读次数:
117
(1) (2) import pandas as pd df = pd.read_excel('python成绩登记信计.xlsx') df1=df[:] df1['一']=df1['一'].map({'优秀':90,'良好':80,'合格':60,'不合格':50}) df1['二']=df1[' ...
分类:
Web程序 时间:
2020-05-26 18:06:19
阅读次数:
82
一、读取excel中的内容 students.xml里的内容如下: import xlrd book = xlrd.open_workbook('students.xls') #打开操作的文件 sheet = book.sheet_by_index(0) #选择文件内的sheet页 # sheet ...
分类:
其他好文 时间:
2020-05-26 16:51:16
阅读次数:
69
有数据表如下:我希望接口名称 和 城市能拆分开显示,城市作为单独的一列数据 使用excel可以快速完成这样的功能: step1: 首先在api_purpose右侧再新建1列,否则完成分列后,会覆盖掉现在的request_url列 step2: 选中api_purpose这一列数据》》数据》》分列 s ...
分类:
其他好文 时间:
2020-05-26 12:29:48
阅读次数:
836