|
@@ -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>
|