Aslee hace 3 años
padre
commit
3908349b22
Se han modificado 1 ficheros con 9 adiciones y 2 borrados
  1. 9 2
      src/main/resources/mapper/SellerMapper.xml

+ 9 - 2
src/main/resources/mapper/SellerMapper.xml

@@ -94,7 +94,7 @@
         FROM
         cm_order
         WHERE
-        userID = #{userID}
+        userID = #{userId}
         AND orderSubmitType IN (0, 1, 2)
         <if test="lastCheckOrderDate != null">
             AND orderTime > #{lastCheckOrderDate}
@@ -102,7 +102,14 @@
     </select>
 
     <select id="findClubs" resultType="com.caimei365.user.model.vo.ClubVo">
-        select c.*,u.userIdentity from club c
+        select c.clubID as clubId, c.userID as userId, c.name, c.sname as shortName, c.contractMobile, c.contractEmail1
+        as contractEmail,
+        c.contractPhone, c.linkMan, c.provinceID as proviceId, c.cityID as cityId, c.townID as townId,
+        c.address, c.headpic as shopPhoto, c.businessLicenseImage as businessLicense, c.socialCreditCode,
+        c.firstClubType, c.secondClubType, c.department, c.medicalPracticeLicenseImg as medicalPracticeLicense,
+        c.mainpro as mainProduct, c.fax, c.info as profile, c.spID as serviceProviderId, c.addTime, c.status,
+        u.userIdentity
+        from club c
         left join user u on c.userID = u.userID
         where c.spID = #{serviceProviderId}
         <if test="status != null and status != 66">