`
stjauns
  • 浏览: 91991 次
  • 性别: Icon_minigender_1
  • 来自: 深圳
社区版块
存档分类
最新评论

WeekselectPanel选择一年中的某周

    博客分类:
  • JAVA
阅读更多
系统要增加工作计划功能,让每个营业部每周末分派下周本部门每个人的工作量。
用到了这个周次选择Panel。网上随便搜搜没有,就自己弄了个。
界面如图:


主功能代码
package transms.app._0all.util.weekselect;

import javax.swing.ButtonGroup;
import javax.swing.JPanel;
import java.awt.GridLayout;
import java.awt.Color;
import java.awt.BorderLayout;
import java.awt.Insets;

import javax.swing.JButton;
import java.text.ParseException;
import java.util.HashMap;
import java.util.Map;

import javax.swing.JToggleButton;

import org.apache.log4j.Logger;

import transms.app._0all.util.VOUtil;
import transms.app._0all.util.providers.Colors;
import util.Info;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.BorderFactory;
import javax.swing.JToolBar;
import javax.swing.JComboBox;

public class WeekselectPanel extends JPanel {

    private static final long serialVersionUID = 1L;

    /**
     * This is the default constructor
     */
    public WeekselectPanel() {
        super();
        initialize();
        selectedyear = Integer.valueOf(VOUtil.now().substring(0, 4));
        getComboYear().setSelectedItem(String.valueOf(selectedyear));
        try {
            addWeeks(selectedyear);
        } catch (ParseException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
        setToday();
    }

    private int selectedyear = -1;

    public String getYear() {
        return String.valueOf(selectedyear);
    }

    private int selectedweek = -1;

    public int getWeek() {
        return selectedweek;
    }

    /**
     * 选中今天
     */
    private void setToday() {
        try {
            int currentweek = du.getWeekNumOfYearDay(VOUtil.now());
            mapButton.get(currentweek).setSelected(true);
            action(String.valueOf(currentweek));
        } catch (ParseException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
    }

    Logger logger = Logger.getLogger(WeekselectPanel.class); // @jve:decl-index=0:

    Map<Integer, JToggleButton> mapButton = new HashMap<Integer, JToggleButton>(); // @jve:decl-index=0:

    Map<Integer, Color> mapMonthcolor = new HashMap<Integer, Color>(); // @jve:decl-index=0:

    Map<Integer, Color> mapSeasoncolor = new HashMap<Integer, Color>(); // @jve:decl-index=0:

    private JPanel panelWeek = null;

    private JToolBar jToolBar = null;

    private JComboBox comboYear = null;

    private JButton jButtonOK = null;

    {
        mapMonthcolor.put(1, Colors.Chartreuse3);
        mapMonthcolor.put(2, Colors.DarkOliveGreen2);
        mapMonthcolor.put(3, Colors.DarkOrange1);
        mapMonthcolor.put(4, Colors.Firebrick1);
        mapMonthcolor.put(5, Colors.Ivory2);
        mapMonthcolor.put(6, Colors.Khaki1);
        mapMonthcolor.put(7, Colors.LightSalmon);
        mapMonthcolor.put(8, Colors.OrangeRed);
        mapMonthcolor.put(9, Colors.PaleGreen);
        mapMonthcolor.put(10, Colors.PaleTurquoise1);
        mapMonthcolor.put(11, Colors.Purple3);
        mapMonthcolor.put(12, Color.CYAN);

        mapSeasoncolor.put(1, Colors.Ivory2);
        mapSeasoncolor.put(2, Colors.Ivory2);
        mapSeasoncolor.put(3, Colors.Ivory2);
        mapSeasoncolor.put(4, Colors.Chartreuse3);
        mapSeasoncolor.put(5, Colors.Chartreuse3);
        mapSeasoncolor.put(6, Colors.Chartreuse3);
        mapSeasoncolor.put(7, Colors.Purple3);
        mapSeasoncolor.put(8, Colors.Purple3);
        mapSeasoncolor.put(9, Colors.Purple3);
        mapSeasoncolor.put(10, Colors.DarkOrange1);
        mapSeasoncolor.put(11, Colors.DarkOrange1);
        mapSeasoncolor.put(12, Colors.DarkOrange1);
    }

    private DateUtil du = new DateUtil(); // @jve:decl-index=0:

    private void addWeeks(int year) throws ParseException {
        ButtonGroup bg = new ButtonGroup();
        getPanelWeek().removeAll();
        mapButton.clear();
        for (int i = 1; i < 55; i++) {
            String sun = du.getYearWeekFirstDay(year, i);
            String sat = du.getYearWeekEndDay(year, i);
            if (!sat.startsWith(String.valueOf(year))) {
                continue;
            }
            if (mapButton.get(i) == null) {
                JToggleButton button = new JToggleButton(String.valueOf(i));
                mapButton.put(i, button);
                getPanelWeek().add(mapButton.get(i));
                bg.add(mapButton.get(i));
                mapButton.get(i).addActionListener(getButtonAction());
            }
            mapButton.get(i).setMargin(new Insets(0, 0, 0, 0));
            mapButton.get(i).setToolTipText(
                    i + " " + du.getMonth(sun) + " " + sun + " - " + sat);
            mapButton.get(i).setForeground(mapMonthcolor.get(du.getMonth(sat)));
            mapButton.get(i).setBackground(mapSeasoncolor.get(du.getMonth(sat)));
            mapButton.get(i).setActionCommand(String.valueOf(i));

        }
    }

    private ActionListener getButtonAction() {
        return new ActionListener() {
            public void actionPerformed(ActionEvent e) {
                action(e.getActionCommand());
            }
        };
    }

    private void action(String actionCommand) {
        selectedweek = Integer.valueOf(actionCommand);
        try {
            getJButtonOK().setText(
                    actionCommand
                            + "周 "
                            + du.getYearWeekFirstDay(Integer.valueOf(getComboYear()
                                    .getSelectedItem().toString()), selectedweek)
                            + Info.labelInfo("to")
                            + du.getYearWeekEndDay(Integer.valueOf(getComboYear()
                                    .getSelectedItem().toString()), selectedweek));
        } catch (NumberFormatException e1) {
            // TODO Auto-generated catch block
            e1.printStackTrace();
        } catch (ParseException e1) {
            // TODO Auto-generated catch block
            e1.printStackTrace();
        }

    }

    /**
     * This method initializes this
     * 
     * @return void
     */
    private void initialize() {
        this.setLayout(new BorderLayout());
        this.setSize(312, 102);
        this.add(getPanelWeek(), BorderLayout.CENTER);
        this.add(getJToolBar(), BorderLayout.NORTH);
        this.setBorder(BorderFactory.createEtchedBorder());
    }

    /**
     * This method initializes panelWeek
     * 
     * @return javax.swing.JPanel
     */
    private JPanel getPanelWeek() {
        if (panelWeek == null) {
            GridLayout gridLayout1 = new GridLayout(0, 13);
            panelWeek = new JPanel();
            panelWeek.setLayout(gridLayout1);
        }
        return panelWeek;
    }

    /**
     * This method initializes jToolBar
     * 
     * @return javax.swing.JToolBar
     */
    private JToolBar getJToolBar() {
        if (jToolBar == null) {
            jToolBar = new JToolBar();
            jToolBar.add(getComboYear());
            jToolBar.add(getJButtonOK());
        }
        return jToolBar;
    }

    /**
     * This method initializes comboYear
     * 
     * @return javax.swing.JComboBox
     */
    private JComboBox getComboYear() {
        if (comboYear == null) {
            String[] years = { "2009", "2010", "2011", "2012", "2013", "2014", "2015",
                    "2016", "2017", "2018", "2019", "2020" };
            comboYear = new JComboBox(years);
            comboYear.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent e) {
                    selectedyear = Integer
                            .valueOf(comboYear.getSelectedItem().toString());
                    try {
                        addWeeks(selectedyear);
                    } catch (NumberFormatException e1) {
                        // TODO Auto-generated catch block
                        e1.printStackTrace();
                    } catch (ParseException e1) {
                        // TODO Auto-generated catch block
                        e1.printStackTrace();
                    }
                }
            });
        }
        return comboYear;
    }

    /**
     * This method initializes jButtonOK
     * 
     * @return javax.swing.JButton
     */
    private JButton getJButtonOK() {
        if (jButtonOK == null) {
            jButtonOK = new JButton();
            jButtonOK.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent e) {
                    logger.info(selectedyear + " " + selectedweek);
                }
            });
        }
        return jButtonOK;
    }

} // @jve:decl-index=0:visual-constraint="10,9"


日期处理工具,网上随便搜的:
package transms.app._0all.util.weekselect;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Calendar;
import java.util.GregorianCalendar;

/**
 * 说明: 取日期时间工具
 */
public class DateUtil {
    /**
     * @see 取得当前日期(格式为:yyyy-MM-dd)
     * @return String
     */
    public String GetDate() {
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
        String sDate = sdf.format(new Date());
        return sDate;
    }

    /**
     * @see 取得当前时间(格式为:yyy-MM-dd HH:mm:ss)
     * @return String
     */
    public static String GetDateTime() {
        SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        String sDate = sdf.format(new Date());
        return sDate;
    }

    /**
     * @see 按指定格式取得当前时间()
     * @return String
     */
    public String GetTimeFormat(String strFormat) {
        SimpleDateFormat sdf = new SimpleDateFormat(strFormat);
        String sDate = sdf.format(new Date());
        return sDate;
    }

    /**
     * @see 取得指定时间的给定格式()
     * @return String
     * @throws ParseException
     */
    public String SetDateFormat(String myDate, String strFormat) throws ParseException {
        SimpleDateFormat sdf = new SimpleDateFormat(strFormat);
        String sDate = sdf.format(sdf.parse(myDate));
        return sDate;
    }

    public String FormatDateTime(String strDateTime, String strFormat) {
        String sDateTime = strDateTime;
        try {
            Calendar Cal = parseDateTime(strDateTime);
            SimpleDateFormat sdf = null;
            sdf = new SimpleDateFormat(strFormat);
            sDateTime = sdf.format(Cal.getTime());
        } catch (Exception e) {
        }
        return sDateTime;
    }

    public static Calendar parseDateTime(String baseDate) {
        Calendar cal = null;
        cal = new GregorianCalendar();
        int yy = Integer.parseInt(baseDate.substring(0, 4));
        int mm = Integer.parseInt(baseDate.substring(5, 7)) - 1;
        int dd = Integer.parseInt(baseDate.substring(8, 10));
        int hh = 0;
        int mi = 0;
        int ss = 0;
        if (baseDate.length() > 12) {
            hh = Integer.parseInt(baseDate.substring(11, 13));
            mi = Integer.parseInt(baseDate.substring(14, 16));
            ss = Integer.parseInt(baseDate.substring(17, 19));
        }
        cal.set(yy, mm, dd, hh, mi, ss);
        return cal;
    }

    public int getDay(String strDate) {
        Calendar cal = parseDateTime(strDate);
        return cal.get(Calendar.DATE);
    }

    public int getMonth(String strDate) {
        Calendar cal = parseDateTime(strDate);
        return cal.get(Calendar.MONTH) + 1;
    }

    public int getWeekDay(String strDate) {
        Calendar cal = parseDateTime(strDate);
        return cal.get(Calendar.DAY_OF_WEEK);
    }

    public String getWeekDayName(String strDate) {
        String mName[] = { "日", "一", "二", "三", "四", "五", "六" };
        int iWeek = getWeekDay(strDate);
        iWeek = iWeek - 1;
        return "星期" + mName[iWeek];
    }

    public int getYear(String strDate) {
        Calendar cal = parseDateTime(strDate);
        return cal.get(Calendar.YEAR) + 1900;
    }

    public String DateAdd(String strDate, int iCount, int iType) {
        Calendar Cal = parseDateTime(strDate);
        int pType = 0;
        if (iType == 0) {
            pType = 1;
        } else if (iType == 1) {
            pType = 2;
        } else if (iType == 2) {
            pType = 5;
        } else if (iType == 3) {
            pType = 10;
        } else if (iType == 4) {
            pType = 12;
        } else if (iType == 5) {
            pType = 13;
        }
        Cal.add(pType, iCount);
        SimpleDateFormat sdf = null;
        if (iType <= 2)
            sdf = new SimpleDateFormat("yyyy-MM-dd");
        else
            sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        String sDate = sdf.format(Cal.getTime());
        return sDate;
    }

    public String DateAdd(String strOption, int iDays, String strStartDate) {
        if (!strOption.equals("d"))
            ;
        return strStartDate;
    }

    public int DateDiff(String strDateBegin, String strDateEnd, int iType) {
        Calendar calBegin = parseDateTime(strDateBegin);
        Calendar calEnd = parseDateTime(strDateEnd);
        long lBegin = calBegin.getTimeInMillis();
        long lEnd = calEnd.getTimeInMillis();
        int ss = (int) ((lBegin - lEnd) / 1000L);
        int min = ss / 60;
        int hour = min / 60;
        int day = hour / 24;
        if (iType == 0)
            return hour;
        if (iType == 1)
            return min;
        if (iType == 2)
            return day;
        else
            return -1;
    }

    /***************************************************************************
     * @功能 判断某年是否为闰年
     * @return boolean
     * @throws ParseException
     **************************************************************************/
    public boolean isLeapYear(int yearNum) {
        boolean isLeep = false;
        /** 判断是否为闰年,赋值给一标识符flag */
        if ((yearNum % 4 == 0) && (yearNum % 100 != 0)) {
            isLeep = true;
        } else if (yearNum % 400 == 0) {
            isLeep = true;
        } else {
            isLeep = false;
        }
        return isLeep;
    }

    /***************************************************************************
     * @功能 计算当前日期某年的第几周
     * @return interger
     * @throws ParseException
     **************************************************************************/
    public int getWeekNumOfYear() {
        Calendar calendar = Calendar.getInstance();
        int iWeekNum = calendar.get(Calendar.WEEK_OF_YEAR);
        return iWeekNum;
    }

    /***************************************************************************
     * @功能 计算指定日期某年的第几周
     * @return interger
     * @throws ParseException
     **************************************************************************/
    public int getWeekNumOfYearDay(String strDate) throws ParseException {
        Calendar calendar = Calendar.getInstance();
        SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd");
        Date curDate = format.parse(strDate);
        calendar.setTime(curDate);
        int iWeekNum = calendar.get(Calendar.WEEK_OF_YEAR);
        return iWeekNum;
    }

    /***************************************************************************
     * @功能 计算某年某周的开始日期
     * @return interger
     * @throws ParseException
     **************************************************************************/
    public String getYearWeekFirstDay(int yearNum, int weekNum) throws ParseException {

        Calendar cal = Calendar.getInstance();
        cal.set(Calendar.YEAR, yearNum);
        cal.set(Calendar.WEEK_OF_YEAR, weekNum);
        cal.set(Calendar.DAY_OF_WEEK, Calendar.MONDAY);
        // 分别取得当前日期的年、月、日
        String tempYear = Integer.toString(cal.get(Calendar.YEAR));
        String tempMonth = Integer.toString(cal.get(Calendar.MONTH) + 1);
        String tempDay = Integer.toString(cal.get(Calendar.DATE));
        String tempDate = tempYear + "-" + tempMonth + "-" + tempDay;
        return SetDateFormat(tempDate, "yyyy-MM-dd");

    }

    /***************************************************************************
     * @功能 计算某年某周的结束日期
     * @return interger
     * @throws ParseException
     **************************************************************************/
    public String getYearWeekEndDay(int yearNum, int weekNum) throws ParseException {
        Calendar cal = Calendar.getInstance();
        cal.set(Calendar.YEAR, yearNum);
        cal.set(Calendar.WEEK_OF_YEAR, weekNum + 1);
        cal.set(Calendar.DAY_OF_WEEK, Calendar.SUNDAY);
        // 分别取得当前日期的年、月、日
        String tempYear = Integer.toString(cal.get(Calendar.YEAR));
        String tempMonth = Integer.toString(cal.get(Calendar.MONTH) + 1);
        String tempDay = Integer.toString(cal.get(Calendar.DATE));
        String tempDate = tempYear + "-" + tempMonth + "-" + tempDay;
        return SetDateFormat(tempDate, "yyyy-MM-dd");
    }

    /***************************************************************************
     * @功能 计算某年某月的开始日期
     * @return interger
     * @throws ParseException
     **************************************************************************/
    public String getYearMonthFirstDay(int yearNum, int monthNum) throws ParseException {

        // 分别取得当前日期的年、月、日
        String tempYear = Integer.toString(yearNum);
        String tempMonth = Integer.toString(monthNum);
        String tempDay = "1";
        String tempDate = tempYear + "-" + tempMonth + "-" + tempDay;
        return SetDateFormat(tempDate, "yyyy-MM-dd");

    }

    /***************************************************************************
     * @功能 计算某年某月的结束日期
     * @return interger
     * @throws ParseException
     **************************************************************************/
    public String getYearMonthEndDay(int yearNum, int monthNum) throws ParseException {

        // 分别取得当前日期的年、月、日
        String tempYear = Integer.toString(yearNum);
        String tempMonth = Integer.toString(monthNum);
        String tempDay = "31";
        if (tempMonth.equals("1") || tempMonth.equals("3") || tempMonth.equals("5")
                || tempMonth.equals("7") || tempMonth.equals("8")
                || tempMonth.equals("10") || tempMonth.equals("12")) {
            tempDay = "31";
        }
        if (tempMonth.equals("4") || tempMonth.equals("6") || tempMonth.equals("9")
                || tempMonth.equals("11")) {
            tempDay = "30";
        }
        if (tempMonth.equals("2")) {
            if (isLeapYear(yearNum)) {
                tempDay = "29";
            } else {
                tempDay = "28";
            }
        }
        // System.out.println("tempDay:" + tempDay);
        String tempDate = tempYear + "-" + tempMonth + "-" + tempDay;
        return SetDateFormat(tempDate, "yyyy-MM-dd");
    }
}


自定义颜色类:
package transms.app._0all.util.providers;

import java.awt.Color;

public class Colors extends Color {

    private static final long serialVersionUID = 3680677118390160469L;

    public Colors(int rgb) {
        super(rgb);
    }

    /**
     * 淡黄
     */
    public static final Color Khaki1 = new Color(255, 246, 143);

    /**
     * 浅蓝
     */
    public static final Color PaleTurquoise1 = new Color(187, 255, 255);

    /**
     * 背景色
     */
    public static final Color Ivory2 = new Color(238, 238, 224);

    /**
     * 火红
     */
    public static final Color Firebrick1 = new Color(255, 48, 48);

    /**
     * 暗绿
     */
    public static final Color Chartreuse3 = new Color(69, 139, 0);

    /**
     * 紫
     */
    public static final Color Purple3 = new Color(125, 38, 205);

    /**
     * 橘红
     */
    public static final Color OrangeRed = new Color(255, 69, 0);

    /**
     * 暗橙
     */
    public static final Color DarkOrange1 = new Color(255, 127, 0);

    /**
     * 暗橄榄绿
     */
    public static final Color DarkOliveGreen2 = new Color(188, 238, 104);

    /**
     * 淡红
     */
    public static final Color LightSalmon = new Color(255, 160, 122);

    /**
     * 淡绿
     */
    public static final Color PaleGreen = new Color(152, 251, 152);
}
  • 大小: 6 KB
分享到:
评论

相关推荐

    电力日负荷曲线预测程序和数据集(预测未来一天的负荷曲线)

    电力日负荷曲线预测程序和数据集(预测未来一天的负荷曲线)

    勾正科技向新而生智赢未来-2024年H1中国家庭智能大屏行业发展白皮书83页.pdf

    勾正科技向新而生智赢未来-2024年H1中国家庭智能大屏行业发展白皮书83页.pdf

    成绩分析问题-总文件压缩包(代码+所有磁盘文件)

    题目2.2(成绩分析问题):设计并实现一个成绩分析系统,们能够实现录入、保存一个班级学生多门课程的成绩,并成绩进行分析等功能。

    源代码-非零坊ASP友情链接 v5.0.zip

    更多毕业设计https://cv2022.blog.csdn.net/article/details/124463185

    java-springboot+vue应急救援物资管理系统源码.zip

    系统选用B/S模式,后端应用springboot框架,前端应用vue框架, MySQL为后台数据库。 本系统基于java设计的各项功能,数据库服务器端采用了Mysql作为后台数据库,使Web与数据库紧密联系起来。 在设计过程中,充分保证了系统代码的良好可读性、实用性、易扩展性、通用性、便于后期维护、操作方便以及页面简洁等特点。

    鸿蒙应用开发领域中DevEco Studio的安装、使用技巧及性能分析工具详细介绍

    内容概要:本文主要介绍了鸿蒙原生应用开发过程中可能遇到的内存问题以及相应的解决方案。针对这些问题,华为提供的 DevEco Studio 包含了性能分析工具 DevEco Profiler,提供两种场景化的分析模板——Snapshot Insight 和 Allocation Insight,支持实时监控、ArkTS 和 Native 内存的深度分析。这使得开发者能够有效识别、定界定位并优化内存问题,大幅提升应用的稳定性和性能。此外,文章还介绍了 DevEco Studio 强大的模拟器功能,该模拟器能仿真各类设备及场景,包括GPS定位、导航和低电量管理,极大提高了开发效率和测试灵活性。最后,文中详细列出了常见的快捷键,并给出了保持 DevEco Studio 与 Android Studio 快捷键同步的方法。 适合人群:专注于鸿蒙生态系统内的应用开发的技术人员,特别是有一定经验的中级至高级程序员。 使用场景及目标:本文旨在帮助开发者更好地理解和掌握 DevEco Studio 的强大工具链,尤其是解决开发过程中经常遇见的内存管理和多设备兼容问题,目标是优化开发流程,减少调测时间,增强产品的质量和用户体验。 阅读建议:开发者可通过鸿蒙官方提供的资源链接下载最新版本的 DevEco Studio 并探索相关技术博客,以获得最新的技术和使用技巧。建议在实践中逐步熟悉各个功能模块,并积极利用性能分析工具和模拟器来解决现实中的问题。

    我是谁啊我耽误 的耽误是

    我是谁

    精美导航引导页HTML源码 自适应手机/电脑,无后台

    精美导航引导页HTML源码,自适应手机/电脑,无后台,上传网站根目录就能用,首页内容在index里面修改 可以双页切换,亲测可用,搭建简单,附带修改教程

    hap手机软件包测试用

    hap手机软件包测试,测试使用

    电气工程领域的Altium Designer电子线路CAD训练-从基础入门到PCB设计实践

    内容概要:本文档是一份针对自动化专业的《电子线路CAD训练》实习报告,详细介绍了通过使用Altium Designer冬春软件进行电子线路的原理图设计、元件库文件设计、PCB板设计及元件封装库设计的过程。文档首先概述了训练的目的和重要性,随后逐步讲解Altium Designer Winter的安装与配置,然后重点展示了具体元件的设计细节,如温度传感器、AD输入通道、四双向模拟开关等的实际应用。此外,还详细阐述了自动布线和手动布线的具体步骤与注意事项,最后通过对此次实习的回顾,强调了本次训练对于提升电路设计能力和后续学习的支持。 适用人群:本报告适用于正在学习自动化及相关专业的在校大学生或从事电气工程领域的工程师和技术人员。 使用场景及目标:旨在帮助读者深入了解电子线路CAD的基础理论知识及其实际应用场景,特别是在Altium Designer环境下的操作流程。目标在于强化学生或技术人员的专业技能,以便他们能够在未来的工作或研究中有更强的设计能力。同时,该报告也可作为相关课程的教学材料。 其他说明:附录部分提供了完整的电路原理图和详细的元器件列表,供读者进一步理解和参照练习。

    2019年 金融网点分县统计数据.zip

    “2019年金融网点分县统计数据”提供了中国县域金融机构布局的详细信息,覆盖国有大型商业银行、股份制商业银行、城市商业银行及农村商业银行的网点分布特征。截至2019年底,全国银行网点总量为197,719个,其中县域地区分布87,003个,占比44%;市区网点110,716个,占比56%。 从银行类型看,国有大型商业银行县域网点数量最多(46,481个),但分布不均,如交通银行县域网点仅占9.01%,而邮政储蓄银行县域覆盖率高达59%。股份制商业银行县域网点仅占10%,主要集中于华东地区(73%)。农村商业银行县域网点占比60%(34,525个),华北和华中地区占其总量的53%。 区域分布上,华中地区县域网点占比最高(57.66%),其次是华东(34%)和西南(46%);华南地区县域网点最少,仅占7%。国有大行在华东地区县域网点占比32%,农村商业银行则集中在华北(32%)和华中(21%)。 该数据为研究金融资源城乡配置、普惠金融发展及区域经济差异提供了基础支撑。例如,国有大行2019年县域网点数量较前一年增加,反映其下沉服务趋势;而农村金融机构通过人缘地缘优势持续优化县域服务。数据格式包含分银行、分地区的统计表格,适用于量化分析金融网络覆盖与经济社会发展的关联性。

    GFP-ATOMIC参数的含义

    GFP-ATOMIC参数的含义

    ollama国内源,bash使用

    ollama国内源,bash使用

    电动汽车制造商迁移至Snowflake的数据平台现代化解决方案与实操

    内容概要:本文详细介绍了一家电动汽车(EV)制造商面临的数据处理挑战以及为解决这些问题所采取的举措——将现有数据平台迁移到Snowflake云平台上。文中阐述了制造商目前遇到的问题,如查询速度慢、运营成本高、难以整合结构化及非结构化的数据来源,并提出了具体的改进方向和技术细节。为了帮助潜在技术人员更好地理解和准备相关技术测试,还提供了一个详细的步骤指南来构建数据管道。具体要求分为两大部分:一是在当前架构上进行操作演示,二是利用Snowflake完成未来状态架构搭建并做技术示范,同时提供了预期产出物列表、所需技能概述及观众构成等关键信息。 适用人群:对于想要深入理解数据仓库迁移流程及其技术实施的专业人士非常有价值,特别适合作为数据工程师、数据科学家和其他IT专业人士参与面试的技术评估资料。 使用场景及目标:旨在展示候选人在构建现代数据工程基础设施方面的技术和创新能力。此外还可以作为内部培训材料供团队成员提高技能,或者为计划类似转型项目的企业决策层提供借鉴参考,从而优化其自身的数据管理策略和架构规划。 其他说明:演示时间被安排为60分钟,其中包括用例讲解(5分钟)、架构讨论(10分钟

    自动封装javaBean的工具类

    自动封装javaBean的工具类

    源代码-飞翔非主流ASP爬虫伪静态缓存版 v2.0.zip

    更多毕业设计https://cv2022.blog.csdn.net/article/details/124463185

    源代码-简洁快速趣味的开源ASP论坛 GBABOOK BBS v1.01 for SQL Server.zip

    更多毕业设计https://cv2022.blog.csdn.net/article/details/124463185

    wireshark log for ethercat io

    wireshark log for ethercat io

    TM1629A 驱动程序和数据手册.rar

    TM1629A 驱动程序和数据手册.rar

    Java-SpringBoot+vue的婚恋交流和信息管理系统毕业设计源码.zip

    系统选用B/S模式,后端应用springboot框架,前端应用vue框架, MySQL为后台数据库。 本系统基于java设计的各项功能,数据库服务器端采用了Mysql作为后台数据库,使Web与数据库紧密联系起来。 在设计过程中,充分保证了系统代码的良好可读性、实用性、易扩展性、通用性、便于后期维护、操作方便以及页面简洁等特点。

Global site tag (gtag.js) - Google Analytics