摘要: 最近转战金额业务,用sosotest进行接口自动化,需要使用python,涉及日期时间处理的一些好用的方法封装 #获取前后n个月的日期,前一个月monthValue=-1,后一个月monthValue=1def getBeforeAfterMonthDate(dateStr, monthValue) 阅读全文
posted @ 2022-10-26 12:02 Lynne~ 阅读(827) 评论(0) 推荐(0) 编辑
摘要: 最近转战金融贷款业务,接口自动化用的sosotest,感觉挺好用,关于等额本金计算还款金额代码如下 # 前n期的installmentdef getInstallment(interestRate, tenor, loanAmt, tenorNum): if tenorNum != tenor: i 阅读全文
posted @ 2022-10-26 11:59 Lynne~ 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-05-04 21:07 Lynne~ 阅读(581) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-05-04 21:04 Lynne~ 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-05-04 20:58 Lynne~ 阅读(38) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-05-04 20:46 Lynne~ 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/qq_41431406/article/details/99320982(讲得好) https://www.cnblogs.com/KalosOwen/p/8987068.html 阅读全文
posted @ 2021-05-04 20:45 Lynne~ 阅读(29) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-05-04 20:43 Lynne~ 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-05-04 20:40 Lynne~ 阅读(24) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-05-04 20:23 Lynne~ 阅读(34) 评论(0) 推荐(0) 编辑