|
|
@ -142,7 +142,7 @@ public class MesSpotCheckOrderService implements IMesSpotCheckOrderService {
|
|
|
|
for (List<Long> tmp : ListUtils.partition(setEquipVariableIdList, MesCommonConstant.MAX_PAGER_SIZE)) {
|
|
|
|
for (List<Long> tmp : ListUtils.partition(setEquipVariableIdList, MesCommonConstant.MAX_PAGER_SIZE)) {
|
|
|
|
DdlPackBean packBean = DdlPackBean.getDdlPackBean(org);
|
|
|
|
DdlPackBean packBean = DdlPackBean.getDdlPackBean(org);
|
|
|
|
DdlPreparedPack.getInPackList(tmp, "equipVariableId", packBean);
|
|
|
|
DdlPreparedPack.getInPackList(tmp, "equipVariableId", packBean);
|
|
|
|
// DdlPreparedPack.getNumEqualPack(model.getSpotCheckOrder().getEquipId(), "equipId", packBean);
|
|
|
|
DdlPreparedPack.getNumEqualPack(model.getSpotCheckOrder().getEquipId(), "id", packBean);
|
|
|
|
setEquipmentLogList.addAll(equipmentLogRepository.findByHqlWhere(packBean));
|
|
|
|
setEquipmentLogList.addAll(equipmentLogRepository.findByHqlWhere(packBean));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//设定值地址数据Map
|
|
|
|
//设定值地址数据Map
|
|
|
@ -152,7 +152,7 @@ public class MesSpotCheckOrderService implements IMesSpotCheckOrderService {
|
|
|
|
for (List<Long> tmp : ListUtils.partition(realEquipVariableIdList, MesCommonConstant.MAX_PAGER_SIZE)) {
|
|
|
|
for (List<Long> tmp : ListUtils.partition(realEquipVariableIdList, MesCommonConstant.MAX_PAGER_SIZE)) {
|
|
|
|
DdlPackBean packBean = DdlPackBean.getDdlPackBean(org);
|
|
|
|
DdlPackBean packBean = DdlPackBean.getDdlPackBean(org);
|
|
|
|
DdlPreparedPack.getInPackList(tmp, "equipVariableId", packBean);
|
|
|
|
DdlPreparedPack.getInPackList(tmp, "equipVariableId", packBean);
|
|
|
|
// DdlPreparedPack.getNumEqualPack(model.getSpotCheckOrder().getEquipId(), "equipId", packBean);
|
|
|
|
DdlPreparedPack.getNumEqualPack(model.getSpotCheckOrder().getEquipId(), "id", packBean);
|
|
|
|
realEquipmentLogList.addAll(equipmentLogRepository.findByHqlWhere(packBean));
|
|
|
|
realEquipmentLogList.addAll(equipmentLogRepository.findByHqlWhere(packBean));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//实际值地址数据Map
|
|
|
|
//实际值地址数据Map
|
|
|
|