随笔分类 - 后端
摘要:1.String projectids=""; 2. if (StringHelper.isNotEmpty(gatheringinfo.getCol1()) && gatheringinfo.getCol1().length()>0){ projectids+=gatheringinfo.getC
阅读全文
摘要:1.这种是后面有逗号的select xmlagg(xmlparse(content files || ','wellformed) order by files).getclobval() as files from (select field008 as files from ufp2h3p816
阅读全文
摘要:问题 解决方法 点击事件需要重新加载一下iframe
阅读全文
摘要:1.原本图 2.解决方法 select regexp_substr(a.numbers,'[^,]+',1,level) as numbers from (select distinct id,numbers from project where isdelete=0 and isactive=1
阅读全文
摘要:1.通过一个中间的jsp进行json查询传递 <%@ page import="java.util.Map" %> <%@ page import="java.util.ArrayList" %> <%@ page import="java.util.List" %> <%@ page import
阅读全文
摘要:可以使用 Set 集合来去重,然后再将集合中的元素转换为字符串。 String str = "a,b,c,c,d,e,e,f"; String[] arr = str.split(","); Set<String> set = new HashSet<String>(Arrays.asList(ar
阅读全文
摘要:<script> function onSubmitPlus(issave) { var projectid=$("#field_40282aa18708cb1301871197556b011b").val(); var projectmgrdep=$("#field_40282aa18708cb1
阅读全文
摘要:适合场景:多字段拼接,字段间使用同样的拼接符(会自动跳过NULL)
阅读全文
摘要:String docExtrefobjfield11=StringHelper.null2String(docMap.get("extrefobjfield11"));//团队成员StringBuilder updatePeopleTeam = new StringBuilder();if (Str
阅读全文
摘要:select * from humres where station like CONCAT('%',(select o.mstationid from orgunit o inner join humres h on h.orgid=o.id where h.id='297edff87111d03
阅读全文
摘要:<%! public String dou(double d) { DecimalFormat df = new DecimalFormat(); df.setMaximumFractionDigits(2);//这里是小数位 String format = df.format(d); String
阅读全文
摘要:<%@ page import="com.velcro.base.Globals" %> <%@page import="com.velcro.base.label.service.LabelService" %> <%@page import="com.velcro.kernel.base.IPa
阅读全文
摘要:1.通过在职位天数和职位等级,得出年总天数 1.jsp <tr> <th scope="col" width="1%">Formula</th> <th scope="col" width="1%">Service Year</th> <th width="12%">JobGrade</th> <t
阅读全文
摘要:返回double型的 1.能四舍五入 double d = 114.145; d= (double) Math.round(d * 100) / 100.0; System.out.println(d); 2. BigDecimal.ROUND_HALF_UP表示四舍五入,BigDecimal.RO
阅读全文
摘要:--知识待办,其中$currentuser$是当前用户,想要写 select wb.id wbid, max(wb.workflowname) title, '/ServiceAction/com.velcro.workflow.workflow.servlet.WfViewAction?pipei
阅读全文
摘要:<%@ page contentType="text/html; charset=UTF-8"%> <%@ page import="com.velcro.base.BaseContext" %> <%@ include file="/vbase/init.jsp"%> <%@ page impor
阅读全文
摘要:问题:nested exception is java.sql.SQLException: ORA-00932: 数据类型不一致: 应为 -, 但却获得 CLOB 原因是条件查询时,我的库中的类型是clob类型就报错了, 解决方法: 改成 to_char(a.progressAndPlan), 如:
阅读全文
摘要:1.准备工作:导入poi包,创建需要的四个类 2.加载poi包 <!--excel导入先导入下面3个文件--> <!-- 文件上传 --> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpmime</
阅读全文
摘要:富文本编辑器首行输入是空格后台接收变成?问号的问题解决 @RequestMapping("/kms/faq/reply/updateReply") public ModelAndView updateReply(Reply reply){ String content=reply.getConten
阅读全文
摘要:1.jsp中的button <td class="shows"><input style="width:35px;background-color: #00b841" class="btn" id="<%=ids%>" type="button" onclick="changeCategory('<
阅读全文