分页修改
This commit is contained in:
parent
7dbe8e0adb
commit
91dd5a0e4c
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -45,10 +45,6 @@ public interface PlanOutService {
|
|||
*/
|
||||
ServerResponse getStatistics();
|
||||
|
||||
/**
|
||||
* 查看发货详情接口
|
||||
* @param data
|
||||
* @return
|
||||
*/
|
||||
ServerResponse getOutDetails(String data);
|
||||
|
||||
PageInfo<ProNeedInfo> getOutDetails(ProNeedInfo data);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Reference in New Issue