摘要: @ApiOperation(value = "分页查询现金发放列表")@GetMapping("/getCashGrantListByPage")public ResponseBean getCashGrantListByPage(@Validated GetCashGrantListByPageE 阅读全文
posted @ 2022-03-24 14:28 春天里的桃花 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 1.建立 ExcelUtiles操作类: 定义导出方法defaultExport /** * 默认的 excel 导出 * * @param list 数据 * @param pojoClass pojo类型 * @param fileName 文件名称 * @param response * @p 阅读全文
posted @ 2022-03-24 14:24 春天里的桃花 阅读(109) 评论(0) 推荐(0) 编辑
摘要: PageHelper.startPage(req.getCurrentPage(), req.getPageSize());List<CashGrantListDto> myList = cashGrantMapper.selectCashGrantList(entity);PageInfo<Cas 阅读全文
posted @ 2022-03-24 14:18 春天里的桃花 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 域名解析 设置 在C:\Windows\System32\drivers\etc 设置 域名和地址解析 阅读全文
posted @ 2022-03-24 11:34 春天里的桃花 阅读(96) 评论(0) 推荐(0) 编辑
摘要: <dependency> <groupId>cn.hutool</groupId> <artifactId>hutool-all</artifactId> <version>${hutool.version}</version> </dependency> 阅读全文
posted @ 2022-03-24 11:10 春天里的桃花 阅读(562) 评论(0) 推荐(0) 编辑
摘要: @ApiModel@Data@NoArgsConstructor@AllArgsConstructor@Builderpublic class MainMessageSaveReq implements Serializable { @ApiModelProperty(value = "发布时间") 阅读全文
posted @ 2022-03-24 10:31 春天里的桃花 阅读(349) 评论(0) 推荐(0) 编辑
摘要: public MainMessageEntity buildInsert(Long userId, Integer tenantId) { return MainMessageEntity.builder() .messType(messType) .messTitle(messTitle) .me 阅读全文
posted @ 2022-03-24 10:27 春天里的桃花 阅读(963) 评论(0) 推荐(0) 编辑
摘要: 1.时间格式转换成字符串 /** * date 转换 成标准格式 yyyy-MM-dd hh:mm:ss * return date */ public String DateToStringYmdH(Date date) { SimpleDateFormat sf = new SimpleDate 阅读全文
posted @ 2022-03-24 09:31 春天里的桃花 阅读(4555) 评论(0) 推荐(0) 编辑