|
@@ -588,6 +588,7 @@ public class WarehouseInOutInfoServiceImpl extends ServiceImpl<WarehouseInOutInf
|
|
pageView.put("searchType", warehouseInOutInfo.getSearchType());
|
|
pageView.put("searchType", warehouseInOutInfo.getSearchType());
|
|
pageView.put("pageSize", warehouseInOutInfo.getPageSize());
|
|
pageView.put("pageSize", warehouseInOutInfo.getPageSize());
|
|
pageView.put("currentPage", warehouseInOutInfo.getCurrentPage());
|
|
pageView.put("currentPage", warehouseInOutInfo.getCurrentPage());
|
|
|
|
+ pageView.put("phone", warehouseInOutInfo.getPhone());
|
|
// 查询记录总数
|
|
// 查询记录总数
|
|
Integer dataCount = baseMapper.getCountByCondition(pageView);
|
|
Integer dataCount = baseMapper.getCountByCondition(pageView);
|
|
List<WarehouseInOutInfo> dataList = baseMapper.getListByCondition(pageView);
|
|
List<WarehouseInOutInfo> dataList = baseMapper.getListByCondition(pageView);
|
|
@@ -609,6 +610,7 @@ public class WarehouseInOutInfoServiceImpl extends ServiceImpl<WarehouseInOutInf
|
|
Map<String, Object> pageView = new HashMap<>();
|
|
Map<String, Object> pageView = new HashMap<>();
|
|
pageView.put("keyWord",warehouseInOutInfo.getKeyWord());
|
|
pageView.put("keyWord",warehouseInOutInfo.getKeyWord());
|
|
pageView.put("statusFlag",warehouseInOutInfo.getStatusFlag());
|
|
pageView.put("statusFlag",warehouseInOutInfo.getStatusFlag());
|
|
|
|
+ pageView.put("phone",warehouseInOutInfo.getPhone());
|
|
List<WarehouseInOutInfo> dataList = baseMapper.selectInfoByKeyWord(pageView);
|
|
List<WarehouseInOutInfo> dataList = baseMapper.selectInfoByKeyWord(pageView);
|
|
return dataList;
|
|
return dataList;
|
|
}
|
|
}
|
|
@@ -742,5 +744,19 @@ public class WarehouseInOutInfoServiceImpl extends ServiceImpl<WarehouseInOutInf
|
|
.orderBy("update_date", false));
|
|
.orderBy("update_date", false));
|
|
return warehouseInOutInfoList;
|
|
return warehouseInOutInfoList;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 流转记录查询
|
|
|
|
+ *
|
|
|
|
+ * @param phone
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ @Override
|
|
|
|
+ public Integer selectCountByPhone(String phone) {
|
|
|
|
+ Map<String, Object> pageView = new HashMap<>();
|
|
|
|
+ pageView.put("statusFlag", 1);
|
|
|
|
+ pageView.put("phone", phone);
|
|
|
|
+ // 查询记录总数
|
|
|
|
+ Integer dataCount = baseMapper.getCountByCondition(pageView);
|
|
|
|
+ return dataCount;
|
|
|
|
+ }
|
|
}
|
|
}
|