Ver código fonte

入驻登记调整

LAPTOP-FO2T5SIU\35838 5 meses atrás
pai
commit
83bbe26b21

+ 4 - 4
pro-base/src/main/resources/mybatis/saleManage/CheckInMapper.xml

@@ -280,11 +280,11 @@
                 and check_in.status = '2'
             </if>
         </if>
-        <if test="buyerIdentityCard != null and buyerIdentityCard != ''">
-            and customer_management_id in (select customer_management_id from buyer where identity_card like concat('%',#{buyerIdentityCard},'%'))
+        <if test="record.buyerIdentityCard != null and record.buyerIdentityCard != ''">
+            and customer_management_id in (select customer_management_id from buyer where identity_card like concat('%',#{record.buyerIdentityCard},'%'))
         </if>
-        <if test="batchNumber != null and batchNumber != ''">
-            and customer_management_id in (select id from customer_management where batch_number like concat('%',#{batchNumber},'%'))
+        <if test="record.batchNumber != null and record.batchNumber != ''">
+            and customer_management_id in (select id from customer_management where batch_number like concat('%',#{record.batchNumber},'%'))
         </if>
     </select>
 </mapper>