<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                # Java后臺導入代碼示例 > Service ``` package com.scpyun.platform.ctcm.service.impl; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.scpyun.base.core.annotation.Api; import com.scpyun.base.core.annotation.ApiOperation; import com.scpyun.base.core.exception.CustomException; import com.scpyun.base.core.utils.UnifyLogger; import com.scpyun.base.db.service.CommonService; @Api("excel數據導入") @Service("excelService") public class ExcelServiceImpl { @Autowired CommonService commonService; private static String namespace = "com.juyou.platform.standard.ctcm.excel."; @ApiOperation(value = "excel數據導入", desc = "測試專用") public Map saveExcelData(Map map) { Map rtn = new HashMap(); if (map.get("dataList") == null || "".equals(map.get("dataList"))) { throw new CustomException("參數異常!"); } UnifyLogger.parent("入參:" + map); List> list = (List>) map.get("dataList"); List> falseList = new ArrayList>(); for(Map oneMap : list) { try { if (commonService.insert(namespace + "insertExcelData", oneMap) != 1) { falseList.add(oneMap); } } catch (Exception e) { falseList.add(oneMap); } } Map returnMap = new HashMap(); returnMap.put("falseList", falseList); return returnMap; } } ``` >XML ##### 此部分僅展示SQL,外框請符合公司后臺框架要求,示例如下 ```` INSERT into ctc_n_user_permit_international_users_test( name, card_no, import_nation_name, sex, address, phone, create_time, create_by ) VALUES( #{name, jdbcType=VARCHAR}, #{card_no, jdbcType=VARCHAR}, #{import_nation_name, jdbcType=VARCHAR}, #{sex, jdbcType=VARCHAR}, #{address, jdbcType=VARCHAR}, #{phone, jdbcType=VARCHAR}, now(), #{_user.id, jdbcType=VARCHAR} )
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看