|
@@ -264,10 +264,11 @@ public class InsuranceApplicationController {
|
|
|
@ApiImplicitParam(name="definitionId",value = "险种ID",paramType = "query"),
|
|
|
@ApiImplicitParam(name="insuredName",value = "投保人姓名",paramType = "query"),
|
|
|
@ApiImplicitParam(name="startTime",value = "开始时间",paramType = "query"),
|
|
|
- @ApiImplicitParam(name="endTime",value = "结束时间",paramType = "query")
|
|
|
+ @ApiImplicitParam(name="endTime",value = "结束时间",paramType = "query"),
|
|
|
+ @ApiImplicitParam(name="userType",value = "用户类型(0为人才超市,1为PICC)",paramType = "query")
|
|
|
})
|
|
|
public MessageResult<Map> pageList(
|
|
|
- String status,String definitionId,String insuredName,String startTime,String endTime,
|
|
|
+ String status,String definitionId,String insuredName,String startTime,String endTime,String userType,
|
|
|
@RequestParam(value="pageIndex",defaultValue="1") int pageIndex,
|
|
|
@RequestParam(value="pageSize",defaultValue="20") int pageSize,
|
|
|
@RequestAttribute String subject){
|
|
@@ -302,6 +303,12 @@ public class InsuranceApplicationController {
|
|
|
searchParams.put("endTime",endTime);
|
|
|
}
|
|
|
|
|
|
+ if (StringUtils.isNotEmpty(userType)) {
|
|
|
+ if(userType.equals("1")){
|
|
|
+ searchParams.put("userType",userType);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
Page<InsuranceApplication> page = insuranceApplicationService.pageSearch(searchParams,pageIndex,pageSize,sortList);
|
|
|
|
|
|
msgResult.setResult(true);
|