bug:分标委搜索
This commit is contained in:
+11
-13
@@ -1,5 +1,8 @@
|
|||||||
package com.jero.dataMangement.payCaseCommitteeSubitem.controller;
|
package com.jero.dataMangement.payCaseCommitteeSubitem.controller;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
import com.baomidou.mybatisplus.core.toolkit.StringUtils;
|
import com.baomidou.mybatisplus.core.toolkit.StringUtils;
|
||||||
@@ -68,24 +71,19 @@ public class PayCaseCommitteeSubitemController extends JeroController<PayCaseCom
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 分页列表查询
|
* 列表查询
|
||||||
* @param payCaseCommitteeSubitem
|
|
||||||
* @param pageNo
|
* @param pageNo
|
||||||
* @param pageSize
|
* @param pageSize
|
||||||
* @param req
|
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@AutoLog(value = "分标委成员表-分页列表查询")
|
@AutoLog(value = "分标委成员表-列表查询")
|
||||||
@ApiOperation(value="分标委成员表-分页列表查询", notes="分标委成员表-分页列表查询")
|
@ApiOperation(value="分标委成员表-列表查询", notes="分标委成员表-列表查询")
|
||||||
@GetMapping(value = "/list")
|
@GetMapping(value = "/list")
|
||||||
public Result<?> queryPageList(PayCaseCommitteeSubitem payCaseCommitteeSubitem,
|
public Result<?> queryPageList(@RequestParam(name="id",required =false) String id) {
|
||||||
@RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
|
LambdaQueryWrapper<PayCaseCommitteeSubitem> lambdaQueryWrapper = new LambdaQueryWrapper();
|
||||||
@RequestParam(name="pageSize", defaultValue="10") Integer pageSize,
|
lambdaQueryWrapper.eq(PayCaseCommitteeSubitem::getCommitteeId,id);
|
||||||
HttpServletRequest req) {
|
List<PayCaseCommitteeSubitem> list = payCaseCommitteeSubitemService.list(lambdaQueryWrapper);
|
||||||
QueryWrapper<PayCaseCommitteeSubitem> queryWrapper = QueryGenerator.initQueryWrapper(payCaseCommitteeSubitem, req.getParameterMap());
|
return Result.OK(list);
|
||||||
Page<PayCaseCommitteeSubitem> page = new Page<PayCaseCommitteeSubitem>(pageNo, pageSize);
|
|
||||||
IPage<PayCaseCommitteeSubitem> pageList = payCaseCommitteeSubitemService.page(page, queryWrapper);
|
|
||||||
return Result.OK(pageList);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+26
@@ -0,0 +1,26 @@
|
|||||||
|
package com.jero.dataMangement.payCaseCommitteeSubitem.entity.VO;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModel;
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@ApiModel(value="payCaseCommitteeSubitemVO对象", description="分标委成员返回对象")
|
||||||
|
public class payCaseCommitteeSubitemVO {
|
||||||
|
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "分标委成员主键")
|
||||||
|
private java.lang.String id;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "企业名称")
|
||||||
|
private java.lang.String companyName;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "联系人名称")
|
||||||
|
private java.lang.String contactsName;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "联系人手机号")
|
||||||
|
private String PhoneNamber;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "职务")
|
||||||
|
private String Post;
|
||||||
|
}
|
||||||
+22
@@ -0,0 +1,22 @@
|
|||||||
|
package com.jero.dataMangement.payCaseCommitteeSubitem.entity;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
@Data
|
||||||
|
public class childrenFindByName implements Serializable {
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "企业名称")
|
||||||
|
private java.lang.String companyName;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "姓名")
|
||||||
|
private java.lang.String peopleName;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "电话")
|
||||||
|
private java.lang.String phone;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "职位")
|
||||||
|
private java.lang.String post;
|
||||||
|
|
||||||
|
}
|
||||||
+23
@@ -0,0 +1,23 @@
|
|||||||
|
package com.jero.dataMangement.payCaseCommitteeSubitem.entity;
|
||||||
|
|
||||||
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class findByName implements Serializable {
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "主键")
|
||||||
|
private java.lang.String id;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "分标委名称")
|
||||||
|
private java.lang.String name;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "子目录分标委成员")
|
||||||
|
private List<childrenFindByName> list;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user