商业合作伙伴查询
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
package com.mhd.user.interfaces.facade;
|
package com.mhd.user.interfaces.facade;
|
||||||
|
|
||||||
|
import com.github.pagehelper.PageHelper;
|
||||||
import com.mhd.common.core.domain.entity.R;
|
import com.mhd.common.core.domain.entity.R;
|
||||||
import com.mhd.common.core.utils.bean.BeanUtils;
|
import com.mhd.common.core.utils.bean.BeanUtils;
|
||||||
import com.mhd.common.log.annotation.Log;
|
import com.mhd.common.log.annotation.Log;
|
||||||
@@ -254,4 +255,17 @@ public class UserShipperAPI extends BaseController {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Log(title = "托运人管理-查询", description ="查询托运人列表",businessType = BusinessType.INQUIRE)
|
||||||
|
@ApiOperation("查询托运人列表")
|
||||||
|
@GetMapping("/userShipperList1")
|
||||||
|
public TableDataInfo userShipperList1(UserShipperDTO userShipperDTO,
|
||||||
|
@RequestParam(value = "pageNo", required = false, defaultValue = "1") Integer pageNo,
|
||||||
|
@RequestParam(value = "pageSize", required = false, defaultValue = "10") Integer pageSize) {
|
||||||
|
//转换实体
|
||||||
|
UserShipperDO userShipperDO = userShipperAssember.toUserShipperDO(userShipperDTO);
|
||||||
|
PageHelper.startPage(pageNo, pageSize);
|
||||||
|
List<UserShipperPo> list = userShipperApplicationService.userShipperList(userShipperDO);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user