|
@@ -526,6 +526,129 @@
|
|
LIMIT 1
|
|
LIMIT 1
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
+
|
|
|
|
+ <resultMap type="com.caimei.modules.user.entity.NewCmShop" id="ShopResult">
|
|
|
|
+ <result property="shopID" column="shopID" />
|
|
|
|
+ <result property="userID" column="userID" />
|
|
|
|
+ <result property="name" column="name" />
|
|
|
|
+ <result property="sname" column="sname" />
|
|
|
|
+ <result property="logo" column="logo" />
|
|
|
|
+ <result property="rebateAmount" column="rebateAmount" />
|
|
|
|
+ <result property="legalPerson" column="legalPerson" />
|
|
|
|
+ <result property="businessLicense" column="businessLicense" />
|
|
|
|
+ <result property="businessLicenseImage" column="businessLicenseImage" />
|
|
|
|
+ <result property="taxCertificate" column="taxCertificate" />
|
|
|
|
+ <result property="taxCertificateImage" column="taxCertificateImage" />
|
|
|
|
+<!-- <result property="authorizationCertificateImage" column="authorizationCertificateImage" />-->
|
|
|
|
+ <result property="provinceID" column="provinceID" />
|
|
|
|
+ <result property="cityID" column="cityID" />
|
|
|
|
+ <result property="townID" column="townID" />
|
|
|
|
+ <result property="address" column="address" />
|
|
|
|
+ <result property="registeredCapital" column="registeredCapital" />
|
|
|
|
+ <result property="nature" column="nature" />
|
|
|
|
+ <result property="turnover" column="turnover" />
|
|
|
|
+ <result property="linkMan" column="linkMan" />
|
|
|
|
+ <result property="contractPhone" column="contractPhone" />
|
|
|
|
+ <result property="contractMobile" column="contractMobile" />
|
|
|
|
+ <result property="contractEmail" column="contractEmail" />
|
|
|
|
+ <result property="fax" column="fax" />
|
|
|
|
+ <result property="zipCode" column="zipCode" />
|
|
|
|
+ <result property="info" column="info" />
|
|
|
|
+ <result property="productDesc" column="productDesc" />
|
|
|
|
+ <result property="addTime" column="addTime" />
|
|
|
|
+ <result property="auditStatus" column="auditStatus" />
|
|
|
|
+ <result property="auditTime" column="auditTime" />
|
|
|
|
+ <result property="auditNote" column="auditNote" />
|
|
|
|
+ <result property="validFlag" column="validFlag" />
|
|
|
|
+ <result property="status" column="status" />
|
|
|
|
+ <result property="maintenanceFee" column="maintenanceFee" />
|
|
|
|
+ <result property="maintenanceDate" column="maintenanceDate" />
|
|
|
|
+ <result property="businessScope" column="businessScope" />
|
|
|
|
+ <result property="socialCreditCode" column="socialCreditCode" />
|
|
|
|
+ <result property="mainpro" column="mainpro" />
|
|
|
|
+ <result property="firstShopType" column="firstShopType" />
|
|
|
|
+ <result property="secondShopType" column="secondShopType" />
|
|
|
|
+ <result property="medicalPracticeLicenseImg1" column="medicalPracticeLicenseImg1" />
|
|
|
|
+ <result property="medicalPracticeLicenseImg2" column="medicalPracticeLicenseImg2" />
|
|
|
|
+ <result property="medicalPracticeLicenseImg3" column="medicalPracticeLicenseImg3" />
|
|
|
|
+ <result property="bankAccount" column="bankAccount" />
|
|
|
|
+ <result property="bankAccountName" column="bankAccountName" />
|
|
|
|
+ <result property="bankName" column="bankName" />
|
|
|
|
+ <result property="checkMan" column="checkMan" />
|
|
|
|
+ <result property="ableRebateAmount" column="ableRebateAmount" />
|
|
|
|
+ <result property="website" column="website" />
|
|
|
|
+ <result property="wxOfficialAccount" column="wxOfficialAccount" />
|
|
|
|
+ <result property="wxApplets" column="wxApplets" />
|
|
|
|
+ <result property="shopType" column="shopType" />
|
|
|
|
+ <result property="cardNumber" column="cardNumber" />
|
|
|
|
+<!-- <result property="accountType" column="accountType" />-->
|
|
|
|
+<!-- <result property="banOfDeposit" column="banOfDeposit" />-->
|
|
|
|
+<!-- <result property="accountName" column="accountName" />-->
|
|
|
|
+ <result property="chargeSupport" column="chargeSupport" />
|
|
|
|
+ </resultMap>
|
|
|
|
+
|
|
|
|
+ <update id="updateShop" parameterType="com.caimei.modules.user.entity.NewCmShop">
|
|
|
|
+ update shop
|
|
|
|
+ <trim prefix="SET" suffixOverrides=",">
|
|
|
|
+ <if test="userID != null">userID = #{userID},</if>
|
|
|
|
+ <if test="name != null and name != ''">name = #{name},</if>
|
|
|
|
+ <if test="sname != null and sname != ''">sname = #{sname},</if>
|
|
|
|
+ <if test="logo != null and logo != ''">logo = #{logo},</if>
|
|
|
|
+ <if test="rebateAmount != null">rebateAmount = #{rebateAmount},</if>
|
|
|
|
+ <if test="legalPerson != null and legalPerson != ''">legalPerson = #{legalPerson},</if>
|
|
|
|
+ <if test="businessLicense != null and businessLicense != ''">businessLicense = #{businessLicense},</if>
|
|
|
|
+ <if test="businessLicenseImage != null and businessLicenseImage != ''">businessLicenseImage = #{businessLicenseImage},</if>
|
|
|
|
+ <if test="taxCertificate != null and taxCertificate != ''">taxCertificate = #{taxCertificate},</if>
|
|
|
|
+ <if test="taxCertificateImage != null and taxCertificateImage != ''">taxCertificateImage = #{taxCertificateImage},</if>
|
|
|
|
+<!-- <if test="authorizationCertificateImage != null and authorizationCertificateImage != ''">authorizationCertificateImage = #{authorizationCertificateImage},</if>-->
|
|
|
|
+ <if test="provinceID != null">provinceID = #{provinceID},</if>
|
|
|
|
+ <if test="cityID != null">cityID = #{cityID},</if>
|
|
|
|
+ <if test="townID != null">townID = #{townID},</if>
|
|
|
|
+ <if test="address != null and address != ''">address = #{address},</if>
|
|
|
|
+ <if test="registeredCapital != null and registeredCapital != ''">registeredCapital = #{registeredCapital},</if>
|
|
|
|
+ <if test="nature != null and nature != ''">nature = #{nature},</if>
|
|
|
|
+ <if test="turnover != null and turnover != ''">turnover = #{turnover},</if>
|
|
|
|
+ <if test="linkMan != null and linkMan != ''">linkMan = #{linkMan},</if>
|
|
|
|
+ <if test="contractPhone != null and contractPhone != ''">contractPhone = #{contractPhone},</if>
|
|
|
|
+ <if test="contractMobile != null and contractMobile != ''">contractMobile = #{contractMobile},</if>
|
|
|
|
+ <if test="contractEmail != null and contractEmail != ''">contractEmail = #{contractEmail},</if>
|
|
|
|
+ <if test="fax != null and fax != ''">fax = #{fax},</if>
|
|
|
|
+ <if test="zipCode != null and zipCode != ''">zipCode = #{zipCode},</if>
|
|
|
|
+ <if test="info != null and info != ''">info = #{info},</if>
|
|
|
|
+ <if test="productDesc != null and productDesc != ''">productDesc = #{productDesc},</if>
|
|
|
|
+ <if test="addTime != null and addTime != ''">addTime = #{addTime},</if>
|
|
|
|
+ <if test="auditStatus != null and auditStatus != ''">auditStatus = #{auditStatus},</if>
|
|
|
|
+ <if test="auditTime != null and auditTime != ''">auditTime = #{auditTime},</if>
|
|
|
|
+ <if test="auditNote != null and auditNote != ''">auditNote = #{auditNote},</if>
|
|
|
|
+ <if test="validFlag != null and validFlag != ''">validFlag = #{validFlag},</if>
|
|
|
|
+ <if test="status != null">status = #{status},</if>
|
|
|
|
+ <if test="maintenanceFee != null and maintenanceFee != ''">maintenanceFee = #{maintenanceFee},</if>
|
|
|
|
+ <if test="maintenanceDate != null">maintenanceDate = #{maintenanceDate},</if>
|
|
|
|
+ <if test="businessScope != null and businessScope != ''">businessScope = #{businessScope},</if>
|
|
|
|
+ <if test="socialCreditCode != null and socialCreditCode != ''">socialCreditCode = #{socialCreditCode},</if>
|
|
|
|
+ <if test="mainpro != null and mainpro != ''">mainpro = #{mainpro},</if>
|
|
|
|
+ <if test="firstShopType != null and firstShopType != ''">firstShopType = #{firstShopType},</if>
|
|
|
|
+ <if test="secondShopType != null and secondShopType != ''">secondShopType = #{secondShopType},</if>
|
|
|
|
+ <if test="medicalPracticeLicenseImg1 != null and medicalPracticeLicenseImg1 != ''">medicalPracticeLicenseImg1 = #{medicalPracticeLicenseImg1},</if>
|
|
|
|
+ <if test="medicalPracticeLicenseImg2 != null and medicalPracticeLicenseImg2 != ''">medicalPracticeLicenseImg2 = #{medicalPracticeLicenseImg2},</if>
|
|
|
|
+ <if test="medicalPracticeLicenseImg3 != null and medicalPracticeLicenseImg3 != ''">medicalPracticeLicenseImg3 = #{medicalPracticeLicenseImg3},</if>
|
|
|
|
+ <if test="bankAccount != null and bankAccount != ''">bankAccount = #{bankAccount},</if>
|
|
|
|
+ <if test="bankAccountName != null and bankAccountName != ''">bankAccountName = #{bankAccountName},</if>
|
|
|
|
+ <if test="bankName != null and bankName != ''">bankName = #{bankName},</if>
|
|
|
|
+ <if test="checkMan != null and checkMan != ''">checkMan = #{checkMan},</if>
|
|
|
|
+ <if test="ableRebateAmount != null">ableRebateAmount = #{ableRebateAmount},</if>
|
|
|
|
+ <if test="website != null and website != ''">website = #{website},</if>
|
|
|
|
+ <if test="wxOfficialAccount != null and wxOfficialAccount != ''">wxOfficialAccount = #{wxOfficialAccount},</if>
|
|
|
|
+ <if test="wxApplets != null and wxApplets != ''">wxApplets = #{wxApplets},</if>
|
|
|
|
+ <if test="shopType != null and shopType != ''">shopType = #{shopType},</if>
|
|
|
|
+ <if test="cardNumber != null and cardNumber != ''">cardNumber = #{cardNumber},</if>
|
|
|
|
+<!-- <if test="accountType != null and accountType != ''">accountType = #{accountType},</if>-->
|
|
|
|
+<!-- <if test="banOfDeposit != null and banOfDeposit != ''">banOfDeposit = #{banOfDeposit},</if>-->
|
|
|
|
+<!-- <if test="accountName != null and accountName != ''">accountName = #{accountName},</if>-->
|
|
|
|
+ <if test="chargeSupport != null and chargeSupport != ''">chargeSupport = #{chargeSupport},</if>
|
|
|
|
+ </trim>
|
|
|
|
+ where shopID = #{shopID}
|
|
|
|
+ </update>
|
|
</mapper>
|
|
</mapper>
|
|
|
|
|
|
|
|
|