第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

一直都是注冊(cè)失敗,原因?yàn)槲粗e(cuò)誤

錯(cuò)誤代碼 sql語(yǔ)句錯(cuò)誤

### Error updating database.? Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

### The error may involve com.miaoshaproject.dao.UserDOMapper.insertSelective-Inline

### The error occurred while setting parameters

### SQL: insert into user_info

### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1




https://img1.sycdn.imooc.com//5cb898c30001d17015380067.jpg

https://img1.sycdn.imooc.com//5cb898c300016d7512100553.jpg


<insert?id="insert"?parameterType="com.miaoshaproject.dataobject.UserDO">
??<!--
????WARNING?-?@mbg.generated
????This?element?is?automatically?generated?by?MyBatis?Generator,?do?not?modify.
????This?element?was?generated?on?Wed?Apr?17?16:27:48?CST?2019.
??-->
??insert?into?user_info?(id,?name,?gender,?
????age,?talphone,?register_mode,?
????third_party_id)
??values?(#{id,jdbcType=INTEGER},?#{name,jdbcType=VARCHAR},?#{gender,jdbcType=TINYINT},
????#{age,jdbcType=INTEGER},?#{talphone,jdbcType=VARCHAR},?#{registerMode,jdbcType=VARCHAR},
????#{thirdPartyId,jdbcType=VARCHAR})
</insert>




<insert?id="insertSelective"?parameterType="com.miaoshaproject.dataobject.UserDO"?keyProperty="id"?useGeneratedKeys="true">
??<!--
????WARNING?-?@mbg.generated
????This?element?is?automatically?generated?by?MyBatis?Generator,?do?not?modify.
????This?element?was?generated?on?Wed?Apr?17?16:27:48?CST?2019.
??-->
insert?into?user_info
??<trim?prefix="("?suffix=")"?suffixOverrides=",">
????<if?test="id?!=?null">
??????id,
????</if>
????<if?test="name?!=?null">
??????name,
????</if>
????<if?test="gender?!=?null">
??????gender,
????</if>
????<if?test="age?!=?null">
??????age,
????</if>
????<if?test="talphone?!=?null">
??????talphone,
????</if>
????<if?test="registerMode?!=?null">
??????register_mode,
????</if>
????<if?test="thirdPartyId?!=?null">
??????third_party_id,
????</if>
??</trim>
??<trim?prefix="values?("?suffix=")"?suffixOverrides=",">
????<if?test="id?!=?null">
??????#{id,jdbcType=INTEGER},
????</if>
????<if?test="name?!=?null">
??????#{name,jdbcType=VARCHAR},
????</if>
????<if?test="gender?!=?null">
??????#{gender,jdbcType=TINYINT},
????</if>
????<if?test="age?!=?null">
??????#{age,jdbcType=INTEGER},
????</if>
????<if?test="talphone?!=?null">
??????#{talphone,jdbcType=VARCHAR},
????</if>
????<if?test="registerMode?!=?null">
??????#{registerMode,jdbcType=VARCHAR},
????</if>
????<if?test="thirdPartyId?!=?null">
??????#{thirdPartyId,jdbcType=VARCHAR},
????</if>
??</trim>
</insert>

字段名都正確

正在回答

4 回答

怎么解決的???分享以下啊

0 回復(fù) 有任何疑惑可以回復(fù)我~

求助怎么解決呀

0 回復(fù) 有任何疑惑可以回復(fù)我~

怎么解決的?我也有這個(gè)問(wèn)題

0 回復(fù) 有任何疑惑可以回復(fù)我~
#1

qq_Tzz_0 提問(wèn)者

你看你寫(xiě)的數(shù)據(jù)類型是否和老師的一樣?
2019-04-24 回復(fù) 有任何疑惑可以回復(fù)我~
#2

qq_Tzz_0 提問(wèn)者

我的是用戶注冊(cè)接口里面數(shù)據(jù)類型寫(xiě)錯(cuò)了
2019-04-24 回復(fù) 有任何疑惑可以回復(fù)我~
#3

雨啊 回復(fù) qq_Tzz_0 提問(wèn)者

在哪個(gè)文件里
2020-01-02 回復(fù) 有任何疑惑可以回復(fù)我~

已解決

0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消

一直都是注冊(cè)失敗,原因?yàn)槲粗e(cuò)誤

我要回答 關(guān)注問(wèn)題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)