上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 64 下一页
摘要: MYBATIS SQL一对多查询 返回对象或LIST中包含子LIST 标签: mybatis 数据库对应关系如下图 : 两个表的关联关系 是 store_code 和 sku_code 同时相等 要求查询结果(图一) "list": [ { "storeCode": "0001", "skuCode 阅读全文
posted @ 2022-05-11 09:09 红尘沙漏 阅读(3197) 评论(0) 推荐(0)
摘要: function jinYong(){ var className=document.getElementById('jishuOuShuJinYong').className; console.log("className "+className); var a = document.getEle 阅读全文
posted @ 2022-05-05 17:06 红尘沙漏 阅读(820) 评论(0) 推荐(0)
摘要: <div class="col-sm-8"> <#form:input path="quantity" maxlength="10" class="form-control required" onblur="value=zhzs(this.value)"/> </div> //限制数量只能输入数字 阅读全文
posted @ 2022-05-05 10:59 红尘沙漏 阅读(235) 评论(0) 推荐(0)
摘要: 我们都知道http协议只能在浏览器单方面向服务器发起请求时获得响应,然而服务器不能主动向浏览器推送消息,想要实现浏览器的主动推送目前有两种主流的实现方式: 轮询:缺点很多,但是实现简单 websocket: 在浏览器和服务器之间建立TCP连接,实现全双工通信springboot使用websocket 阅读全文
posted @ 2022-04-01 17:51 红尘沙漏 阅读(833) 评论(0) 推荐(0)
摘要: 1. 其实就是一个HTTP请求,如下 请求方式:POST(HTTPS) 请求地址: https://qyapi.weixin.qq.com/cgi-bin/message/send?access_token=ACCESS_TOKEN 文本消息请求参数实例如下 { "touser" : "UserID 阅读全文
posted @ 2022-03-25 10:21 红尘沙漏 阅读(1878) 评论(0) 推荐(0)
摘要: package java8test; import java.time.Instant; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.ZoneId; import java.time.for 阅读全文
posted @ 2022-03-23 13:42 红尘沙漏 阅读(1112) 评论(0) 推荐(0)
摘要: fullcalendar 下载地址 https://www.jb51.net/jiaoben/24395.html 阅读全文
posted @ 2022-03-16 10:54 红尘沙漏 阅读(69) 评论(0) 推荐(0)
摘要: <#form:input path="quantity" maxlength="10" class="form-control required" onblur="value=zhzs(this.value)"/> //限制数量只能输入数字 function zhzs(value) { value 阅读全文
posted @ 2022-03-14 15:56 红尘沙漏 阅读(1239) 评论(0) 推荐(0)
摘要: 方法一:通过springboot自带入口来开启定时器。 首先我们都知道,springboot有一个自己的入口,也就是@SpringBootApplication(他是一个组合注解 由@Configuration,@EnableAutoConfiguration和@ComponentScan组成)。 阅读全文
posted @ 2022-03-09 15:33 红尘沙漏 阅读(569) 评论(0) 推荐(0)
摘要: <update id="updateUser" parameterType="com.dy.entity.User"> update user <set> <if test="name != null">name = #{name},</if> <if test="password != null" 阅读全文
posted @ 2022-03-07 09:20 红尘沙漏 阅读(502) 评论(1) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 64 下一页