Ver código fonte

客户档案面谈信息详情修改

anderx 8 meses atrás
pai
commit
c959359b72

+ 4 - 38
src/main/java/com/goafanti/common/mapper/OrganizationIdentityMapper.xml

@@ -92,8 +92,8 @@
     </select>
 
     <!--新增所有列-->
-    <insert id="insert" keyProperty="id" useGeneratedKeys="true">
-        insert into organization_identity(uid, contacts, contact_mobile, fixed_tel, qq, postal_address, postcode,
+    <insert id="insert" >
+        insert into organization_identity(id,uid, contacts, contact_mobile, fixed_tel, qq, postal_address, postcode,
                                           unit_name, registered_capital, licence_number, licence_province, licence_city,
                                           licence_area, licence_scanning_url, org_code, org_code_url, bank_account,
                                           banks, bank_branch, bank_card_number, validation_amount, identity_type,
@@ -109,7 +109,7 @@
                                           review_instructions, investment, year_sales_amount, last_year_research_amount,
                                           assets, qualification, cooperation_situation, honor_picture, sales_target,
                                           intended_project, contacts_dep, contacts_position, industry_name)
-        values (#{uid}, #{contacts}, #{contactMobile}, #{fixedTel}, #{qq}, #{postalAddress}, #{postcode}, #{unitName},
+        values (#{id},#{uid}, #{contacts}, #{contactMobile}, #{fixedTel}, #{qq}, #{postalAddress}, #{postcode}, #{unitName},
                 #{registeredCapital}, #{licenceNumber}, #{licenceProvince}, #{licenceCity}, #{licenceArea},
                 #{licenceScanningUrl}, #{orgCode}, #{orgCodeUrl}, #{bankAccount}, #{banks}, #{bankBranch},
                 #{bankCardNumber}, #{validationAmount}, #{identityType}, #{locationProvince}, #{locationCity},
@@ -125,41 +125,7 @@
                 #{industryName})
     </insert>
 
-    <insert id="insertBatch">
-        insert into organization_identity(uid, contacts, contact_mobile, fixed_tel, qq, postal_address, postcode,
-        unit_name, registered_capital, licence_number, licence_province, licence_city, licence_area,
-        licence_scanning_url, org_code, org_code_url, bank_account, banks, bank_branch, bank_card_number,
-        validation_amount, identity_type, location_province, location_city, location_area, legal_person,
-        legal_person_id_card, last_year_tax_report_url, audit_status, process, wrong_count, payment_date, listed,
-        listed_date, listed_type, stock_code, certificate_number, issuing_date, cog_contacts, tech_principal,
-        contacts_fixed_tel, contacts_fax, legal_person_tel, legal_person_fax, legal_person_email, registration_time,
-        ratepay_code, industry, enterprise_scale, register_type, foreign_investment, field, tax_authority,
-        ratepay_method, high_tech_zone, risk_investment, business_scope, high_tech_name, patent_prory_statement_url,
-        international, review_instructions, investment, year_sales_amount, last_year_research_amount, assets,
-        qualification, cooperation_situation, honor_picture, sales_target, intended_project, contacts_dep,
-        contacts_position, industry_name)
-        values
-        <foreach collection="entities" item="entity" separator=",">
-            (#{entity.uid}, #{entity.contacts}, #{entity.contactMobile}, #{entity.fixedTel}, #{entity.qq},
-            #{entity.postalAddress}, #{entity.postcode}, #{entity.unitName}, #{entity.registeredCapital},
-            #{entity.licenceNumber}, #{entity.licenceProvince}, #{entity.licenceCity}, #{entity.licenceArea},
-            #{entity.licenceScanningUrl}, #{entity.orgCode}, #{entity.orgCodeUrl}, #{entity.bankAccount},
-            #{entity.banks}, #{entity.bankBranch}, #{entity.bankCardNumber}, #{entity.validationAmount},
-            #{entity.identityType}, #{entity.locationProvince}, #{entity.locationCity}, #{entity.locationArea},
-            #{entity.legalPerson}, #{entity.legalPersonIdCard}, #{entity.lastYearTaxReportUrl}, #{entity.auditStatus},
-            #{entity.process}, #{entity.wrongCount}, #{entity.paymentDate}, #{entity.listed}, #{entity.listedDate},
-            #{entity.listedType}, #{entity.stockCode}, #{entity.certificateNumber}, #{entity.issuingDate},
-            #{entity.cogContacts}, #{entity.techPrincipal}, #{entity.contactsFixedTel}, #{entity.contactsFax},
-            #{entity.legalPersonTel}, #{entity.legalPersonFax}, #{entity.legalPersonEmail}, #{entity.registrationTime},
-            #{entity.ratepayCode}, #{entity.industry}, #{entity.enterpriseScale}, #{entity.registerType},
-            #{entity.foreignInvestment}, #{entity.field}, #{entity.taxAuthority}, #{entity.ratepayMethod},
-            #{entity.highTechZone}, #{entity.riskInvestment}, #{entity.businessScope}, #{entity.highTechName},
-            #{entity.patentProryStatementUrl}, #{entity.international}, #{entity.reviewInstructions},
-            #{entity.investment}, #{entity.yearSalesAmount}, #{entity.lastYearResearchAmount}, #{entity.assets},
-            #{entity.qualification}, #{entity.cooperationSituation}, #{entity.honorPicture}, #{entity.salesTarget},
-            #{entity.intendedProject}, #{entity.contactsDep}, #{entity.contactsPosition}, #{entity.industryName})
-        </foreach>
-    </insert>
+
 
     <insert id="insertOrUpdateBatch" keyProperty="id" useGeneratedKeys="true">
         insert into organization_identity(uid, contacts, contact_mobile, fixed_tel, qq, postal_address, postcode,