diff --git a/sgzb-modules/sgzb-material/src/main/resources/mapper/app/BackReceiveMapper.xml b/sgzb-modules/sgzb-material/src/main/resources/mapper/app/BackReceiveMapper.xml index c19a859..2636e42 100644 --- a/sgzb-modules/sgzb-material/src/main/resources/mapper/app/BackReceiveMapper.xml +++ b/sgzb-modules/sgzb-material/src/main/resources/mapper/app/BackReceiveMapper.xml @@ -770,7 +770,7 @@ FROM back_check_details WHERE - parent_id=#{id} and is_finished = 1 + parent_id=#{parentId} and is_finished = 1 GROUP BY type_id ) bb on bb.typeId=bad.type_id WHERE