Parcourir la source

update 报表库存xml加id查询条件

wangshuangpan il y a 1 mois
Parent
commit
a749f0459e
43 fichiers modifiés avec 129 ajouts et 0 suppressions
  1. 3 0
      health-system/src/main/resources/mapper/kc/bb/SKcBbInventoryvariationMapper.xml
  2. 3 0
      health-system/src/main/resources/mapper/kc/bb/SKcBbJxcspmxStoreinventorychangesMapper.xml
  3. 3 0
      health-system/src/main/resources/mapper/kc/bb/SKcBbMaintenanceorderitemsMapper.xml
  4. 3 0
      health-system/src/main/resources/mapper/kc/bb/SKcBbProductinspectionMapper.xml
  5. 3 0
      health-system/src/main/resources/mapper/kc/bb/SKcBbQdjlCleaningitemsMapper.xml
  6. 3 0
      health-system/src/main/resources/mapper/kc/bb/SKcBbQualityreportitemsMapper.xml
  7. 3 0
      health-system/src/main/resources/mapper/kc/bb/SKcBbReceiptorderitemsMapper.xml
  8. 3 0
      health-system/src/main/resources/mapper/kc/bb/SKcBbRefillingitemsMapper.xml
  9. 3 0
      health-system/src/main/resources/mapper/kc/bb/SKcBbRequisitionorderitemsMapper.xml
  10. 3 0
      health-system/src/main/resources/mapper/kc/bb/SKcBbRetailsalesMapper.xml
  11. 3 0
      health-system/src/main/resources/mapper/kc/bb/SKcBbReturnorderitemsMapper.xml
  12. 3 0
      health-system/src/main/resources/mapper/kc/bb/SKcBbSalesanddispensingMapper.xml
  13. 3 0
      health-system/src/main/resources/mapper/kc/bb/SKcBbStoreinventorycostMapper.xml
  14. 3 0
      health-system/src/main/resources/mapper/kc/crk/SKcCrkArrivalinfoMapper.xml
  15. 3 0
      health-system/src/main/resources/mapper/kc/crk/SKcCrkCkReceiptinfoMapper.xml
  16. 3 0
      health-system/src/main/resources/mapper/kc/crk/SKcCrkDcddStorepurchaseorderMapper.xml
  17. 3 0
      health-system/src/main/resources/mapper/kc/crk/SKcCrkDcshStorepurchasereceiptMapper.xml
  18. 3 0
      health-system/src/main/resources/mapper/kc/crk/SKcCrkDcshStorepurchaserequestMapper.xml
  19. 3 0
      health-system/src/main/resources/mapper/kc/crk/SKcCrkDcthStorereturnorderMapper.xml
  20. 3 0
      health-system/src/main/resources/mapper/kc/crk/SKcCrkDzysDeliveryorderMapper.xml
  21. 3 0
      health-system/src/main/resources/mapper/kc/crk/SKcCrkDzysEmployeesignaturestatusMapper.xml
  22. 3 0
      health-system/src/main/resources/mapper/kc/crk/SKcCrkMdqhRequisitionapplicationMapper.xml
  23. 3 0
      health-system/src/main/resources/mapper/kc/crk/SKcCrkMdqhdRequisitionorderMapper.xml
  24. 3 0
      health-system/src/main/resources/mapper/kc/crk/SKcCrkMdshReceiptdocumentMapper.xml
  25. 3 0
      health-system/src/main/resources/mapper/kc/crk/SKcCrkOutinfoMapper.xml
  26. 3 0
      health-system/src/main/resources/mapper/kc/crk/SKcCrkThReturnMapper.xml
  27. 3 0
      health-system/src/main/resources/mapper/kc/crk/SKcCrkThshReturndocumentMapper.xml
  28. 3 0
      health-system/src/main/resources/mapper/kc/crk/SKcCrkWeeklyrequisitionstatsMapper.xml
  29. 3 0
      health-system/src/main/resources/mapper/kc/crk/SKcCrkYsrkCheckinMapper.xml
  30. 3 0
      health-system/src/main/resources/mapper/kc/kn/SKcKnAdjustmentdocumentMapper.xml
  31. 3 0
      health-system/src/main/resources/mapper/kc/kn/SKcKnClyhStoremaintenancesheetMapper.xml
  32. 3 0
      health-system/src/main/resources/mapper/kc/kn/SKcKnKqydStoreorderdetailsMapper.xml
  33. 3 0
      health-system/src/main/resources/mapper/kc/kn/SKcKnKyspStoredocumentMapper.xml
  34. 3 0
      health-system/src/main/resources/mapper/kc/kn/SKcKnLskcStoreproductinventoryMapper.xml
  35. 3 0
      health-system/src/main/resources/mapper/kc/kn/SKcKnMdkcStoreproductstockMapper.xml
  36. 3 0
      health-system/src/main/resources/mapper/kc/kn/SKcKnPdrwInventorytaskMapper.xml
  37. 3 0
      health-system/src/main/resources/mapper/kc/kn/SKcKnQdjlCleaningitemsMapper.xml
  38. 3 0
      health-system/src/main/resources/mapper/kc/kn/SKcKnQdjllClearancesheetMapper.xml
  39. 3 0
      health-system/src/main/resources/mapper/kc/kn/SKcKnRefillsheetMapper.xml
  40. 3 0
      health-system/src/main/resources/mapper/kc/kn/SKcKnStoragelocationMapper.xml
  41. 3 0
      health-system/src/main/resources/mapper/kc/kn/SKcKnStoreinventorystatsMapper.xml
  42. 3 0
      health-system/src/main/resources/mapper/kc/kn/SKcKnTransferzonedocumentMapper.xml
  43. 3 0
      health-system/src/main/resources/mapper/kc/kn/SKcKnZxyjStorestaleproductsMapper.xml

+ 3 - 0
health-system/src/main/resources/mapper/kc/bb/SKcBbInventoryvariationMapper.xml

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

+ 3 - 0
health-system/src/main/resources/mapper/kc/bb/SKcBbJxcspmxStoreinventorychangesMapper.xml

@@ -74,6 +74,9 @@
         <if test="inventoryChangeTime !=null and inventoryChangeTime !='' ">
             and inventoryChangeTime = #{inventoryChangeTime}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/bb/SKcBbMaintenanceorderitemsMapper.xml

@@ -59,6 +59,9 @@
         <if test="maintainer !=null and maintainer !='' ">
             and maintainer = #{maintainer}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/bb/SKcBbProductinspectionMapper.xml

@@ -77,6 +77,9 @@
         <if test="inspector !=null and inspector !='' ">
             and inspector = #{inspector}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/bb/SKcBbQdjlCleaningitemsMapper.xml

@@ -35,6 +35,9 @@
         <if test="cleaner !=null and cleaner !='' ">
             and cleaner = #{cleaner}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/bb/SKcBbQualityreportitemsMapper.xml

@@ -50,6 +50,9 @@
         <if test="reporter !=null and reporter !='' ">
             and reporter = #{reporter}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/bb/SKcBbReceiptorderitemsMapper.xml

@@ -59,6 +59,9 @@
         <if test="receiver !=null and receiver !='' ">
             and receiver = #{receiver}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/bb/SKcBbRefillingitemsMapper.xml

@@ -38,6 +38,9 @@
         <if test="verifier !=null and verifier !='' ">
             and verifier = #{verifier}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/bb/SKcBbRequisitionorderitemsMapper.xml

@@ -41,6 +41,9 @@
         <if test="requisitioner !=null and requisitioner !='' ">
             and requisitioner = #{requisitioner}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/bb/SKcBbRetailsalesMapper.xml

@@ -47,6 +47,9 @@
         <if test="expirationDate !=null and expirationDate !='' ">
             and expirationDate = #{expirationDate}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/bb/SKcBbReturnorderitemsMapper.xml

@@ -44,6 +44,9 @@
         <if test="returner !=null and returner !='' ">
             and returner = #{returner}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/bb/SKcBbSalesanddispensingMapper.xml

@@ -47,6 +47,9 @@
         <if test="verifier !=null and verifier !='' ">
             and verifier = #{verifier}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/bb/SKcBbStoreinventorycostMapper.xml

@@ -41,6 +41,9 @@
         <if test="finalStockCost !=null and finalStockCost !='' ">
             and finalStockCost = #{finalStockCost}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/crk/SKcCrkArrivalinfoMapper.xml

@@ -32,6 +32,9 @@
         <if test="discrepancyItemCount !=null and discrepancyItemCount !='' ">
             and discrepancyItemCount = #{discrepancyItemCount}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/crk/SKcCrkCkReceiptinfoMapper.xml

@@ -32,6 +32,9 @@
         <if test="receiptDocumentStatus !=null and receiptDocumentStatus !='' ">
             and receiptDocumentStatus = #{receiptDocumentStatus}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/crk/SKcCrkDcddStorepurchaseorderMapper.xml

@@ -26,6 +26,9 @@
         <if test="headquartersConfirmationTime !=null and headquartersConfirmationTime !='' ">
             and headquartersConfirmationTime = #{headquartersConfirmationTime}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/crk/SKcCrkDcshStorepurchasereceiptMapper.xml

@@ -29,6 +29,9 @@
         <if test="receiptTime !=null and receiptTime !='' ">
             and receiptTime = #{receiptTime}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/crk/SKcCrkDcshStorepurchaserequestMapper.xml

@@ -32,6 +32,9 @@
         <if test="reviewTime !=null and reviewTime !='' ">
             and reviewTime = #{reviewTime}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/crk/SKcCrkDcthStorereturnorderMapper.xml

@@ -29,6 +29,9 @@
         <if test="reviewTime !=null and reviewTime !='' ">
             and reviewTime = #{reviewTime}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/crk/SKcCrkDzysDeliveryorderMapper.xml

@@ -35,6 +35,9 @@
         <if test="operation !=null and operation !='' ">
             and operation = #{operation}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/crk/SKcCrkDzysEmployeesignaturestatusMapper.xml

@@ -20,6 +20,9 @@
         <if test="acceptorEmployeeNumber !=null and acceptorEmployeeNumber !='' ">
             and acceptorEmployeeNumber = #{acceptorEmployeeNumber}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/crk/SKcCrkMdqhRequisitionapplicationMapper.xml

@@ -20,6 +20,9 @@
         <if test="reviewStatus !=null and reviewStatus !='' ">
             and reviewStatus = #{reviewStatus}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/crk/SKcCrkMdqhdRequisitionorderMapper.xml

@@ -20,6 +20,9 @@
         <if test="requisitionOrderStatus !=null and requisitionOrderStatus !='' ">
             and requisitionOrderStatus = #{requisitionOrderStatus}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/crk/SKcCrkMdshReceiptdocumentMapper.xml

@@ -29,6 +29,9 @@
         <if test="receiptStatus !=null and receiptStatus !='' ">
             and receiptStatus = #{receiptStatus}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/crk/SKcCrkOutinfoMapper.xml

@@ -23,6 +23,9 @@
         <if test="reviewStatus !=null and reviewStatus !='' ">
             and reviewStatus = #{reviewStatus}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/crk/SKcCrkThReturnMapper.xml

@@ -20,6 +20,9 @@
         <if test="documentStatus !=null and documentStatus !='' ">
             and documentStatus = #{documentStatus}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/crk/SKcCrkThshReturndocumentMapper.xml

@@ -26,6 +26,9 @@
         <if test="warehouseArea !=null and warehouseArea !='' ">
             and warehouseArea = #{warehouseArea}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/crk/SKcCrkWeeklyrequisitionstatsMapper.xml

@@ -62,6 +62,9 @@
         <if test="confirmedSubmissionQuantity !=null and confirmedSubmissionQuantity !='' ">
             and confirmedSubmissionQuantity = #{confirmedSubmissionQuantity}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/crk/SKcCrkYsrkCheckinMapper.xml

@@ -26,6 +26,9 @@
         <if test="entrustedShipmentNumber !=null and entrustedShipmentNumber !='' ">
             and entrustedShipmentNumber = #{entrustedShipmentNumber}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/kn/SKcKnAdjustmentdocumentMapper.xml

@@ -35,6 +35,9 @@
         <if test="status !=null and status !='' ">
             and status = #{status}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/kn/SKcKnClyhStoremaintenancesheetMapper.xml

@@ -23,6 +23,9 @@
         <if test="status !=null and status !='' ">
             and status = #{status}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/kn/SKcKnKqydStoreorderdetailsMapper.xml

@@ -44,6 +44,9 @@
         <if test="specification !=null and specification !='' ">
             and specification = #{specification}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/kn/SKcKnKyspStoredocumentMapper.xml

@@ -17,6 +17,9 @@
         <if test="status !=null and status !='' ">
             and status = #{status}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/kn/SKcKnLskcStoreproductinventoryMapper.xml

@@ -92,6 +92,9 @@
         <if test="salesAttribute !=null and salesAttribute !='' ">
             and salesAttribute = #{salesAttribute}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/kn/SKcKnMdkcStoreproductstockMapper.xml

@@ -98,6 +98,9 @@
         <if test="salesAttribute !=null and salesAttribute !='' ">
             and salesAttribute = #{salesAttribute}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/kn/SKcKnPdrwInventorytaskMapper.xml

@@ -47,6 +47,9 @@
         <if test="createTime !=null and createTime !='' ">
             and createTime = #{createTime}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/kn/SKcKnQdjlCleaningitemsMapper.xml

@@ -35,6 +35,9 @@
         <if test="cleaner !=null and cleaner !='' ">
             and cleaner = #{cleaner}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/kn/SKcKnQdjllClearancesheetMapper.xml

@@ -29,6 +29,9 @@
         <if test="status !=null and status !='' ">
             and status = #{status}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/kn/SKcKnRefillsheetMapper.xml

@@ -29,6 +29,9 @@
         <if test="status !=null and status !='' ">
             and status = #{status}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/kn/SKcKnStoragelocationMapper.xml

@@ -26,6 +26,9 @@
         <if test="locationStatus !=null and locationStatus !='' ">
             and locationStatus = #{locationStatus}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/kn/SKcKnStoreinventorystatsMapper.xml

@@ -35,6 +35,9 @@
         <if test="completedTotalTasks !=null and completedTotalTasks !='' ">
             and completedTotalTasks = #{completedTotalTasks}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/kn/SKcKnTransferzonedocumentMapper.xml

@@ -14,6 +14,9 @@
         <if test="submissionTime !=null and submissionTime !='' ">
             and submissionTime = #{submissionTime}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>
 
 

+ 3 - 0
health-system/src/main/resources/mapper/kc/kn/SKcKnZxyjStorestaleproductsMapper.xml

@@ -29,6 +29,9 @@
         <if test="totalStock !=null and totalStock !='' ">
             and totalStock = #{totalStock}
         </if>
+        <if test="id !=null and id !='' ">
+            and id = #{id}
+        </if>
     </select>