Your Name 6 月之前
父節點
當前提交
cc0921ca2e
共有 3 個檔案被更改,包括 4 行新增1 行删除
  1. 1
    1
      application/api/controller/Diyajax.php
  2. 3
    0
      application/api/model/v1/Zc.php
  3. 二進制
      public/006.xlsx

+ 1
- 1
application/api/controller/Diyajax.php 查看文件

581
 TRUNCATE TABLE ey_zcdj_position;
581
 TRUNCATE TABLE ey_zcdj_position;
582
      */
582
      */
583
     public function exportData(){
583
     public function exportData(){
584
-        $fileTmpPath = './public/003.xlsx';
584
+        $fileTmpPath = './public/006.xlsx';
585
         $expType = PHPExcel_IOFactory::identify($fileTmpPath);
585
         $expType = PHPExcel_IOFactory::identify($fileTmpPath);
586
         $objReader = PHPExcel_IOFactory::createReader($expType);
586
         $objReader = PHPExcel_IOFactory::createReader($expType);
587
         $objPHPExcel = $objReader->load($fileTmpPath);
587
         $objPHPExcel = $objReader->load($fileTmpPath);

+ 3
- 0
application/api/model/v1/Zc.php 查看文件

394
             $xxlx = 1;
394
             $xxlx = 1;
395
         }else if($xxlx_str == '非全日制'){
395
         }else if($xxlx_str == '非全日制'){
396
             $xxlx = 2;
396
             $xxlx = 2;
397
+        }else{
398
+            //为空
399
+            $xxlx = 0;
397
         }
400
         }
398
 
401
 
399
         //毕业年限
402
         //毕业年限

二進制
public/006.xlsx 查看文件


Loading…
取消
儲存