会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
马志宏
博客园
首页
新随笔
联系
管理
订阅
[置顶]
防止请求2次调用
摘要: 定义一个注解 import java.lang.annotation.ElementType; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.lang.a
阅读全文
posted @ 2020-06-10 13:51 ±小马哥
阅读(344)
评论(0)
推荐(0)
2022年2月26日
el-table vue-treeselect 踩坑记录
摘要: 加入这两个属性 耽误了半天时间 append-to-body z-index="9999" <el-table-column label="督查对象" prop="siTarget" > <template slot-scope="scope"> <treeselect :multiple="tru
阅读全文
posted @ 2022-02-26 14:06 ±小马哥
阅读(460)
评论(0)
推荐(0)
2022年2月17日
表达式计算
该文被密码保护。
阅读全文
posted @ 2022-02-17 10:54 ±小马哥
阅读(0)
评论(0)
推荐(0)
调试服务配置走本地服务 不走负载
摘要: gateway: discovery: locator: lowerCaseServiceId: true enabled: true routes: - id: ruoyi-inspect-RouteIP-26 uri: http://**.*.*.**:9301 predicates: - Pa
阅读全文
posted @ 2022-02-17 10:08 ±小马哥
阅读(89)
评论(0)
推荐(0)
2022年2月16日
导出doc
摘要: public static void crateFile(HttpServletResponse response, SiInterview siInterview){ XWPFTemplate template = null; try { template = XWPFTemplate .comp
阅读全文
posted @ 2022-02-16 15:52 ±小马哥
阅读(105)
评论(0)
推荐(0)
Wrapper 的where条件在xml使用
摘要: mapper.xml select * from ( SELECT a.*, b.`id` AS audit_id, IFNULL(b.`status`,0) AS audit_status, b.`reason` AS audit_reason, b.`create_time` AS audit_
阅读全文
posted @ 2022-02-16 15:46 ±小马哥
阅读(440)
评论(0)
推荐(0)
js return 不起作用?踩坑记录
摘要: submitForm() { let flag = true if(this.siAnnualPlanScheduleList.length==0){ this.$message.warning("检查任务不能为空!") flag = false return; } this.siAnnualPla
阅读全文
posted @ 2022-02-16 15:43 ±小马哥
阅读(666)
评论(0)
推荐(1)
list 转String
摘要: List<String> companyIds = hsePreventRiskVO.getCompanyIds(); // 拼接sql String collect = String.join(",", companyIds);
阅读全文
posted @ 2022-02-16 15:38 ±小马哥
阅读(97)
评论(0)
推荐(0)
LambdaQueryWrapper 懒人正确代码姿势
摘要: List<String> companyIds = hsePreventRiskVO.getCompanyIds(); // 拼接sql String collect = companyIds.stream().collect(Collectors.joining(",")); collect =
阅读全文
posted @ 2022-02-16 15:37 ±小马哥
阅读(809)
评论(0)
推荐(0)
xml 参数为list或array
摘要: 参数为list 用这个<if test="scheduleStatisticVO.bTypes!= null and scheduleStatisticVO.bTypes.size()>0"> </if> 参数为array 用这个<if test="scheduleStatisticVO.bType
阅读全文
posted @ 2022-02-16 15:30 ±小马哥
阅读(235)
评论(0)
推荐(0)
2020年8月5日
mybatisplus 存null 不起作用
摘要: 添加注解 @TableField(value="GROUP_RANKING",updateStrategy = FieldStrategy.IGNORED)
阅读全文
posted @ 2020-08-05 11:06 ±小马哥
阅读(1735)
评论(0)
推荐(0)
下一页
公告