|
@@ -77,14 +77,14 @@ public class AppPartyController {
|
|
@RequestParam(required = false) List<String> removeRybmList, @RequestParam(required = false) List<String> ryztList,
|
|
@RequestParam(required = false) List<String> removeRybmList, @RequestParam(required = false) List<String> ryztList,
|
|
@RequestParam(required = false) Integer age_begin, @RequestParam(required = false) Integer age_end, @RequestParam(required = false) Integer sfsldry,
|
|
@RequestParam(required = false) Integer age_begin, @RequestParam(required = false) Integer age_end, @RequestParam(required = false) Integer sfsldry,
|
|
@RequestParam(required = false) String xb, @RequestParam(required = false) String xl, @RequestParam(required = false) String partyGroupId,
|
|
@RequestParam(required = false) String xb, @RequestParam(required = false) String xl, @RequestParam(required = false) String partyGroupId,
|
|
- @RequestParam(required = false) String sqrdrq_begin, @RequestParam(required = false) String sqrdrq_end,@RequestParam(required = false) Integer isStudent) {
|
|
|
|
|
|
+ @RequestParam(required = false) String sqrdrq_begin, @RequestParam(required = false) String sqrdrq_end, @RequestParam(required = false) Integer isStudent) {
|
|
|
|
|
|
sqrdrq_begin = dateUtils.strFormat_short(sqrdrq_begin);
|
|
sqrdrq_begin = dateUtils.strFormat_short(sqrdrq_begin);
|
|
sqrdrq_end = dateUtils.strFormat_short(sqrdrq_end);
|
|
sqrdrq_end = dateUtils.strFormat_short(sqrdrq_end);
|
|
|
|
|
|
RequsetData<PageInfo<HashMap<String, Object>>> res = new RequsetData<>();
|
|
RequsetData<PageInfo<HashMap<String, Object>>> res = new RequsetData<>();
|
|
res.setItem(partyUserService.getPartyUserList(pageIndex, pageSize, xb, dzzdm, null, xm, null, null, sqrdrq_begin, sqrdrq_end, null, null,
|
|
res.setItem(partyUserService.getPartyUserList(pageIndex, pageSize, xb, dzzdm, null, xm, null, null, sqrdrq_begin, sqrdrq_end, null, null,
|
|
- null, ryztList, null, szdzbdm, removeRybmList, rybmList, null, null, null, xl, age_begin, age_end, sfsldry, null, null, null, userId, partyGroupId, null,isStudent,null));
|
|
|
|
|
|
+ null, ryztList, null, szdzbdm, removeRybmList, rybmList, null, null, null, xl, age_begin, age_end, sfsldry, null, null, null, userId, partyGroupId, null, isStudent, null));
|
|
|
|
|
|
return res;
|
|
return res;
|
|
}
|
|
}
|
|
@@ -264,6 +264,7 @@ public class AppPartyController {
|
|
|
|
|
|
/**
|
|
/**
|
|
* 获取并初始化党员缴费基数(学生党员默认为0.2,一般不会去设置,需系统自动初始化,逻辑为:用户登录时进行检测,若未配置,则由系统初始化)
|
|
* 获取并初始化党员缴费基数(学生党员默认为0.2,一般不会去设置,需系统自动初始化,逻辑为:用户登录时进行检测,若未配置,则由系统初始化)
|
|
|
|
+ *
|
|
* @param usercode
|
|
* @param usercode
|
|
* @param year
|
|
* @param year
|
|
* @return
|
|
* @return
|
|
@@ -429,13 +430,14 @@ public class AppPartyController {
|
|
return res;
|
|
return res;
|
|
}
|
|
}
|
|
|
|
|
|
- @ResponseBody
|
|
|
|
- @GetMapping("/deleteDuesById")
|
|
|
|
- public RequsetData<Integer> deleteDuesById(@RequestParam("id") String id) {
|
|
|
|
-
|
|
|
|
|
|
+ @PostMapping("/deleteDuesById")
|
|
|
|
+ public RequsetData<Integer> deleteDuesById(@RequestBody Map<String, Object> reqMap) {
|
|
RequsetData<Integer> result = new RequsetData<>();
|
|
RequsetData<Integer> result = new RequsetData<>();
|
|
|
|
|
|
- int row = publicityService.deleteDuesById(id);
|
|
|
|
|
|
+ String id = reqMap.get("id").toString();
|
|
|
|
+ String userId = reqMap.get("userId").toString();
|
|
|
|
+
|
|
|
|
+ int row = publicityService.deleteDuesById(id, userId);
|
|
result.setItem(row);
|
|
result.setItem(row);
|
|
if (row == 0) {
|
|
if (row == 0) {
|
|
result.setSuccess(false);
|
|
result.setSuccess(false);
|