|
|
@ -224,7 +224,7 @@ public class MesSpotCheckOrderService extends BaseMesService<MesSpotCheckOrder>
|
|
|
|
|
|
|
|
|
|
|
|
//获取点检方案明细 主表明细表 spotCheckId-pid关联
|
|
|
|
//获取点检方案明细 主表明细表 spotCheckId-pid关联
|
|
|
|
DdlPackBean packBean = DdlPackBean.getDdlPackBean(bean.getOrganizeCode());
|
|
|
|
DdlPackBean packBean = DdlPackBean.getDdlPackBean(bean.getOrganizeCode());
|
|
|
|
DdlPreparedPack.getNumberBiggerEqualPack(bean.getSpotCheckId(), "pid", packBean);
|
|
|
|
DdlPreparedPack.getNumEqualPack(bean.getSpotCheckId(), "pid", packBean);
|
|
|
|
List<MesEquipmentSpotCheckDetail> detailList = equipmentSpotCheckDetailRepository.findByHqlWhere(packBean);
|
|
|
|
List<MesEquipmentSpotCheckDetail> detailList = equipmentSpotCheckDetailRepository.findByHqlWhere(packBean);
|
|
|
|
|
|
|
|
|
|
|
|
if (CollectionUtils.isEmpty(detailList)) {
|
|
|
|
if (CollectionUtils.isEmpty(detailList)) {
|
|
|
|