|
|
|
@ -9,6 +9,7 @@ import com.glxp.api.req.auth.FilterInvBusUserRequest;
|
|
|
|
|
import com.glxp.api.res.auth.InvBusUserResponse;
|
|
|
|
|
import com.glxp.api.service.auth.InvBusUserService;
|
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
import org.springframework.util.CollectionUtils;
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
|
import java.util.Collections;
|
|
|
|
@ -93,4 +94,12 @@ public class InvBusUserServiceImpl implements InvBusUserService {
|
|
|
|
|
}
|
|
|
|
|
return invBusUserDao.deleteByUnion(userId, subInvCode);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
public boolean deleteByscAction(String subInvCode,List<String> selectedCodes) {
|
|
|
|
|
if (CollectionUtils.isEmpty(selectedCodes) || StrUtil.isEmpty(subInvCode)) {
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
return invBusUserDao.deleteByscAction(subInvCode,selectedCodes);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|