|
|
@ -16,7 +16,7 @@
|
|
|
|
and a.document_no LIKE CONCAT('%',#{saleorderitemPagination.documentNo},'%')
|
|
|
|
and a.document_no LIKE CONCAT('%',#{saleorderitemPagination.documentNo},'%')
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="saleorderitemPagination.status != null and saleorderitemPagination.status != ''">
|
|
|
|
<if test="saleorderitemPagination.status != null and saleorderitemPagination.status != ''">
|
|
|
|
and a.status LIKE CONCAT('%',#{saleorderitemPagination.status},'%')
|
|
|
|
and a.status = #{saleorderitemPagination.status}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
<if test="saleorderitemPagination.contractName != null and saleorderitemPagination.contractName != ''">
|
|
|
|
<if test="saleorderitemPagination.contractName != null and saleorderitemPagination.contractName != ''">
|
|
|
|
and b.contract_name LIKE CONCAT('%',#{saleorderitemPagination.contractName},'%')
|
|
|
|
and b.contract_name LIKE CONCAT('%',#{saleorderitemPagination.contractName},'%')
|
|
|
@ -24,6 +24,15 @@
|
|
|
|
<if test="saleorderitemPagination.customerName != null and saleorderitemPagination.customerName != ''">
|
|
|
|
<if test="saleorderitemPagination.customerName != null and saleorderitemPagination.customerName != ''">
|
|
|
|
and c.supplier_nm LIKE CONCAT('%',#{saleorderitemPagination.customerName},'%')
|
|
|
|
and c.supplier_nm LIKE CONCAT('%',#{saleorderitemPagination.customerName},'%')
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="saleorderitemPagination.num != null and saleorderitemPagination.num != ''">
|
|
|
|
|
|
|
|
and a.num LIKE CONCAT('%',#{saleorderitemPagination.num},'%')
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="saleorderitemPagination.price != null and saleorderitemPagination.price != ''">
|
|
|
|
|
|
|
|
and a.price LIKE CONCAT('%',#{saleorderitemPagination.price},'%')
|
|
|
|
|
|
|
|
</if>
|
|
|
|
|
|
|
|
<if test="saleorderitemPagination.creatorUserName != null and saleorderitemPagination.creatorUserName != ''">
|
|
|
|
|
|
|
|
and a.creator_user_name LIKE CONCAT('%',#{saleorderitemPagination.creatorUserName},'%')
|
|
|
|
|
|
|
|
</if>
|
|
|
|
<if test="saleorderitemPagination.startDate != null and saleorderitemPagination.endDate != null">
|
|
|
|
<if test="saleorderitemPagination.startDate != null and saleorderitemPagination.endDate != null">
|
|
|
|
and a.creator_time > #{saleorderitemPagination.startDate} AND a.creator_time <= #{saleorderitemPagination.endDate}
|
|
|
|
and a.creator_time > #{saleorderitemPagination.startDate} AND a.creator_time <= #{saleorderitemPagination.endDate}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|