• kotlin 很杂很杂


    //        // 储存具体漏期的期数的一个变量
    //        var  periodsList = mutableListOf<String>()
    //        // 如果存在漏期
    //        if (searchResult <= 0){
    //            // 则找出存在的最大期数
    //            var maxSql = """
    //                SELECT
    //                    MAX(b.periods)
    //                FROM
    //                    biz_big_periods_info a,
    //                    biz_periods_mapping_info b
    //                WHERE
    //                    a.SYS_STATUS = 1
    //                AND b.SYS_STATUS = 1
    //                AND a.core_enterprise_id = ?
    //                AND a.financial_institutions_id = ?
    //                AND a.id = b.big_periods_id
    //            """.trimIndent()
    //            if (bigPeriodsId != null) {
    //                maxSql += " AND a.id <> '" + bigPeriodsId + "'"
    //            }
    //
    //            var maxPeriods = dbp.queryInt(maxSql, coreEnterpriseId, financialInstitutionsId)
    //
    //            if (maxPeriods != null){
    //                if (maxPeriods > periodsSmall ){
    //                    for ( i in periodsSmall..maxPeriods){
    //                        if (i==maxPeriods) continue  // i 为 maxPeriods 时跳过当前循环,继续下一次循环
    //                        if (i==periodsSmall) continue  // i 为 periodsSmall 时跳过当前循环,继续下一次循环
    //                        periodsList.add(i.toString())
    //                    }
    //                }else{
    //                    for ( i in maxPeriods..periodsSmall){
    //                        if (i==maxPeriods) continue  // i 为 maxPeriods 时跳过当前循环,继续下一次循环
    //                        if (i==periodsSmall) continue  // i 为 periodsSmall 时跳过当前循环,继续下一次循环
    //                        periodsList.add(i.toString())
    //                    }
    //                }
    //
    //            }
    //
    //        }
  • 相关阅读:
    html 上传图片前预览
    php获取当月天数及当月第一天及最后一天、上月第一天及最后一天实现方法
    php 计算 pdf文件页数
    php 获取半年内每个月的订单数量, 总价, 月份
    php 获取两个数组之间不同的值
    小程序支付功能
    关于nginx的Job for nginx.service failed because the control process exited with error code.错误
    linux 安装 Apollo
    MongoDB待续。。。
    ABP vNext...待续
  • 原文地址:https://www.cnblogs.com/xiaoniuniu886/p/11088741.html
Copyright © 2020-2023  润新知