分页修改

This commit is contained in:
haozq 2024-11-08 16:20:23 +08:00
parent 7dbe8e0adb
commit 91dd5a0e4c
3 changed files with 17 additions and 29 deletions

View File

@ -93,18 +93,18 @@ public class PlanOutController {
// /**
// * 发货接口
// * @return
// */
// @PostMapping("getOutDetails")
// @DecryptAndVerify(decryptedClass = ProNeedInfo.class)
// public PageInfo<ProNeedInfo> getOutDetails(EncryptedReq<ProNeedInfo> dto) {
// PageHelper.startPage(dto.getData().getPageNum(),dto.getData().getPageSize());
// PageInfo<ProNeedInfo> pageInfo = service.getProPlanPage(dto.getData());;
// return pageInfo;
// }
//
/**
* 发货接口
* @return
*/
@PostMapping("getOutDetails")
@DecryptAndVerify(decryptedClass = ProNeedInfo.class)
public PageInfo<ProNeedInfo> getOutDetails(EncryptedReq<ProNeedInfo> dto) {
PageHelper.startPage(dto.getPageNum(),dto.getPageSize());
PageInfo<ProNeedInfo> pageInfo = service.getOutDetails(dto.getData());;
return pageInfo;
}

View File

@ -45,10 +45,6 @@ public interface PlanOutService {
*/
ServerResponse getStatistics();
/**
* 查看发货详情接口
* @param data
* @return
*/
ServerResponse getOutDetails(String data);
PageInfo<ProNeedInfo> getOutDetails(ProNeedInfo data);
}

View File

@ -188,20 +188,12 @@ public class PlanOutServiceImpl implements PlanOutService{
return ServerResponse.createSuccess(map);
}
/**
* 查询出库货单详情
* @param data
* @return
*/
@Override
public ServerResponse getOutDetails(String data) {
try{
}catch (Exception e){
}
public PageInfo<ProNeedInfo> getOutDetails(ProNeedInfo data) {
return null;
}
public boolean planOutInfo(List<ProOutDetail> list,ProOutInfoVo vo,int allFhNum, int allTzNum){
try {
for (ProOutDetail details:list){