Commit 0d8a59e1 authored by 周健威's avatar 周健威

Merge remote-tracking branch 'origin/master-modify-cutAmount' into master-modify-cutAmount

parents b70cb1f1 6e0f37e5
...@@ -169,14 +169,15 @@ public class MsgBiz { ...@@ -169,14 +169,15 @@ public class MsgBiz {
* @return * @return
*/ */
public ObjectRestResponse deleteByList(String ids) { public ObjectRestResponse deleteByList(String ids) {
if (StringUtils.isBlank(ids)) {
return ObjectRestResponse.paramIsEmpty();
}
Integer userId = 0; Integer userId = 0;
AppUserDTO appUserDTO = userBiz.getUserInfo(); AppUserDTO appUserDTO = userBiz.getUserInfo();
if(appUserDTO != null) { if(appUserDTO == null) {
userId = appUserDTO.getImUserid(); return ObjectRestResponse.createFailedResult(ResultCode.RSTOKEN_EXPIRED_CODE, ResultCode.getMsg(ResultCode.RSTOKEN_EXPIRED_CODE));
}
if (StringUtils.isBlank(ids)) {
return ObjectRestResponse.paramIsEmpty();
} }
userId = appUserDTO.getImUserid();
List<String> list = Arrays.asList(ids.split(",")); List<String> list = Arrays.asList(ids.split(","));
Set<String> set = new HashSet<>(); Set<String> set = new HashSet<>();
set.addAll(list); set.addAll(list);
......
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