Browse Source

去掉,用户提示

master
zhangyongzhangyong 5 years ago
parent
commit
8f117580b2
  1. 10
      epmet-module/epmet-point/epmet-point-client/src/main/java/com/epmet/dto/form/ResiAroundPartyPointRankFormDTO.java
  2. 1
      epmet-module/epmet-point/epmet-point-server/src/main/java/com/epmet/controller/ResiPointController.java

10
epmet-module/epmet-point/epmet-point-client/src/main/java/com/epmet/dto/form/ResiAroundPartyPointRankFormDTO.java

@ -16,12 +16,10 @@ import java.util.List;
public class ResiAroundPartyPointRankFormDTO implements Serializable {
private static final long serialVersionUID = 1534061512200591149L;
public interface ResiAroundPartyPointRankGroup extends CustomerClientShowGroup{}
/**
* 页码
* */
@Min(value = 1,groups = ResiAroundPartyPointRankGroup.class)
@Min(value = 1)
private Integer pageNo = 1;
/**
@ -32,19 +30,19 @@ public class ResiAroundPartyPointRankFormDTO implements Serializable {
/**
* 身边党员 grid 社区党员community
* */
@NotBlank(message = "查询的部门维度scope不能为空",groups = ResiAroundPartyPointRankFormDTO.ResiAroundPartyPointRankGroup.class)
@NotBlank(message = "查询的部门维度scope不能为空")
private String scope;
/**
* 本月 monthly 总排行 all;
* */
@NotBlank(message = "查询的时间维度type不能为空",groups = ResiAroundPartyPointRankFormDTO.ResiAroundPartyPointRankGroup.class)
@NotBlank(message = "查询的时间维度type不能为空")
private String type;
/**
* 当前网格id
* */
@NotBlank(message = "网格id不能为空",groups = ResiAroundPartyPointRankFormDTO.ResiAroundPartyPointRankGroup.class)
@NotBlank(message = "网格id不能为空")
private String gridId;
/**

1
epmet-module/epmet-point/epmet-point-server/src/main/java/com/epmet/controller/ResiPointController.java

@ -153,7 +153,6 @@ public class ResiPointController {
**/
@PostMapping("aroundparty")
public Result<List<ResiAroundPartyPointRankResultDTO>> aroundPartyPointRank( @RequestBody ResiAroundPartyPointRankFormDTO formDTO){
ValidatorUtils.validateEntity(formDTO,ResiAroundPartyPointRankFormDTO.ResiAroundPartyPointRankGroup.class);
List<ResiAroundPartyPointRankResultDTO> resultDTOS = userPointStatisticalDailyService.listAroundPartyPointRank(formDTO);
return new Result<List<ResiAroundPartyPointRankResultDTO>>().ok(resultDTOS);
}

Loading…
Cancel
Save