已采納回答 / 陳閩不會(huì)算法復(fù)雜度
我也遇到了這個(gè)問(wèn)題,首先是創(chuàng)建訂單的時(shí)候itemstock和item沒(méi)有對(duì)應(yīng)上。在ItemDOMapper中我們使用到了insertSelective的方法來(lái)插入一個(gè)新的記錄,但是這個(gè)記錄的主鍵并沒(méi)有返回到ItemServiceImpl中g(shù)etlist地...
2019-04-23
項(xiàng)目已經(jīng)跟著老師做完,地址:
https://github.com/Zihaoo/miaosha
https://github.com/Zihaoo/miaosha
2019-04-23
項(xiàng)目已經(jīng)跟著老師做完,地址:
https://github.com/Zihaoo/miaosha
https://github.com/Zihaoo/miaosha
2019-04-23
已采納回答 / 不是杯具的悲劇
pom沒(méi)有配置你的plugin吧,在你的pom.xml中把build換成這個(gè)試一下<build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> <plugin> &...
2019-04-22
最新回答 / qq_慕的地8362568
BusinessException:null?這個(gè)只不過(guò)是一個(gè)封裝的異常信息。因?yàn)?public class BusinessException extends Exception :這說(shuō)明了你的查詢是沒(méi)有錯(cuò)的,只不過(guò)是數(shù)據(jù)庫(kù)沒(méi)有對(duì)應(yīng)的數(shù)據(jù)報(bào)了一個(gè)這樣的錯(cuò)誤【java.lang.NullPointerException: null】空指針異常。if (ex instanceof BusinessException) {BusinessException?businessException?=?(Busin...
2019-04-21
最新回答 / AbstractMonments
//用戶注冊(cè) UserModel?userModel?=?new?UserModel(); ... userModel.setGender(gender); //使用?userModel.setGender(new?Byte(String.valueOf(gender.intValue())));傳遞null時(shí)會(huì)報(bào)錯(cuò) userModel.setAge(age); ...
2019-04-21
最新回答 / 搬磚的阿迪
$.ajax({type:"POST",contentType:"application/x-www-form-urlencoded",url:"http://localhost:8090/user/login",data:{"telphone":$("#telphone").val(),"password":password,},xhrFields: {withCredentials: true},前端頁(yè)面加上?xhrFields: {withCredentials: true},
最新回答 / qq_慕瓜1151558
怎么解決的???分享以下啊