
笔记
w979000397
这个作者很懒,什么都没留下…
展开
-
记一次window.location.href传对象问题
描述:项目中有时会用到window.location.href或者iframe来导出数据,需要将检索条件提交到后台,那么怎么办呢?思路:前端将检索条件form表单到数据先封装成json串后端直字符使用json工具包转对象代码:前端$("#btn_export").on('click', function () { var formData = {}; $.each($("#search_form").serializeArray(), function ()原创 2022-03-25 10:24:49 · 3190 阅读 · 0 评论 -
记录一次调用mysql出现[Lock wait timeout exceeded; try restarting transaction]的处理方法
异常信息:org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name '***Controller': Unsatisfied dependency expressed through field '***Service'; nested exception is org.springframework.beans.factory.BeanCreationException原创 2022-03-23 15:27:56 · 1210 阅读 · 0 评论