摘要: swal( '审核通过!', '', 'success' ).then(function () { Return(); }) 阅读全文
posted @ 2020-08-11 14:27 林荼 阅读(653) 评论(0) 推荐(0) 编辑
摘要: wm_concat 例: select wm_concat(市) from pa50 where apa132=省 阅读全文
posted @ 2020-08-11 14:25 林荼 阅读(1103) 评论(0) 推荐(0) 编辑
摘要: select xxx,xxx from xxx where decode(AAA,0,BBB,1,CCC)='12345' 如果AAA字段等于0则AAA=''12345' 否则如果BBB字段等于1则BBB='12345' 否则CCC='12345' 阅读全文
posted @ 2020-08-11 14:24 林荼 阅读(534) 评论(0) 推荐(1) 编辑
摘要: @TableField(exist = false) 注解加载bean属性上,表示当前属性不是数据库的字段,但在项目中必须使用,这样在新增等使用bean的时候,mybatis-plus就会忽略这个,不会报错 阅读全文
posted @ 2020-08-11 14:17 林荼 阅读(3131) 评论(0) 推荐(0) 编辑
摘要: <if test="params.length()!=2"> 阅读全文
posted @ 2020-08-11 14:16 林荼 阅读(3864) 评论(0) 推荐(0) 编辑
摘要: <foreach collection="array" open="(" separator="," close=")" index="index" item="item"> #{item} </foreach> item:集合中元素迭代时的别名,该参数为必选。 index:在list和数组中,in 阅读全文
posted @ 2020-08-11 14:15 林荼 阅读(1075) 评论(0) 推荐(0) 编辑
摘要: loadComplete: function (data) { console.log(data); }, 例: var jgGrid = $("#jgTable").jqGrid({ url: "<%=request.getContextPath()%>/Pe03/toDetails_Audit" 阅读全文
posted @ 2020-08-11 14:14 林荼 阅读(1901) 评论(0) 推荐(0) 编辑
摘要: import org.springframework.beans.BeanUtils; BeanUtils.copyProperties(源对象, 目标对象); 属性名需要相同 阅读全文
posted @ 2020-08-11 14:10 林荼 阅读(407) 评论(0) 推荐(0) 编辑
摘要: package com.fsinfo.common.utils; import com.fsinfo.modules.enterprise.entity.EnterpriseRecordEntity; import org.apache.commons.io.FileUtils; import or 阅读全文
posted @ 2020-08-11 11:33 林荼 阅读(1614) 评论(2) 推荐(0) 编辑
摘要: public void toDownLoad(String ape505, HttpServletRequest request, HttpServletResponse response) throws IOException { //获取文件后缀名 String ext = ape505.sub 阅读全文
posted @ 2020-08-11 11:29 林荼 阅读(257) 评论(0) 推荐(0) 编辑
摘要: var str='QWER';//替换WE newstr=replacepos(str,1,2,'XX'); console.log(newstr);//QXXR; function replacepos(text,start,stop,replacetext){ mystr = text.subs 阅读全文
posted @ 2020-08-11 11:26 林荼 阅读(2551) 评论(0) 推荐(0) 编辑
摘要: Html: 利用form表单来发送下载请求 <form id ="submitForm" method="post"> </form> JS: var arr=多个文件的文件名以逗号隔开; $("#submitForm").attr("action","<%=request.getContextPa 阅读全文
posted @ 2020-08-11 11:21 林荼 阅读(361) 评论(0) 推荐(0) 编辑