Commit e0f178f4 authored by fangxinjiang's avatar fangxinjiang

商险提醒优化

parent f28c4121
...@@ -106,7 +106,7 @@ public class TInsurancesWarnController { ...@@ -106,7 +106,7 @@ public class TInsurancesWarnController {
@SysLog("到期提醒批量忽略") @SysLog("到期提醒批量忽略")
@PutMapping("/batchexpireIgnore") @PutMapping("/batchexpireIgnore")
@PreAuthorize("@pms.hasPermission('wxhr:insurance_expireignore')") @PreAuthorize("@pms.hasPermission('wxhr:insurance_expireignore')")
public R<Object> batchexpireIgnore(@RequestBody String ids) { public R<Object> batchexpireIgnore(@RequestBody List<String> ids) {
return insuranceDetailService.batchexpireIgnore(ids); return insuranceDetailService.batchexpireIgnore(ids);
} }
......
...@@ -516,7 +516,7 @@ public interface TInsuranceDetailService extends IService<TInsuranceDetail> { ...@@ -516,7 +516,7 @@ public interface TInsuranceDetailService extends IService<TInsuranceDetail> {
R<Integer> getExpireInsuranceWarn(); R<Integer> getExpireInsuranceWarn();
R<Object> batchexpireIgnore(String ids); R<Object> batchexpireIgnore(List<String> ids);
R<Object> expireIgnore(TBusinessInsuranceVo vo); R<Object> expireIgnore(TBusinessInsuranceVo vo);
......
...@@ -7438,12 +7438,11 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap ...@@ -7438,12 +7438,11 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
} }
@Override @Override
public R<Object> batchexpireIgnore(String ids) { public R<Object> batchexpireIgnore(List<String> ids) {
if (Common.isEmpty(ids)){ if (Common.isEmpty(ids)){
return R.failed(CommonConstants.PARAM_IS_NOT_ERROR); return R.failed(CommonConstants.PARAM_IS_NOT_ERROR);
} }
List<String> idList = Common.getList(ids); baseMapper.batchexpireIgnore(ids);
baseMapper.batchexpireIgnore(idList);
return R.ok(); return R.ok();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment