优化生产新增空小板接口逻辑修改,分页打包接口板材参数修改

This commit is contained in:
liuzhaotian
2024-07-04 18:37:26 +08:00
parent 7862c8188c
commit 4465f401c8
3 changed files with 17 additions and 5 deletions
@@ -69,8 +69,6 @@ public interface OrderPackageMapper extends BaseMapperX<OrderPackageDO> {
.eqIfPresent(OrderPackageDO::getId, packageId));
}
void updatePackStatus(Long packageId);
List<PackRespVO> selectPackPieceCount(@Param("orderIds") List<Long> orderIds, @Param("organId") Long organId);
}
@@ -44,9 +44,8 @@
from order_package op
join order_item oi on op.id = oi.package_id and op.organ_id = oi.organ_id
where op.status &lt;&gt; 0
and oi.package_id !=0
and plate_id != 0
where oi.package_id !=0
and oi.plate_id != 0
and op.organ_id =#{organId}
and op.order_id in
<foreach item="id" collection="orderIds" open="(" separator="," close=")">