src/main/resources/mapper/purchase/PurchaseLedgerMapper.xml
@@ -39,6 +39,9 @@ <if test="c.supplierName != null and c.supplierName != ''"> and pl.supplier_name like concat('%',#{c.supplierName},'%') </if> <if test="c.approvalStatus != null and c.approvalStatus != ''"> and pl.approval_status = #{c.approvalStatus} </if> <if test="c.salesContractNo != null and c.salesContractNo != ''"> and pl.sales_contract_no like concat('%',#{c.salesContractNo},'%') </if> @@ -78,4 +81,4 @@ WHERE T4.id = #{id} </select> </mapper> </mapper>