123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413 |
- <?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="incomeTax" 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="incomeTax != null and incomeTax != ''"> and income_tax = #{incomeTax}</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 and zsId != ''">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 and address != ''">address,</if>
- <if test="detailAddress != null and detailAddress != ''">detail_address,</if>
- <if test="logo != null and logo != ''">logo,</if>
- <if test="businessAddress != null and businessAddress != ''">business_address,</if>
- <if test="postCode != null and postCode != ''">post_code,</if>
- <if test="website != null and website != ''">website,</if>
- <if test="supplierPhone != null and supplierPhone != ''">supplier_phone,</if>
- <if test="fax != null and fax != ''">fax,</if>
- <if test="supplierMan != null and supplierMan != ''">supplier_man,</if>
- <if test="manPhone != null and manPhone != ''">man_phone,</if>
- <if test="supplierNature != null and supplierNature != ''">supplier_nature,</if>
- <if test="supplierBusiness != null and supplierBusiness != ''">supplier_business,</if>
- <if test="supplierScale != null and supplierScale != ''">supplier_scale,</if>
- <if test="supplierType != null and supplierType != ''">supplier_type,</if>
- <if test="isMarket != null and isMarket != ''">is_market,</if>
- <if test="isBrand != null and isBrand != ''">is_brand,</if>
- <if test="supplierDesc != null and supplierDesc != ''">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="incomeTax != 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 and status != ''">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 and zsId != ''">#{zsId},</if>
- <if test="supplierName != null and supplierName != ''">#{supplierName},</if>
- <if test="supplierReName != null and supplierReName != ''">#{supplierReName},</if>
- <if test="address != null and address != ''">#{address},</if>
- <if test="detailAddress != null and detailAddress != ''">#{detailAddress},</if>
- <if test="logo != null and logo != ''">#{logo},</if>
- <if test="businessAddress != null and businessAddress != ''">#{businessAddress},</if>
- <if test="postCode != null and postCode != ''">#{postCode},</if>
- <if test="website != null and website != ''">#{website},</if>
- <if test="supplierPhone != null and supplierPhone != ''">#{supplierPhone},</if>
- <if test="fax != null and fax != ''">#{fax},</if>
- <if test="supplierMan != null and supplierMan != ''">#{supplierMan},</if>
- <if test="manPhone != null and manPhone != ''">#{manPhone},</if>
- <if test="supplierNature != null and supplierNature != ''">#{supplierNature},</if>
- <if test="supplierBusiness != null and supplierBusiness != ''">#{supplierBusiness},</if>
- <if test="supplierScale != null and supplierScale != ''">#{supplierScale},</if>
- <if test="supplierType != null and supplierType != ''">#{supplierType},</if>
- <if test="isMarket != null and isMarket != ''">#{isMarket},</if>
- <if test="isBrand != null and isBrand != ''">#{isBrand},</if>
- <if test="supplierDesc != null and supplierDesc != ''">#{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="incomeTax != null">#{incomeTax},</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 and status != ''">#{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 and zsId != ''">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 and address != ''">address = #{address},</if>
- <if test="detailAddress != null and detailAddress != ''">detail_address = #{detailAddress},</if>
- <if test="logo != null and logo != ''">logo = #{logo},</if>
- <if test="businessAddress != null and businessAddress != ''">business_address = #{businessAddress},</if>
- <if test="postCode != null and postCode != ''">post_code = #{postCode},</if>
- <if test="website != null and website != ''">website = #{website},</if>
- <if test="supplierPhone != null and supplierPhone != ''">supplier_phone = #{supplierPhone},</if>
- <if test="fax != null and fax != ''">fax = #{fax},</if>
- <if test="supplierMan != null and supplierMan != ''">supplier_man = #{supplierMan},</if>
- <if test="manPhone != null and manPhone != ''">man_phone = #{manPhone},</if>
- <if test="supplierNature != null and supplierNature != ''">supplier_nature = #{supplierNature},</if>
- <if test="supplierBusiness != null and supplierBusiness != ''">supplier_business = #{supplierBusiness},</if>
- <if test="supplierScale != null and supplierScale != ''">supplier_scale = #{supplierScale},</if>
- <if test="supplierType != null and supplierType != ''">supplier_type = #{supplierType},</if>
- <if test="isMarket != null and isMarket != ''">is_market = #{isMarket},</if>
- <if test="isBrand != null and isBrand != ''">is_brand = #{isBrand},</if>
- <if test="supplierDesc != null and supplierDesc != ''">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="incomeTax != null">income_tax = #{incomeTax},</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 and status != ''">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>
|