最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

MyBatis-Flex BaseMapper的接口基本用法小結(jié)

 更新時間:2025年02月14日 10:31:07   作者:水w  
本文主要介紹了MyBatis-Flex BaseMapper的接口基本用法小結(jié),文中通過示例代碼介紹的非常詳細(xì),對大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)學(xué)習(xí)吧

MyBatis-Flex簡單介紹

MyBatis-Flex 是一個優(yōu)雅的 MyBatis 增強(qiáng)框架,它非常輕量、同時擁有極高的性能與靈活性。我們可以輕松的使用 Mybaits-Flex 鏈接任何數(shù)據(jù)庫,其內(nèi)置的 QueryWrapper^亮點 幫助我們極大的減少了 SQL 編寫的工作的同時,減少出錯的可能性。

總而言之,MyBatis-Flex 能夠極大地提高我們的開發(fā)效率和開發(fā)體驗,讓我們有更多的時間專注于自己的事情。

特性

1、輕量

除了 MyBatis,沒有任何第三方依賴輕依賴、沒有任何攔截器,其原理是通過 SqlProvider 的方式實現(xiàn)的輕實現(xiàn)。同時,在執(zhí)行的過程中,沒有任何的 Sql 解析(Parse)輕運行。 這帶來了幾個好處:1、極高的性能;2、極易對代碼進(jìn)行跟蹤和調(diào)試; 3、更高的把控性。

2、靈活

支持 Entity 的增刪改查、以及分頁查詢的同時,MyBatis-Flex 提供了 Db + Row^靈活 工具,可以無需實體類對數(shù)據(jù)庫進(jìn)行增刪改查以及分頁查詢。 與此同時,MyBatis-Flex 內(nèi)置的 QueryWrapper^靈活 可以輕易的幫助我們實現(xiàn) 多表查詢鏈接查詢、子查詢 等等常見的 SQL 場景。

3、強(qiáng)大

支持任意關(guān)系型數(shù)據(jù)庫,還可以通過方言持續(xù)擴(kuò)展,同時支持 多(復(fù)合)主鍵、邏輯刪除、樂觀鎖配置、數(shù)據(jù)脫敏、數(shù)據(jù)審計、 數(shù)據(jù)填充 等等功能。

基礎(chǔ)方法

INSERT

BaseMapper 的接口提供了 insert 和 insertBatch 方法,用于新增數(shù)據(jù)。

  • insert(entity):插入實體類數(shù)據(jù),不忽略 null 值。
  • insertSelective(entity):插入實體類數(shù)據(jù),但是忽略 null 的數(shù)據(jù),只對有值的內(nèi)容進(jìn)行插入。這樣的好處是數(shù)據(jù)庫已經(jīng)配置了一些默認(rèn)值,這些默認(rèn)值才會生效。
  • insert(entity, ignoreNulls):插入實體類數(shù)據(jù)。
  • insertWithPk(entity):插入帶有主鍵的實體類,不忽略 null 值。
  • insertSelectiveWithPk(entity):插入帶有主鍵的實體類,忽略 null 值。
  • insertWithPk(entity, ignoreNulls):帶有主鍵的插入,此時實體類不會經(jīng)過主鍵生成器生成主鍵。
  • insertBatch(entities):批量插入實體類數(shù)據(jù),只會根據(jù)第一條數(shù)據(jù)來構(gòu)建插入的字段內(nèi)容。
  • insertBatch(entities, size):批量插入實體類數(shù)據(jù),按 size 切分。
  • insertOrUpdate(entity):插入或者更新,若主鍵有值,則更新,若沒有主鍵值,則插入,插入或者更新都不會忽略 null 值。
  • insertOrUpdateSelective(entity):插入或者更新,若主鍵有值,則更新,若沒有主鍵值,則插入,插入或者更新都會忽略 null 值。
  • insertOrUpdate(entity, ignoreNulls):插入或者更新,若主鍵有值,則更新,若沒有主鍵值,則插入。

① insert

    /**
     * insert(entity):插入實體類數(shù)據(jù),不忽略 null 值。
     * insert(entity, ignoreNulls):插入實體類數(shù)據(jù)。
     */
    @Test
    public void testInsert() {
        /**
         * 默認(rèn)不忽略null值
         * INSERT INTO `tb_account`(`user_name`, `age`, `birthday`) VALUES (?, ?, ?)
         */
        int row = accountMapper.insert(new Account().setUserName(null).setBirthday(new Date()).setAge(25));
        Assertions.assertEquals(row, 1);

        /**
         * ignoreNulls true:忽略null , false:不忽略null
         * INSERT INTO `tb_account`(`user_name`) VALUES (?)
         */
        int row2 = accountMapper.insert(new Account().setUserName("ly3").setBirthday(null).setAge(null), true);
        Assertions.assertEquals(row2, 1);
    }

② insertSelective 

    /**
     * insertSelective(entity):插入實體類數(shù)據(jù),但是忽略 null 的數(shù)據(jù),只對有值的內(nèi)容進(jìn)行插入。這樣的好處是數(shù)據(jù)庫已經(jīng)配置了一些默認(rèn)值,這些默認(rèn)值才會生效。
     */
    @Test
    public void testInsertSelective() {
        /**
         * INSERT INTO `tb_account`(`user_name`) VALUES (?)
         */
        int row = accountMapper.insertSelective(new Account().setUserName("陳遠(yuǎn)航").setAge(null));
        Assertions.assertEquals(row, 1);
    }

③ insertWithPk 

    /**
     * insertWithPk(entity):插入帶有主鍵的實體類,不忽略 null 值。
     */
    @Test
    public void testInsertWithPk() {
        /**
         * INSERT INTO `tb_account`(`id`, `user_name`, `age`, `birthday`) VALUES (?, ?, ?, ?)
         */
        int row = accountMapper.insertWithPk(new Account().setUserName("廖楷瑞").setId(5L).setBirthday(null));
        Assertions.assertEquals(row, 1);
    }

④ insertBatch 

    /**
     * insertBatch(entities):批量插入實體類數(shù)據(jù),只會根據(jù)第一條數(shù)據(jù)來構(gòu)建插入的字段內(nèi)容。
     * insertBatch(entities, size):批量插入實體類數(shù)據(jù),按 size 切分。
     */
    @Test
    public void testInsertBatch() {
        List<Account> accounts = new ArrayList<>(10);
        for (int i = 0; i < 10; i++) {
            Account account = new Account().setUserName("ly" + i).setBirthday(new Date()).setAge(20 + i);
            accounts.add(account);
        }
        /**
         * 批量插入,可以指定每次插入的數(shù)據(jù)大小size
         * size=2 : INSERT INTO `tb_account`(`user_name`, `age`, `birthday`) VALUES (?, ?, ?), (?, ?, ?)
         * size=3 : INSERT INTO `tb_account`(`user_name`, `age`, `birthday`) VALUES (?, ?, ?), (?, ?, ?), (?, ?, ?)
         * ......
         */
        int rows = accountMapper.insertBatch(accounts, 2);
        System.out.println("rows = " + rows);
    }

⑤ insertOrUpdate 

    /**
     * insertOrUpdate(entity):插入或者更新,若主鍵有值,則更新,若沒有主鍵值,則插入,插入或者更新都不會忽略 null 值。
     * insertOrUpdateSelective(entity):插入或者更新,若主鍵有值,則更新,若沒有主鍵值,則插入,插入或者更新都會忽略 null 值。
     * insertOrUpdate(entity, ignoreNulls):插入或者更新,若主鍵有值,則更新,若沒有主鍵值,則插入。
     */
    @Test
    public void testInsertOrUpdate() {
        Account account = new Account().setUserName("ly-update2").setId(3L).setBirthday(new Date()).setAge(21);
        /**
         * UPDATE `tb_account` SET `user_name` = ? , `age` = ? , `birthday` = ? WHERE `id` = ?
         */
        int row = accountMapper.insertOrUpdate(account);
        Assertions.assertEquals(row, 0, 1);

        account = new Account().setUserName("ly-update2").setBirthday(null).setAge(21);
        /**
         * INSERT INTO `tb_account`(`user_name`, `age`) VALUES (?, ?)
         */
        int row2 = accountMapper.insertOrUpdateSelective(account);
        Assertions.assertEquals(row2, 0, 1);
    }

DELETE

BaseMapper 的接口提供了 deleteById、deleteBatchByIds、deleteByMap、deleteByQuery 方法,用于刪除數(shù)據(jù);

  • deleteById(id):根據(jù)主鍵刪除數(shù)據(jù)。如果是多個主鍵的情況下,需要傳入數(shù)組,例如:new Integer[]{100,101}。
  • deleteBatchByIds(ids):根據(jù)多個主鍵批量刪除數(shù)據(jù)。
  • deleteBatchByIds(ids, size):根據(jù)多個主鍵批量刪除數(shù)據(jù)。
  • deleteByMap(whereConditions):根據(jù) Map 構(gòu)建的條件來刪除數(shù)據(jù)。
  • deleteByCondition(whereConditions):根據(jù)查詢條件來刪除數(shù)據(jù)。
  • deleteByQuery(queryWrapper):根據(jù)查詢條件來刪除數(shù)據(jù)。

① deleteById

    /**
     * deleteById(id):根據(jù)主鍵刪除數(shù)據(jù)。
     * ??? 如果是多個主鍵的情況下,需要傳入數(shù)組,例如:new Integer[]{100,101}。 ??? 懷疑態(tài)度
     */
    @Test
    public void testDeleteById() {
        /**
         * DELETE FROM `tb_account` WHERE `id` = ?
         */
        int row = accountMapper.deleteById(9L);
        Assertions.assertTrue(row > 0);
    }

② deleteBatchByIds  

    /**
     * deleteBatchByIds(ids):根據(jù)多個主鍵批量刪除數(shù)據(jù)。
     * deleteBatchByIds(ids, size):根據(jù)多個主鍵批量刪除數(shù)據(jù)。
     */
    @Test
    public void testDeleteBatchByIds() {
        List<Integer> ids = List.of(5, 6, 7, 8);
        /**
         * DELETE FROM `tb_account` WHERE `id` = ? OR `id` = ? OR `id` = ? OR `id` = ?
         */
        int rows = accountMapper.deleteBatchByIds(ids);
        Assertions.assertTrue(rows > 0);

        /**
         * 分批刪除
         * size=2 : DELETE FROM `tb_account` WHERE `id` = ? OR `id` = ?
         */
        int rows2 = accountMapper.deleteBatchByIds(ids, 2);
        Assertions.assertTrue(rows2 > 0);
    }

③ deleteByMap 

    /**
     * deleteByMap(whereConditions):根據(jù) Map 構(gòu)建的條件來刪除數(shù)據(jù)。
     */
    @Test
    public void testDeleteByMap() {
        /**
         * DELETE FROM `tb_account` WHERE `tb_account`.`age` = ?
         */
        int rows = accountMapper.deleteByMap(Map.of("age", 25));
        Assertions.assertTrue(rows > 0);
    }

④ deleteByCondition  

    /**
     * deleteByCondition(whereConditions):根據(jù)查詢條件來刪除數(shù)據(jù)。
     */
    @Test
    public void testDeleteByCondition() {
        QueryCondition condition = QueryCondition.createEmpty().and("age = 27");
        /**
         * DELETE FROM `tb_account` WHERE age = 27
         */
        int rows = accountMapper.deleteByCondition(condition);
        Assertions.assertTrue(rows > 0);

        /**
         * DELETE FROM `tb_account` WHERE `id` > ?
         */
        int rows2 = accountMapper.deleteByCondition(ACCOUNT.ID.gt(35));
        Assertions.assertTrue(rows2 > 0);
    }

⑤ deleteByQuery

    /**
     * deleteByQuery(queryWrapper):根據(jù)查詢條件來刪除數(shù)據(jù)。
     */
    @Test
    public void testDeleteByQuery() {
        /**
         * DELETE FROM `tb_account` WHERE `age` >= ?
         */
        QueryWrapper wrapper = QueryWrapper.create().where(ACCOUNT.AGE.ge(32));
        int rows = accountMapper.deleteByQuery(wrapper);
        Assertions.assertTrue(rows > 0);
    }

UPDATE

BaseMapper 的接口提供了 update、updateByMap、updateByQuery 方法,用于更新數(shù)據(jù);

  • update(entity):根據(jù)主鍵來更新數(shù)據(jù),若實體類屬性數(shù)據(jù)為 null,該屬性不會新到數(shù)據(jù)庫。
  • update(entity, ignoreNulls):根據(jù)主鍵來更新數(shù)據(jù)到數(shù)據(jù)庫。
  • updateByMap(entity, whereConditions):根據(jù) Map 構(gòu)建的條件來更新數(shù)據(jù)。
  • updateByMap(entity, ignoreNulls, whereConditions):根據(jù) Map 構(gòu)建的條件來更新數(shù)據(jù)。
  • updateByCondition(entity, whereConditions):根據(jù)查詢條件來更新數(shù)據(jù)。
  • updateByCondition(entity, ignoreNulls, whereConditions):根據(jù)查詢條件來更新數(shù)據(jù)。
  • updateByQuery(entity, queryWrapper):根據(jù)查詢條件來更新數(shù)據(jù)。
  • updateByQuery(entity, ignoreNulls, queryWrapper):根據(jù)查詢條件來更新數(shù)據(jù)。

① update 

    @Test
    public void testUpdate() {
        Account account = new Account().setId(5L)
                .setAge(39)
                .setUserName("測試修改")
                .setBirthday(new Date(2023, Calendar.SEPTEMBER, 6, 12, 12, 12));
        /**
         * UPDATE `tb_account` SET `user_name` = ? , `age` = ? , `birthday` = ? WHERE `id` = ?
         */
        int rows = accountMapper.update(account);
        Assertions.assertTrue(rows > 0);
    }
	
    @Test
    public void testUpdateIgnoreNulls() {
        Account account = new Account().setId(6L)
                .setAge(null)
                .setUserName(null)
                .setBirthday(new Date(2023, Calendar.SEPTEMBER, 6, 12, 12, 12));
        /**
         * 不忽略null值
         * UPDATE `tb_account` SET `user_name` = ? , `age` = ? , `birthday` = ? WHERE `id` = ?
         */
        int rows = accountMapper.update(account, false);
        System.out.println("rows = " + rows);
    }

② updateByMap 

    @Test
    public void testUpdateByMap() {
        Account account = new Account()
                .setId(7L) // 不生效
                .setUserName("updateByMap")
                .setAge(24)
                .setBirthday(null);
        // 注意:這樣更新實體類的id是不生效的
        Map<String, Object> whereCondition = Map.of("id", 13);

        /**
         * 忽略null
         * UPDATE `tb_account` SET `user_name` = ? , `age` = ? WHERE `id` = ?
         */
        accountMapper.updateByMap(account, whereCondition);

        /**
         * 不忽略null
         * UPDATE `tb_account` SET `user_name` = ? , `age` = ? , `birthday` = ? WHERE `id` = ?
         */
        accountMapper.updateByMap(account, false, whereCondition);
    }

③ updateByCondition 

    /**
     * updateByCondition(entity, whereConditions):根據(jù)查詢條件來更新數(shù)據(jù)。
     * updateByCondition(entity, ignoreNulls, whereConditions):根據(jù)查詢條件來更新數(shù)據(jù)。
     */
    @Test
    public void testUpdateByCondition() {
        Account account = new Account()
                .setId(8L)
                .setUserName("updateByCondition")
                .setBirthday(DateUtil.toDate(LocalDateTime.now()));
        QueryCondition condition = QueryCondition.create(new QueryColumn("id"),
                SqlConsts.EQUALS, 8);
        /**
         * 忽略null
         * UPDATE `tb_account` SET `user_name` = ? , `birthday` = ? WHERE `id` = ?
         */
        accountMapper.updateByCondition(account, condition);

        /**
         * 不忽略null
         * UPDATE `tb_account` SET `user_name` = ? , `age` = ? , `birthday` = ? WHERE `id` = ?
         */
        accountMapper.updateByCondition(account, false, condition);
    }

④ updateByQuery

    /**
     * updateByQuery(entity, queryWrapper):根據(jù)查詢條件來更新數(shù)據(jù)。
     * updateByQuery(entity, ignoreNulls, queryWrapper):根據(jù)查詢條件來更新數(shù)據(jù)。
     */
    @Test
    public void testUpdateByQuery() {
        Account account = new Account().setUserName("updateByQuery");

        /**
         * UPDATE `tb_account` SET `user_name` = ? WHERE `id` = ?
         */
        accountMapper.updateByQuery(account,
                QueryWrapper.create().where(ACCOUNT.ID.eq(9L)));
    }

⑤ UpdateEntity部分字段更新

    @Test
    public void testUpdateEntity1() {
        Account account = UpdateEntity.of(Account.class, 10L);
        /**
         * 官方說明:通過 UpdateEntity 創(chuàng)建的對象,只會更新調(diào)用了 setter 方法的字段,若不調(diào)用 setter 方法,不管這個對象里的屬性的值是什么,都不會更新到數(shù)據(jù)庫。
         */
        account.setAge(66)
                .setUserName("UpdateEntity")
                .setBirthday(null);
        accountMapper.update(account);
    }

    @Test
    public void testUpdateEntity2() {
        Account account = new Account()
                .setId(10L)
                .setUserName("UpdateEntity2");
        UpdateWrapper wrapper = UpdateWrapper.of(account);
        // wrapper.set(ACCOUNT.AGE, ACCOUNT.AGE.add(1));

        wrapper.setRaw("age", "age + 1");
        accountMapper.update(account);
    }

    @Test
    public void testUpdateEntity3() {
        Account account = new Account()
                .setId(10L)
                .setUserName("UpdateEntity2");
        UpdateWrapper wrapper = UpdateWrapper.of(account);

        // wrapper.set(ACCOUNT.AGE, ACCOUNT.AGE.add(1));

        wrapper.setRaw(ACCOUNT.AGE, "select * from t_account where id = 3");
        // accountMapper.updateByCondition(account, wrapper);
    }

⑥ UpdateChain

    @Test
    public void testUpdateChain() {
        /**
         * UPDATE `tb_account` SET `birthday` = ? , `age` = age + 1 WHERE `age` = ?
         */
        UpdateChain.of(Account.class)
                .set(Account::getBirthday, new Date())
                .setRaw(Account::getAge, "age + 1")
                .where(ACCOUNT.AGE.eq(11)).update();
    }

set() 和 setRaw() 的區(qū)別在 Row、UpdateWrapper、UpdateChain 中,都提供了 set() 和 setRaw() 兩個方法用于設(shè)置數(shù)據(jù)。 那么,它們有什么區(qū)別呢?

  • set() 方法用于設(shè)置參數(shù)數(shù)據(jù)。
  • setRaw() 用于設(shè)置 SQL 拼接數(shù)據(jù)。

舉個例子,

//更新數(shù)據(jù)
UpdateChain.of(Account.class)
	.set(Account::getAge, ACCOUNT.AGE.add(1))
	.where(Account::getId).ge(100)
	.and(Account::getAge).eq(18)
	.update();

通過 UpdateChain 進(jìn)行 update(),其執(zhí)行的 SQL 如下:

UPDATE `tb_account` SET `age` = `age` + 1
WHERE  `id` >= 100 AND `age` = 18

到此這篇關(guān)于MyBatis-Flex BaseMapper的接口基本用法小結(jié)的文章就介紹到這了,更多相關(guān)MyBatis-Flex BaseMapper接口用法內(nèi)容請搜索腳本之家以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持腳本之家! 

相關(guān)文章

  • JSON--List集合轉(zhuǎn)換成JSON對象詳解

    JSON--List集合轉(zhuǎn)換成JSON對象詳解

    這篇文章主要介紹了List集合轉(zhuǎn)換成JSON對象,小編覺得挺不錯的,現(xiàn)在就分享給大家,也給大家做個參考。
    2017-01-01
  • SpringBoot實現(xiàn)JWT令牌失效的6種方案

    SpringBoot實現(xiàn)JWT令牌失效的6種方案

    JWT(JSON?Web?Token)作為一種輕量級的認(rèn)證方式,被廣泛應(yīng)用于現(xiàn)代Web應(yīng)用和微服務(wù)架構(gòu)中,然而,JWT的無狀態(tài)特性雖然帶來了擴(kuò)展性優(yōu)勢,卻也帶來了令牌管理的挑戰(zhàn),特別是當(dāng)需要使令牌提前失效時,本文將介紹在SpringBoot應(yīng)用中實現(xiàn)JWT令牌失效的6種方案
    2025-06-06
  • Java通過IO流輸出文件目錄的實例代碼

    Java通過IO流輸出文件目錄的實例代碼

    這篇文章主要介紹了Java通過IO流輸出文件目錄,本文通過實例代碼給大家介紹的非常詳細(xì),對大家的學(xué)習(xí)或工作具有一定的參考借鑒價值,需要的朋友可以參考下
    2020-12-12
  • Java中RabbitMQ隊列實現(xiàn)RPC詳解

    Java中RabbitMQ隊列實現(xiàn)RPC詳解

    這篇文章主要介紹了Java中RabbitMQ隊列實現(xiàn)RPC詳解,在本教程中,我們將使用RabbitMQ構(gòu)建一個RPC系統(tǒng):一個客戶端和一個RPC服務(wù)器,我們將創(chuàng)建一個返回斐波那契數(shù)字的模擬RPC服務(wù),,需要的朋友可以參考下
    2023-08-08
  • Java使用Spring Batch處理大規(guī)模數(shù)據(jù)的實踐分享

    Java使用Spring Batch處理大規(guī)模數(shù)據(jù)的實踐分享

    在處理大規(guī)模數(shù)據(jù)的場景中,批處理是一個非常常見且必要的操作,Java中的Spring Batch是一個強(qiáng)大的框架,能夠幫助我們高效地執(zhí)行復(fù)雜的批處理任務(wù),本文將帶大家了解如何使用Spring Batch處理大規(guī)模數(shù)據(jù),并通過代碼示例展示如何實現(xiàn)高效的批處理,需要的朋友可以參考下
    2024-10-10
  • 說明Java的傳遞與回調(diào)機(jī)制的代碼示例分享

    說明Java的傳遞與回調(diào)機(jī)制的代碼示例分享

    這篇文章主要介紹了說明Java的傳遞與回調(diào)機(jī)制的代碼示例分享,傳遞與回調(diào)機(jī)制是Java入門學(xué)習(xí)中的基礎(chǔ)知識,需要的朋友可以參考下
    2015-09-09
  • mybatis配置對象包含對象以及List的方式

    mybatis配置對象包含對象以及List的方式

    這篇文章主要介紹了mybatis配置對象包含對象以及List的方式,具有很好的參考價值,希望對大家有所幫助。如有錯誤或未考慮完全的地方,望不吝賜教
    2021-06-06
  • Java數(shù)學(xué)工具類MathUtil詳解

    Java數(shù)學(xué)工具類MathUtil詳解

    這篇文章主要為大家詳細(xì)介紹了Java數(shù)學(xué)工具類MathUtil的相關(guān)資料,文中示例代碼介紹的非常詳細(xì),具有一定的參考價值,感興趣的小伙伴們可以參考一下
    2019-08-08
  • 深入淺出講解Java8函數(shù)式編程

    深入淺出講解Java8函數(shù)式編程

    不管是前端還是后端開發(fā)人員,學(xué)習(xí)一些函數(shù)式編程的思想和概念,對于手頭的開發(fā)工作和以后的職業(yè)發(fā)展,都是大有裨益的,下面這篇文章主要給大家介紹了關(guān)于Java8函數(shù)式編程的相關(guān)資料,需要的朋友可以參考下
    2022-01-01
  • Spring Boot兩種配置文件properties和yml區(qū)別

    Spring Boot兩種配置文件properties和yml區(qū)別

    這篇文章主要為大家介紹了java面試中常見問到的Spring Boot兩種配置文件properties和yml區(qū)別解答,有需要的朋友可以借鑒參考下,希望能夠有所幫助,祝大家多多進(jìn)步,早日升職加薪
    2023-07-07

最新評論

三台县| 四会市| 响水县| 饶平县| 濉溪县| 宕昌县| 烟台市| 沙坪坝区| 漳浦县| 灌南县| 肇源县| 天津市| 三明市| 上虞市| 朝阳县| 安泽县| 筠连县| 乌拉特后旗| 泽库县| 米易县| 峨山| 扎兰屯市| 攀枝花市| 芜湖县| 洛隆县| 韶关市| 陆丰市| 富平县| 大埔区| 平遥县| 木兰县| 准格尔旗| 饶河县| 南投市| 伊吾县| 石河子市| 榆中县| 高台县| 玉门市| 泾川县| 神池县|