Parcourir la source

1:供应商添加

wangming il y a 2 ans
Parent
commit
97c2d9f131

+ 124 - 0
ruoyi-admin/src/main/java/com/ruoyi/web/controller/scm/SupplierInfoController.java

@@ -0,0 +1,124 @@
+package com.ruoyi.web.controller.scm;
+
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.core.page.TableDataInfo;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.scm.domain.SupplierInfo;
+import com.ruoyi.scm.service.ISupplierInfoService;
+import org.apache.shiro.authz.annotation.RequiresPermissions;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.ui.ModelMap;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.List;
+
+/**
+ * 供应商Controller
+ * 
+ * @author ruoyi
+ * @date 2022-10-12
+ */
+@Controller
+@RequestMapping("/system/info")
+public class SupplierInfoController extends BaseController
+{
+    private String prefix = "system/info";
+
+    @Autowired
+    private ISupplierInfoService supplierInfoService;
+
+    @RequiresPermissions("system:info:view")
+    @GetMapping()
+    public String info()
+    {
+        return prefix + "/info";
+    }
+
+    /**
+     * 查询供应商列表
+     */
+    @RequiresPermissions("system:info:list")
+    @PostMapping("/list")
+    @ResponseBody
+    public TableDataInfo list(SupplierInfo supplierInfo)
+    {
+        startPage();
+        List<SupplierInfo> list = supplierInfoService.selectSupplierInfoList(supplierInfo);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出供应商列表
+     */
+    @RequiresPermissions("system:info:export")
+    @Log(title = "供应商", businessType = BusinessType.EXPORT)
+    @PostMapping("/export")
+    @ResponseBody
+    public AjaxResult export(SupplierInfo supplierInfo)
+    {
+        List<SupplierInfo> list = supplierInfoService.selectSupplierInfoList(supplierInfo);
+        ExcelUtil<SupplierInfo> util = new ExcelUtil<SupplierInfo>(SupplierInfo.class);
+        return util.exportExcel(list, "供应商数据");
+    }
+
+    /**
+     * 新增供应商
+     */
+    @GetMapping("/add")
+    public String add()
+    {
+        return prefix + "/add";
+    }
+
+    /**
+     * 新增保存供应商
+     */
+    @RequiresPermissions("system:info:add")
+    @Log(title = "供应商", businessType = BusinessType.INSERT)
+    @PostMapping("/add")
+    @ResponseBody
+    public AjaxResult addSave(SupplierInfo supplierInfo)
+    {
+        return toAjax(supplierInfoService.insertSupplierInfo(supplierInfo));
+    }
+
+    /**
+     * 修改供应商
+     */
+    @RequiresPermissions("system:info:edit")
+    @GetMapping("/edit/{id}")
+    public String edit(@PathVariable("id") String id, ModelMap mmap)
+    {
+        SupplierInfo supplierInfo = supplierInfoService.selectSupplierInfoById(id);
+        mmap.put("supplierInfo", supplierInfo);
+        return prefix + "/edit";
+    }
+
+    /**
+     * 修改保存供应商
+     */
+    @RequiresPermissions("system:info:edit")
+    @Log(title = "供应商", businessType = BusinessType.UPDATE)
+    @PostMapping("/edit")
+    @ResponseBody
+    public AjaxResult editSave(SupplierInfo supplierInfo)
+    {
+        return toAjax(supplierInfoService.updateSupplierInfo(supplierInfo));
+    }
+
+    /**
+     * 删除供应商
+     */
+    @RequiresPermissions("system:info:remove")
+    @Log(title = "供应商", businessType = BusinessType.DELETE)
+    @PostMapping( "/remove")
+    @ResponseBody
+    public AjaxResult remove(String ids)
+    {
+        return toAjax(supplierInfoService.deleteSupplierInfoByIds(ids));
+    }
+}

+ 542 - 0
ruoyi-admin/src/main/resources/templates/scm/supplier/add.html

@@ -0,0 +1,542 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('新增供应商')" />
+    <th:block th:include="include :: datetimepicker-css" />
+    <th:block th:include="include :: bootstrap-fileinput-css"/>
+</head>
+<body class="white-bg">
+    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
+        <form class="form-horizontal m" id="form-info-add">
+            <div class="form-group">    
+                <label class="col-sm-3 control-label is-required">主键id:</label>
+                <div class="col-sm-8">
+                    <input name="id" class="form-control" type="text" required>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">中胜的id:</label>
+                <div class="col-sm-8">
+                    <input name="zsId" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label is-required">供应商名称:</label>
+                <div class="col-sm-8">
+                    <input name="supplierName" class="form-control" type="text" required>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label is-required">供应商简称:</label>
+                <div class="col-sm-8">
+                    <input name="supplierReName" class="form-control" type="text" required>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">供应商地址:</label>
+                <div class="col-sm-8">
+                    <input name="address" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">供应商详细地址:</label>
+                <div class="col-sm-8">
+                    <input name="detailAddress" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">png、jpg:</label>
+                <div class="col-sm-8">
+                    <input name="logo" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">选项,省市县:</label>
+                <div class="col-sm-8">
+                    <input name="businessAddress" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">邮编:</label>
+                <div class="col-sm-8">
+                    <input name="postCode" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">官网网址:</label>
+                <div class="col-sm-8">
+                    <input name="website" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">供应商电话:</label>
+                <div class="col-sm-8">
+                    <input name="supplierPhone" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">传真:</label>
+                <div class="col-sm-8">
+                    <input name="fax" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">供应商联系人:</label>
+                <div class="col-sm-8">
+                    <input name="supplierMan" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">联系人电话:</label>
+                <div class="col-sm-8">
+                    <input name="manPhone" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">供应商性质  0:国有企业  1:私营企业  2:个人独资 3:集体企业和外资企业:</label>
+                <div class="col-sm-8">
+                    <select name="supplierNature" class="form-control m-b" th:with="type=${@dict.getType('supplier_nature')}">
+                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
+                    </select>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">供应商行业:</label>
+                <div class="col-sm-8">
+                    <input name="supplierBusiness" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">供应商规模 0:大型企业  1:中型企业  2:小型企业  3:微型企业:</label>
+                <div class="col-sm-8">
+                    <select name="supplierScale" class="form-control m-b" th:with="type=${@dict.getType('supplier_scale')}">
+                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
+                    </select>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">供应商类型 0:生产制造 1:批发代理 2:零售经销  3:特许经营  4;工程施工  5:一般商业服务 6:社会事业服务  7:其他:</label>
+                <div class="col-sm-8">
+                    <select name="supplierType" class="form-control m-b" th:with="type=${@dict.getType('supplier_type')}">
+                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
+                    </select>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">企业是否上市 0:是  1:否:</label>
+                <div class="col-sm-8">
+                    <select name="isMarket" class="form-control m-b" th:with="type=${@dict.getType('is_or_no')}">
+                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
+                    </select>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">是否是品牌商  0:是  1:否:</label>
+                <div class="col-sm-8">
+                    <select name="isBrand" class="form-control m-b" th:with="type=${@dict.getType('is_or_no')}">
+                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
+                    </select>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">供应商介绍:</label>
+                <div class="col-sm-8">
+                    <input name="supplierDesc" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">平台供应商标识:</label>
+                <div class="col-sm-8">
+                    <input name="supplierCode" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">登记机关:</label>
+                <div class="col-sm-8">
+                    <input name="registration" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">成立日期:</label>
+                <div class="col-sm-8">
+                    <div class="input-group date">
+                        <input name="establishmentDate" class="form-control" placeholder="yyyy-MM-dd" type="text">
+                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
+                    </div>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">营业有效时间:</label>
+                <div class="col-sm-8">
+                    <div class="input-group date">
+                        <input name="fromDate" class="form-control" placeholder="yyyy-MM-dd" type="text">
+                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
+                    </div>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">营业有效时间:</label>
+                <div class="col-sm-8">
+                    <div class="input-group date">
+                        <input name="toDate" class="form-control" placeholder="yyyy-MM-dd" type="text">
+                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
+                    </div>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">是否长期有效0:是  1:非:</label>
+                <div class="col-sm-8">
+                    <select name="isValid" class="form-control m-b" th:with="type=${@dict.getType('is_or_no')}">
+                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
+                    </select>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">注册资本,单位:</label>
+                <div class="col-sm-8">
+                    <input name="capital" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">币种0:人民币  1:美元  3:英镑:</label>
+                <div class="col-sm-8">
+                    <select name="currency" class="form-control m-b" th:with="type=${@dict.getType('currency')}">
+                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
+                    </select>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">营业范围:</label>
+                <div class="col-sm-8">
+                    <input name="businessScope" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">营业执照扫描件,文件类型图片:</label>
+                <div class="col-sm-8">
+                    <input type="hidden" name="businessScanFile">
+                    <div class="file-loading">
+                        <input class="form-control file-upload" id="businessScanFile" name="file" type="file">
+                    </div>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">备注:</label>
+                <div class="col-sm-8">
+                    <input name="remark" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">在职员工数量:</label>
+                <div class="col-sm-8">
+                    <input name="employeeNum" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">社保缴纳人数:</label>
+                <div class="col-sm-8">
+                    <input name="socialNum" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">社保缴纳凭证附件:</label>
+                <div class="col-sm-8">
+                    <input type="hidden" name="socialFile">
+                    <div class="file-loading">
+                        <input class="form-control file-upload" id="socialFile" name="file" type="file">
+                    </div>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">出资凭证文件类型:jpg/png:</label>
+                <div class="col-sm-8">
+                    <input name="contributProve" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">出资总额,单位万:</label>
+                <div class="col-sm-8">
+                    <input name="contributNum" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">出资币种0:人民币  1:美元  3:英镑:</label>
+                <div class="col-sm-8">
+                    <select name="contributCurrency" class="form-control m-b" th:with="type=${@dict.getType('currency')}">
+                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
+                    </select>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">出资人列表:</label>
+                <div class="col-sm-8">
+                    <input name="contributList" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">年度报表:</label>
+                <div class="col-sm-8">
+                    <input name="financialAnnualList" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">是否经过注册会计师年审0:是   1:否:</label>
+                <div class="col-sm-8">
+                    <select name="financialIsAccountant" class="form-control m-b" th:with="type=${@dict.getType('is_or_no')}">
+                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
+                    </select>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">财务备注:</label>
+                <div class="col-sm-8">
+                    <input name="financialRemark" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">财报附件:</label>
+                <div class="col-sm-8">
+                    <input type="hidden" name="financialFile">
+                    <div class="file-loading">
+                        <input class="form-control file-upload" id="financialFile" name="file" type="file">
+                    </div>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">资产总额:</label>
+                <div class="col-sm-8">
+                    <input name="assetTotal" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">对外投资总额单位万:</label>
+                <div class="col-sm-8">
+                    <input name="debtInvestTotal" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">所有者权益合计:</label>
+                <div class="col-sm-8">
+                    <input name="debtEquityTotal" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">负债总额单位万:</label>
+                <div class="col-sm-8">
+                    <input name="debtTotal" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">实收资本单位万:</label>
+                <div class="col-sm-8">
+                    <input name="capitalTotal" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">负债率统计,系统换算:</label>
+                <div class="col-sm-8">
+                    <input name="debtRate" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">营业收入,单位万:</label>
+                <div class="col-sm-8">
+                    <input name="operatingReceipt" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">销售税金及附加,单位万:</label>
+                <div class="col-sm-8">
+                    <input name="salesTax" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">利润总额,单位万:</label>
+                <div class="col-sm-8">
+                    <input name="salesTotal" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">所得税,单位万:</label>
+                <div class="col-sm-8">
+                    <input name="income tax" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">净利润,单位万:</label>
+                <div class="col-sm-8">
+                    <input name="profitTotal" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">销售利润所得率,单位换算:</label>
+                <div class="col-sm-8">
+                    <input name="salesProfitTotal" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">姓名:</label>
+                <div class="col-sm-8">
+                    <input name="headerName" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">证件类型:</label>
+                <div class="col-sm-8">
+                    <select name="papersType" class="form-control m-b" th:with="type=${@dict.getType('papers_number')}">
+                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
+                    </select>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">证件号码 0:身份中  1:护照  2:解放军军人证件  3:警察身份证件  4:港澳通行证  5:台湾居民来往通行证  6:其他有效证件:</label>
+                <div class="col-sm-8">
+                    <input name="papersNumber" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">手机号码:</label>
+                <div class="col-sm-8">
+                    <input name="headPhone" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">座机号码:</label>
+                <div class="col-sm-8">
+                    <input name="headerPhone" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">电子邮箱:</label>
+                <div class="col-sm-8">
+                    <input name="headerMail" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">人员地址:</label>
+                <div class="col-sm-8">
+                    <input name="headerAddress" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">人员邮编:</label>
+                <div class="col-sm-8">
+                    <input name="headerPostCode" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">正面盖章图片:</label>
+                <div class="col-sm-8">
+                    <input name="prosPicture" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">反面盖章图片:</label>
+                <div class="col-sm-8">
+                    <input name="consPicture" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">上架申请拒绝原因:</label>
+                <div class="col-sm-8">
+                    <input name="refuseMsg" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">下架申请原因:</label>
+                <div class="col-sm-8">
+                    <input name="soldOutMsg" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">上架申请时间:</label>
+                <div class="col-sm-8">
+                    <div class="input-group date">
+                        <input name="putawayTime" class="form-control" placeholder="yyyy-MM-dd" type="text">
+                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
+                    </div>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">上架时间:</label>
+                <div class="col-sm-8">
+                    <div class="input-group date">
+                        <input name="startTime" class="form-control" placeholder="yyyy-MM-dd" type="text">
+                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
+                    </div>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">下架时间:</label>
+                <div class="col-sm-8">
+                    <div class="input-group date">
+                        <input name="endTime" class="form-control" placeholder="yyyy-MM-dd" type="text">
+                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
+                    </div>
+                </div>
+            </div>
+        </form>
+    </div>
+    <th:block th:include="include :: footer" />
+    <th:block th:include="include :: datetimepicker-js" />
+    <th:block th:include="include :: bootstrap-fileinput-js"/>
+    <script th:inline="javascript">
+        var prefix = ctx + "system/info"
+        $("#form-info-add").validate({
+            focusCleanup: true
+        });
+
+        function submitHandler() {
+            if ($.validate.form()) {
+                $.operate.save(prefix + "/add", $('#form-info-add').serialize());
+            }
+        }
+
+        $("input[name='establishmentDate']").datetimepicker({
+            format: "yyyy-mm-dd",
+            minView: "month",
+            autoclose: true
+        });
+
+        $("input[name='fromDate']").datetimepicker({
+            format: "yyyy-mm-dd",
+            minView: "month",
+            autoclose: true
+        });
+
+        $("input[name='toDate']").datetimepicker({
+            format: "yyyy-mm-dd",
+            minView: "month",
+            autoclose: true
+        });
+
+        $("input[name='putawayTime']").datetimepicker({
+            format: "yyyy-mm-dd",
+            minView: "month",
+            autoclose: true
+        });
+
+        $("input[name='startTime']").datetimepicker({
+            format: "yyyy-mm-dd",
+            minView: "month",
+            autoclose: true
+        });
+
+        $("input[name='endTime']").datetimepicker({
+            format: "yyyy-mm-dd",
+            minView: "month",
+            autoclose: true
+        });
+
+        $(".file-upload").fileinput({
+            uploadUrl: ctx + 'common/upload',
+            maxFileCount: 1,
+            autoReplace: true
+        }).on('fileuploaded', function (event, data, previewId, index) {
+            $("input[name='" + event.currentTarget.id + "']").val(data.response.url)
+        }).on('fileremoved', function (event, id, index) {
+            $("input[name='" + event.currentTarget.id + "']").val('')
+        })
+    </script>
+</body>
+</html>

+ 543 - 0
ruoyi-admin/src/main/resources/templates/scm/supplier/edit.html

@@ -0,0 +1,543 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
+<head>
+    <th:block th:include="include :: header('修改供应商')" />
+    <th:block th:include="include :: datetimepicker-css" />
+    <th:block th:include="include :: bootstrap-fileinput-css"/>
+</head>
+<body class="white-bg">
+    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
+        <form class="form-horizontal m" id="form-info-edit" th:object="${supplierInfo}">
+            <input name="id" th:field="*{id}" type="hidden">
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">中胜的id:</label>
+                <div class="col-sm-8">
+                    <input name="zsId" th:field="*{zsId}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label is-required">供应商名称:</label>
+                <div class="col-sm-8">
+                    <input name="supplierName" th:field="*{supplierName}" class="form-control" type="text" required>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label is-required">供应商简称:</label>
+                <div class="col-sm-8">
+                    <input name="supplierReName" th:field="*{supplierReName}" class="form-control" type="text" required>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">供应商地址:</label>
+                <div class="col-sm-8">
+                    <input name="address" th:field="*{address}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">供应商详细地址:</label>
+                <div class="col-sm-8">
+                    <input name="detailAddress" th:field="*{detailAddress}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">png、jpg:</label>
+                <div class="col-sm-8">
+                    <input name="logo" th:field="*{logo}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">选项,省市县:</label>
+                <div class="col-sm-8">
+                    <input name="businessAddress" th:field="*{businessAddress}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">邮编:</label>
+                <div class="col-sm-8">
+                    <input name="postCode" th:field="*{postCode}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">官网网址:</label>
+                <div class="col-sm-8">
+                    <input name="website" th:field="*{website}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">供应商电话:</label>
+                <div class="col-sm-8">
+                    <input name="supplierPhone" th:field="*{supplierPhone}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">传真:</label>
+                <div class="col-sm-8">
+                    <input name="fax" th:field="*{fax}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">供应商联系人:</label>
+                <div class="col-sm-8">
+                    <input name="supplierMan" th:field="*{supplierMan}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">联系人电话:</label>
+                <div class="col-sm-8">
+                    <input name="manPhone" th:field="*{manPhone}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">供应商性质  0:国有企业  1:私营企业  2:个人独资 3:集体企业和外资企业:</label>
+                <div class="col-sm-8">
+                    <select name="supplierNature" class="form-control m-b" th:with="type=${@dict.getType('supplier_nature')}">
+                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{supplierNature}"></option>
+                    </select>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">供应商行业:</label>
+                <div class="col-sm-8">
+                    <input name="supplierBusiness" th:field="*{supplierBusiness}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">供应商规模 0:大型企业  1:中型企业  2:小型企业  3:微型企业:</label>
+                <div class="col-sm-8">
+                    <select name="supplierScale" class="form-control m-b" th:with="type=${@dict.getType('supplier_scale')}">
+                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{supplierScale}"></option>
+                    </select>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">供应商类型 0:生产制造 1:批发代理 2:零售经销  3:特许经营  4;工程施工  5:一般商业服务 6:社会事业服务  7:其他:</label>
+                <div class="col-sm-8">
+                    <select name="supplierType" class="form-control m-b" th:with="type=${@dict.getType('supplier_type')}">
+                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{supplierType}"></option>
+                    </select>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">企业是否上市 0:是  1:否:</label>
+                <div class="col-sm-8">
+                    <select name="isMarket" class="form-control m-b" th:with="type=${@dict.getType('is_or_no')}">
+                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{isMarket}"></option>
+                    </select>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">是否是品牌商  0:是  1:否:</label>
+                <div class="col-sm-8">
+                    <select name="isBrand" class="form-control m-b" th:with="type=${@dict.getType('is_or_no')}">
+                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{isBrand}"></option>
+                    </select>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">供应商介绍:</label>
+                <div class="col-sm-8">
+                    <input name="supplierDesc" th:field="*{supplierDesc}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">平台供应商标识:</label>
+                <div class="col-sm-8">
+                    <input name="supplierCode" th:field="*{supplierCode}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">登记机关:</label>
+                <div class="col-sm-8">
+                    <input name="registration" th:field="*{registration}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">成立日期:</label>
+                <div class="col-sm-8">
+                    <div class="input-group date">
+                        <input name="establishmentDate" th:value="${#dates.format(supplierInfo.establishmentDate, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
+                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
+                    </div>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">营业有效时间:</label>
+                <div class="col-sm-8">
+                    <div class="input-group date">
+                        <input name="fromDate" th:value="${#dates.format(supplierInfo.fromDate, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
+                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
+                    </div>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">营业有效时间:</label>
+                <div class="col-sm-8">
+                    <div class="input-group date">
+                        <input name="toDate" th:value="${#dates.format(supplierInfo.toDate, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
+                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
+                    </div>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">是否长期有效0:是  1:非:</label>
+                <div class="col-sm-8">
+                    <select name="isValid" class="form-control m-b" th:with="type=${@dict.getType('is_or_no')}">
+                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{isValid}"></option>
+                    </select>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">注册资本,单位:</label>
+                <div class="col-sm-8">
+                    <input name="capital" th:field="*{capital}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">币种0:人民币  1:美元  3:英镑:</label>
+                <div class="col-sm-8">
+                    <select name="currency" class="form-control m-b" th:with="type=${@dict.getType('currency')}">
+                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{currency}"></option>
+                    </select>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">营业范围:</label>
+                <div class="col-sm-8">
+                    <input name="businessScope" th:field="*{businessScope}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">营业执照扫描件,文件类型图片:</label>
+                <div class="col-sm-8">
+                    <input type="hidden" name="businessScanFile" th:field="*{businessScanFile}">
+                    <div class="file-loading">
+                        <input class="form-control file-upload" id="businessScanFile" name="file" type="file">
+                    </div>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">备注:</label>
+                <div class="col-sm-8">
+                    <input name="remark" th:field="*{remark}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">在职员工数量:</label>
+                <div class="col-sm-8">
+                    <input name="employeeNum" th:field="*{employeeNum}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">社保缴纳人数:</label>
+                <div class="col-sm-8">
+                    <input name="socialNum" th:field="*{socialNum}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">社保缴纳凭证附件:</label>
+                <div class="col-sm-8">
+                    <input type="hidden" name="socialFile" th:field="*{socialFile}">
+                    <div class="file-loading">
+                        <input class="form-control file-upload" id="socialFile" name="file" type="file">
+                    </div>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">出资凭证文件类型:jpg/png:</label>
+                <div class="col-sm-8">
+                    <input name="contributProve" th:field="*{contributProve}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">出资总额,单位万:</label>
+                <div class="col-sm-8">
+                    <input name="contributNum" th:field="*{contributNum}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">出资币种0:人民币  1:美元  3:英镑:</label>
+                <div class="col-sm-8">
+                    <select name="contributCurrency" class="form-control m-b" th:with="type=${@dict.getType('currency')}">
+                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{contributCurrency}"></option>
+                    </select>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">出资人列表:</label>
+                <div class="col-sm-8">
+                    <input name="contributList" th:field="*{contributList}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">年度报表:</label>
+                <div class="col-sm-8">
+                    <input name="financialAnnualList" th:field="*{financialAnnualList}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">是否经过注册会计师年审0:是   1:否:</label>
+                <div class="col-sm-8">
+                    <select name="financialIsAccountant" class="form-control m-b" th:with="type=${@dict.getType('is_or_no')}">
+                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{financialIsAccountant}"></option>
+                    </select>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">财务备注:</label>
+                <div class="col-sm-8">
+                    <input name="financialRemark" th:field="*{financialRemark}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">财报附件:</label>
+                <div class="col-sm-8">
+                    <input type="hidden" name="financialFile" th:field="*{financialFile}">
+                    <div class="file-loading">
+                        <input class="form-control file-upload" id="financialFile" name="file" type="file">
+                    </div>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">资产总额:</label>
+                <div class="col-sm-8">
+                    <input name="assetTotal" th:field="*{assetTotal}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">对外投资总额单位万:</label>
+                <div class="col-sm-8">
+                    <input name="debtInvestTotal" th:field="*{debtInvestTotal}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">所有者权益合计:</label>
+                <div class="col-sm-8">
+                    <input name="debtEquityTotal" th:field="*{debtEquityTotal}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">负债总额单位万:</label>
+                <div class="col-sm-8">
+                    <input name="debtTotal" th:field="*{debtTotal}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">实收资本单位万:</label>
+                <div class="col-sm-8">
+                    <input name="capitalTotal" th:field="*{capitalTotal}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">负债率统计,系统换算:</label>
+                <div class="col-sm-8">
+                    <input name="debtRate" th:field="*{debtRate}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">营业收入,单位万:</label>
+                <div class="col-sm-8">
+                    <input name="operatingReceipt" th:field="*{operatingReceipt}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">销售税金及附加,单位万:</label>
+                <div class="col-sm-8">
+                    <input name="salesTax" th:field="*{salesTax}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">利润总额,单位万:</label>
+                <div class="col-sm-8">
+                    <input name="salesTotal" th:field="*{salesTotal}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">所得税,单位万:</label>
+                <div class="col-sm-8">
+                    <input name="income tax" th:field="*{income tax}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">净利润,单位万:</label>
+                <div class="col-sm-8">
+                    <input name="profitTotal" th:field="*{profitTotal}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">销售利润所得率,单位换算:</label>
+                <div class="col-sm-8">
+                    <input name="salesProfitTotal" th:field="*{salesProfitTotal}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">姓名:</label>
+                <div class="col-sm-8">
+                    <input name="headerName" th:field="*{headerName}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">证件类型:</label>
+                <div class="col-sm-8">
+                    <select name="papersType" class="form-control m-b" th:with="type=${@dict.getType('papers_number')}">
+                        <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{papersType}"></option>
+                    </select>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">证件号码 0:身份中  1:护照  2:解放军军人证件  3:警察身份证件  4:港澳通行证  5:台湾居民来往通行证  6:其他有效证件:</label>
+                <div class="col-sm-8">
+                    <input name="papersNumber" th:field="*{papersNumber}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">手机号码:</label>
+                <div class="col-sm-8">
+                    <input name="headPhone" th:field="*{headPhone}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">座机号码:</label>
+                <div class="col-sm-8">
+                    <input name="headerPhone" th:field="*{headerPhone}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">电子邮箱:</label>
+                <div class="col-sm-8">
+                    <input name="headerMail" th:field="*{headerMail}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">人员地址:</label>
+                <div class="col-sm-8">
+                    <input name="headerAddress" th:field="*{headerAddress}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">人员邮编:</label>
+                <div class="col-sm-8">
+                    <input name="headerPostCode" th:field="*{headerPostCode}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">正面盖章图片:</label>
+                <div class="col-sm-8">
+                    <input name="prosPicture" th:field="*{prosPicture}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">反面盖章图片:</label>
+                <div class="col-sm-8">
+                    <input name="consPicture" th:field="*{consPicture}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">上架申请拒绝原因:</label>
+                <div class="col-sm-8">
+                    <input name="refuseMsg" th:field="*{refuseMsg}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">下架申请原因:</label>
+                <div class="col-sm-8">
+                    <input name="soldOutMsg" th:field="*{soldOutMsg}" class="form-control" type="text">
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">上架申请时间:</label>
+                <div class="col-sm-8">
+                    <div class="input-group date">
+                        <input name="putawayTime" th:value="${#dates.format(supplierInfo.putawayTime, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
+                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
+                    </div>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">上架时间:</label>
+                <div class="col-sm-8">
+                    <div class="input-group date">
+                        <input name="startTime" th:value="${#dates.format(supplierInfo.startTime, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
+                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
+                    </div>
+                </div>
+            </div>
+            <div class="form-group">    
+                <label class="col-sm-3 control-label">下架时间:</label>
+                <div class="col-sm-8">
+                    <div class="input-group date">
+                        <input name="endTime" th:value="${#dates.format(supplierInfo.endTime, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
+                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
+                    </div>
+                </div>
+            </div>
+        </form>
+    </div>
+    <th:block th:include="include :: footer" />
+    <th:block th:include="include :: datetimepicker-js" />
+    <th:block th:include="include :: bootstrap-fileinput-js"/>
+    <script th:inline="javascript">
+        var prefix = ctx + "system/info";
+        $("#form-info-edit").validate({
+            focusCleanup: true
+        });
+
+        function submitHandler() {
+            if ($.validate.form()) {
+                $.operate.save(prefix + "/edit", $('#form-info-edit').serialize());
+            }
+        }
+
+        $("input[name='establishmentDate']").datetimepicker({
+            format: "yyyy-mm-dd",
+            minView: "month",
+            autoclose: true
+        });
+
+        $("input[name='fromDate']").datetimepicker({
+            format: "yyyy-mm-dd",
+            minView: "month",
+            autoclose: true
+        });
+
+        $("input[name='toDate']").datetimepicker({
+            format: "yyyy-mm-dd",
+            minView: "month",
+            autoclose: true
+        });
+
+        $("input[name='putawayTime']").datetimepicker({
+            format: "yyyy-mm-dd",
+            minView: "month",
+            autoclose: true
+        });
+
+        $("input[name='startTime']").datetimepicker({
+            format: "yyyy-mm-dd",
+            minView: "month",
+            autoclose: true
+        });
+
+        $("input[name='endTime']").datetimepicker({
+            format: "yyyy-mm-dd",
+            minView: "month",
+            autoclose: true
+        });
+
+        $(".file-upload").each(function (i) {
+            var val = $("input[name='" + this.id + "']").val()
+            $(this).fileinput({
+                'uploadUrl': ctx + 'common/upload',
+                initialPreviewAsData: true,
+                initialPreview: [val],
+                maxFileCount: 1,
+                autoReplace: true
+            }).on('fileuploaded', function (event, data, previewId, index) {
+                $("input[name='" + event.currentTarget.id + "']").val(data.response.url)
+            }).on('fileremoved', function (event, id, index) {
+                $("input[name='" + event.currentTarget.id + "']").val('')
+            })
+            $(this).fileinput('_initFileActions');
+        });
+    </script>
+</body>
+</html>

+ 691 - 0
ruoyi-admin/src/main/resources/templates/scm/supplier/supplier.html

@@ -0,0 +1,691 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<head>
+    <th:block th:include="include :: header('供应商列表')" />
+</head>
+<body class="gray-bg">
+     <div class="container-div">
+        <div class="row">
+            <div class="col-sm-12 search-collapse">
+                <form id="formId">
+                    <div class="select-list">
+                        <ul>
+                            <li>
+                                <label>中胜的id:</label>
+                                <input type="text" name="zsId"/>
+                            </li>
+                            <li>
+                                <label>供应商名称:</label>
+                                <input type="text" name="supplierName"/>
+                            </li>
+                            <li>
+                                <label>供应商简称:</label>
+                                <input type="text" name="supplierReName"/>
+                            </li>
+                            <li>
+                                <label>供应商地址:</label>
+                                <input type="text" name="address"/>
+                            </li>
+                            <li>
+                                <label>供应商详细地址:</label>
+                                <input type="text" name="detailAddress"/>
+                            </li>
+                            <li>
+                                <label>png、jpg:</label>
+                                <input type="text" name="logo"/>
+                            </li>
+                            <li>
+                                <label>选项,省市县:</label>
+                                <input type="text" name="businessAddress"/>
+                            </li>
+                            <li>
+                                <label>邮编:</label>
+                                <input type="text" name="postCode"/>
+                            </li>
+                            <li>
+                                <label>官网网址:</label>
+                                <input type="text" name="website"/>
+                            </li>
+                            <li>
+                                <label>供应商电话:</label>
+                                <input type="text" name="supplierPhone"/>
+                            </li>
+                            <li>
+                                <label>传真:</label>
+                                <input type="text" name="fax"/>
+                            </li>
+                            <li>
+                                <label>供应商联系人:</label>
+                                <input type="text" name="supplierMan"/>
+                            </li>
+                            <li>
+                                <label>联系人电话:</label>
+                                <input type="text" name="manPhone"/>
+                            </li>
+                            <li>
+                                <label>供应商性质  0:国有企业  1:私营企业  2:个人独资 3:集体企业和外资企业:</label>
+                                <select name="supplierNature" th:with="type=${@dict.getType('supplier_nature')}">
+                                    <option value="">所有</option>
+                                    <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
+                                </select>
+                            </li>
+                            <li>
+                                <label>供应商行业:</label>
+                                <input type="text" name="supplierBusiness"/>
+                            </li>
+                            <li>
+                                <label>供应商规模 0:大型企业  1:中型企业  2:小型企业  3:微型企业:</label>
+                                <select name="supplierScale" th:with="type=${@dict.getType('supplier_scale')}">
+                                    <option value="">所有</option>
+                                    <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
+                                </select>
+                            </li>
+                            <li>
+                                <label>供应商类型 0:生产制造 1:批发代理 2:零售经销  3:特许经营  4;工程施工  5:一般商业服务 6:社会事业服务  7:其他:</label>
+                                <select name="supplierType" th:with="type=${@dict.getType('supplier_type')}">
+                                    <option value="">所有</option>
+                                    <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
+                                </select>
+                            </li>
+                            <li>
+                                <label>企业是否上市 0:是  1:否:</label>
+                                <select name="isMarket" th:with="type=${@dict.getType('is_or_no')}">
+                                    <option value="">所有</option>
+                                    <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
+                                </select>
+                            </li>
+                            <li>
+                                <label>是否是品牌商  0:是  1:否:</label>
+                                <select name="isBrand" th:with="type=${@dict.getType('is_or_no')}">
+                                    <option value="">所有</option>
+                                    <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
+                                </select>
+                            </li>
+                            <li>
+                                <label>供应商介绍:</label>
+                                <input type="text" name="supplierDesc"/>
+                            </li>
+                            <li>
+                                <label>平台供应商标识:</label>
+                                <input type="text" name="supplierCode"/>
+                            </li>
+                            <li>
+                                <label>登记机关:</label>
+                                <input type="text" name="registration"/>
+                            </li>
+                            <li>
+                                <label>成立日期:</label>
+                                <input type="text" class="time-input" placeholder="请选择成立日期" name="establishmentDate"/>
+                            </li>
+                            <li>
+                                <label>营业有效时间:</label>
+                                <input type="text" class="time-input" placeholder="请选择营业有效时间" name="fromDate"/>
+                            </li>
+                            <li>
+                                <label>营业有效时间:</label>
+                                <input type="text" class="time-input" placeholder="请选择营业有效时间" name="toDate"/>
+                            </li>
+                            <li>
+                                <label>是否长期有效0:是  1:非:</label>
+                                <select name="isValid" th:with="type=${@dict.getType('is_or_no')}">
+                                    <option value="">所有</option>
+                                    <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
+                                </select>
+                            </li>
+                            <li>
+                                <label>注册资本,单位:</label>
+                                <input type="text" name="capital"/>
+                            </li>
+                            <li>
+                                <label>币种0:人民币  1:美元  3:英镑:</label>
+                                <select name="currency" th:with="type=${@dict.getType('currency')}">
+                                    <option value="">所有</option>
+                                    <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
+                                </select>
+                            </li>
+                            <li>
+                                <label>营业范围:</label>
+                                <input type="text" name="businessScope"/>
+                            </li>
+                            <li>
+                                <label>在职员工数量:</label>
+                                <input type="text" name="employeeNum"/>
+                            </li>
+                            <li>
+                                <label>社保缴纳人数:</label>
+                                <input type="text" name="socialNum"/>
+                            </li>
+                            <li>
+                                <label>出资凭证文件类型:jpg/png:</label>
+                                <input type="text" name="contributProve"/>
+                            </li>
+                            <li>
+                                <label>出资总额,单位万:</label>
+                                <input type="text" name="contributNum"/>
+                            </li>
+                            <li>
+                                <label>出资币种0:人民币  1:美元  3:英镑:</label>
+                                <select name="contributCurrency" th:with="type=${@dict.getType('currency')}">
+                                    <option value="">所有</option>
+                                    <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
+                                </select>
+                            </li>
+                            <li>
+                                <label>出资人列表:</label>
+                                <input type="text" name="contributList"/>
+                            </li>
+                            <li>
+                                <label>年度报表:</label>
+                                <input type="text" name="financialAnnualList"/>
+                            </li>
+                            <li>
+                                <label>是否经过注册会计师年审0:是   1:否:</label>
+                                <select name="financialIsAccountant" th:with="type=${@dict.getType('is_or_no')}">
+                                    <option value="">所有</option>
+                                    <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
+                                </select>
+                            </li>
+                            <li>
+                                <label>财务备注:</label>
+                                <input type="text" name="financialRemark"/>
+                            </li>
+                            <li>
+                                <label>资产总额:</label>
+                                <input type="text" name="assetTotal"/>
+                            </li>
+                            <li>
+                                <label>对外投资总额单位万:</label>
+                                <input type="text" name="debtInvestTotal"/>
+                            </li>
+                            <li>
+                                <label>所有者权益合计:</label>
+                                <input type="text" name="debtEquityTotal"/>
+                            </li>
+                            <li>
+                                <label>负债总额单位万:</label>
+                                <input type="text" name="debtTotal"/>
+                            </li>
+                            <li>
+                                <label>实收资本单位万:</label>
+                                <input type="text" name="capitalTotal"/>
+                            </li>
+                            <li>
+                                <label>负债率统计,系统换算:</label>
+                                <input type="text" name="debtRate"/>
+                            </li>
+                            <li>
+                                <label>营业收入,单位万:</label>
+                                <input type="text" name="operatingReceipt"/>
+                            </li>
+                            <li>
+                                <label>销售税金及附加,单位万:</label>
+                                <input type="text" name="salesTax"/>
+                            </li>
+                            <li>
+                                <label>利润总额,单位万:</label>
+                                <input type="text" name="salesTotal"/>
+                            </li>
+                            <li>
+                                <label>所得税,单位万:</label>
+                                <input type="text" name="income tax"/>
+                            </li>
+                            <li>
+                                <label>净利润,单位万:</label>
+                                <input type="text" name="profitTotal"/>
+                            </li>
+                            <li>
+                                <label>销售利润所得率,单位换算:</label>
+                                <input type="text" name="salesProfitTotal"/>
+                            </li>
+                            <li>
+                                <label>姓名:</label>
+                                <input type="text" name="headerName"/>
+                            </li>
+                            <li>
+                                <label>证件类型:</label>
+                                <select name="papersType" th:with="type=${@dict.getType('papers_number')}">
+                                    <option value="">所有</option>
+                                    <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
+                                </select>
+                            </li>
+                            <li>
+                                <label>证件号码 0:身份中  1:护照  2:解放军军人证件  3:警察身份证件  4:港澳通行证  5:台湾居民来往通行证  6:其他有效证件:</label>
+                                <input type="text" name="papersNumber"/>
+                            </li>
+                            <li>
+                                <label>手机号码:</label>
+                                <input type="text" name="headPhone"/>
+                            </li>
+                            <li>
+                                <label>座机号码:</label>
+                                <input type="text" name="headerPhone"/>
+                            </li>
+                            <li>
+                                <label>电子邮箱:</label>
+                                <input type="text" name="headerMail"/>
+                            </li>
+                            <li>
+                                <label>人员地址:</label>
+                                <input type="text" name="headerAddress"/>
+                            </li>
+                            <li>
+                                <label>人员邮编:</label>
+                                <input type="text" name="headerPostCode"/>
+                            </li>
+                            <li>
+                                <label>正面盖章图片:</label>
+                                <input type="text" name="prosPicture"/>
+                            </li>
+                            <li>
+                                <label>反面盖章图片:</label>
+                                <input type="text" name="consPicture"/>
+                            </li>
+                            <li>
+                                <label>上架申请拒绝原因:</label>
+                                <input type="text" name="refuseMsg"/>
+                            </li>
+                            <li>
+                                <label>下架申请原因:</label>
+                                <input type="text" name="soldOutMsg"/>
+                            </li>
+                            <li>
+                                <label>上架申请时间:</label>
+                                <input type="text" class="time-input" placeholder="请选择上架申请时间" name="putawayTime"/>
+                            </li>
+                            <li>
+                                <label>上架时间:</label>
+                                <input type="text" class="time-input" placeholder="请选择上架时间" name="startTime"/>
+                            </li>
+                            <li>
+                                <label>下架时间:</label>
+                                <input type="text" class="time-input" placeholder="请选择下架时间" name="endTime"/>
+                            </li>
+                            <li>
+                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
+                                <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
+                            </li>
+                        </ul>
+                    </div>
+                </form>
+            </div>
+
+            <div class="btn-group-sm" id="toolbar" role="group">
+                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:info:add">
+                    <i class="fa fa-plus"></i> 添加
+                </a>
+                <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:info:edit">
+                    <i class="fa fa-edit"></i> 修改
+                </a>
+                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:info:remove">
+                    <i class="fa fa-remove"></i> 删除
+                </a>
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:info:export">
+                    <i class="fa fa-download"></i> 导出
+                </a>
+            </div>
+            <div class="col-sm-12 select-table table-striped">
+                <table id="bootstrap-table"></table>
+            </div>
+        </div>
+    </div>
+    <th:block th:include="include :: footer" />
+    <script th:inline="javascript">
+        var editFlag = [[${@permission.hasPermi('system:info:edit')}]];
+        var removeFlag = [[${@permission.hasPermi('system:info:remove')}]];
+        var supplierNatureDatas = [[${@dict.getType('supplier_nature')}]];
+        var supplierScaleDatas = [[${@dict.getType('supplier_scale')}]];
+        var supplierTypeDatas = [[${@dict.getType('supplier_type')}]];
+        var isMarketDatas = [[${@dict.getType('is_or_no')}]];
+        var isBrandDatas = [[${@dict.getType('is_or_no')}]];
+        var isValidDatas = [[${@dict.getType('is_or_no')}]];
+        var currencyDatas = [[${@dict.getType('currency')}]];
+        var contributCurrencyDatas = [[${@dict.getType('currency')}]];
+        var financialIsAccountantDatas = [[${@dict.getType('is_or_no')}]];
+        var papersTypeDatas = [[${@dict.getType('papers_number')}]];
+        var prefix = ctx + "system/info";
+
+        $(function() {
+            var options = {
+                url: prefix + "/list",
+                createUrl: prefix + "/add",
+                updateUrl: prefix + "/edit/{id}",
+                removeUrl: prefix + "/remove",
+                exportUrl: prefix + "/export",
+                modalName: "供应商",
+                columns: [{
+                    checkbox: true
+                },
+                {
+                    field: 'zsId',
+                    title: '中胜的id'
+                },
+                {
+                    field: 'supplierName',
+                    title: '供应商名称'
+                },
+                {
+                    field: 'supplierReName',
+                    title: '供应商简称'
+                },
+                {
+                    field: 'address',
+                    title: '供应商地址'
+                },
+                {
+                    field: 'detailAddress',
+                    title: '供应商详细地址'
+                },
+                {
+                    field: 'logo',
+                    title: 'png、jpg'
+                },
+                {
+                    field: 'businessAddress',
+                    title: '选项,省市县'
+                },
+                {
+                    field: 'postCode',
+                    title: '邮编'
+                },
+                {
+                    field: 'website',
+                    title: '官网网址'
+                },
+                {
+                    field: 'supplierPhone',
+                    title: '供应商电话'
+                },
+                {
+                    field: 'fax',
+                    title: '传真'
+                },
+                {
+                    field: 'supplierMan',
+                    title: '供应商联系人'
+                },
+                {
+                    field: 'manPhone',
+                    title: '联系人电话'
+                },
+                {
+                    field: 'supplierNature',
+                    title: '供应商性质  0:国有企业  1:私营企业  2:个人独资 3:集体企业和外资企业',
+                    formatter: function(value, row, index) {
+                       return $.table.selectDictLabel(supplierNatureDatas, value);
+                    }
+                },
+                {
+                    field: 'supplierBusiness',
+                    title: '供应商行业'
+                },
+                {
+                    field: 'supplierScale',
+                    title: '供应商规模 0:大型企业  1:中型企业  2:小型企业  3:微型企业',
+                    formatter: function(value, row, index) {
+                       return $.table.selectDictLabel(supplierScaleDatas, value);
+                    }
+                },
+                {
+                    field: 'supplierType',
+                    title: '供应商类型 0:生产制造 1:批发代理 2:零售经销  3:特许经营  4;工程施工  5:一般商业服务 6:社会事业服务  7:其他',
+                    formatter: function(value, row, index) {
+                       return $.table.selectDictLabel(supplierTypeDatas, value);
+                    }
+                },
+                {
+                    field: 'isMarket',
+                    title: '企业是否上市 0:是  1:否',
+                    formatter: function(value, row, index) {
+                       return $.table.selectDictLabel(isMarketDatas, value);
+                    }
+                },
+                {
+                    field: 'isBrand',
+                    title: '是否是品牌商  0:是  1:否',
+                    formatter: function(value, row, index) {
+                       return $.table.selectDictLabel(isBrandDatas, value);
+                    }
+                },
+                {
+                    field: 'supplierDesc',
+                    title: '供应商介绍'
+                },
+                {
+                    field: 'supplierCode',
+                    title: '平台供应商标识'
+                },
+                {
+                    field: 'registration',
+                    title: '登记机关'
+                },
+                {
+                    field: 'establishmentDate',
+                    title: '成立日期'
+                },
+                {
+                    field: 'fromDate',
+                    title: '营业有效时间'
+                },
+                {
+                    field: 'toDate',
+                    title: '营业有效时间'
+                },
+                {
+                    field: 'isValid',
+                    title: '是否长期有效0:是  1:非',
+                    formatter: function(value, row, index) {
+                       return $.table.selectDictLabel(isValidDatas, value);
+                    }
+                },
+                {
+                    field: 'capital',
+                    title: '注册资本,单位'
+                },
+                {
+                    field: 'currency',
+                    title: '币种0:人民币  1:美元  3:英镑',
+                    formatter: function(value, row, index) {
+                       return $.table.selectDictLabel(currencyDatas, value);
+                    }
+                },
+                {
+                    field: 'businessScope',
+                    title: '营业范围'
+                },
+                {
+                    field: 'businessScanFile',
+                    title: '营业执照扫描件,文件类型图片'
+                },
+                {
+                    field: 'remark',
+                    title: '备注'
+                },
+                {
+                    field: 'employeeNum',
+                    title: '在职员工数量'
+                },
+                {
+                    field: 'socialNum',
+                    title: '社保缴纳人数'
+                },
+                {
+                    field: 'socialFile',
+                    title: '社保缴纳凭证附件'
+                },
+                {
+                    field: 'contributProve',
+                    title: '出资凭证文件类型:jpg/png'
+                },
+                {
+                    field: 'contributNum',
+                    title: '出资总额,单位万'
+                },
+                {
+                    field: 'contributCurrency',
+                    title: '出资币种0:人民币  1:美元  3:英镑',
+                    formatter: function(value, row, index) {
+                       return $.table.selectDictLabel(contributCurrencyDatas, value);
+                    }
+                },
+                {
+                    field: 'contributList',
+                    title: '出资人列表'
+                },
+                {
+                    field: 'financialAnnualList',
+                    title: '年度报表'
+                },
+                {
+                    field: 'financialIsAccountant',
+                    title: '是否经过注册会计师年审0:是   1:否',
+                    formatter: function(value, row, index) {
+                       return $.table.selectDictLabel(financialIsAccountantDatas, value);
+                    }
+                },
+                {
+                    field: 'financialRemark',
+                    title: '财务备注'
+                },
+                {
+                    field: 'financialFile',
+                    title: '财报附件'
+                },
+                {
+                    field: 'assetTotal',
+                    title: '资产总额'
+                },
+                {
+                    field: 'debtInvestTotal',
+                    title: '对外投资总额单位万'
+                },
+                {
+                    field: 'debtEquityTotal',
+                    title: '所有者权益合计'
+                },
+                {
+                    field: 'debtTotal',
+                    title: '负债总额单位万'
+                },
+                {
+                    field: 'capitalTotal',
+                    title: '实收资本单位万'
+                },
+                {
+                    field: 'debtRate',
+                    title: '负债率统计,系统换算'
+                },
+                {
+                    field: 'operatingReceipt',
+                    title: '营业收入,单位万'
+                },
+                {
+                    field: 'salesTax',
+                    title: '销售税金及附加,单位万'
+                },
+                {
+                    field: 'salesTotal',
+                    title: '利润总额,单位万'
+                },
+                {
+                    field: 'income tax',
+                    title: '所得税,单位万'
+                },
+                {
+                    field: 'profitTotal',
+                    title: '净利润,单位万'
+                },
+                {
+                    field: 'salesProfitTotal',
+                    title: '销售利润所得率,单位换算'
+                },
+                {
+                    field: 'headerName',
+                    title: '姓名'
+                },
+                {
+                    field: 'type',
+                    title: '类型'
+                },
+                {
+                    field: 'jobType',
+                    title: '职务'
+                },
+                {
+                    field: 'papersType',
+                    title: '证件类型',
+                    formatter: function(value, row, index) {
+                       return $.table.selectDictLabel(papersTypeDatas, value);
+                    }
+                },
+                {
+                    field: 'papersNumber',
+                    title: '证件号码 0:身份中  1:护照  2:解放军军人证件  3:警察身份证件  4:港澳通行证  5:台湾居民来往通行证  6:其他有效证件'
+                },
+                {
+                    field: 'headPhone',
+                    title: '手机号码'
+                },
+                {
+                    field: 'headerPhone',
+                    title: '座机号码'
+                },
+                {
+                    field: 'headerMail',
+                    title: '电子邮箱'
+                },
+                {
+                    field: 'headerAddress',
+                    title: '人员地址'
+                },
+                {
+                    field: 'headerPostCode',
+                    title: '人员邮编'
+                },
+                {
+                    field: 'prosPicture',
+                    title: '正面盖章图片'
+                },
+                {
+                    field: 'consPicture',
+                    title: '反面盖章图片'
+                },
+                {
+                    field: 'status',
+                    title: '上下架情况 0:上架申请中'
+                },
+                {
+                    field: 'refuseMsg',
+                    title: '上架申请拒绝原因'
+                },
+                {
+                    field: 'soldOutMsg',
+                    title: '下架申请原因'
+                },
+                {
+                    field: 'putawayTime',
+                    title: '上架申请时间'
+                },
+                {
+                    field: 'startTime',
+                    title: '上架时间'
+                },
+                {
+                    field: 'endTime',
+                    title: '下架时间'
+                },
+                {
+                    title: '操作',
+                    align: 'center',
+                    formatter: function(value, row, index) {
+                        var actions = [];
+                        actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
+                        actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a>');
+                        return actions.join('');
+                    }
+                }]
+            };
+            $.table.init(options);
+        });
+    </script>
+</body>
+</html>

+ 1038 - 0
ruoyi-system/src/main/java/com/ruoyi/scm/domain/SupplierInfo.java

@@ -0,0 +1,1038 @@
+package com.ruoyi.scm.domain;
+
+import java.util.Date;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import org.apache.commons.lang3.builder.ToStringBuilder;
+import org.apache.commons.lang3.builder.ToStringStyle;
+import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.core.domain.BaseEntity;
+
+/**
+ * 供应商对象 supplier_info
+ * 
+ * @author ruoyi
+ * @date 2022-10-12
+ */
+public class SupplierInfo extends BaseEntity
+{
+    private static final long serialVersionUID = 1L;
+
+    /** 主键id(uuid) */
+    private String id;
+
+    /** 中胜的id */
+    @Excel(name = "中胜的id")
+    private String zsId;
+
+    /** 供应商名称 */
+    @Excel(name = "供应商名称")
+    private String supplierName;
+
+    /** 供应商简称 */
+    @Excel(name = "供应商简称")
+    private String supplierReName;
+
+    /** 供应商地址 */
+    @Excel(name = "供应商地址")
+    private String address;
+
+    /** 供应商详细地址 */
+    @Excel(name = "供应商详细地址")
+    private String detailAddress;
+
+    /** png、jpg */
+    @Excel(name = "png、jpg")
+    private String logo;
+
+    /** 选项,省市县 */
+    @Excel(name = "选项,省市县")
+    private String businessAddress;
+
+    /** 邮编 */
+    @Excel(name = "邮编")
+    private String postCode;
+
+    /** 官网网址 */
+    @Excel(name = "官网网址")
+    private String website;
+
+    /** 供应商电话 */
+    @Excel(name = "供应商电话")
+    private String supplierPhone;
+
+    /** 传真 */
+    @Excel(name = "传真")
+    private String fax;
+
+    /** 供应商联系人 */
+    @Excel(name = "供应商联系人")
+    private String supplierMan;
+
+    /** 联系人电话 */
+    @Excel(name = "联系人电话")
+    private String manPhone;
+
+    /** 供应商性质  0:国有企业  1:私营企业  2:个人独资 3:集体企业和外资企业 */
+    @Excel(name = "供应商性质  0:国有企业  1:私营企业  2:个人独资 3:集体企业和外资企业")
+    private String supplierNature;
+
+    /** 供应商行业 */
+    @Excel(name = "供应商行业")
+    private String supplierBusiness;
+
+    /** 供应商规模 0:大型企业  1:中型企业  2:小型企业  3:微型企业 */
+    @Excel(name = "供应商规模 0:大型企业  1:中型企业  2:小型企业  3:微型企业")
+    private String supplierScale;
+
+    /** 供应商类型 0:生产制造 1:批发代理 2:零售经销  3:特许经营  4;工程施工  5:一般商业服务 6:社会事业服务  7:其他 */
+    @Excel(name = "供应商类型 0:生产制造 1:批发代理 2:零售经销  3:特许经营  4;工程施工  5:一般商业服务 6:社会事业服务  7:其他")
+    private String supplierType;
+
+    /** 企业是否上市 0:是  1:否 */
+    @Excel(name = "企业是否上市 0:是  1:否")
+    private String isMarket;
+
+    /** 是否是品牌商  0:是  1:否 */
+    @Excel(name = "是否是品牌商  0:是  1:否")
+    private String isBrand;
+
+    /** 供应商介绍 */
+    @Excel(name = "供应商介绍")
+    private String supplierDesc;
+
+    /** 平台供应商标识(统一社会信用代码) */
+    @Excel(name = "平台供应商标识", readConverterExp = "统=一社会信用代码")
+    private String supplierCode;
+
+    /** 登记机关 */
+    @Excel(name = "登记机关")
+    private String registration;
+
+    /** 成立日期 */
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    @Excel(name = "成立日期", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date establishmentDate;
+
+    /** 营业有效时间(起) */
+    @Excel(name = "营业有效时间", readConverterExp = "起=")
+    private Date fromDate;
+
+    /** 营业有效时间(止) */
+    @Excel(name = "营业有效时间", readConverterExp = "止=")
+    private Date toDate;
+
+    /** 是否长期有效0:是  1:非 */
+    @Excel(name = "是否长期有效0:是  1:非")
+    private String isValid;
+
+    /** 注册资本,单位(万元) */
+    @Excel(name = "注册资本,单位", readConverterExp = "万=元")
+    private String capital;
+
+    /** 币种0:人民币  1:美元  3:英镑 */
+    @Excel(name = "币种0:人民币  1:美元  3:英镑")
+    private String currency;
+
+    /** 营业范围 */
+    @Excel(name = "营业范围")
+    private String businessScope;
+
+    /** 营业执照扫描件,文件类型图片 */
+    @Excel(name = "营业执照扫描件,文件类型图片")
+    private String businessScanFile;
+
+    /** 在职员工数量 */
+    @Excel(name = "在职员工数量")
+    private String employeeNum;
+
+    /** 社保缴纳人数 */
+    @Excel(name = "社保缴纳人数")
+    private String socialNum;
+
+    /** 社保缴纳凭证附件 */
+    @Excel(name = "社保缴纳凭证附件")
+    private String socialFile;
+
+    /** 出资凭证文件类型:jpg/png */
+    @Excel(name = "出资凭证文件类型:jpg/png")
+    private String contributProve;
+
+    /** 出资总额,单位万 */
+    @Excel(name = "出资总额,单位万")
+    private String contributNum;
+
+    /** 出资币种0:人民币  1:美元  3:英镑 */
+    @Excel(name = "出资币种0:人民币  1:美元  3:英镑")
+    private String contributCurrency;
+
+    /** 出资人列表 */
+    @Excel(name = "出资人列表")
+    private String contributList;
+
+    /** 年度报表 */
+    @Excel(name = "年度报表")
+    private String financialAnnualList;
+
+    /** 是否经过注册会计师年审0:是   1:否 */
+    @Excel(name = "是否经过注册会计师年审0:是   1:否")
+    private String financialIsAccountant;
+
+    /** 财务备注 */
+    @Excel(name = "财务备注")
+    private String financialRemark;
+
+    /** 财报附件 */
+    @Excel(name = "财报附件")
+    private String financialFile;
+
+    /** 资产总额 */
+    @Excel(name = "资产总额")
+    private String assetTotal;
+
+    /** 对外投资总额单位万 */
+    @Excel(name = "对外投资总额单位万")
+    private String debtInvestTotal;
+
+    /** 所有者权益合计 */
+    @Excel(name = "所有者权益合计")
+    private String debtEquityTotal;
+
+    /** 负债总额单位万 */
+    @Excel(name = "负债总额单位万")
+    private String debtTotal;
+
+    /** 实收资本单位万 */
+    @Excel(name = "实收资本单位万")
+    private String capitalTotal;
+
+    /** 负债率统计,系统换算 */
+    @Excel(name = "负债率统计,系统换算")
+    private String debtRate;
+
+    /** 营业收入,单位万 */
+    @Excel(name = "营业收入,单位万")
+    private String operatingReceipt;
+
+    /** 销售税金及附加,单位万 */
+    @Excel(name = "销售税金及附加,单位万")
+    private String salesTax;
+
+    /** 利润总额,单位万 */
+    @Excel(name = "利润总额,单位万")
+    private String salesTotal;
+
+    /** 所得税,单位万 */
+    @Excel(name = "所得税,单位万")
+    private String incomeTax;
+
+    /** 净利润,单位万 */
+    @Excel(name = "净利润,单位万")
+    private String profitTotal;
+
+    /** 销售利润所得率,单位换算 */
+    @Excel(name = "销售利润所得率,单位换算")
+    private String salesProfitTotal;
+
+    /** 姓名 */
+    @Excel(name = "姓名")
+    private String headerName;
+
+    /** 类型 */
+    @Excel(name = "类型")
+    private String type;
+
+    /** 职务 */
+    @Excel(name = "职务")
+    private String jobType;
+
+    /** 证件类型 */
+    @Excel(name = "证件类型")
+    private String papersType;
+
+    /** 证件号码 0:身份中  1:护照  2:解放军军人证件  3:警察身份证件  4:港澳通行证  5:台湾居民来往通行证  6:其他有效证件 */
+    @Excel(name = "证件号码 0:身份中  1:护照  2:解放军军人证件  3:警察身份证件  4:港澳通行证  5:台湾居民来往通行证  6:其他有效证件")
+    private String papersNumber;
+
+    /** 手机号码 */
+    @Excel(name = "手机号码")
+    private String headPhone;
+
+    /** 座机号码 */
+    @Excel(name = "座机号码")
+    private String headerPhone;
+
+    /** 电子邮箱 */
+    @Excel(name = "电子邮箱")
+    private String headerMail;
+
+    /** 人员地址 */
+    @Excel(name = "人员地址")
+    private String headerAddress;
+
+    /** 人员邮编 */
+    @Excel(name = "人员邮编")
+    private String headerPostCode;
+
+    /** 正面盖章图片 */
+    @Excel(name = "正面盖章图片")
+    private String prosPicture;
+
+    /** 反面盖章图片 */
+    @Excel(name = "反面盖章图片")
+    private String consPicture;
+
+    /** 上下架情况 0:上架申请中(新添加的供应商默认状态)  10:上架申请通过   15:上架申请拒绝   20:下架申请  25:下架申请通过 */
+    @Excel(name = "上下架情况 0:上架申请中", readConverterExp = "新=添加的供应商默认状态")
+    private String status;
+
+    /** 上架申请拒绝原因 */
+    @Excel(name = "上架申请拒绝原因")
+    private String refuseMsg;
+
+    /** 下架申请原因 */
+    @Excel(name = "下架申请原因")
+    private String soldOutMsg;
+
+    /** 上架申请时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    @Excel(name = "上架申请时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date putawayTime;
+
+    /** 上架时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    @Excel(name = "上架时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date startTime;
+
+    /** 下架时间 */
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    @Excel(name = "下架时间", width = 30, dateFormat = "yyyy-MM-dd")
+    private Date endTime;
+
+    public void setId(String id) 
+    {
+        this.id = id;
+    }
+
+    public String getId() 
+    {
+        return id;
+    }
+    public void setZsId(String zsId) 
+    {
+        this.zsId = zsId;
+    }
+
+    public String getZsId() 
+    {
+        return zsId;
+    }
+    public void setSupplierName(String supplierName) 
+    {
+        this.supplierName = supplierName;
+    }
+
+    public String getSupplierName() 
+    {
+        return supplierName;
+    }
+    public void setSupplierReName(String supplierReName) 
+    {
+        this.supplierReName = supplierReName;
+    }
+
+    public String getSupplierReName() 
+    {
+        return supplierReName;
+    }
+    public void setAddress(String address) 
+    {
+        this.address = address;
+    }
+
+    public String getAddress() 
+    {
+        return address;
+    }
+    public void setDetailAddress(String detailAddress) 
+    {
+        this.detailAddress = detailAddress;
+    }
+
+    public String getDetailAddress() 
+    {
+        return detailAddress;
+    }
+    public void setLogo(String logo) 
+    {
+        this.logo = logo;
+    }
+
+    public String getLogo() 
+    {
+        return logo;
+    }
+    public void setBusinessAddress(String businessAddress) 
+    {
+        this.businessAddress = businessAddress;
+    }
+
+    public String getBusinessAddress() 
+    {
+        return businessAddress;
+    }
+    public void setPostCode(String postCode) 
+    {
+        this.postCode = postCode;
+    }
+
+    public String getPostCode() 
+    {
+        return postCode;
+    }
+    public void setWebsite(String website) 
+    {
+        this.website = website;
+    }
+
+    public String getWebsite() 
+    {
+        return website;
+    }
+    public void setSupplierPhone(String supplierPhone) 
+    {
+        this.supplierPhone = supplierPhone;
+    }
+
+    public String getSupplierPhone() 
+    {
+        return supplierPhone;
+    }
+    public void setFax(String fax) 
+    {
+        this.fax = fax;
+    }
+
+    public String getFax() 
+    {
+        return fax;
+    }
+    public void setSupplierMan(String supplierMan) 
+    {
+        this.supplierMan = supplierMan;
+    }
+
+    public String getSupplierMan() 
+    {
+        return supplierMan;
+    }
+    public void setManPhone(String manPhone) 
+    {
+        this.manPhone = manPhone;
+    }
+
+    public String getManPhone() 
+    {
+        return manPhone;
+    }
+    public void setSupplierNature(String supplierNature) 
+    {
+        this.supplierNature = supplierNature;
+    }
+
+    public String getSupplierNature() 
+    {
+        return supplierNature;
+    }
+    public void setSupplierBusiness(String supplierBusiness) 
+    {
+        this.supplierBusiness = supplierBusiness;
+    }
+
+    public String getSupplierBusiness() 
+    {
+        return supplierBusiness;
+    }
+    public void setSupplierScale(String supplierScale) 
+    {
+        this.supplierScale = supplierScale;
+    }
+
+    public String getSupplierScale() 
+    {
+        return supplierScale;
+    }
+    public void setSupplierType(String supplierType) 
+    {
+        this.supplierType = supplierType;
+    }
+
+    public String getSupplierType() 
+    {
+        return supplierType;
+    }
+    public void setIsMarket(String isMarket) 
+    {
+        this.isMarket = isMarket;
+    }
+
+    public String getIsMarket() 
+    {
+        return isMarket;
+    }
+    public void setIsBrand(String isBrand) 
+    {
+        this.isBrand = isBrand;
+    }
+
+    public String getIsBrand() 
+    {
+        return isBrand;
+    }
+    public void setSupplierDesc(String supplierDesc) 
+    {
+        this.supplierDesc = supplierDesc;
+    }
+
+    public String getSupplierDesc() 
+    {
+        return supplierDesc;
+    }
+    public void setSupplierCode(String supplierCode) 
+    {
+        this.supplierCode = supplierCode;
+    }
+
+    public String getSupplierCode() 
+    {
+        return supplierCode;
+    }
+    public void setRegistration(String registration) 
+    {
+        this.registration = registration;
+    }
+
+    public String getRegistration() 
+    {
+        return registration;
+    }
+    public void setEstablishmentDate(Date establishmentDate) 
+    {
+        this.establishmentDate = establishmentDate;
+    }
+
+    public Date getEstablishmentDate() 
+    {
+        return establishmentDate;
+    }
+    public void setFromDate(Date fromDate) 
+    {
+        this.fromDate = fromDate;
+    }
+
+    public Date getFromDate() 
+    {
+        return fromDate;
+    }
+    public void setToDate(Date toDate) 
+    {
+        this.toDate = toDate;
+    }
+
+    public Date getToDate() 
+    {
+        return toDate;
+    }
+    public void setIsValid(String isValid) 
+    {
+        this.isValid = isValid;
+    }
+
+    public String getIsValid() 
+    {
+        return isValid;
+    }
+    public void setCapital(String capital) 
+    {
+        this.capital = capital;
+    }
+
+    public String getCapital() 
+    {
+        return capital;
+    }
+    public void setCurrency(String currency) 
+    {
+        this.currency = currency;
+    }
+
+    public String getCurrency() 
+    {
+        return currency;
+    }
+    public void setBusinessScope(String businessScope) 
+    {
+        this.businessScope = businessScope;
+    }
+
+    public String getBusinessScope() 
+    {
+        return businessScope;
+    }
+    public void setBusinessScanFile(String businessScanFile) 
+    {
+        this.businessScanFile = businessScanFile;
+    }
+
+    public String getBusinessScanFile() 
+    {
+        return businessScanFile;
+    }
+    public void setEmployeeNum(String employeeNum) 
+    {
+        this.employeeNum = employeeNum;
+    }
+
+    public String getEmployeeNum() 
+    {
+        return employeeNum;
+    }
+    public void setSocialNum(String socialNum) 
+    {
+        this.socialNum = socialNum;
+    }
+
+    public String getSocialNum() 
+    {
+        return socialNum;
+    }
+    public void setSocialFile(String socialFile) 
+    {
+        this.socialFile = socialFile;
+    }
+
+    public String getSocialFile() 
+    {
+        return socialFile;
+    }
+    public void setContributProve(String contributProve) 
+    {
+        this.contributProve = contributProve;
+    }
+
+    public String getContributProve() 
+    {
+        return contributProve;
+    }
+    public void setContributNum(String contributNum) 
+    {
+        this.contributNum = contributNum;
+    }
+
+    public String getContributNum() 
+    {
+        return contributNum;
+    }
+    public void setContributCurrency(String contributCurrency) 
+    {
+        this.contributCurrency = contributCurrency;
+    }
+
+    public String getContributCurrency() 
+    {
+        return contributCurrency;
+    }
+    public void setContributList(String contributList) 
+    {
+        this.contributList = contributList;
+    }
+
+    public String getContributList() 
+    {
+        return contributList;
+    }
+    public void setFinancialAnnualList(String financialAnnualList) 
+    {
+        this.financialAnnualList = financialAnnualList;
+    }
+
+    public String getFinancialAnnualList() 
+    {
+        return financialAnnualList;
+    }
+    public void setFinancialIsAccountant(String financialIsAccountant) 
+    {
+        this.financialIsAccountant = financialIsAccountant;
+    }
+
+    public String getFinancialIsAccountant() 
+    {
+        return financialIsAccountant;
+    }
+    public void setFinancialRemark(String financialRemark) 
+    {
+        this.financialRemark = financialRemark;
+    }
+
+    public String getFinancialRemark() 
+    {
+        return financialRemark;
+    }
+    public void setFinancialFile(String financialFile) 
+    {
+        this.financialFile = financialFile;
+    }
+
+    public String getFinancialFile() 
+    {
+        return financialFile;
+    }
+    public void setAssetTotal(String assetTotal) 
+    {
+        this.assetTotal = assetTotal;
+    }
+
+    public String getAssetTotal() 
+    {
+        return assetTotal;
+    }
+    public void setDebtInvestTotal(String debtInvestTotal) 
+    {
+        this.debtInvestTotal = debtInvestTotal;
+    }
+
+    public String getDebtInvestTotal() 
+    {
+        return debtInvestTotal;
+    }
+    public void setDebtEquityTotal(String debtEquityTotal) 
+    {
+        this.debtEquityTotal = debtEquityTotal;
+    }
+
+    public String getDebtEquityTotal() 
+    {
+        return debtEquityTotal;
+    }
+    public void setDebtTotal(String debtTotal) 
+    {
+        this.debtTotal = debtTotal;
+    }
+
+    public String getDebtTotal() 
+    {
+        return debtTotal;
+    }
+    public void setCapitalTotal(String capitalTotal) 
+    {
+        this.capitalTotal = capitalTotal;
+    }
+
+    public String getCapitalTotal() 
+    {
+        return capitalTotal;
+    }
+    public void setDebtRate(String debtRate) 
+    {
+        this.debtRate = debtRate;
+    }
+
+    public String getDebtRate() 
+    {
+        return debtRate;
+    }
+    public void setOperatingReceipt(String operatingReceipt) 
+    {
+        this.operatingReceipt = operatingReceipt;
+    }
+
+    public String getOperatingReceipt() 
+    {
+        return operatingReceipt;
+    }
+    public void setSalesTax(String salesTax) 
+    {
+        this.salesTax = salesTax;
+    }
+
+    public String getSalesTax() 
+    {
+        return salesTax;
+    }
+    public void setSalesTotal(String salesTotal) 
+    {
+        this.salesTotal = salesTotal;
+    }
+
+    public String getSalesTotal() 
+    {
+        return salesTotal;
+    }
+    public void setIncomeTax(String incomeTax)
+    {
+        this.incomeTax = incomeTax;
+    }
+
+    public String getIncomeTax()
+    {
+        return incomeTax;
+    }
+    public void setProfitTotal(String profitTotal) 
+    {
+        this.profitTotal = profitTotal;
+    }
+
+    public String getProfitTotal() 
+    {
+        return profitTotal;
+    }
+    public void setSalesProfitTotal(String salesProfitTotal) 
+    {
+        this.salesProfitTotal = salesProfitTotal;
+    }
+
+    public String getSalesProfitTotal() 
+    {
+        return salesProfitTotal;
+    }
+    public void setHeaderName(String headerName) 
+    {
+        this.headerName = headerName;
+    }
+
+    public String getHeaderName() 
+    {
+        return headerName;
+    }
+    public void setType(String type) 
+    {
+        this.type = type;
+    }
+
+    public String getType() 
+    {
+        return type;
+    }
+    public void setJobType(String jobType) 
+    {
+        this.jobType = jobType;
+    }
+
+    public String getJobType() 
+    {
+        return jobType;
+    }
+    public void setPapersType(String papersType) 
+    {
+        this.papersType = papersType;
+    }
+
+    public String getPapersType() 
+    {
+        return papersType;
+    }
+    public void setPapersNumber(String papersNumber) 
+    {
+        this.papersNumber = papersNumber;
+    }
+
+    public String getPapersNumber() 
+    {
+        return papersNumber;
+    }
+    public void setHeadPhone(String headPhone) 
+    {
+        this.headPhone = headPhone;
+    }
+
+    public String getHeadPhone() 
+    {
+        return headPhone;
+    }
+    public void setHeaderPhone(String headerPhone) 
+    {
+        this.headerPhone = headerPhone;
+    }
+
+    public String getHeaderPhone() 
+    {
+        return headerPhone;
+    }
+    public void setHeaderMail(String headerMail) 
+    {
+        this.headerMail = headerMail;
+    }
+
+    public String getHeaderMail() 
+    {
+        return headerMail;
+    }
+    public void setHeaderAddress(String headerAddress) 
+    {
+        this.headerAddress = headerAddress;
+    }
+
+    public String getHeaderAddress() 
+    {
+        return headerAddress;
+    }
+    public void setHeaderPostCode(String headerPostCode) 
+    {
+        this.headerPostCode = headerPostCode;
+    }
+
+    public String getHeaderPostCode() 
+    {
+        return headerPostCode;
+    }
+    public void setProsPicture(String prosPicture) 
+    {
+        this.prosPicture = prosPicture;
+    }
+
+    public String getProsPicture() 
+    {
+        return prosPicture;
+    }
+    public void setConsPicture(String consPicture) 
+    {
+        this.consPicture = consPicture;
+    }
+
+    public String getConsPicture() 
+    {
+        return consPicture;
+    }
+    public void setStatus(String status) 
+    {
+        this.status = status;
+    }
+
+    public String getStatus() 
+    {
+        return status;
+    }
+    public void setRefuseMsg(String refuseMsg) 
+    {
+        this.refuseMsg = refuseMsg;
+    }
+
+    public String getRefuseMsg() 
+    {
+        return refuseMsg;
+    }
+    public void setSoldOutMsg(String soldOutMsg) 
+    {
+        this.soldOutMsg = soldOutMsg;
+    }
+
+    public String getSoldOutMsg() 
+    {
+        return soldOutMsg;
+    }
+    public void setPutawayTime(Date putawayTime) 
+    {
+        this.putawayTime = putawayTime;
+    }
+
+    public Date getPutawayTime() 
+    {
+        return putawayTime;
+    }
+    public void setStartTime(Date startTime) 
+    {
+        this.startTime = startTime;
+    }
+
+    public Date getStartTime() 
+    {
+        return startTime;
+    }
+    public void setEndTime(Date endTime) 
+    {
+        this.endTime = endTime;
+    }
+
+    public Date getEndTime() 
+    {
+        return endTime;
+    }
+
+    @Override
+    public String toString() {
+        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
+            .append("id", getId())
+            .append("zsId", getZsId())
+            .append("supplierName", getSupplierName())
+            .append("supplierReName", getSupplierReName())
+            .append("address", getAddress())
+            .append("detailAddress", getDetailAddress())
+            .append("logo", getLogo())
+            .append("businessAddress", getBusinessAddress())
+            .append("postCode", getPostCode())
+            .append("website", getWebsite())
+            .append("supplierPhone", getSupplierPhone())
+            .append("fax", getFax())
+            .append("supplierMan", getSupplierMan())
+            .append("manPhone", getManPhone())
+            .append("supplierNature", getSupplierNature())
+            .append("supplierBusiness", getSupplierBusiness())
+            .append("supplierScale", getSupplierScale())
+            .append("supplierType", getSupplierType())
+            .append("isMarket", getIsMarket())
+            .append("isBrand", getIsBrand())
+            .append("supplierDesc", getSupplierDesc())
+            .append("supplierCode", getSupplierCode())
+            .append("registration", getRegistration())
+            .append("establishmentDate", getEstablishmentDate())
+            .append("fromDate", getFromDate())
+            .append("toDate", getToDate())
+            .append("isValid", getIsValid())
+            .append("capital", getCapital())
+            .append("currency", getCurrency())
+            .append("businessScope", getBusinessScope())
+            .append("businessScanFile", getBusinessScanFile())
+            .append("remark", getRemark())
+            .append("employeeNum", getEmployeeNum())
+            .append("socialNum", getSocialNum())
+            .append("socialFile", getSocialFile())
+            .append("contributProve", getContributProve())
+            .append("contributNum", getContributNum())
+            .append("contributCurrency", getContributCurrency())
+            .append("contributList", getContributList())
+            .append("financialAnnualList", getFinancialAnnualList())
+            .append("financialIsAccountant", getFinancialIsAccountant())
+            .append("financialRemark", getFinancialRemark())
+            .append("financialFile", getFinancialFile())
+            .append("assetTotal", getAssetTotal())
+            .append("debtInvestTotal", getDebtInvestTotal())
+            .append("debtEquityTotal", getDebtEquityTotal())
+            .append("debtTotal", getDebtTotal())
+            .append("capitalTotal", getCapitalTotal())
+            .append("debtRate", getDebtRate())
+            .append("operatingReceipt", getOperatingReceipt())
+            .append("salesTax", getSalesTax())
+            .append("salesTotal", getSalesTotal())
+            .append("income tax", getIncomeTax())
+            .append("profitTotal", getProfitTotal())
+            .append("salesProfitTotal", getSalesProfitTotal())
+            .append("headerName", getHeaderName())
+            .append("type", getType())
+            .append("jobType", getJobType())
+            .append("papersType", getPapersType())
+            .append("papersNumber", getPapersNumber())
+            .append("headPhone", getHeadPhone())
+            .append("headerPhone", getHeaderPhone())
+            .append("headerMail", getHeaderMail())
+            .append("headerAddress", getHeaderAddress())
+            .append("headerPostCode", getHeaderPostCode())
+            .append("prosPicture", getProsPicture())
+            .append("consPicture", getConsPicture())
+            .append("status", getStatus())
+            .append("refuseMsg", getRefuseMsg())
+            .append("soldOutMsg", getSoldOutMsg())
+            .append("putawayTime", getPutawayTime())
+            .append("startTime", getStartTime())
+            .append("endTime", getEndTime())
+            .toString();
+    }
+}

+ 62 - 0
ruoyi-system/src/main/java/com/ruoyi/scm/mapper/SupplierInfoMapper.java

@@ -0,0 +1,62 @@
+package com.ruoyi.scm.mapper;
+
+import com.ruoyi.scm.domain.SupplierInfo;
+
+import java.util.List;
+
+/**
+ * 供应商Mapper接口
+ * 
+ * @author ruoyi
+ * @date 2022-10-12
+ */
+public interface SupplierInfoMapper 
+{
+    /**
+     * 查询供应商
+     * 
+     * @param id 供应商主键
+     * @return 供应商
+     */
+    public SupplierInfo selectSupplierInfoById(String id);
+
+    /**
+     * 查询供应商列表
+     * 
+     * @param supplierInfo 供应商
+     * @return 供应商集合
+     */
+    public List<SupplierInfo> selectSupplierInfoList(SupplierInfo supplierInfo);
+
+    /**
+     * 新增供应商
+     * 
+     * @param supplierInfo 供应商
+     * @return 结果
+     */
+    public int insertSupplierInfo(SupplierInfo supplierInfo);
+
+    /**
+     * 修改供应商
+     * 
+     * @param supplierInfo 供应商
+     * @return 结果
+     */
+    public int updateSupplierInfo(SupplierInfo supplierInfo);
+
+    /**
+     * 删除供应商
+     * 
+     * @param id 供应商主键
+     * @return 结果
+     */
+    public int deleteSupplierInfoById(String id);
+
+    /**
+     * 批量删除供应商
+     * 
+     * @param ids 需要删除的数据主键集合
+     * @return 结果
+     */
+    public int deleteSupplierInfoByIds(String[] ids);
+}

+ 62 - 0
ruoyi-system/src/main/java/com/ruoyi/scm/service/ISupplierInfoService.java

@@ -0,0 +1,62 @@
+package com.ruoyi.scm.service;
+
+import com.ruoyi.scm.domain.SupplierInfo;
+
+import java.util.List;
+
+/**
+ * 供应商Service接口
+ * 
+ * @author ruoyi
+ * @date 2022-10-12
+ */
+public interface ISupplierInfoService 
+{
+    /**
+     * 查询供应商
+     * 
+     * @param id 供应商主键
+     * @return 供应商
+     */
+    public SupplierInfo selectSupplierInfoById(String id);
+
+    /**
+     * 查询供应商列表
+     * 
+     * @param supplierInfo 供应商
+     * @return 供应商集合
+     */
+    public List<SupplierInfo> selectSupplierInfoList(SupplierInfo supplierInfo);
+
+    /**
+     * 新增供应商
+     * 
+     * @param supplierInfo 供应商
+     * @return 结果
+     */
+    public int insertSupplierInfo(SupplierInfo supplierInfo);
+
+    /**
+     * 修改供应商
+     * 
+     * @param supplierInfo 供应商
+     * @return 结果
+     */
+    public int updateSupplierInfo(SupplierInfo supplierInfo);
+
+    /**
+     * 批量删除供应商
+     * 
+     * @param ids 需要删除的供应商主键集合
+     * @return 结果
+     */
+    public int deleteSupplierInfoByIds(String ids);
+
+    /**
+     * 删除供应商信息
+     * 
+     * @param id 供应商主键
+     * @return 结果
+     */
+    public int deleteSupplierInfoById(String id);
+}

+ 95 - 0
ruoyi-system/src/main/java/com/ruoyi/scm/service/impl/SupplierInfoServiceImpl.java

@@ -0,0 +1,95 @@
+package com.ruoyi.scm.service.impl;
+
+import java.util.List;
+
+import com.ruoyi.scm.domain.SupplierInfo;
+import com.ruoyi.scm.mapper.SupplierInfoMapper;
+import com.ruoyi.scm.service.ISupplierInfoService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+import com.ruoyi.common.core.text.Convert;
+
+/**
+ * 供应商Service业务层处理
+ * 
+ * @author ruoyi
+ * @date 2022-10-12
+ */
+@Service
+public class SupplierInfoServiceImpl implements ISupplierInfoService
+{
+    @Autowired
+    private SupplierInfoMapper supplierInfoMapper;
+
+    /**
+     * 查询供应商
+     * 
+     * @param id 供应商主键
+     * @return 供应商
+     */
+    @Override
+    public SupplierInfo selectSupplierInfoById(String id)
+    {
+        return supplierInfoMapper.selectSupplierInfoById(id);
+    }
+
+    /**
+     * 查询供应商列表
+     * 
+     * @param supplierInfo 供应商
+     * @return 供应商
+     */
+    @Override
+    public List<SupplierInfo> selectSupplierInfoList(SupplierInfo supplierInfo)
+    {
+        return supplierInfoMapper.selectSupplierInfoList(supplierInfo);
+    }
+
+    /**
+     * 新增供应商
+     * 
+     * @param supplierInfo 供应商
+     * @return 结果
+     */
+    @Override
+    public int insertSupplierInfo(SupplierInfo supplierInfo)
+    {
+        return supplierInfoMapper.insertSupplierInfo(supplierInfo);
+    }
+
+    /**
+     * 修改供应商
+     * 
+     * @param supplierInfo 供应商
+     * @return 结果
+     */
+    @Override
+    public int updateSupplierInfo(SupplierInfo supplierInfo)
+    {
+        return supplierInfoMapper.updateSupplierInfo(supplierInfo);
+    }
+
+    /**
+     * 批量删除供应商
+     * 
+     * @param ids 需要删除的供应商主键
+     * @return 结果
+     */
+    @Override
+    public int deleteSupplierInfoByIds(String ids)
+    {
+        return supplierInfoMapper.deleteSupplierInfoByIds(Convert.toStrArray(ids));
+    }
+
+    /**
+     * 删除供应商信息
+     * 
+     * @param id 供应商主键
+     * @return 结果
+     */
+    @Override
+    public int deleteSupplierInfoById(String id)
+    {
+        return supplierInfoMapper.deleteSupplierInfoById(id);
+    }
+}

+ 413 - 0
ruoyi-system/src/main/resources/mapper/supplier/SupplierInfoMapper.xml

@@ -0,0 +1,413 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.ruoyi.scm.mapper.SupplierInfoMapper">
+    
+    <resultMap type="SupplierInfo" id="SupplierInfoResult">
+        <result property="id"    column="id"    />
+        <result property="zsId"    column="zs_id"    />
+        <result property="supplierName"    column="supplier_name"    />
+        <result property="supplierReName"    column="supplier_re_name"    />
+        <result property="address"    column="address"    />
+        <result property="detailAddress"    column="detail_address"    />
+        <result property="logo"    column="logo"    />
+        <result property="businessAddress"    column="business_address"    />
+        <result property="postCode"    column="post_code"    />
+        <result property="website"    column="website"    />
+        <result property="supplierPhone"    column="supplier_phone"    />
+        <result property="fax"    column="fax"    />
+        <result property="supplierMan"    column="supplier_man"    />
+        <result property="manPhone"    column="man_phone"    />
+        <result property="supplierNature"    column="supplier_nature"    />
+        <result property="supplierBusiness"    column="supplier_business"    />
+        <result property="supplierScale"    column="supplier_scale"    />
+        <result property="supplierType"    column="supplier_type"    />
+        <result property="isMarket"    column="is_market"    />
+        <result property="isBrand"    column="is_brand"    />
+        <result property="supplierDesc"    column="supplier_desc"    />
+        <result property="supplierCode"    column="supplier_code"    />
+        <result property="registration"    column="registration"    />
+        <result property="establishmentDate"    column="establishment_date"    />
+        <result property="fromDate"    column="from_date"    />
+        <result property="toDate"    column="to_date"    />
+        <result property="isValid"    column="is_valid"    />
+        <result property="capital"    column="capital"    />
+        <result property="currency"    column="currency"    />
+        <result property="businessScope"    column="business_scope"    />
+        <result property="businessScanFile"    column="business_scan_file"    />
+        <result property="remark"    column="remark"    />
+        <result property="employeeNum"    column="employee_num"    />
+        <result property="socialNum"    column="social_num"    />
+        <result property="socialFile"    column="social_file"    />
+        <result property="contributProve"    column="contribut_prove"    />
+        <result property="contributNum"    column="contribut_num"    />
+        <result property="contributCurrency"    column="contribut_currency"    />
+        <result property="contributList"    column="contribut_list"    />
+        <result property="financialAnnualList"    column="financial_annual_list"    />
+        <result property="financialIsAccountant"    column="financial_is_accountant"    />
+        <result property="financialRemark"    column="financial_remark"    />
+        <result property="financialFile"    column="financial_file"    />
+        <result property="assetTotal"    column="asset_total"    />
+        <result property="debtInvestTotal"    column="debt_invest_total"    />
+        <result property="debtEquityTotal"    column="debt_equity_total"    />
+        <result property="debtTotal"    column="debt_total"    />
+        <result property="capitalTotal"    column="capital_total"    />
+        <result property="debtRate"    column="debt_rate"    />
+        <result property="operatingReceipt"    column="operating_receipt"    />
+        <result property="salesTax"    column="sales_tax"    />
+        <result property="salesTotal"    column="sales_total"    />
+        <result property="income tax"    column="income tax"    />
+        <result property="profitTotal"    column="profit_total"    />
+        <result property="salesProfitTotal"    column="sales_profit_total"    />
+        <result property="headerName"    column="header_name"    />
+        <result property="type"    column="type"    />
+        <result property="jobType"    column="job_type"    />
+        <result property="papersType"    column="papers_type"    />
+        <result property="papersNumber"    column="papers_number"    />
+        <result property="headPhone"    column="head_phone"    />
+        <result property="headerPhone"    column="header_phone"    />
+        <result property="headerMail"    column="header_mail"    />
+        <result property="headerAddress"    column="header_address"    />
+        <result property="headerPostCode"    column="header_post_code"    />
+        <result property="prosPicture"    column="pros_picture"    />
+        <result property="consPicture"    column="cons_picture"    />
+        <result property="status"    column="status"    />
+        <result property="refuseMsg"    column="refuse_msg"    />
+        <result property="soldOutMsg"    column="sold_out_msg"    />
+        <result property="putawayTime"    column="putaway_time"    />
+        <result property="startTime"    column="start_time"    />
+        <result property="endTime"    column="end_time"    />
+    </resultMap>
+
+    <sql id="selectSupplierInfoVo">
+        select id, zs_id, supplier_name, supplier_re_name, address, detail_address, logo, business_address, post_code, website, supplier_phone, fax, supplier_man, man_phone, supplier_nature, supplier_business, supplier_scale, supplier_type, is_market, is_brand, supplier_desc, supplier_code, registration, establishment_date, from_date, to_date, is_valid, capital, currency, business_scope, business_scan_file, remark, employee_num, social_num, social_file, contribut_prove, contribut_num, contribut_currency, contribut_list, financial_annual_list, financial_is_accountant, financial_remark, financial_file, asset_total, debt_invest_total, debt_equity_total, debt_total, capital_total, debt_rate, operating_receipt, sales_tax, sales_total, income tax, profit_total, sales_profit_total, header_name, type, job_type, papers_type, papers_number, head_phone, header_phone, header_mail, header_address, header_post_code, pros_picture, cons_picture, status, refuse_msg, sold_out_msg, putaway_time, start_time, end_time from supplier_info
+    </sql>
+
+    <select id="selectSupplierInfoList" parameterType="SupplierInfo" resultMap="SupplierInfoResult">
+        <include refid="selectSupplierInfoVo"/>
+        <where>  
+            <if test="zsId != null  and zsId != ''"> and zs_id = #{zsId}</if>
+            <if test="supplierName != null  and supplierName != ''"> and supplier_name like concat('%', #{supplierName}, '%')</if>
+            <if test="supplierReName != null  and supplierReName != ''"> and supplier_re_name like concat('%', #{supplierReName}, '%')</if>
+            <if test="address != null  and address != ''"> and address = #{address}</if>
+            <if test="detailAddress != null  and detailAddress != ''"> and detail_address = #{detailAddress}</if>
+            <if test="logo != null  and logo != ''"> and logo = #{logo}</if>
+            <if test="businessAddress != null  and businessAddress != ''"> and business_address = #{businessAddress}</if>
+            <if test="postCode != null  and postCode != ''"> and post_code = #{postCode}</if>
+            <if test="website != null  and website != ''"> and website = #{website}</if>
+            <if test="supplierPhone != null  and supplierPhone != ''"> and supplier_phone = #{supplierPhone}</if>
+            <if test="fax != null  and fax != ''"> and fax = #{fax}</if>
+            <if test="supplierMan != null  and supplierMan != ''"> and supplier_man = #{supplierMan}</if>
+            <if test="manPhone != null  and manPhone != ''"> and man_phone = #{manPhone}</if>
+            <if test="supplierNature != null  and supplierNature != ''"> and supplier_nature = #{supplierNature}</if>
+            <if test="supplierBusiness != null  and supplierBusiness != ''"> and supplier_business = #{supplierBusiness}</if>
+            <if test="supplierScale != null  and supplierScale != ''"> and supplier_scale = #{supplierScale}</if>
+            <if test="supplierType != null  and supplierType != ''"> and supplier_type = #{supplierType}</if>
+            <if test="isMarket != null  and isMarket != ''"> and is_market = #{isMarket}</if>
+            <if test="isBrand != null  and isBrand != ''"> and is_brand = #{isBrand}</if>
+            <if test="supplierDesc != null  and supplierDesc != ''"> and supplier_desc = #{supplierDesc}</if>
+            <if test="supplierCode != null  and supplierCode != ''"> and supplier_code = #{supplierCode}</if>
+            <if test="registration != null  and registration != ''"> and registration = #{registration}</if>
+            <if test="establishmentDate != null "> and establishment_date = #{establishmentDate}</if>
+            <if test="fromDate != null "> and from_date = #{fromDate}</if>
+            <if test="toDate != null "> and to_date = #{toDate}</if>
+            <if test="isValid != null  and isValid != ''"> and is_valid = #{isValid}</if>
+            <if test="capital != null  and capital != ''"> and capital = #{capital}</if>
+            <if test="currency != null  and currency != ''"> and currency = #{currency}</if>
+            <if test="businessScope != null  and businessScope != ''"> and business_scope = #{businessScope}</if>
+            <if test="businessScanFile != null  and businessScanFile != ''"> and business_scan_file = #{businessScanFile}</if>
+            <if test="employeeNum != null  and employeeNum != ''"> and employee_num = #{employeeNum}</if>
+            <if test="socialNum != null  and socialNum != ''"> and social_num = #{socialNum}</if>
+            <if test="socialFile != null  and socialFile != ''"> and social_file = #{socialFile}</if>
+            <if test="contributProve != null  and contributProve != ''"> and contribut_prove = #{contributProve}</if>
+            <if test="contributNum != null  and contributNum != ''"> and contribut_num = #{contributNum}</if>
+            <if test="contributCurrency != null  and contributCurrency != ''"> and contribut_currency = #{contributCurrency}</if>
+            <if test="contributList != null  and contributList != ''"> and contribut_list = #{contributList}</if>
+            <if test="financialAnnualList != null  and financialAnnualList != ''"> and financial_annual_list = #{financialAnnualList}</if>
+            <if test="financialIsAccountant != null  and financialIsAccountant != ''"> and financial_is_accountant = #{financialIsAccountant}</if>
+            <if test="financialRemark != null  and financialRemark != ''"> and financial_remark = #{financialRemark}</if>
+            <if test="financialFile != null  and financialFile != ''"> and financial_file = #{financialFile}</if>
+            <if test="assetTotal != null  and assetTotal != ''"> and asset_total = #{assetTotal}</if>
+            <if test="debtInvestTotal != null  and debtInvestTotal != ''"> and debt_invest_total = #{debtInvestTotal}</if>
+            <if test="debtEquityTotal != null  and debtEquityTotal != ''"> and debt_equity_total = #{debtEquityTotal}</if>
+            <if test="debtTotal != null  and debtTotal != ''"> and debt_total = #{debtTotal}</if>
+            <if test="capitalTotal != null  and capitalTotal != ''"> and capital_total = #{capitalTotal}</if>
+            <if test="debtRate != null  and debtRate != ''"> and debt_rate = #{debtRate}</if>
+            <if test="operatingReceipt != null  and operatingReceipt != ''"> and operating_receipt = #{operatingReceipt}</if>
+            <if test="salesTax != null  and salesTax != ''"> and sales_tax = #{salesTax}</if>
+            <if test="salesTotal != null  and salesTotal != ''"> and sales_total = #{salesTotal}</if>
+            <if test="income tax != null  and income tax != ''"> and income tax = #{income tax}</if>
+            <if test="profitTotal != null  and profitTotal != ''"> and profit_total = #{profitTotal}</if>
+            <if test="salesProfitTotal != null  and salesProfitTotal != ''"> and sales_profit_total = #{salesProfitTotal}</if>
+            <if test="headerName != null  and headerName != ''"> and header_name like concat('%', #{headerName}, '%')</if>
+            <if test="type != null  and type != ''"> and type = #{type}</if>
+            <if test="jobType != null  and jobType != ''"> and job_type = #{jobType}</if>
+            <if test="papersType != null  and papersType != ''"> and papers_type = #{papersType}</if>
+            <if test="papersNumber != null  and papersNumber != ''"> and papers_number = #{papersNumber}</if>
+            <if test="headPhone != null  and headPhone != ''"> and head_phone = #{headPhone}</if>
+            <if test="headerPhone != null  and headerPhone != ''"> and header_phone = #{headerPhone}</if>
+            <if test="headerMail != null  and headerMail != ''"> and header_mail = #{headerMail}</if>
+            <if test="headerAddress != null  and headerAddress != ''"> and header_address = #{headerAddress}</if>
+            <if test="headerPostCode != null  and headerPostCode != ''"> and header_post_code = #{headerPostCode}</if>
+            <if test="prosPicture != null  and prosPicture != ''"> and pros_picture = #{prosPicture}</if>
+            <if test="consPicture != null  and consPicture != ''"> and cons_picture = #{consPicture}</if>
+            <if test="status != null  and status != ''"> and status = #{status}</if>
+            <if test="refuseMsg != null  and refuseMsg != ''"> and refuse_msg = #{refuseMsg}</if>
+            <if test="soldOutMsg != null  and soldOutMsg != ''"> and sold_out_msg = #{soldOutMsg}</if>
+            <if test="putawayTime != null "> and putaway_time = #{putawayTime}</if>
+            <if test="startTime != null "> and start_time = #{startTime}</if>
+            <if test="endTime != null "> and end_time = #{endTime}</if>
+        </where>
+    </select>
+    
+    <select id="selectSupplierInfoById" parameterType="String" resultMap="SupplierInfoResult">
+        <include refid="selectSupplierInfoVo"/>
+        where id = #{id}
+    </select>
+        
+    <insert id="insertSupplierInfo" parameterType="SupplierInfo">
+        insert into supplier_info
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="id != null and id != ''">id,</if>
+            <if test="zsId != null">zs_id,</if>
+            <if test="supplierName != null and supplierName != ''">supplier_name,</if>
+            <if test="supplierReName != null and supplierReName != ''">supplier_re_name,</if>
+            <if test="address != null">address,</if>
+            <if test="detailAddress != null">detail_address,</if>
+            <if test="logo != null">logo,</if>
+            <if test="businessAddress != null">business_address,</if>
+            <if test="postCode != null">post_code,</if>
+            <if test="website != null">website,</if>
+            <if test="supplierPhone != null">supplier_phone,</if>
+            <if test="fax != null">fax,</if>
+            <if test="supplierMan != null">supplier_man,</if>
+            <if test="manPhone != null">man_phone,</if>
+            <if test="supplierNature != null">supplier_nature,</if>
+            <if test="supplierBusiness != null">supplier_business,</if>
+            <if test="supplierScale != null">supplier_scale,</if>
+            <if test="supplierType != null">supplier_type,</if>
+            <if test="isMarket != null">is_market,</if>
+            <if test="isBrand != null">is_brand,</if>
+            <if test="supplierDesc != null">supplier_desc,</if>
+            <if test="supplierCode != null">supplier_code,</if>
+            <if test="registration != null">registration,</if>
+            <if test="establishmentDate != null">establishment_date,</if>
+            <if test="fromDate != null">from_date,</if>
+            <if test="toDate != null">to_date,</if>
+            <if test="isValid != null">is_valid,</if>
+            <if test="capital != null">capital,</if>
+            <if test="currency != null">currency,</if>
+            <if test="businessScope != null">business_scope,</if>
+            <if test="businessScanFile != null">business_scan_file,</if>
+            <if test="remark != null">remark,</if>
+            <if test="employeeNum != null">employee_num,</if>
+            <if test="socialNum != null">social_num,</if>
+            <if test="socialFile != null">social_file,</if>
+            <if test="contributProve != null">contribut_prove,</if>
+            <if test="contributNum != null">contribut_num,</if>
+            <if test="contributCurrency != null">contribut_currency,</if>
+            <if test="contributList != null">contribut_list,</if>
+            <if test="financialAnnualList != null">financial_annual_list,</if>
+            <if test="financialIsAccountant != null">financial_is_accountant,</if>
+            <if test="financialRemark != null">financial_remark,</if>
+            <if test="financialFile != null">financial_file,</if>
+            <if test="assetTotal != null">asset_total,</if>
+            <if test="debtInvestTotal != null">debt_invest_total,</if>
+            <if test="debtEquityTotal != null">debt_equity_total,</if>
+            <if test="debtTotal != null">debt_total,</if>
+            <if test="capitalTotal != null">capital_total,</if>
+            <if test="debtRate != null">debt_rate,</if>
+            <if test="operatingReceipt != null">operating_receipt,</if>
+            <if test="salesTax != null">sales_tax,</if>
+            <if test="salesTotal != null">sales_total,</if>
+            <if test="income tax != null">income tax,</if>
+            <if test="profitTotal != null">profit_total,</if>
+            <if test="salesProfitTotal != null">sales_profit_total,</if>
+            <if test="headerName != null">header_name,</if>
+            <if test="type != null">type,</if>
+            <if test="jobType != null">job_type,</if>
+            <if test="papersType != null">papers_type,</if>
+            <if test="papersNumber != null">papers_number,</if>
+            <if test="headPhone != null">head_phone,</if>
+            <if test="headerPhone != null">header_phone,</if>
+            <if test="headerMail != null">header_mail,</if>
+            <if test="headerAddress != null">header_address,</if>
+            <if test="headerPostCode != null">header_post_code,</if>
+            <if test="prosPicture != null">pros_picture,</if>
+            <if test="consPicture != null">cons_picture,</if>
+            <if test="status != null">status,</if>
+            <if test="refuseMsg != null">refuse_msg,</if>
+            <if test="soldOutMsg != null">sold_out_msg,</if>
+            <if test="putawayTime != null">putaway_time,</if>
+            <if test="startTime != null">start_time,</if>
+            <if test="endTime != null">end_time,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="id != null and id != ''">#{id},</if>
+            <if test="zsId != null">#{zsId},</if>
+            <if test="supplierName != null and supplierName != ''">#{supplierName},</if>
+            <if test="supplierReName != null and supplierReName != ''">#{supplierReName},</if>
+            <if test="address != null">#{address},</if>
+            <if test="detailAddress != null">#{detailAddress},</if>
+            <if test="logo != null">#{logo},</if>
+            <if test="businessAddress != null">#{businessAddress},</if>
+            <if test="postCode != null">#{postCode},</if>
+            <if test="website != null">#{website},</if>
+            <if test="supplierPhone != null">#{supplierPhone},</if>
+            <if test="fax != null">#{fax},</if>
+            <if test="supplierMan != null">#{supplierMan},</if>
+            <if test="manPhone != null">#{manPhone},</if>
+            <if test="supplierNature != null">#{supplierNature},</if>
+            <if test="supplierBusiness != null">#{supplierBusiness},</if>
+            <if test="supplierScale != null">#{supplierScale},</if>
+            <if test="supplierType != null">#{supplierType},</if>
+            <if test="isMarket != null">#{isMarket},</if>
+            <if test="isBrand != null">#{isBrand},</if>
+            <if test="supplierDesc != null">#{supplierDesc},</if>
+            <if test="supplierCode != null">#{supplierCode},</if>
+            <if test="registration != null">#{registration},</if>
+            <if test="establishmentDate != null">#{establishmentDate},</if>
+            <if test="fromDate != null">#{fromDate},</if>
+            <if test="toDate != null">#{toDate},</if>
+            <if test="isValid != null">#{isValid},</if>
+            <if test="capital != null">#{capital},</if>
+            <if test="currency != null">#{currency},</if>
+            <if test="businessScope != null">#{businessScope},</if>
+            <if test="businessScanFile != null">#{businessScanFile},</if>
+            <if test="remark != null">#{remark},</if>
+            <if test="employeeNum != null">#{employeeNum},</if>
+            <if test="socialNum != null">#{socialNum},</if>
+            <if test="socialFile != null">#{socialFile},</if>
+            <if test="contributProve != null">#{contributProve},</if>
+            <if test="contributNum != null">#{contributNum},</if>
+            <if test="contributCurrency != null">#{contributCurrency},</if>
+            <if test="contributList != null">#{contributList},</if>
+            <if test="financialAnnualList != null">#{financialAnnualList},</if>
+            <if test="financialIsAccountant != null">#{financialIsAccountant},</if>
+            <if test="financialRemark != null">#{financialRemark},</if>
+            <if test="financialFile != null">#{financialFile},</if>
+            <if test="assetTotal != null">#{assetTotal},</if>
+            <if test="debtInvestTotal != null">#{debtInvestTotal},</if>
+            <if test="debtEquityTotal != null">#{debtEquityTotal},</if>
+            <if test="debtTotal != null">#{debtTotal},</if>
+            <if test="capitalTotal != null">#{capitalTotal},</if>
+            <if test="debtRate != null">#{debtRate},</if>
+            <if test="operatingReceipt != null">#{operatingReceipt},</if>
+            <if test="salesTax != null">#{salesTax},</if>
+            <if test="salesTotal != null">#{salesTotal},</if>
+            <if test="income tax != null">#{income tax},</if>
+            <if test="profitTotal != null">#{profitTotal},</if>
+            <if test="salesProfitTotal != null">#{salesProfitTotal},</if>
+            <if test="headerName != null">#{headerName},</if>
+            <if test="type != null">#{type},</if>
+            <if test="jobType != null">#{jobType},</if>
+            <if test="papersType != null">#{papersType},</if>
+            <if test="papersNumber != null">#{papersNumber},</if>
+            <if test="headPhone != null">#{headPhone},</if>
+            <if test="headerPhone != null">#{headerPhone},</if>
+            <if test="headerMail != null">#{headerMail},</if>
+            <if test="headerAddress != null">#{headerAddress},</if>
+            <if test="headerPostCode != null">#{headerPostCode},</if>
+            <if test="prosPicture != null">#{prosPicture},</if>
+            <if test="consPicture != null">#{consPicture},</if>
+            <if test="status != null">#{status},</if>
+            <if test="refuseMsg != null">#{refuseMsg},</if>
+            <if test="soldOutMsg != null">#{soldOutMsg},</if>
+            <if test="putawayTime != null">#{putawayTime},</if>
+            <if test="startTime != null">#{startTime},</if>
+            <if test="endTime != null">#{endTime},</if>
+         </trim>
+    </insert>
+
+    <update id="updateSupplierInfo" parameterType="SupplierInfo">
+        update supplier_info
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="zsId != null">zs_id = #{zsId},</if>
+            <if test="supplierName != null and supplierName != ''">supplier_name = #{supplierName},</if>
+            <if test="supplierReName != null and supplierReName != ''">supplier_re_name = #{supplierReName},</if>
+            <if test="address != null">address = #{address},</if>
+            <if test="detailAddress != null">detail_address = #{detailAddress},</if>
+            <if test="logo != null">logo = #{logo},</if>
+            <if test="businessAddress != null">business_address = #{businessAddress},</if>
+            <if test="postCode != null">post_code = #{postCode},</if>
+            <if test="website != null">website = #{website},</if>
+            <if test="supplierPhone != null">supplier_phone = #{supplierPhone},</if>
+            <if test="fax != null">fax = #{fax},</if>
+            <if test="supplierMan != null">supplier_man = #{supplierMan},</if>
+            <if test="manPhone != null">man_phone = #{manPhone},</if>
+            <if test="supplierNature != null">supplier_nature = #{supplierNature},</if>
+            <if test="supplierBusiness != null">supplier_business = #{supplierBusiness},</if>
+            <if test="supplierScale != null">supplier_scale = #{supplierScale},</if>
+            <if test="supplierType != null">supplier_type = #{supplierType},</if>
+            <if test="isMarket != null">is_market = #{isMarket},</if>
+            <if test="isBrand != null">is_brand = #{isBrand},</if>
+            <if test="supplierDesc != null">supplier_desc = #{supplierDesc},</if>
+            <if test="supplierCode != null">supplier_code = #{supplierCode},</if>
+            <if test="registration != null">registration = #{registration},</if>
+            <if test="establishmentDate != null">establishment_date = #{establishmentDate},</if>
+            <if test="fromDate != null">from_date = #{fromDate},</if>
+            <if test="toDate != null">to_date = #{toDate},</if>
+            <if test="isValid != null">is_valid = #{isValid},</if>
+            <if test="capital != null">capital = #{capital},</if>
+            <if test="currency != null">currency = #{currency},</if>
+            <if test="businessScope != null">business_scope = #{businessScope},</if>
+            <if test="businessScanFile != null">business_scan_file = #{businessScanFile},</if>
+            <if test="remark != null">remark = #{remark},</if>
+            <if test="employeeNum != null">employee_num = #{employeeNum},</if>
+            <if test="socialNum != null">social_num = #{socialNum},</if>
+            <if test="socialFile != null">social_file = #{socialFile},</if>
+            <if test="contributProve != null">contribut_prove = #{contributProve},</if>
+            <if test="contributNum != null">contribut_num = #{contributNum},</if>
+            <if test="contributCurrency != null">contribut_currency = #{contributCurrency},</if>
+            <if test="contributList != null">contribut_list = #{contributList},</if>
+            <if test="financialAnnualList != null">financial_annual_list = #{financialAnnualList},</if>
+            <if test="financialIsAccountant != null">financial_is_accountant = #{financialIsAccountant},</if>
+            <if test="financialRemark != null">financial_remark = #{financialRemark},</if>
+            <if test="financialFile != null">financial_file = #{financialFile},</if>
+            <if test="assetTotal != null">asset_total = #{assetTotal},</if>
+            <if test="debtInvestTotal != null">debt_invest_total = #{debtInvestTotal},</if>
+            <if test="debtEquityTotal != null">debt_equity_total = #{debtEquityTotal},</if>
+            <if test="debtTotal != null">debt_total = #{debtTotal},</if>
+            <if test="capitalTotal != null">capital_total = #{capitalTotal},</if>
+            <if test="debtRate != null">debt_rate = #{debtRate},</if>
+            <if test="operatingReceipt != null">operating_receipt = #{operatingReceipt},</if>
+            <if test="salesTax != null">sales_tax = #{salesTax},</if>
+            <if test="salesTotal != null">sales_total = #{salesTotal},</if>
+            <if test="income tax != null">income tax = #{income tax},</if>
+            <if test="profitTotal != null">profit_total = #{profitTotal},</if>
+            <if test="salesProfitTotal != null">sales_profit_total = #{salesProfitTotal},</if>
+            <if test="headerName != null">header_name = #{headerName},</if>
+            <if test="type != null">type = #{type},</if>
+            <if test="jobType != null">job_type = #{jobType},</if>
+            <if test="papersType != null">papers_type = #{papersType},</if>
+            <if test="papersNumber != null">papers_number = #{papersNumber},</if>
+            <if test="headPhone != null">head_phone = #{headPhone},</if>
+            <if test="headerPhone != null">header_phone = #{headerPhone},</if>
+            <if test="headerMail != null">header_mail = #{headerMail},</if>
+            <if test="headerAddress != null">header_address = #{headerAddress},</if>
+            <if test="headerPostCode != null">header_post_code = #{headerPostCode},</if>
+            <if test="prosPicture != null">pros_picture = #{prosPicture},</if>
+            <if test="consPicture != null">cons_picture = #{consPicture},</if>
+            <if test="status != null">status = #{status},</if>
+            <if test="refuseMsg != null">refuse_msg = #{refuseMsg},</if>
+            <if test="soldOutMsg != null">sold_out_msg = #{soldOutMsg},</if>
+            <if test="putawayTime != null">putaway_time = #{putawayTime},</if>
+            <if test="startTime != null">start_time = #{startTime},</if>
+            <if test="endTime != null">end_time = #{endTime},</if>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <delete id="deleteSupplierInfoById" parameterType="String">
+        delete from supplier_info where id = #{id}
+    </delete>
+
+    <delete id="deleteSupplierInfoByIds" parameterType="String">
+        delete from supplier_info where id in 
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </delete>
+
+</mapper>