摘要: org.apache.ibatis.exceptions.PersistenceException: Error querying database. Cause: java.lang.NumberFormatException: For input string: "x" Cause: java. 阅读全文
posted @ 2024-11-13 19:48 tianjifei123 阅读(13) 评论(0) 推荐(0)
摘要: public class DwVo { private String path; } <select id="getDwById" resultType="com.tt.DwVo"> select PATH from dw where dw_no = #{dw_no} and time = #{ti 阅读全文
posted @ 2024-08-07 16:46 tianjifei123 阅读(40) 评论(0) 推荐(0)
摘要: DECLARE v_org_name VARCHAR2(255) := '安徽省公司'; v_report_date VARCHAR2(40) := '2024年2月'; v_id NUMBER; BEGIN FOR i IN 1..70 LOOP -- 生成一个随机7位的ID v_id := TR 阅读全文
posted @ 2024-08-06 10:21 tianjifei123 阅读(48) 评论(0) 推荐(0)
摘要: 新增 insert into xx_table (ID,X,X,X,X)(<foreach collection="xxList" item="item" index="index" separator="UNION ALL"> select #{item.id}, #{item.X} from d 阅读全文
posted @ 2024-07-30 18:08 tianjifei123 阅读(141) 评论(0) 推荐(0)
摘要: 原因是:在MySQL中,如果value是一个字符串,那么在ORDER BY语句中进行降序排序时,MySQL会根据字符串的字典顺序来排序,而不是数值大小。这意味着字符串会按照首字符的ASCII值进行比较,例如,"100"会排在"2"前面,因为在ASCII码中,"1"的值小于"2"的值。 解决:可以在m 阅读全文
posted @ 2024-05-20 19:19 tianjifei123 阅读(43) 评论(0) 推荐(0)
摘要: ### The error may involve com.ssm.promotion.core.dao.xxxx.insertBatch-Inline### The error occurred while setting parameters### SQL: INSERT ALL SELECT 阅读全文
posted @ 2024-05-08 11:02 tianjifei123 阅读(169) 评论(0) 推荐(0)
摘要: nested exception is org.apache.ibatis.type.TypeException: Could not set parameters for mapping 阅读全文
posted @ 2023-09-05 10:27 tianjifei123 阅读(12) 评论(0) 推荐(1)
摘要: nested exception is com.alibaba.fastjson.JSONException: create instance error, null, public com.hmall.common.pojo.ItemDoc(com.hmall.common.pojo.Item)] 阅读全文
posted @ 2023-09-02 17:22 tianjifei123 阅读(195) 评论(0) 推荐(1)