上一页 1 2 3 4 5 6 7 ··· 12 下一页
摘要: 1、无参请求 /** * 无参数请求 * @param url * @return */ public static String sendNoPara(String url){ try { PostMethod postMethod = null; postMethod = new PostMet 阅读全文
posted @ 2020-04-09 09:34 lazyli 阅读(1203) 评论(0) 推荐(0) 编辑
摘要: List<AiPart> aiPartList = aiPartMapper.getAiPartsByCaseId(caseId); /** * 拼接成 List<InjuredReturnResult2>形式,一张图片对应哪几个配件。 */ List<InjuredReturnResult2> i 阅读全文
posted @ 2020-04-02 10:39 lazyli 阅读(5767) 评论(0) 推荐(0) 编辑
摘要: public class SupplierInterfaceJsonUtil { /** * 获取接口的json,转换为字符串 * @param fileName * @return */ public static String readJsonFile(String fileName) { St 阅读全文
posted @ 2020-03-20 09:10 lazyli 阅读(996) 评论(0) 推荐(0) 编辑
摘要: 实体类 public class Province { //处理时忽视掉 @ExcelIgnore private Long id; @ExcelProperty(value = "省份id",index = 0) private BigDecimal provinceId; @ExcelPrope 阅读全文
posted @ 2020-03-19 17:39 lazyli 阅读(497) 评论(0) 推荐(0) 编辑
摘要: pom依赖,easyexcel是必须的,lombok非必须,它可以在实体类上使用@Data注释,无需生成get、set方法 <dependency> <groupId>com.alibaba</groupId> <artifactId>easyexcel</artifactId> <version> 阅读全文
posted @ 2020-03-19 11:57 lazyli 阅读(1382) 评论(0) 推荐(0) 编辑
摘要: 在service方法上用注解@Transactional,不要在该方法上捕获异常,在调用方捕获,否则不触发事务机制。 @Override @Transactional public int inputProviceData(MultipartFile file)throws Exception { 阅读全文
posted @ 2020-03-18 15:54 lazyli 阅读(2070) 评论(0) 推荐(0) 编辑
摘要: @Override public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain chain) throws IOException, ServletException 阅读全文
posted @ 2020-03-17 14:11 lazyli 阅读(235) 评论(0) 推荐(0) 编辑
摘要: /** * 跨域设置 * @Version 1.0.0 * @Description */ @Configuration public class CorsConfig extends WebMvcConfigurationSupport { @Override protected void add 阅读全文
posted @ 2020-01-22 16:51 lazyli 阅读(179) 评论(0) 推荐(0) 编辑
摘要: //导出报表 $('#exportStatement').click(function () { var exportUrl = ctxPath + 'supplierOperate/exportStatement'; var startTime = $('#startTime').val(); i 阅读全文
posted @ 2020-01-20 16:10 lazyli 阅读(491) 评论(0) 推荐(0) 编辑
摘要: <select id="queryInjuredCase" resultMap="BaseResultMap"> SELECT aa.* FROM (SELECT a.*,rownum rn FROM (SELECT * FROM INJURED_CASE where 1 = 1 AND statu 阅读全文
posted @ 2020-01-07 11:55 lazyli 阅读(361) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 12 下一页