Browse Source

新增渠道BUG修复

anderx 8 months ago
parent
commit
bc1af9e558

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

@@ -91,8 +91,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,
@@ -108,7 +108,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)
-        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},