package com.hopedove.processserver.util; import java.util.*; /** * 字符串工具类 * * @author ruoyi */ public class StringUtils extends org.apache.commons.lan Read More
posted @ 2022-06-13 09:50 Li_ll Views(13) Comments(0) Diggs(0) Edit
package com.hopedove.processserver.util; import org.apache.commons.lang3.time.DateFormatUtils; import java.lang.management.ManagementFactory; import j Read More
posted @ 2022-06-13 09:49 Li_ll Views(76) Comments(0) Diggs(0) Edit
package com.hopedove.commons.utils; import javax.servlet.http.HttpServletRequest; import java.io.BufferedReader; import java.io.IOException; import ja Read More
posted @ 2022-06-13 09:41 Li_ll Views(93) Comments(0) Diggs(0) Edit
http请求 package com.hopedove.commons.utils; import org.apache.http.*; import org.apache.http.client.entity.UrlEncodedFormEntity; import org.apache.http Read More
posted @ 2022-06-13 09:40 Li_ll Views(244) Comments(0) Diggs(0) Edit
util package com.hopedove.commons.utils; import com.hopedove.commons.exception.BusinException; import com.hopedove.commons.exception.ErrorCode; import Read More
posted @ 2022-06-13 09:23 Li_ll Views(397) Comments(0) Diggs(0) Edit
package com.hopedove.processserver.util; import java.util.HashMap; /** * 操作消息提醒 * * @author ruoyi */ public class AjaxResult extends HashMap<String, O Read More
posted @ 2022-06-13 09:08 Li_ll Views(138) Comments(0) Diggs(0) Edit
public static List<ContractModel> objToList(Object obj){ List<ContractModel> result = new ArrayList<ContractModel>(); try { ObjectMapper objectMapper Read More
posted @ 2022-05-27 14:36 Li_ll Views(320) Comments(0) Diggs(0) Edit
stuff((select ','+bz (要查询的字段名) from t_qjgl_qjdjxq b where a.id=b.qjdjid for xml path('')),1,1,'') AS bz效果 Read More
posted @ 2022-04-28 10:54 Li_ll Views(100) Comments(0) Diggs(0) Edit
1. javabean 子集是必不可少的 2. sql 简单点说就是查询出全部的非删除状态数据 ,我这里面的choose when 和查询级别为1 的是因为业务需要 select id, ssqmc, jb, sj from t_sys_ssqjcb where del_flag = 0 <choo Read More
posted @ 2022-04-21 10:48 Li_ll Views(456) Comments(0) Diggs(0) Edit
select mid,stuff((select distinct ','+uid from t1 where a.mid=mid for xml path('')),1,1,'') AS items from t1 a group by mid结果mid items 1 a,b,c,d2 a,b, Read More
posted @ 2022-04-12 10:34 Li_ll Views(308) Comments(0) Diggs(0) Edit