This commit is contained in:
parent
3b587c8ed3
commit
e3e152b852
|
|
@ -334,8 +334,8 @@ public class BackReceiveController extends BaseController {
|
||||||
public AjaxResult backReceiveRecordWeb(@RequestBody BackApplyInfo record) {
|
public AjaxResult backReceiveRecordWeb(@RequestBody BackApplyInfo record) {
|
||||||
try {
|
try {
|
||||||
List<BackApplyInfo> list = backReceiveService.backReceiveRecordWeb(record);
|
List<BackApplyInfo> list = backReceiveService.backReceiveRecordWeb(record);
|
||||||
Integer pageIndex = Convert.toInt(ServletUtils.getParameter(PAGE_NUM), 1);
|
Integer pageIndex = Convert.toInt(record.getPageNum(), 1);
|
||||||
Integer pageSize = Convert.toInt(ServletUtils.getParameter(PAGE_SIZE), 10);
|
Integer pageSize = Convert.toInt(record.getPageSize(), 10);
|
||||||
return AjaxResult.success(ListPagingUtil.paging(pageIndex, pageSize, list));
|
return AjaxResult.success(ListPagingUtil.paging(pageIndex, pageSize, list));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
|
|
@ -347,8 +347,8 @@ public class BackReceiveController extends BaseController {
|
||||||
public AjaxResult backReceiveRecordWebPt(@RequestBody BackApplyInfo record) {
|
public AjaxResult backReceiveRecordWebPt(@RequestBody BackApplyInfo record) {
|
||||||
try {
|
try {
|
||||||
List<BackApplyInfo> list = backReceiveService.backReceiveRecordWebPt(record);
|
List<BackApplyInfo> list = backReceiveService.backReceiveRecordWebPt(record);
|
||||||
Integer pageIndex = Convert.toInt(ServletUtils.getParameter(PAGE_NUM), 1);
|
Integer pageIndex = Convert.toInt(record.getPageNum(), 1);
|
||||||
Integer pageSize = Convert.toInt(ServletUtils.getParameter(PAGE_SIZE), 10);
|
Integer pageSize = Convert.toInt(record.getPageSize(), 10);
|
||||||
return AjaxResult.success(ListPagingUtil.paging(pageIndex, pageSize, list));
|
return AjaxResult.success(ListPagingUtil.paging(pageIndex, pageSize, list));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
|
|
|
||||||
|
|
@ -462,7 +462,8 @@
|
||||||
su.nick_name leasePerson,
|
su.nick_name leasePerson,
|
||||||
su2.nick_name outPerson,
|
su2.nick_name outPerson,
|
||||||
mm.ma_code,
|
mm.ma_code,
|
||||||
lod.car_code
|
lod.car_code,
|
||||||
|
mt.unit_name as unitName
|
||||||
FROM
|
FROM
|
||||||
lease_out_details lod
|
lease_out_details lod
|
||||||
LEFT JOIN lease_apply_details lad ON lod.parent_id = lad.parennt_id
|
LEFT JOIN lease_apply_details lad ON lod.parent_id = lad.parennt_id
|
||||||
|
|
|
||||||
|
|
@ -196,8 +196,8 @@ public class ScrapApplyDetailsController extends BaseController {
|
||||||
public AjaxResult scrapReceiveRecordWeb(@RequestBody BackApplyInfo record) {
|
public AjaxResult scrapReceiveRecordWeb(@RequestBody BackApplyInfo record) {
|
||||||
try {
|
try {
|
||||||
List<BackApplyInfo> list = scrapApplyDetailsService.scrapReceiveRecordWeb(record);
|
List<BackApplyInfo> list = scrapApplyDetailsService.scrapReceiveRecordWeb(record);
|
||||||
Integer pageIndex = com.bonus.sgzb.common.core.text.Convert.toInt(ServletUtils.getParameter(PAGE_NUM), 1);
|
Integer pageIndex = Convert.toInt(record.getPageNum(), 1);
|
||||||
Integer pageSize = com.bonus.sgzb.common.core.text.Convert.toInt(ServletUtils.getParameter(TableSupport.PAGE_SIZE), 10);
|
Integer pageSize = Convert.toInt(record.getPageSize(), 10);
|
||||||
return AjaxResult.success(ListPagingUtil.paging(pageIndex, pageSize, list));
|
return AjaxResult.success(ListPagingUtil.paging(pageIndex, pageSize, list));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
|
|
@ -209,8 +209,8 @@ public class ScrapApplyDetailsController extends BaseController {
|
||||||
public AjaxResult scrapReceiveRecordWebPt(@RequestBody BackApplyInfo record) {
|
public AjaxResult scrapReceiveRecordWebPt(@RequestBody BackApplyInfo record) {
|
||||||
try {
|
try {
|
||||||
List<BackApplyInfo> list = scrapApplyDetailsService.backReceiveRecordWebPt(record);
|
List<BackApplyInfo> list = scrapApplyDetailsService.backReceiveRecordWebPt(record);
|
||||||
Integer pageIndex = com.bonus.sgzb.common.core.text.Convert.toInt(ServletUtils.getParameter(PAGE_NUM), 1);
|
Integer pageIndex = Convert.toInt(record.getPageNum(), 1);
|
||||||
Integer pageSize = com.bonus.sgzb.common.core.text.Convert.toInt(ServletUtils.getParameter(TableSupport.PAGE_SIZE), 10);
|
Integer pageSize = Convert.toInt(record.getPageSize(), 10);
|
||||||
return AjaxResult.success(ListPagingUtil.paging(pageIndex, pageSize, list));
|
return AjaxResult.success(ListPagingUtil.paging(pageIndex, pageSize, list));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
|
|
|
||||||
|
|
@ -290,4 +290,12 @@ public class BackApplyInfo extends BaseEntity {
|
||||||
|
|
||||||
/** 预报废单号*/
|
/** 预报废单号*/
|
||||||
private String forecastWasteCode;
|
private String forecastWasteCode;
|
||||||
|
|
||||||
|
/**页数 */
|
||||||
|
private Integer pageNum;
|
||||||
|
|
||||||
|
/** 条数 *、
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
private Integer pageSize;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue