摘要:
public boolean saveEmployeeBasicInformation(Map<String,Object> map) { log.info("map "+map); if(Func.isNotEmpty(map)){ EmployeeBasicInformation employe 阅读全文
摘要:
实体类: public class User implements Serializable { private static final long serialVersionUID = 1L; private String pkid; private String userName; privat 阅读全文
摘要:
public class JxlExcel { public static void main(String[] args) { //创建Excel文件 String[] title= {"姓名","课程名","分数"}; File file=new File("f:/sheet1.xls"); t 阅读全文
摘要:
if(formbean.getBean().get("RZZGMCM") instanceof String){ formbean.getBean().put("RZZGMCM_ARR", (formbean.getBean().get("RZZGMCM").toString().split("," 阅读全文
摘要:
进入设置–version control – subversion如下图,将前边的选项的勾全部去掉,点击ok 阅读全文
摘要:
使用idea也不久,今天从svn上down下来的项目导入idea,发现写的代码不能在idea里面更新,记录下解决方案。 步骤 1.点击VCS,然后Enable Version Control Integration;2. 选择Subversion;3. 点击OK后效果图,可以在idea中提交和更新代 阅读全文
摘要:
package com.cn.peitest.miyao; import org.apache.commons.codec.binary.Base64; import javax.crypto.Cipher; import java.security.KeyFactory; import java. 阅读全文
摘要:
Base64是网络上最常见的用于传输8Bit字节代码的编码方式之一,大家可以查看RFC2045~RFC2049,上面有MIME的详细规范。 简单的java加密算法有: BASE64 严格地说,属于编码格式,而非加密算法 MD5(Message Digest algorithm 5,信息摘要算法) S 阅读全文
摘要:
//两个list合并并去除重复 public static void main(String[] args) throws Exception { List list1 =new ArrayList(); List list2 =new ArrayList(); list1.add(1); list 阅读全文
摘要:
public class Test { public static void main(String[] args) { Map<Number, String> map1 = new HashMap<Number, String>(); Map<Number, String> map2 = new 阅读全文