@@ -125,6 +125,9 @@
<if test="initialImportCost !=null and initialImportCost !='' ">
and initialImportCost = #{initialImportCost}
</if>
+ <if test="id !=null and id !='' ">
+ and id = #{id}
+ </if>
</select>
@@ -74,6 +74,9 @@
<if test="inventoryChangeTime !=null and inventoryChangeTime !='' ">
and inventoryChangeTime = #{inventoryChangeTime}
@@ -59,6 +59,9 @@
<if test="maintainer !=null and maintainer !='' ">
and maintainer = #{maintainer}
@@ -77,6 +77,9 @@
<if test="inspector !=null and inspector !='' ">
and inspector = #{inspector}
@@ -35,6 +35,9 @@
<if test="cleaner !=null and cleaner !='' ">
and cleaner = #{cleaner}
@@ -50,6 +50,9 @@
<if test="reporter !=null and reporter !='' ">
and reporter = #{reporter}
<if test="receiver !=null and receiver !='' ">
and receiver = #{receiver}
@@ -38,6 +38,9 @@
<if test="verifier !=null and verifier !='' ">
and verifier = #{verifier}
@@ -41,6 +41,9 @@
<if test="requisitioner !=null and requisitioner !='' ">
and requisitioner = #{requisitioner}
@@ -47,6 +47,9 @@
<if test="expirationDate !=null and expirationDate !='' ">
and expirationDate = #{expirationDate}
@@ -44,6 +44,9 @@
<if test="returner !=null and returner !='' ">
and returner = #{returner}
<if test="finalStockCost !=null and finalStockCost !='' ">
and finalStockCost = #{finalStockCost}
@@ -32,6 +32,9 @@
<if test="discrepancyItemCount !=null and discrepancyItemCount !='' ">
and discrepancyItemCount = #{discrepancyItemCount}
<if test="receiptDocumentStatus !=null and receiptDocumentStatus !='' ">
and receiptDocumentStatus = #{receiptDocumentStatus}
@@ -26,6 +26,9 @@
<if test="headquartersConfirmationTime !=null and headquartersConfirmationTime !='' ">
and headquartersConfirmationTime = #{headquartersConfirmationTime}
@@ -29,6 +29,9 @@
<if test="receiptTime !=null and receiptTime !='' ">
and receiptTime = #{receiptTime}
<if test="reviewTime !=null and reviewTime !='' ">
and reviewTime = #{reviewTime}
<if test="operation !=null and operation !='' ">
and operation = #{operation}
@@ -20,6 +20,9 @@
<if test="acceptorEmployeeNumber !=null and acceptorEmployeeNumber !='' ">
and acceptorEmployeeNumber = #{acceptorEmployeeNumber}
<if test="reviewStatus !=null and reviewStatus !='' ">
and reviewStatus = #{reviewStatus}
<if test="requisitionOrderStatus !=null and requisitionOrderStatus !='' ">
and requisitionOrderStatus = #{requisitionOrderStatus}
<if test="receiptStatus !=null and receiptStatus !='' ">
and receiptStatus = #{receiptStatus}
@@ -23,6 +23,9 @@
<if test="documentStatus !=null and documentStatus !='' ">
and documentStatus = #{documentStatus}
<if test="warehouseArea !=null and warehouseArea !='' ">
and warehouseArea = #{warehouseArea}
@@ -62,6 +62,9 @@
<if test="confirmedSubmissionQuantity !=null and confirmedSubmissionQuantity !='' ">
and confirmedSubmissionQuantity = #{confirmedSubmissionQuantity}
<if test="entrustedShipmentNumber !=null and entrustedShipmentNumber !='' ">
and entrustedShipmentNumber = #{entrustedShipmentNumber}
<if test="status !=null and status !='' ">
and status = #{status}
<if test="specification !=null and specification !='' ">
and specification = #{specification}
@@ -17,6 +17,9 @@
@@ -92,6 +92,9 @@
<if test="salesAttribute !=null and salesAttribute !='' ">
and salesAttribute = #{salesAttribute}
@@ -98,6 +98,9 @@
<if test="createTime !=null and createTime !='' ">
and createTime = #{createTime}
<if test="locationStatus !=null and locationStatus !='' ">
and locationStatus = #{locationStatus}
<if test="completedTotalTasks !=null and completedTotalTasks !='' ">
and completedTotalTasks = #{completedTotalTasks}
@@ -14,6 +14,9 @@
<if test="submissionTime !=null and submissionTime !='' ">
and submissionTime = #{submissionTime}
<if test="totalStock !=null and totalStock !='' ">
and totalStock = #{totalStock}