版本更新
This commit is contained in:
@@ -196,6 +196,7 @@
|
||||
<select id="selectInventoryItemInfo" resultType="com.openhis.web.common.dto.LocationInventoryDto">
|
||||
SELECT T1.item_id,
|
||||
T1.item_table,
|
||||
T1.location_id,
|
||||
SUM(CASE WHEN T1.location_id = #{objLocationId} THEN T1.quantity ELSE 0 END) AS obj_quantity,
|
||||
SUM(CASE WHEN T1.location_id = #{orgLocationId} THEN T1.quantity ELSE 0 END) AS org_quantity,
|
||||
T1.unit_code,
|
||||
@@ -272,6 +273,7 @@
|
||||
</choose>
|
||||
GROUP BY T1.item_id,
|
||||
T1.item_table,
|
||||
T1.location_id,
|
||||
T1.unit_code,
|
||||
T1.production_date,
|
||||
T1.expiration_date,
|
||||
|
||||
Reference in New Issue
Block a user