上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 33 下一页

2022年6月22日

mysql 中sql 语句查询今天、昨天、7天、近30天、本月、上一月 数据

摘要: 今天select * from 表名 where to_days(时间字段名) = to_days(now());昨天SELECT * FROM 表名 WHERE TO_DAYS( NOW( ) ) - TO_DAYS( 时间字段名) <= 17天SELECT * FROM 表名 where DAT 阅读全文

posted @ 2022-06-22 17:06 zyp_java_net 阅读(5157) 评论(0) 推荐(0)

mybatis foreach split

摘要: <!-- 三管监测 --><select id="rep_sgjc" parameterType="JkHisZybrcryxxb" resultType="map"> select a.id,a.dqksmc,a.zyid,a.zycs,a.brxm,a.xb,a.ch,a.ryzd,date_f 阅读全文

posted @ 2022-06-22 11:53 zyp_java_net 阅读(234) 评论(0) 推荐(0)

2022年6月16日

mysql 计算两个日期的天数

摘要: update jk_his_zybrcryxxb set xse='是',nldw='天' where id in(select id FROM(select id from jk_his_zybrcryxxb where DATEDIFF( ryrq,csrq )<=28) a ) 阅读全文

posted @ 2022-06-16 08:08 zyp_java_net 阅读(177) 评论(0) 推荐(0)

2022年6月15日

mysql多表查询去重复数据_SQL重复记录查询 查询多个字段、多表查询、删除重复记录的方法...

摘要: SQL重复记录查询 1、查找表中多余的重复记录,重复记录是根据单个字段(peopleId)来判断 select * from people where peopleId in (select peopleId from people group by peopleId having count(pe 阅读全文

posted @ 2022-06-15 11:05 zyp_java_net 阅读(2333) 评论(0) 推荐(0)

2022年6月9日

input输入框自动填充样式丢失 - 解决方法

摘要: 解决方法: 可以修改:-webkit-autofill中box-shadow的属性去改变输入框自动填充的颜色 input:-webkit-autofill { box-shadow: 0 0 0 1000px #f8f8f8 inset !important;} 阅读全文

posted @ 2022-06-09 21:57 zyp_java_net 阅读(192) 评论(0) 推荐(0)

2022年6月8日

element UI 设置 el-table 表格 表头及各行的高度斑马线样式

摘要: 方法1:(高度不生效) .el-table__header tr, .el-table__header th { padding: 0; height: 40px;}//表头 .el-table__body tr, .el-table__body td { padding: 0; height: 4 阅读全文

posted @ 2022-06-08 22:16 zyp_java_net 阅读(2266) 评论(0) 推荐(0)

解决sass-loader和node-sass版本冲突问题(太难了)

摘要: 我的解决方案:执行以下脚本: npm uninstall sass-loader node-sassnpm install sass-loader@8.0.2 sass@1.26.5 --save-dev不要安装node-sass,安装sass就可以了,package.json如下 { "name" 阅读全文

posted @ 2022-06-08 13:50 zyp_java_net 阅读(361) 评论(0) 推荐(0)

node16.14 对应node-sass sass-loader 版本

摘要: 1.删除当前依赖包 npm uninstall node-sass sass-loader 2.下载对应版本 npm i node-sass@6.0.1 sass-loader@7.0.3. 阅读全文

posted @ 2022-06-08 13:28 zyp_java_net 阅读(697) 评论(0) 推荐(0)

2022年6月1日

关于C#从⼀个List复制到另⼀个List的简便写法。

摘要: 关于C#从⼀个List复制到另⼀个List的简便写法。我们都知道,C#的变量在类型上可以分为值类型和引⽤类型。所谓值类型就是这个变量存储的是⼀个具体的值,两个值类型的值是相互独⽴的,修改⼀个不会影响另⼀个。例如:int i = 1;int j = i;i++;Console.WriteLine(i 阅读全文

posted @ 2022-06-01 15:52 zyp_java_net 阅读(1861) 评论(0) 推荐(0)

2022年5月30日

js html页面原生js横向打印

摘要: 打印方向控制 @page { size: landscape; }//横向 @page { size: portrait; }//纵向 但是写在Css 中无法切换还是要写在js中。 //切换打印方向let $changePrint = function (type) { let html = ''; 阅读全文

posted @ 2022-05-30 16:56 zyp_java_net 阅读(778) 评论(0) 推荐(0)

上一页 1 ··· 19 20 21 22 23 24 25 26 27 ··· 33 下一页

导航