huangjiayang
2025-05-15 918eb3afde4886ab9d87e9f2fafbde1bf9e83587
aps-modules/aps-core/src/main/resources/mapper/core/ApsPlatePlanMapper.xml
@@ -334,4 +334,8 @@
        set unmatched_quantity=#{unmatchedQuantity},version=#{version},update_time=now()
        where id=#{id}
    </update>
    <select id="selectApsSubPlatePlan" resultType="com.alibaba.fastjson2.JSONObject">
        SELECT id,item_number as "itemNumber",document_number as "documentNumber",production_quantity as "unmatchedQuantity" FROM aps_plate_plan WHERE item_number in (SELECT item_number FROM aps_plate_plan WHERE professional_affiliation='sub'  GROUP BY item_number) order by item_number
    </select>
</mapper>