上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 59 下一页
摘要: 每当我们遇到相对稍复杂的业务的时候,都会考虑写在存储过程中,这样相当于一个黑匣,方便管理。 但是如果写的行数太多,如果碰到了问题,凭经验,很难发现问题,那就要用到debug调试了: 这样就可以按F11,一步一步的执行了,加上经验,然后会清晰的看到问题所在。 阅读全文
posted @ 2023-03-17 09:00 jiduoduo 阅读(711) 评论(0) 推荐(0)
摘要: 1、Settings 2、Install Plugin from Disk 3、选择ScreenMatch.jar: 这个jar包在最新版的android studio上不兼容,这个测试版本android studio3.6 重启IDE,然后/res/dimens/dimens上右键: 原始 转换成 阅读全文
posted @ 2023-03-13 13:04 jiduoduo 阅读(115) 评论(0) 推荐(0)
摘要: android studio 打包发布错误: Cause: failed to decrypt safe contents entry: javax.crypto.BadPaddingException: Given final block not properly padded. Such iss 阅读全文
posted @ 2023-03-03 14:08 jiduoduo 阅读(808) 评论(0) 推荐(0)
摘要: List of apks:[0] '/Users/xxxx/Documents/Android/Test/app/build/outputs/apk/debug/test.apk'Installation failed due to: 'Failed to commit install sessio 阅读全文
posted @ 2023-02-20 10:57 jiduoduo 阅读(982) 评论(0) 推荐(0)
摘要: 1、申请开通 操作:小程序后台管理-开发-开发管理-接口设置-- 申请开通 2、调用 wx.chooseLocation(Object object) wx.chooseLocation({ success: function (res) { var reg = /.+?(省|市|自治区|自治州|县 阅读全文
posted @ 2023-01-18 16:44 jiduoduo 阅读(4397) 评论(0) 推荐(0)
摘要: select timestampdiff(MINUTE,createDate,now()) as interal FROM table; 说明:上面的是计算createDate与now()之间相间多少分钟。 语法: TIMESTAMPDIFF(unit,datetime_expr1,datetime 阅读全文
posted @ 2023-01-17 17:02 jiduoduo 阅读(168) 评论(0) 推荐(0)
摘要: select * from table1 where PERIOD_DIFF(date_format(now(),'%Y%m'),date_format(fieldname,'%Y%m')) = 1 说明: 查询table1的fieldname为上月的数据。 PERIOD_DIFF()函数返回两个时 阅读全文
posted @ 2023-01-03 17:44 jiduoduo 阅读(403) 评论(0) 推荐(0)
摘要: 1、用在if中的正则表达式,下表: 说明: ~匹配 !~不匹配 *不区分大小写 这样比较好记忆。 2、测试 location / { if ($request_uri !~ "hello") { return 403; } if ($request_method !~ ^(GET|POST)$) { 阅读全文
posted @ 2023-01-03 11:55 jiduoduo 阅读(2322) 评论(0) 推荐(0)
摘要: @Scheduled(cron="[秒] [分] [小时] [日] [月] [周] [年]") 说明: 多个并列的时间以英文逗号“,”隔开。 比如: @Scheduled(cron = "0 53,55 16 1 * *") 上面意思是:1号的下午16:53 ,16:55执行二次。 @Schedul 阅读全文
posted @ 2023-01-01 17:07 jiduoduo 阅读(2334) 评论(0) 推荐(0)
摘要: select id,group_concat(ordernum separator ',') as ordernum, from order group by id; 根据订单分组id,将多个订单合并显示。 阅读全文
posted @ 2022-12-14 17:30 jiduoduo 阅读(203) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 59 下一页