上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 22 下一页
摘要: select eq_no, count(if(out_in_type = '01',1,null)) as inCount, //01 进场人次 count(if(out_in_type = '02',1,null)) as OutCount, //02 出场人次 ent_name, ent_id, 阅读全文
posted @ 2022-03-15 15:34 了悟 阅读(88) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/fly-book/p/10990839.html 跳转 阅读全文
posted @ 2022-03-03 17:54 了悟 阅读(49) 评论(0) 推荐(0)
摘要: 我用的是idea 编译器,执行maven clean 之后就可以了 阅读全文
posted @ 2022-02-22 10:47 了悟 阅读(33) 评论(0) 推荐(0)
摘要: 在SQL语句中有时需要select *from where code in( '112','113','205'...........'451')此语句中的'112','113','205'...........'451'数据格式如数据很多时要手工写成此格式将非常麻烦 所以可以用excel批量格式化 阅读全文
posted @ 2022-02-21 18:16 了悟 阅读(199) 评论(0) 推荐(0)
摘要: 4种方法,都是四舍五入,例: 推荐直接第二种 m2() import java.math.BigDecimal; import java.text.DecimalFormat; import java.text.NumberFormat; public class format { double f 阅读全文
posted @ 2022-02-11 16:56 了悟 阅读(3089) 评论(0) 推荐(0)
摘要: 原因:click事件的时候用的是id名,不是类名,改成类名就好了 <button class="btn btn-success btn-sm download-cert" id="download-cert" data-test-examId="${item.id }">下载证书</button> 阅读全文
posted @ 2022-02-11 11:32 了悟 阅读(39) 评论(0) 推荐(0)
摘要: 1. textarea 标签 回显需要 th:text="${news.summary}",普通input标签是 th:value="${news.newsTitle}" <div class="col-sm-11"> <textarea id="summary" name="summary" cl 阅读全文
posted @ 2022-02-10 17:52 了悟 阅读(177) 评论(0) 推荐(0)
摘要: 业务:查询订单数量和订单总金额 根据国家分组当然还有别的条件,这里不全写了select count(DISTINCT t.customer_id) as customerNum, 去重统计一个国家的下单客户数 sum(t.total_amount) as saleAmount, 统计一个国家的销售金 阅读全文
posted @ 2022-01-19 15:35 了悟 阅读(232) 评论(0) 推荐(0)
摘要: 可以left join 之后加and 条件。这样查询出来的记录不会少,为空的也能查出来,但是仍然能筛选 例子: select t.product_id, t.unit_price as price, t.number, t.item_total_price, t.remark, t.im_cost_ 阅读全文
posted @ 2022-01-17 16:28 了悟 阅读(987) 评论(0) 推荐(0)
摘要: 1.生产和本地运行结果不一样 这里这个role 的list 有ROLE_ADMIN 和ROLE_PFADMIN 两个,并不包含 ROLE_WIG_ADMIN 本地不会进if。但是线上会进。 2.https://blog.csdn.net/tgyman/article/details/53606725 阅读全文
posted @ 2022-01-11 15:50 了悟 阅读(390) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 22 下一页